The 3rd Age

From Book to Game

From Book to Game

Lord of the Rings , Quenta Silmarillion, Dunedain, The Hobbit and Westernesse

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

Ultimate beginner's guide. New hero, many topics

Avatar of malvack

malvack

Category: Code
Level: Beginner
Created: Saturday March 5, 2016 - 6:37
Updated: Tuesday October 11, 2016 - 6:19
Views: 16181
Summary: Guide to make new hero based on CaH and many other topics

Rating

Staff says

-

Members say

5.0

Average

5.0/5.0

2 votes

Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Now it's time to see our hero, but first let's change his commandset. The commandset is what shows in the palantir in the wheel of powers when you choose your hero, in case you didn't know. As it is, our hero has the exact same one as Boromir, we want to change that. First open data>ini>commandset.ini and look for Boromir's commandset. You'll see that is like this:

              
Code

CommandSet BoromirCommandSet
    1    = Command_ToggleStance
    2     = Command_SpecialAbilityHornOfGondor
    3     = Command_SpecialAbilityBoromirForGondor
    4     = Command_SpecialAbilityCaptainOfGondorBoromir    
    12     = Command_CaptureBuilding
    13     = Command_AttackMove
    14     = Command_Stop
    16     = Command_SetStanceBattle
    17     = Command_SetStanceAggressive
    18     = Command_SetStanceHoldGround
End


Copy it and paste it somewhere in the file (I usually like to paste it at the bottom just above #include... but that's just personal taste) and delete all the abilities of Boromir, also change its name, basically like this:

              
Code

CommandSet AngmarMalvackCommandSet
    1    = Command_ToggleStance
;    2     =
;    3     =
;    4     =
;    5     =
;    6     =
    12     = Command_CaptureBuilding
    13     = Command_AttackMove
    14     = Command_Stop
    16     = Command_SetStanceBattle
    17     = Command_SetStanceAggressive
    18     = Command_SetStanceHoldGround
End


Remember that a hero can only have up to 5 abilities (or can he? I'll talk more about that later). I commented the unused powers because otherwise it would crash for not having anything specified.

Now copy the name of your new commandset and paste it in youhero.ini (make sure that in yourhero.ini the boromircommandset is deleted). Now you should have something like this in yourhero.ini

              
Code

    CommandSet = AngmarMalvackCommandSet


While you're at it, change his/her cost and buildtime, just for testing porpouses.

              
Code

    BuildCost = 1 ;BOROMIR_BUILDCOST                
    BuildTime = 1 ;BOROMIR_BUILDTIME    


And now, the time has come, we will put our powerless, Boromir-sound-like hero in the game. First copy his OBJECT name, in this case is AngmarMalvack, and now open data>ini>playertemplate.ini

Once is open, seek for the faction you want your hero to be recruited, I will choose Angmar, and look for the RecruitableHeroesMP part and paste the name of your hero. Now it should look like this:

              
Code

    BuildableHeroesMP            = CreateAHero AngmarMalvack AngmarHwaldar AngmarKarsh AngmarMorgramir AngmarRogash AngmarWitchking


And that's it, open your mod, cross your fingers (I do it every time I open mine), select Angmar (or the faction you chose) and test if your hero appears as you expected. May the odds be ever in your favor.

Links / Downloads

 HitsAdded
WinXPSoundRecorder1341March 6, 2016 - 6:03
FinalBigEditor1685March 5, 2016 - 7:29

Comments

Display 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

--------

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.

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

 
13:35:07