The 3rd Age

Wars of the East

Wars of the East

A mod for RotWK that adds new factions, units, heroes, stuctures, powers and more.

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: 12267
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
the first step is to create the hero army data.
this is done in defaultarmies.ini
add the following code to defaultarmy.ini



SpawnArmy
ScriptingName = HeroArmy11
SpawnForTemplates = PlayerElves
HeroTemplateName = ElvenArwen_1
PlayerArmy = ArwenPlayerArmy
Icon = HeroArwenIcon
Banner = BannerElves
End


note the scriptname should actually be +1 the current highest scripted army name for the faction your hero is for

if you are doing a completely custom hero army you will also need to have the hero army icon for use. otherwise your new hero army will be completely invisible

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

 
0:19:47