Chiefof coding is really simple, just read it few times and take it logically..
Code: Behavior = SpawnBehavior ModuleTag_05
SpawnNumber = 10
SpawnReplaceDelay = 30000 ; 30 seconds
SpawnTemplateName = GLAInfantryAngryMobPistol01 ; Aladdin
SpawnTemplateName = GLAInfantryAngryMobRock02 ; Woman in the Gypsy Costume
SpawnTemplateName = GLAInfantryAngryMobMolotov02 ; The Lady with the hot sauce
SpawnTemplateName = GLAInfantryAngryMobPistol03 ; Skinny Guy with the Green Beret
SpawnTemplateName = GLAInfantryAngryMobRock04 ; Fat guy with the tank top
SpawnTemplateName = GLAInfantryAngryMobMolotov02 ; The Lady with the hot sauce
SpawnTemplateName = GLAInfantryAngryMobPistol05 ; The robed dude with the Man-Veil
ExitByBudding = Yes;!
InitialBurst = 5 ; the first set of 5 will not delay
OneShot = No
AggregateHealth = Yes
SlavesHaveFreeWill = No
End
That's the module responsible spawning a group unit, which basically is a group of units.
The basics that can be extracted by any1 would be:
SpawnNumber = No. of units in a team
SpawnReplaceDelay = Time till 1 unit respawns (Angry mobs 'replenish' themselves automatically)
SpawnTemplateName = the name of unit (as you can see you can have as many as you wish)
ExitByBudding = No idea (ive never tested the module itself), only way to see the effect would be selecting 'No' and comparing to andgy mob behavior
InitialBurst = once created they appear as a half-group don't they? and 'reproduce' on the battlefield
OneShot = each of the units in a group is a 1-shot 1-dead type
AggregateHealth = ??
SlavesHaveFreeWill = ?? something with group behavior I assume
Also, as I already said, you have to add a separate unit. TBH, I've never really went into group spawning, so I can't say 2 much. But my advise would be, make something simple, just to get familiar with the code, then move on to making what you'd like to do.
http://www.gamefront.com/files/5465540/Zero_Hour_Module_listThis might be a little useful sometimes.
P.S. If you realllly wanna go into that group think straight in, extract the code using FinalBIG program, from INI.big file in main C&C directory, inside the GLAInfantry.ini file, by searching for the angry mob nexus, and the little 'minions' (SpawnTemplateName = *these*)
Copy it into separate txt file, look at it, look at things like weapons they use, and modules they have, and then based on that make your own. Trial and error is the best way to learn it, + if you really encounter some serious crap, here we are ;)
Edited by user Saturday, November 26, 2011 1:34:19 PM(UTC)
| Reason: Not specified