I wrote a small tutorial in a thread and I thought that it could be good to
put it here as well.
For a battlemodel there are 2 kinds of comments: group-comments and boundingsphere-comment.
Joints and textures doesn't necessary need any comments.
And all the comments is needed when M2TW puts men and units together.
If any comment is missing the unit could possibly get jesus-syndrome or any other
How a normal group comment should look like:
How it works (most important!) :
body = Group-ID, when M2TW is putting men together from e mesh file, it reads through all the id's, and picks one of every group-ID randomly for every man in a unit. example. "body, primary_active0, secondary_active_0, head, legs, arms"
body_01 = The name of the group in the modelprogram, it must be there to be identified.
0 = all men who M2TW has selected body_01 for will get that group/model, also tap enter 1 time to get an empty line after this.
In the next body-group-comment:
If you name it:
The men will be bugged and use 2 bodies at the same time.
And for weapons
to mix the unit with both shields and men without shields:
group-comment of a Knights polearm:
And for his sword:
And yes, the model-id doesn't necessary need to be
primary/secondaryactive0 for weapons, if you use:
the sword will always be in the soldiers hands.
primaryactive0 = when m2tw stumbles upon this, it only makes the model visible when the primary weapon is active, this is needed for archers and cavalry with bow or lance set as primary, or melee units with 2 kinds of melee weapons.
secondaryactive0 = same as the before, but instead the model is only visible when the unit uses secondary weapon. Swords and shields for archers should have this group-id, and swords for cavalry with lances.
Hilted sword, (credits to Taro_m who learned me this in the first place.)
a group-id can be named whatever you want (for example. ajkgpjaspogjps), m2tw will always identify it.
the group-name comment must always be the same as the group-name
and always 0 as long as it will not bug up the model ingame. (1 can be used for helmets if the unit has full-head models, and also for shields)
And all groups must have comments for the model to work ingame.
I don't know how to set up bounding-sphere comments I usually take them from similar units,
this is from a timurid(spelling?) spearman
you can find it under the model-tab and then the comment button in ms3d.
Don't know about 3D's max...
If anything is wrong correct me.
If there is anything you want to add just go ahead and tell me.