The 3rd Age

Realms of the Elf-Lords

Realms of the Elf-Lords

Realms of the Elf-Lords is a mod for The Rise of the Witch-King, by Lord Firkraag.

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

How to make custom heroes usable for Arnor

Tutorial for Battle for Middle-earth II: Rise of the Witch-king ROTWK

Avatar of BigBrainiac

BigBrainiac

Category: Code
Level: Beginner
Created: Monday September 6, 2010 - 17:16
Updated: Sunday September 19, 2010 - 19:27
Views: 9127
Summary: A simple guide to show how to make custom heroes usable for Arnor

Rating

Staff says

-

Members say

3.7

Average

3.7/5.0

3 votes

BigBrainiac's Guide on making custom heroes playable on any existing faction.


I bet some people have made their mods really well but didn't have create-a-heroes for your new Arnor.

This guide will show you all the steps to make a custom hero playable on Arnor/evil factions.
I will use Arnor as the example faction to add heroes for.

STEP ONE: Open any "createaherosystem..." files (like archer, dwarf, servant of sauron, etc)
I opened "createaherosystemmenofthewest"

Look at the code near the top.

STEP TWO: Find the code:
              
Code

//---------------------------------------------------------------------------------------------
// Men of The West Class
//---------------------------------------------------------------------------------------------

CreateAHeroClass
    NameTag         = CreateAHero:ClassName_HeroesOfTheWest
    DescriptionTag = CreateAHero:ClassDesc_HeroesOfTheWest
    PowersDescTag = CreateAHero:ClassPowersDesc_HeroesOfTheWest
    UpgradeName     = Upgrade_CreateAHero_ClassHeroOfTheWest
    IconImage     = Archetype_HerooftheWest                                                                                    
                                                                                        
    SubClass // Captain Of Gondor
        NameTag                 =    CreateAHero:SubClassName_CaptainOfGondor
        DescriptionTag         =    CreateAHero:SubClassDesc_CaptainOfGondor
        IconImage             = CPCaptainofGondor
        ButtonImage         = HICAHCaptainGondor
        // In UI it should be         = HICAHCaptainGondor_wotr
        DefaultFaction = Men
        UsableFactions = Men Elves Dwarves
        SpendableAttributePoints = 30
        
        UpgradeName             =    Upgrade_CreateAHero_SubClass_0
        //-------------------------------
        // Awards common to all heros.
        #include "CreateAHeroSystemCommonStatsAndAwards.inc"
        // Class specific awards
        Awards = GuardianOfMiddleEarth




Look at the "UsableFactions" part.

STEP THREE: To add arnor as a usable faction, just change the code to look like:

                       
Code
UsableFactions = Men Elves Dwarves Arnor



You will need to do this for every sub-class and class that you want playable for another faction.

HAPPY MODDING
~BigBrainiac

PS-If you have any questions, comment!

Credits

MENoticing the code

Comments

Display order: Newest first

Suchar - Sunday July 20, 2014 - 15:44

Game can only read names of factions that are already in game and Arnor. (Hardly coded?)

--------

Game can only read names of factions that are already in game and Arnor. (Hardly coded?)

Dalflow - Wednesday July 9, 2014 - 22:52

When I try to add my new faction to these subclasses, it says the faction is not a valid item in the index list. Any ideas?

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."

 
8:07:06