Welcome Guest ( Log In / Register ) |
Quick Lists Top RatedTutorials Living World Map G… Ultimate beginner'… Arrow scaling bug… Raising Heroes max… Creating an asset.… Proper Fire Arrow… Simple Structure B… Making a simple Ma… Quick and easy sno… Making patrols nea… Mods The Dwarf Holds The Peloponnesian… RJ - RotWK The Elven Alliance… Helm's Deep Last H… The Elven Alliance Special Extended E… Kings of the West… RC Mod The Wars of Arda Downloads BFME1 1.06 Widescr… Enhanced W3D Impor… Fudge's Map Pack LotR/BfME HD Logos Osgiliath Shellmap Crystals Of Ancien… 2v1 Wold The forests of Dru… Converted BFME2 an… ROTWK animations f… |
|||||||||||||||||||||
Register and log in to move these advertisements down Making patrols near buildings
To add the patrol to a building, such as the Elven Barracks, go to barracks.ini, which is located at data\ini\object\goodfaction\structures\elven, and add this somewhere in the file:
Behavior = SpawnBehavior ModuleTag_Spawn SpawnNumber = 2 InitialBurst = 2 SpawnTemplateName = LorienArcher_B SpawnReplaceDelay = 35000 CanReclaimOrphans = Yes TriggeredBy = Upgrade_NameOfDesiredUpgrade End SpawnNumber = 2 --> this line sets the amount of units of the type LorienArcher_B will be patroling. SpawnTemplateName = LorienArcher_B --> This line sets which type of unit will come out, in this case it's the ChildObject LorienArcher_B, which we created last page. SpawnReplaceDelay = 35000 --> After the unit dies, how long (in miliseconds) until he is being replaced. TriggeredBy = Upgrade_NameOfDesiredUpgrade --> This line will make the slaves start patroling only after the Object that you put this behavior in, the Elven Barracks in this case, will receive whatever upgrade you want. You don't have to include this line. And that should be it! I hope this tutorial helped you! |
|||||||||||||||||||||
"One site to rule them all, one site to find them, © All Rights Reserved Eric Edwards ©2013. |