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 Adding your own Create a Hero (Sub)Class
Introduction This article will guide you through the basic steps required to add a new Create a Hero Class to the default list provided by EA. By request, the guide was expanded to include my notes about subclasses. An Intermediate coder should be able to understand them. You can find my notes on the last page of this article. They are not in a separate article, because it rely's on some parts of the Class guide. To keep things simple, this guide will be about copying the Men of the West class. This means that there will be no real new content added. I suggest you follow the steps through anyway, as they make it easier to understand the steps you need to take. Why an Expert guide? You may wonder why this guide is listed as an expert guide. It's true that this guide is quite easy to follow, afterall, the steps are all quite easy. The difficulty is not the guide itself, but the steps that follow after this guide. Unless you want to just make an exact copy of an already existing Class, you will need to know quite a bit about modding. More than the basics. It is best to first experiment with the various aspects of a Hero with normal static heroes, before attempting to make your own Create a Hero Class. With normal heroes, most relevant code is listed in one file. With the CaH, the code is spread across several files, and is a mixture of all classes, requiring you to identify which code belongs to your Class. This guide will point out the most important and common parts, and experienced modders shouldn't have a problem recognising the pattern in them. Important notes You are expected to have a decent knowledge about modding ini files. The Beginner tutorials are a good start, but reading a few Intermediate guides and/or having experience with modding ini files will prove useful. This guide is written using the Battle for Middle Earth II v1.02 ini files.
Requirements The files you'll need: "Createaheroupgrades.inc" "createaherosystem******.inc" ( new file - check step 2) "createaherosystem.ini" "createaheromodelconditionupgrades.inc" "createaheroremoveupgradeupgrades.inc" "commandbutton.ini" "createaheroarmorupgrades.inc" Table of Contents Note: Don't be scared by the number of pages. There are that many because they are all small. ;) Page 1 Introduction Why an expert guide? Important notes Requirements Table of Contents Page 2 Createaheroupgrades.inc Page 3 Createaherosystem******.inc Page 4 Createaherosystem.ini Page 5 Createaherosystem******.inc Page 6 Createaheromodelconditionupgrades.inc Page 7 Createaheroremoveupgradeupgrades.inc Page 8 Commandbutton.ini Page 9 Createaheroarmorupgrades.inc Page 10 Test and Backup Page 11 Subclasses Next page: Createaheroupgrades.inc CommentsDisplay order: Newest first Elaryan - Wednesday January 14, 2009 - 14:24 it works! i have my own CAH class ! muajauajua thx you ILUTAVAR - Saturday March 22, 2008 - 8:01 i cant edit the cah upgrades {IP}Sauron - Thursday June 21, 2007 - 14:23 nice tutorial gotta use this sometime |
|||||||||||||||||||||||
"One site to rule them all, one site to find them, © All Rights Reserved Eric Edwards ©2013. |