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 Modboy451's Article of Code-SnippetsTutorial for ROTWK
have you every tried to make a hero out of a normal unit ex: black orc, noldor warrior, gondor soldier. Jump down to the quote tag to see how to fix two audio respawn voice's at the same time! (it's not 2 far down!) - i was trying to out of some of them but when i created the hero i found that when i tried him out he the dialog box wouldn't come up that said: " 'your hero' has arrived" ('your hero' being the name of your hero) when anylising legolas.ini and seeing what my hero file didnt have that legolas did and i found this:
it was the respawn update for legolas! I added that to my hero made changes accordingly (to the cost and time at the bottom and the button image [the button image is the image when he dies, the respawn button {usually blue}]) i tested him in game and the dialog box came when he spawned! but...... when he spawned I heard Legolas saying his respawn voice... so this is what you can do
you can either do:
see further down for why this works Or you can change the FXs to something else you can find it in the audio parameters of the hero... BUT! this is why the 1st option works every unit has a FX when it's horde gets created so if you do the second option it will play both at almost the same, but one will play a litle after the one starts to fix that you can find this code:(im using the rivendell lacer as a example
And change the code to:
But then when i was playing with him when he died his character just stood there and th death dialog box didnt come up! and i couldent respawn him! TERRIBLE! but then i discovered this code:
it was his respawn body (adjust where needed...) and he died properly!(sounds weird doesn't it There is also 2 more things you will want to change: Change:
change it to: (here are some examples of what you can use(and who you find them with)
this will make it so when he passes by other units will cher for him this is not necessary but i reccommend it if your making a professional mod this next step is necessary though: this will be under engineering parameters
add
to KinfOf it will look something like this
it may not look the same depending on the unit you are using you will need to add proper string references in the lotr.str file ex:
if this is not changed the dialog box will say "Mithlond Sentry has arrived" which is pretty lame Credits
CommentsDisplay order: Newest first modboy451 - Monday November 14, 2011 - 17:41 ^_^ removed. Prolong - Sunday May 1, 2011 - 5:56 Nice tips for intermediate coders. :-) You should remove the empty last page of the guide! Radspakr Wolfbane (Team Chamber Member) - Monday February 14, 2011 - 18:49 The majority of all this is only for BFME2/ROTWK. modboy451 - Monday February 14, 2011 - 9:21 an article on spell books may be coming soon! |
|||||||||||||||||||||||||||||||||||||||||||||||||
"One site to rule them all, one site to find them, © All Rights Reserved Eric Edwards ©2013. |