Welcome Guest ( Log In / Register ) |
![]() |
Quick Lists Top RatedTutorials Living World Map G… Ultimate beginner'… Arrow scaling bug… Raising Heroes max… Proper Fire Arrow… Creating an asset.… 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 Ultimate beginner's guide. New hero, many topics
So, funny thing about this page, this is the second time I'm writing this one down, I was logged out and nothing was saved at all... >:( So where was I? Oh yes, the RespawnUpdate module. There are a couple of things that I want to get through, first and foremost is that every part of the code is driven by modules, each module behave differently. Some modules draw your hero, others make sure he/she walks correctly at the propper speed and fashion, and so on. Each module has a name that will tell the game how to read it (i.e. is it drawing? walking? casting a power?) and a moduletag, which acts as solely as a unique name within the object. Therefore, you can have the modules of the same behavior within the object as long as their moduletag is different; if you have the same moduletag more than once, your game will crash. In other words, you can have RespawnUpdate twice or even more as long as the two modules have different moduletags. So, having that out of the way, we'll look at the malvack.ini RespawnUpdate to change it.
As you can see, there are 3 effects that are named after Denethor's favorite son, every time that something special happens (like Boromir initial spawn) a special effect will play out. For the most part, at least here, the effects are the lights that come out of the castle and the voice of Boromir saying "I shall see the glory of Gondor restored". If you want your hero to say this and all the other Boromir quotes then move along, if not, stay a little bit. There are 2 ways to change this effects, either by creating new ones in data>ini>fxlist.ini for every hero you make or just use the ones of CaH. This is by far way easier because 1 they are already there and 2 because, when the time comes, we will only focus on the voice of our hero in 2 files instead of 3. So, I will change the effects of the hero with the ones of CaH, so in the end you should have something like this:
There's one more thing you can do with the RespawnUpdate module, and that is to add some respawnrules. As it is, if you create your hero and dies, respawing him will cost $625 and will take 1 minute to do so; we can change that by adding some rules. Here's an example of what our hero will look like if we add some respawnrules
Now that we are all set, there's one last thing I want to say before moving on, and that is the SlowDeathBehavior module. All this module does, aside from setting the animation to do its thing, is to play a sound or effect whenever your hero dies. Right now, our hero has the same SlowDeathBehavior module as Boromir, which is:
We can change it to the one of CaH, that is:
It doesn't matter that the moduletag changes from the one of Boromir to the one of CaH, as long as its unique within the object it won't matter how it's named. Is very important to say that the FX_CreateAHeroDie effect won't play any sound at all when your hero dies, it will only set some light and stuff, but nothing more. The voice of your hero dying will be changed in further chapters. Links / Downloads
CommentsDisplay order: Newest first Amonrath - Monday August 14, 2017 - 2:16 Hello! I'm trying to do the but in the bfme I. Is there any different steps? I created a folder with my own mod... I then just edit the values that I want and I save them... I have also added the -mod in the end of the "Path" as well as done the lotr.srt extraction. Could anyone help? Thanks =D BouncyKnight - Tuesday April 25, 2017 - 22:08 Amazing step-by-step, very detailed and explanatory tutorial on how to create your custom heroes! Thank you sir, you're great! Gabriel Oak - Tuesday December 13, 2016 - 11:19 I created this account only to thank you, sir. This tutorial is really, really useful. |
![]() |
||||||||||||||||||||||||||||||||||||||
![]() "One site to rule them all, one site to find them, © All Rights Reserved Eric Edwards ©2013. |