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 Converting a normal power into a CaH power
--- Copying the core of the ability --- Copy the code from Eomer.ini and open createaheropowers.inc Scroll to the bottom of that file and paste the code you copied from Eomer.ini into createaheropowers.inc We can't use an exact copy of the power, because we need to make sure it's unique. After my changes, the code looks like this:
If you compare the two code blocks, you will notice that I changed the ModuleTag, SpecialPowerTemplate and the TriggeredBy values. In case you want the aura to have different attributes modifiers, you naturally can create your own. But that is outside the scope of this guide. --- The upgrade --- Simple stuff first. We created a new upgrade, named "Upgrade_CaHOutlawLeader". There is no such upgrade defined yet, so we need to do that. Open createaheroupgrades.inc and add the following code:
That's it for the upgrade. --- The SpecialPowerTemplate --- Just as simple, open createaherospecialpowers.ini and add the following code:
Now we've also defined the special power. Note: When adding a lot of powers to one CaH class, try not to use the same Enum. The game won't allow normal objects to have any Enum twice in all their abilities. CaH may be different, but it is unlikely. Next page: CommandButton.ini Credits
CommentsDisplay order: Newest first imreszabo2018 - Monday November 7, 2022 - 12:22 Nice tutorial. Berethomb - Thursday November 24, 2011 - 21:15 Help! I can't paste anything into createheropowers.inc! What shall I do? King Komodo3 - Sunday February 13, 2011 - 13:28 I need some help with my project, I'm making a goblin create a hero, I have him in the Servant of sauron area and I need to add Mount/Dismount Scorpion & Toggle Weapon. If you could help me that would be great (I have a forum file in the BFME2/RTWK section the goblin one talking about adding the Goblin Fiend) lilkaka - Friday October 16, 2009 - 11:24 Thanks for the guide. But do you know how to convert the special power of Mount/Dismount into the power of Elven CaH Archer? Elaryan - Thursday January 15, 2009 - 8:54 m...i'll do it with the balrog's fire whip! |
|||||||||||||||||||||||||||||
"One site to rule them all, one site to find them, © All Rights Reserved Eric Edwards ©2013. |