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 Create a Hero Attribute guide - Part 2Tutorial for BFME 2
--- The attribute modifier --- Open up ...\data\ini\attributemodifier.ini and do a search for 'ArmorAttribute20'. You will find this code
The next line is the core of the modifier, namely the effect. "ARMOR" states that the modifier will affect the amor statistic of the object. At the top of the ini file there is a list with possible statistics that can be changed with a modifier. Then comes the actual input of the change. EA used a multiply format for the attributes, multiplying a macro that is set to equal 1 (You can find this in ...\data\ini\createaherogamedata.inc) with a numeric value. From ArmorAttribute01 to ArmorAttribute20 this value has increased from 0.25 to 0.80 with steps of .05, 0.02, 0.03 and again with steps of 0.05. For ArmorAttribute21 I will add another 0.05, making it 0.85. There are a few more lines left to the code block. The first is the FX. This line is commented out, which means the engine will skipp the line. The effect is innate, so it won't show a visible effect. The second line is the duration, which is set to 0. My best guess is that this will make the effect last permanent. The last line, ReplaceInCategoryIfLongest = yes, makes sure that during the creation of you hero, if you switch between attribute values, the modifier with the highest effect is chosen. So, the code for my 21st attribute modifier will look like this:
Now when you have been looking at ...\data\ini\createaherogamedata.inc, you may have noticed that there is more to be found than just the multiply constant that is used for the modifiers. You will also find the base values for health and vision. The base damage can be found at the weapon code, and the armor base would be in the armor code. Teaching how to modifying these two would be the start of another guide. Next page: To sum it up and endnotes CommentsDisplay order: Newest first Telcontar - Saturday July 14, 2012 - 12:34 Thanks for the guide. You may want to know that you can adjust the graphics editing createaherosystemattributes.inc |
|||||||||||||||||||||||||
"One site to rule them all, one site to find them, © All Rights Reserved Eric Edwards ©2013. |