The 3rd Age

Age Of Men

Age Of Men

Age of Men will be some like an unofficial expansion set for BFME2:ROTWK

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

Crushing Special Power Part 1:Heroes

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 Radspakr Wolfbane

Radspakr Wolfbane

Category: Code
Level: Expert
Created: Sunday June 2, 2013 - 9:32
Updated: Sunday June 2, 2013 - 9:36
Views: 7018
Summary: A tutorial that will teach you how to make a hero mode that will bowl over enemies.

Rating

Staff says

4.0

Members say

-

Average

4.0/5.0

1 vote

Crushing Special Ability

This is a 2 part tutorial that will teach you how to make a special power that causes infantry units or heroes to crush while active.

Part 1 Hero:

For this example I'm using Grishnakh and his Wolf Run skill.
The ability works like a regular hero mode power like Blade Master except it gives an extra effect it allows an infantry unit to crush enemies.
Essentially it is a power that makes the infantry unit pretend to be cavalry.

First off just a normal hero mode power.

              
Code
    
Behavior = UnpauseSpecialPowerUpgrade ModuleTag_WolfRun
SpecialPowerTemplate = SpecialAbilityWolfRun
TriggeredBy = Upgrade_HeroLevel7
End
Behavior = SpecialPowerModule ModuleTag_WolfRunStarter
SpecialPowerTemplate = SpecialAbilityWolfRun
StartsPaused = Yes
AttributeModifier = WolfRun
AttributeModifierAffectsSelf = Yes
End
Behavior = HeroModeSpecialAbilityUpdate ModuleTag_WolfRunUpdate
SpecialPowerTemplate = SpecialAbilityWolfRun
HeroEffectDuration = 10000
UnpackTime = 1
    End


Next you need to add a mount toggle, this is one of the thing required to pull off the crush.

              
Code

Behavior = SpecialPowerModule ModuleTag_HackCrushStarter
SpecialPowerTemplate = SpecialAbilityToggleMounted
UpdateModuleStartsAttack = Yes
;InitiateSound =
StartsPaused = No
End

Behavior = ToggleMountedSpecialAbilityUpdate ModuleTag_HackCrush
SpecialPowerTemplate = SpecialAbilityToggleMounted
UnpackTime = 2000
PreparationTime = 1
PersistentPrepTime = 250
PackTime = 2000
OpacityTarget = .3 ; How see-thru to be at peak of change
AwardXPForTriggering = 0
End
    

Next you'll need a locomotor just copy the SET_NORMAL one and change SET_NORMAL to SET_MOUNTED
Everything else should be the same.

              
Code

LocomotorSet
Locomotor = HumanLocomotor
Condition = SET_MOUNTED
Speed = NORMAL_EVIL_HERO_SPEED
End


Next you'll want to go up and change the crush settings.

              
Code
    
CrusherLevel = 0 ;Can I crush anything?
MountedCrusherLevel = 1 ;Crush level when mounted.
CrushableLevel = 2 ;What am I?: 0 = for infantry, 1 = for trees, 2 = cavalry/heroes
MountedCrushableLevel = 2 ;Crusable level when mounted.

CrushWeapon = HeroCrush

MinCrushVelocityPercent = 50 ; Has to be moving at at least 50% of full speed.
CrushDecelerationPercent = 30 ; Lose xx percent of max velocity when crushing.

CrushKnockback = 40
CrushZFactor = 1.0
    

These are your basic crush settings for a mounted hero.

The final step is over in Attributemodifier.ini

              
Code

ModifierList WolfRun
Category = SPELL
Modifier = CRUSH_DECELERATE 0%
    Modifier = SPEED 150%    
    ModelCondition = MOUNTED
Duration = 20000
End


In your attmod for the hero mode simply add the MOUNTED Model Condition.
This will trigger the mount toggle and the locomotor as well as the mounted crush.
Now your hero will bowl over enemies as he charges.

Part 2 will adapt this for a horde.

Links / Downloads

 HitsAdded
Crushing Special Power Part 2:Hordes1180June 2, 2013 - 9:36

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

 
21:39:53