Editing unit group sizes

MattJek

King
Joined
Oct 21, 2005
Messages
951
Location
Legoland
Ok, heres what I want to do. I want to change the number of individual units in each group from 3 to 6 ( I have already scaled down each unit bu 30%). This is the text I found in the XML file related to unit groups. Im guessing iGroupSize is the number I have to change. Can anyone tell me what the other numbers mean? ( especially the iReguired number)

- <UnitMeshGroups>
<iGroupSize>3</iGroupSize>
<fMaxSpeed>1.75</fMaxSpeed>
<iMeleeWaveSize>3</iMeleeWaveSize>
<iRangedWaveSize>0</iRangedWaveSize>
- <UnitMeshGroup>
<iRequired>3</iRequired>
<EarlyArtDefineTag>ART_DEF_UNIT_LION</EarlyArtDefineTag>
 
Just change iGroupSize and iMeleeWaveSize to the number of units you want. iGroupSize is how many are in the group. iMeleeWaveSize is how many units will fight at a time.

This should be all you need to change.
 
There should be a "unitscale" tag there somewhere, which you can use to shrink down the individual units so you can fit more of them into a square without them getting too crowded. :)
 
MerakSpielman said:
There should be a "unitscale" tag there somewhere, which you can use to shrink down the individual units so you can fit more of them into a square without them getting too crowded. :)

why not getting crowded? when my warriors are fighting, i want complete chaos by a enormous number of warriors:p
 
MerakSpielman said:
There should be a "unitscale" tag there somewhere, which you can use to shrink down the individual units so you can fit more of them into a square without them getting too crowded. :)
He already did that. :p
 
<iRequired> Is the amount of meshes of the model just below it to be loaded. You can use this to make mixed units (see the settler for an example).

However, I'm not really sure why the warrior has <iRequired>8. Seems a bit strage. Would have to have a play around with that...
 
Back
Top Bottom