The 3rd Age

JUS_SAURON - The Power Of The Ring

JUS_SAURON - The Power Of  The Ring

New Powers , Heroes and Units for all Factions

Button for The 3rd AgeButton for The Dwarf HoldsButton for The Elven AllianceButton for Helm's Deep Last HopeButton for GothmogtheOrcButton for BFME+Button for The Four AgesButton for HDR HeadquartersButton for Middle Earth CenterButton for Project Perfect Mod

Become an affiliate!

   

Quick Lists

Top Rated Popular New Updated Last Comments Users

Register and log in to move these advertisements down

Adding your own Create a Hero (Sub)Class

Avatar of Solinx

Solinx

Category: Code
Level: Expert
Created: Sunday March 25, 2007 - 13:28
Updated: Friday August 27, 2010 - 19:28
Views: 33089
Summary: Basic instructions for creating a new Create a Hero lineup

Rating

Staff says

4.8

Members say

4.3

Average

4.4/5.0

18 votes

Page 1 2 3 4 5 6 7 8 9 10 11
--- ...\ini\object\createahero\"createaheroremoveupgradeupgrades.inc" ---

    For all that have noticed the notes in the header of this file: I noticed them too.

    One is about FX_CreateAHeroDie, which are the death sounds. These are bound to the animation set, normal sounds are not.
    You don't have to change anything here, unless you want to use your homemade animations and/or soundset.

    The other is more important. That one makes sure that you won't end up loading more than one animation set at a time in the CAH menu.
    
    Open createaheroremoveupgradeupgrades.inc and scroll down to this section:

              
Code
        //======================================================================
        // This section contains the RemoveUpgradeUpgrades for the Create a Hero class
        //======================================================================

    You'll see the following behavior modules:
              
Code

        Behavior = RemoveUpgradeUpgrade Remove_Upgrades_Upgrade_CreateAHero_ClassHeroOfTheWest
            TriggeredBy        = Upgrade_CreateAHero_ClassHeroOfTheWest
            UpgradeToRemove    = Upgrade_CreateAHero_ClassIstariWizard Upgrade_CreateAHero_ClassDwarf ......
        End

    Copy one of the behaviors and edit it:
    - Again the first is the unique name of the behavior, replace "ClassHeroOfTheWest" with the name of your own Class.
    - TriggeredBy = is to be followed by the Class upgrade name from page 2
    - UpgradeToRemove - make sure ALL OTHER Class upgrade names are listed here, including any OTHER Classes you add.

    After you have made your own behavior you will have to edit all the existing ones.
    Place your Class upgrade name from page 2 in all (but your own behavior's) UpgradeToRemove lists.


Next page: Commandbutton.ini

Comments

Display order: Newest first

Elaryan - Wednesday January 14, 2009 - 14:24

it works! i have my own CAH class ! muajauajua thx you
5/5

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

Go to top

 

"One site to rule them all, one site to find them,
one site to host them all, and on the network bind them."

 
15:50:42