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 Horde Mount/Dismount Ability
One of the issues that has stumped modders for quite some time is giving hordes the ability to both mount and dismount from horses. As we all know, doing this for heroes and other single units is relatively easy. For hordes, however, the mount toggle button doesn't work properly and many errors result from it. In this tutorial, I will explain a different method to mount/dismount on a horse that works perfectly with a horde. It's a little bit more tricky than the mount toggle button and their are slight variations to the mount abilty , but it should satisy and impress any coder out there ;) I also will explain how to get the AI to use it properly. NOTE: In reading this tutorial, I assume that the viewers have at least a basic understanding of how to code units and hordes. If you are having trouble with these things, please refer to other tutorials on the site for more in-depth information. NOTE: Also, I would appreciate it if you could simply credit me in your mod if you use this tutorial. It took me a long time to get rid of all the bugs and make it work correctly in-game for both the player and the AI. Thanks :) NOTE: For the AI, I have only tested it on the BFME2 one and not BFME1. While it should work for both games, I can't guarantee this to be true. Page 1: Introduction Page 2: Unit Basic setup Page 3: scriptevents.xml and scripts.lua Page 4: Mount/Dismount Behaviors and AI Page 5: Horde Object Page 6: Banner Carrier Object Page 7: "Unsolved" Problems Links / Downloads
CommentsDisplay order: Newest first Rob38 (Team Chamber Member) - Sunday December 23, 2007 - 21:00 Ugh... ok, Sul, I tried your method and I was able to improve everything except for one thing. The animation will play when it's just an individual unit, but when it's a horde, it refuses to play one. I have tried tons of things but nothing works. I'll update this tutorial after I try some other things out. Sulherokhh (Team Chamber Member) - Friday December 21, 2007 - 19:59 Sweet! :) It sure looks perfectly functional, and since you tested it, we now all know it works!! :D Rob38 (Team Chamber Member) - Friday December 21, 2007 - 14:19 Yeah, the commandset is quite an annoyance but I can't find any other solution to the problem :( JEV3 - Friday December 21, 2007 - 11:50 Pity the commandset is so unfriendly... But to have a horde be able to mount and dismount is worth it. Rob38 (Team Chamber Member) - Thursday December 20, 2007 - 22:35 Please leave comments :) |
|||||||||||||||||||||||||||
"One site to rule them all, one site to find them, © All Rights Reserved Eric Edwards ©2013. |