The 3rd Age

Men's Knives

Men's Knives

Good mod in BFME2?With more Factions? and its coming? It's MEN'S KNIVES!

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 BladeMaster to another hero Tutorial

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

Avatar of GothmogtheOrc


Category: Code
Level: Beginner
Created: Friday March 30, 2007 - 13:24
Updated: Saturday June 27, 2009 - 18:38
Views: 11423
Summary: Ever wanted Boromir to have blademaster?


Staff says


Members say




11 votes

Adding Blade Master to another Hero Tutorial

To add the special power Blade Master that Aragorn has to other heroes you will have to copy the following codes. For this Tutorial I will add Blade Master to Boromir.

---at top of unit animation data---

ModelConditionState = WEAPONSET_HERO_MODE USER_3
ParticleSysBone = BAT_RIBS BladeMaster FollowBone:Yes
ParticleSysBone = BAT_HEAD AragornElendill FollowBone:Yes

ModelConditionState = WEAPONSET_HERO_MODE
ParticleSysBone = BAT_RIBS BladeMaster FollowBone:Yes

ModelConditionState = USER_3
ParticleSysBone = BAT_HEAD AragornElendill FollowBone:Yes

---at end of "AnimationState" list---

StateName = STATE_ready
Animation = GUBoromir_ATD1
AnimationName = GUBoromir_SKL.GUBoromir_ATKB
AnimationMode = ONCE
UseWeaponTiming = Yes
FXEvent = Frame:25 Name: FX_BladeMasterHitOrient
FXEvent = Frame:45 Name: FX_BladeMasterHitOrient

---At end of "Behavior" block---

Behavior = UnpauseSpecialPowerUpgrade ModuleTag_AragornBladeMasterEnabler
SpecialPowerTemplate = SpecialAbilityAragornBladeMaster
TriggeredBy = Upgrade_AragornBladeMaster

Behavior = SpecialPowerModule ModuleTag_AragornBladeMasterStarter ; SpecialAbility is a SpecialPower, SpecialPower is anyting special
SpecialPowerTemplate = SpecialAbilityAragornBladeMaster
StartsPaused = Yes

Behavior = HeroModeSpecialAbilityUpdate ModuleTag_AragornBladeMasterUpdate ; So the difference in SpecialAbility is that it takes timing from this Update, instead of simply firing.
SpecialPowerTemplate = SpecialAbilityAragornBladeMaster
HeroAttributeModifier = AragornBladeMaster
HeroEffectDuration = 30000 ; this should sync with the auto ability delay re-fire time in commandButtons.ini
UnpackTime = 1 ; insant unpack
TriggerSound = AragornBladeMaster


(in ExperienceLevels.ini)

Add this to Boromir's Upgrades at the level of your choice:



Next you will need to go to CommandSet.ini. Once there you will need to search (Ctrl + F) for Boromir and add this code to his command set:

X = Command_SpecialAbilityBladeMaster

You'll have to change the 'X' infront of the code to a number Boromir doesn't already have...

My Boromir command set look like this:

(Note the Blademaster at spot number 2)

CommandSet BoromirCommandSet
1 = Command_SpecialAbilityHornOfGondor
2 = Command_SpecialAbilityBladeMaster
3 = Command_SpecialAbilityBoromirForGondor
4 = Command_SpecialAbilityCaptainOfGondorBoromir
13 = Command_AttackMove
14 = Command_Stop
15 = Command_Guard

That should do it... your hero can now use the Blademaster power.


Display order: Newest first | Page: 1, 2

Kyoushiro - Wednesday February 6, 2013 - 5:17

Works perfectly! Thank you

clank234 - Saturday November 20, 2010 - 11:05

in bfme2 it sais
    3    = Command_SpecialAbilityBladeMaster

note the specialability part ;)


BigBrainiac - Monday August 9, 2010 - 15:24

Titan Cronas and Fantastein, did you add blade master to Boromir's command set? In my mod I did this today and it completely worked.

If his blade master is his starting ability, it should be placed in slot 2 of his commandset.

His commandset would look like :

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

If it doesn't work after this, I don't know what to tell you.

Great article!

Titan Cronus - Wednesday March 3, 2010 - 6:08

Same as Fantastein, followed everything you said but no BM. You also don't make it too clear where to add the code to for the Boromir ini, but I think I have it right. : /

Just wish I could get it to work like it does for others.

Fantastein - Saturday August 8, 2009 - 8:04

Thanks for this, but I'm having some trouble. >.<

This is my first time editing anything in BFME, so I'm pretty clueless, but I've tried to follow all the steps, and I think I got them right. But when I play a Skirmish and get Boromir (I've set it so he should learn BM at level 1) he doesn't have it. There's no glitching or anything, but... well, NOTHING seems to have happened. Please help. =3

pepsipete - Wednesday April 1, 2009 - 9:11

Thanks for this!

thom_22 - Friday December 26, 2008 - 4:22

can somebody please tell me the full code (with replace module and add module etc..) because I tried to get it work for 3 hours but I still keep errors :(

CNCM_BLITZ - Saturday August 11, 2007 - 22:05

Okay it works now and it had nothing to do with the coding for Blademaster. I found a 4 = ? in commandset.ini the missing tag caused the game to crash. It was left there by accident when i was trying something with Eowyn: restoring her leadership ability. I never found out what I needed to do to get that done and left it without blocking it.

That is strange because the game said the problem was with boromir. Now it works great. Except the order in which the buttons appear for boromir's abilities is out of order. I will look into that.

CNCM_BLITZ - Thursday August 2, 2007 - 9:08

I don't know. The game crashed before it hardly had begun to load. Could it be that the code Gto gave might be sensitive as to where it's placed in the boromir.ini file? As best as I could tell its where it should be. But maybe y'all would be able to see something I don't.

Bart (Administrator) - Thursday August 2, 2007 - 2:06

does the blademaster button exist?

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