The 3rd Age

The Rhovanion Alliance

The Rhovanion Alliance

A most anticipated mod that adds 4 new factions as well as editing the old ones

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 2:Hordes

Tutorial for Battle for Middle-earth BFME

Avatar of Radspakr Wolfbane

Radspakr Wolfbane

Category: Code
Level: Expert
Created: Sunday June 2, 2013 - 9:34
Updated: Sunday June 2, 2013 - 9:36
Views: 5489
Summary: A tutorial that will teach you how to make a special power that will bowl over enemies.

Rating

Staff says

4.0

Members say

-

Average

4.0/5.0

1 vote

Part 2:Horde crush

Before doing this tutorial read Part 1.
http://www.the3rdage.net/item-761

To adapt this to a horde is pretty straight forward.

Like in the last part add a SET_MOUNTED locomotor and the crush settings for the unit.

This time however I'm using Howl as a template for the horde power.
Add a power like Howl to your horde, this simply to trigger the attmod like the hero mode in part 1.

              
Code

    Behavior = SpecialPowerModule ModuleTag_WardenRushUpdate
        SpecialPowerTemplate = SpecialAbilityWardenRush
        UpdateModuleStartsAttack = No
        AttributeModifier = WardenRush
;        AttributeModifierRange = 200
        AttributeModifierAffectsSelf = Yes
        AttributeModifierAffects = ANY +INFANTRY ;
        AttributeModifierFX = FX_WardenRush
    End    
    


This time you add the Mounted Toggle to the horde.
The same code as before.

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

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

Now you need to create a SET_MOUNTED locomotor for the horde as well.
Repeat the process from before.

Now finish off your basic Special Power stuff and you'll have an ability for a horde that will crush enemies.

Links / Downloads

 HitsAdded
Crushing Special Power Part 1:Heroes1113June 2, 2013 - 9:35

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

 
8:01:45