The 3rd Age

Age of the Firstborn

Age of the Firstborn

A mod that adds two new factions, new CaH-Class, new maps 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

Taking spells Fx and put them in another spell

Tutorial for Battle for Middle-earth II BFME 2

No Avatar

lordkarranyi

Category: Code
Level: Beginner
Created: Wednesday June 8, 2011 - 5:57
Updated: Wednesday June 8, 2011 - 11:21
Views: 4854
Summary: Taking spells Fx and put them in another spell

Rating

Staff says

2.0

Members say

-

Average

2.0/5.0

1 vote

Page 1 2 3
first open weapon.ini


the go to GandalfWordOfPower and copy it

;------------------------------------------------------------------------------
Weapon GandalfWordOfPower ; Big Blue Ring Blast
    IdleAfterFiringDelay = 0
    AttackRange = GANDALF_WORD_OF_POWER_RANGE
    MinimumAttackRange = 0.8
    WeaponSpeed = 401 ; dist/sec
    MinWeaponSpeed = 241
    MaxWeaponSpeed = 601 ; dist/sec Upper limit on scaling, when attacking past nominal "max" range
    ScaleWeaponSpeed = Yes ; Used for lob weapons, scales speed proportional to range
    RadiusDamageAffects = ENEMIES NOT_SIMILAR
    DelayBetweenShots = 5000 ; time between shots, msec
    PreAttackDelay = 2600
    PreAttackType = PER_ATTACK ; Do the delay each time we attack a new target
    PreAttackFX = FX_GandalfPreAttackBlastReal
    FireFX = FX_GandalfBlast
    FiringDuration = 1400
    DamageNugget ; A basic Nugget that just does damage
        Damage            = GANDALF_WORD_OF_POWER_DAMAGE
        Radius            = 250.0
        DamageType        = MAGIC
        DamageFXType    = MAGIC
        DeathType        = EXPLODED
        DamageSpeed        = 700.0 ; must match the ShockWaveSpeed below
    End
    MetaImpactNugget ; A Nugget that throws things back with force
;        HeroResist            = .75
        ShockWaveAmount = 75.0
        ShockWaveRadius = 500.0
        ShockWaveTaperOff = 1.0
        ShockWaveZMult = 1.000
        ShockWaveSpeed     = 700.0
    End
End


and find MordorGateWatchersFearWeapon
and copy the FireFx FX_FearBlast
then replace it with FX_GandalfBlast

it should be like this

;------------------------------------------------------------------------------
Weapon GandalfWordOfPower ; Big Blue Ring Blast
    IdleAfterFiringDelay = 0
    AttackRange = GANDALF_WORD_OF_POWER_RANGE
    MinimumAttackRange = 0.8
    WeaponSpeed = 401 ; dist/sec
    MinWeaponSpeed = 241
    MaxWeaponSpeed = 601 ; dist/sec Upper limit on scaling, when attacking past nominal "max" range
    ScaleWeaponSpeed = Yes ; Used for lob weapons, scales speed proportional to range
    RadiusDamageAffects = ENEMIES NOT_SIMILAR
    DelayBetweenShots = 5000 ; time between shots, msec
    PreAttackDelay = 2600
    PreAttackType = PER_ATTACK ; Do the delay each time we attack a new target
    PreAttackFX = FX_GandalfPreAttackBlastReal
    FireFX = FX_FearBlast
    FiringDuration = 1400
    DamageNugget ; A basic Nugget that just does damage
        Damage            = GANDALF_WORD_OF_POWER_DAMAGE
        Radius            = 250.0
        DamageType        = MAGIC
        DamageFXType    = MAGIC
        DeathType        = EXPLODED
        DamageSpeed        = 700.0 ; must match the ShockWaveSpeed below
    End
    MetaImpactNugget ; A Nugget that throws things back with force
;        HeroResist            = .75
        ShockWaveAmount = 75.0
        ShockWaveRadius = 500.0
        ShockWaveTaperOff = 1.0
        ShockWaveZMult = 1.000
        ShockWaveSpeed     = 700.0
    End
End

now rename the spell name to what u want Example: WitchKingWordOfPower

it will be like this

;------------------------------------------------------------------------------
Weapon WitchKingWordOfPower ; Big Blue Ring Blast
    IdleAfterFiringDelay = 0
    AttackRange = GANDALF_WORD_OF_POWER_RANGE
    MinimumAttackRange = 0.8
    WeaponSpeed = 401 ; dist/sec
    MinWeaponSpeed = 241
    MaxWeaponSpeed = 601 ; dist/sec Upper limit on scaling, when attacking past nominal "max" range
    ScaleWeaponSpeed = Yes ; Used for lob weapons, scales speed proportional to range
    RadiusDamageAffects = ENEMIES NOT_SIMILAR
    DelayBetweenShots = 5000 ; time between shots, msec
    PreAttackDelay = 2600
    PreAttackType = PER_ATTACK ; Do the delay each time we attack a new target
    PreAttackFX = FX_GandalfPreAttackBlastReal
    FireFX = FX_FearBlast
    FiringDuration = 1400
    DamageNugget ; A basic Nugget that just does damage
        Damage            = GANDALF_WORD_OF_POWER_DAMAGE
        Radius            = 250.0
        DamageType        = MAGIC
        DamageFXType    = MAGIC
        DeathType        = EXPLODED
        DamageSpeed        = 700.0 ; must match the ShockWaveSpeed below
    End
    MetaImpactNugget ; A Nugget that throws things back with force
;        HeroResist            = .75
        ShockWaveAmount = 75.0
        ShockWaveRadius = 500.0
        ShockWaveTaperOff = 1.0
        ShockWaveZMult = 1.000
        ShockWaveSpeed     = 700.0
    End
End

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:25:59