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 Adding Summon Allies
I would suggest first we start with adding the new spell to summon Sauron. Open your data\ini\object\system\system.ini file. Under the evil spellbook I added an extra behavior. In this case I added SummonSauron.
The first line tells the computer that this special power will use an OCL. An O(object) C(creation) L(list). This is what the computer uses to spawn our summoned units. This is further defined in data/ini/objectcreationlist.ini. We'll deal with that later. The second line tells the computer what SpecialPowerTemplate to use. This is defined in data/ini/specialpower.ini. We'll get to this in a minute. The third line will tell us exactly which OCL we will be using in the objectcreationlist.ini The fourth line tells the computer that you want to have this be a spell you can place somewhere on the map. CREATE_AT_LOCATION is the correct one to use. The rest is not very important for this tutorial. Links / Downloads
CommentsDisplay order: Newest first Dwarven_Axe - Monday June 21, 2010 - 19:48 Great tutorial - thanks Hostile! I followed it to make a tier 2 Summon Eagles power to replace the Summon Tom Bombadil power since I coded him in as a buildable hero. {AE}Manveru - Thursday September 3, 2009 - 6:20 I gave this a 3 because you forgot to update the dependencies for powers for which the new one is a prerequisite, thus making any powers below it not puirchasable. Contact me if you update it and I will rerate the tutorial. Meneldil - Tuesday December 23, 2008 - 8:58 Thank for this nice tutorial. I learned a lot from it. One question regarding the instructions. It's not fully clear to me where to place the 5 object files. The directions say to place them in the "data/ini/object folder." I figured you meant the "data/ini/object/system/system.ini" location. Is that correct? (That's what I did, but it may not be ideal). Also, I was not able to obtain the Balrog skill from the skill tree even though I had the needed 20 points (this when going down the "left" branch via the new Sauron Summon skill). I had to go down another branch using original skills in order to obtain the Summon Balrog skill. Did I do something wrong or is this a limitation? |
|||||||||||||||||||||||||||||
"One site to rule them all, one site to find them, © All Rights Reserved Eric Edwards ©2013. |