Welcome Guest ( Log In / Register ) |
Quick Lists Top RatedTutorials Living World Map G… Ultimate beginner'… Arrow scaling bug… Raising Heroes max… Proper Fire Arrow… Creating an asset.… 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 Custom Structures & AI for BFME1
The first step in achieving this forces us to include our new structure in the basic attack strategy used by the AI system. Open the “[ns A] Attack Rohan AI” script folder. The scripts in this folder allow us to build multiple factory structures of the same type. In the case of Rohan, we are effectively talking about Archery Ranges and Stables. Note that the Archery Range scripts can only be activated twice, and the Stables three times. We can go the whole hog and make three entries for our new Barracks Building. Copy the first “[ns A D][E N H]a_BB - Stables 1” script and then change its name to “[ns A D][E N H]a_BB – Barracks 1”. Modify the condition/action statements in accordance with the following:
Note the final statement in the event section of the above script… We now need to create a new “a_BB – Barracks 1 ReEnable” script, so the building can be replaced should the need arise during combat. Copy the “[ns na D][E N H]a_BB - Stables 1 ReEnable” script file and then change the name to “[ns na D][E N H]a_BB - Barracks 1 ReEnable”. Modify the condition/action statements in accordance with the following:
Repeat as many times as you feel necessary… I would recommend three times for starters, but take care to replicate the correct scripts and values. Links / Downloads
CommentsDisplay order: Newest first Hebblewhite - Wednesday July 18, 2007 - 15:58 I've attached a pdf version for easier reading! |
|||||||||||||||||||||||||||||||
"One site to rule them all, one site to find them, © All Rights Reserved Eric Edwards ©2013. |