The 3rd Age

Master Hero Mod 2.0

Master Hero Mod 2.0

MasterHero Mod : Enhances Visuals, provide series of modifications and additions to the game play

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

Creating A New Hero Army (WOTR Mode)

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

Avatar of Annullus The Grey

Annullus The Grey

Category: Code
Level: Intermediate
Created: Wednesday July 16, 2008 - 12:31
Updated: Saturday June 27, 2009 - 18:06
Views: 12264
Summary: Create a new fully functional Hero Army For WOTR mode

Rating

Staff says

3.3

Members say

3.2

Average

3.2/5.0

10 votes

Page 1 2 3 4
lastly we must alter arwens autoresolve data so that she will automaticly respawn should she die in autoresolve combat

in livingworldautoresolvebody.ini

scroll till you find the following code

AutoResolveBody AutoResolve_ArwenBody
HitpointsAtLevel = Hitpoints:ARWEN_LVL1_HP Level:1
HitpointsAtLevel = Hitpoints:ARWEN_LVL2_HP Level:2
HitpointsAtLevel = Hitpoints:ARWEN_LVL3_HP Level:3
HitpointsAtLevel = Hitpoints:ARWEN_LVL4_HP Level:4
HitpointsAtLevel = Hitpoints:ARWEN_LVL5_HP Level:5
HitpointsAtLevel = Hitpoints:ARWEN_LVL6_HP Level:6
HitpointsAtLevel = Hitpoints:ARWEN_LVL7_HP Level:7
HitpointsAtLevel = Hitpoints:ARWEN_LVL8_HP Level:8
HitpointsAtLevel = Hitpoints:ARWEN_LVL9_HP Level:9
HitpointsAtLevel = Hitpoints:ARWEN_LVL10_HP Level:10
end

to this we must add a single line, yes thats right just one single line

LeaveInArmySummary = Yes

it should look something like this
AutoResolveBody AutoResolve_ArwenBody
HitpointsAtLevel = Hitpoints:ARWEN_LVL1_HP Level:1
HitpointsAtLevel = Hitpoints:ARWEN_LVL2_HP Level:2
HitpointsAtLevel = Hitpoints:ARWEN_LVL3_HP Level:3
HitpointsAtLevel = Hitpoints:ARWEN_LVL4_HP Level:4
HitpointsAtLevel = Hitpoints:ARWEN_LVL5_HP Level:5
HitpointsAtLevel = Hitpoints:ARWEN_LVL6_HP Level:6
HitpointsAtLevel = Hitpoints:ARWEN_LVL7_HP Level:7
HitpointsAtLevel = Hitpoints:ARWEN_LVL8_HP Level:8
HitpointsAtLevel = Hitpoints:ARWEN_LVL9_HP Level:9
HitpointsAtLevel = Hitpoints:ARWEN_LVL10_HP Level:10
LeaveInArmySummary = Yes
End

thats it youve done it arwen now should function as an additional hero army. note if you are creating a hero army from scratch you need to have also done the autoresolve armour and weapon data as well as autoresolve leadership data if you hero provides leadership bonuses

also you must add an entry to livingworldbuildableunits.inc

those entries look like
LivingWorldPlayerArmy
    Name = ArwenPlayerArmy
    DisplayNameTag = LWA:ElvesHeroArmy
    ArmyEntry
        ThingTemplate = ElvenArwen_1
        Quantity = 1
    End
End

Comments

Display order: Newest first

druchii22 - Friday October 17, 2008 - 8:11

Good tutorial, even if I already know everything (except the "LeaveInSummary", I looked for its effect for weeks, thank you a lot!), it is very useful.

Bart (Administrator) - Wednesday July 23, 2008 - 4:38

You did good work, and it's good that you explain why you need to put some things in. However, the markup and spelling of this article needs some work, so I gave you a 3 (OK).

Work on those things and it will get at least 4 ;)

robnkarla (Team Chamber Member) - Tuesday July 22, 2008 - 16:37

I can't believe I missed the "LeaveInArmySummary = Yes". I'll try this out and if it works I'll definitely give you a 5 for helping me get rid of one of my nasty bugs.

Also, some tags will help the article out.

Lurtzy - Thursday July 17, 2008 - 18:43

Good tutorial, easy to understand, but, you should probably add code tags. Well done!

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

 
16:30:39