Results 1 to 12 of 12

Thread: swapping bodyparts from model to model

  1. #1
    Member Member Moooul's Avatar
    Join Date
    Jun 2005
    Location
    Germany, near Heidelberg (not Bavariae!)
    Posts
    35

    Question swapping bodyparts from model to model

    hi folks,

    i want to create a new spartian hoplite model for training purpose. i want to change the head/helmet and the shield. helmet should be that one macedonian officers use and the shield just needs to be enlarged. how do i do such things in 3d studio maxx? do i need to change the texture files and if, in which way?

    thx a lot
    "we are our own frontier, cross ist"

  2. #2

    Default Re: swapping bodyparts from model to model

    You really should consider having a look around the Scriptorium, there's lots of useful information there. Such as this:

    Tutorial: Head Swapping Tutorial (3D units)
    How to Model New 3D Units
    3DSMax and tool tutorials
    Last edited by Epistolary Richard; 07-28-2005 at 10:26.
    Epistolary Richard's modding Rules of Cool
    Cool modders make their mods with the :mod command line switch
    If they don't, then Cool mod-users use the Mod Enabler (JSGME)
    Cool modders use show_err
    Cool modders use the tutorials database Cool modders check out the Welcome to the Modding Forums! thread Cool modders keep backups Cool modders help each other out

  3. #3

    Default Re: swapping bodyparts from model to model

    There is also a clearly marked tutorial that tells you EXACTLY how to do this....
    Careless Orc Costs Lives!

  4. #4
    Member Member Moooul's Avatar
    Join Date
    Jun 2005
    Location
    Germany, near Heidelberg (not Bavariae!)
    Posts
    35

    Question Re: swapping bodyparts from model to model

    well well i read them too but im not sure weather i did everything allright or not. game still crashes loading. i get some message when i try to export my new model. says i needed to have the skin mod on top of the stack... does that mean theres something wrong with the model? or is that just normal?
    "we are our own frontier, cross ist"

  5. #5
    Member Member Moooul's Avatar
    Join Date
    Jun 2005
    Location
    Germany, near Heidelberg (not Bavariae!)
    Posts
    35

    Default Re: swapping bodyparts from model to model

    as soon as i try to load a custom battle with my new .cas file i get an error message:
    'material index on rigid
    primary weapon
    is greater than number of materials'

    what have i done wrong?
    "we are our own frontier, cross ist"

  6. #6
    Senior Member Senior Member hoggy's Avatar
    Join Date
    Feb 2004
    Location
    Adel, Britannia
    Posts
    565

    Default Re: swapping bodyparts from model to model

    you shouldn't get an error on exporting
    - check you are only using 1 material/texture on the model
    - check your weapons are linked to the right bones. All objects should be skinned to the skeleton or linked to the skeleton.

  7. #7
    Member Member Moooul's Avatar
    Join Date
    Jun 2005
    Location
    Germany, near Heidelberg (not Bavariae!)
    Posts
    35

    Question Re: swapping bodyparts from model to model

    well i corrected it. used new texture only on body -> more than one materials.

    now i'm able to export my model properly as long as i have all vertices weighted to bone_abs and in the diagram-view linked body to some bone (in the scene root element).

    as soon as i change anything ( weighten head vertices to bone_head or sth. like that) i still can export but i'm only shown weapon and shield (in some mad places) i think my diagram isn't correct, but i'm not getting the point.
    what must the array be to work all right? could you maybe post an image showing a correct diagram?

    thanks for your patience with me
    "we are our own frontier, cross ist"

  8. #8
    Shaidar Haran Senior Member SAM Site Champion Myrddraal's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    5,752

    Default Re: swapping bodyparts from model to model

    Mooul, it sounds like your using more than one weight per bone, Cas can't handle this.

    Make sure that any weights you add are attached to only one bone and have a weight of 1.00

    Also if you make all the verticies 'rigid' then this forces them to only have one weight per bone. Is that right hoggy?

  9. #9
    Member Member Moooul's Avatar
    Join Date
    Jun 2005
    Location
    Germany, near Heidelberg (not Bavariae!)
    Posts
    35

    Question Re: swapping bodyparts from model to model

    hm well,

    i use 'rigid' and 'normalize' so the vertices only can have a total weight of 1.0. so if i select some vertex and change its weight to another bone it can't be weighted to more than one, can it?

    is it alright then to have the body element liked to bone_abs in the diagram-view?
    "we are our own frontier, cross ist"

  10. #10
    Member Member Moooul's Avatar
    Join Date
    Jun 2005
    Location
    Germany, near Heidelberg (not Bavariae!)
    Posts
    35

    Default Re: swapping bodyparts from model to model

    for better understanding my point here's an image of my diagram/envelope modifier[IMG][/IMG]
    "we are our own frontier, cross ist"

  11. #11

    Default Re: swapping bodyparts from model to model

    From that diagram, it looks like you havre attached ALL the body parts to the abs bone. This will actually work in game....but the character won't bend!

    You need to now go to each bone in turn, and assign the right bit of the body mesh to the bone.

    SO...for example...select the left foot bone....then select JUST the vertices of the model that should move when the left foot moves....now enter 1.0 into Abs.Effekt. This should assign those vertices to that bone.

    Repeat the process for all the other bones.

    The abs bone is there to act as a reference point for all the other bones really. If you wanted to make the character jump in the ai an animation, you want to be able to move the whole model with all teh linked bones. This lets you do that. Otherwise, you would have to move each bone in turn to get the desired position.
    Careless Orc Costs Lives!

  12. #12
    Senior Member Senior Member hoggy's Avatar
    Join Date
    Feb 2004
    Location
    Adel, Britannia
    Posts
    565

    Default Re: swapping bodyparts from model to model

    hmm, not sure what's going on there. It looks like it should work. Send me the max file and texture and I'll have a look, I'll PM you my email add.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO