Power Of The Ring 3 : Campaigns Of Middle Earth Contains BFME1 Campaigns : Based on Power Of The Ring |
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
Next, we want to create the command buttons to purchase this spell and use it. Open up \data\ini\commandbutton.ini. This file contains all the buttons to activate everything in the game. Add these two new buttons at the end:
The first button tells the computer this button will purchase something. It tells it to also use the mapped image HPSauron as the button image. This image in particular is already in the game so we can use it. The third line of the button tells the computer what science to purchase. A SCIENCE is just another way of describing something you will gain by using your earned command points. Namely like the spells on your tech tree. TextLabel and DescriptLabel are the entries in the CSF/STR file that will describe what you see, text wise, ingame when you click a button or hover over something. I have not added custom CSF entries for this tutorial so it will appear like the Balrog for now. You can change this on your own. The second button will activate the spell ingame. The command = SPELL_BOOK tells the computer this is a spell from within the factions spellbook. RadiusCursorType = SUMMON_BALROG tells the computer that when you place the summoned units, they will use the Balrog radius cursor. Use any you like or make up your own. Just reference it here. Next we'll add these buttons to our commandsets to allow us to use the spells ingame. Edit the existing code to these commandsets located in \data\inicommandset.ini You can use control"F" to find by searching for "IsengardSpellBookCommandSet"
The first commandset is to use the spell. The second commandset is to purchase your spell (tech tree) I've replaced Freezing Rain spell with our new summon allies spell. 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. |