Jump to content


Photo

BalrogLeap

mod

  • Please log in to reply
1 reply to this topic

#1 Slava Shadrinov

Slava Shadrinov
  • Members
  • 178 posts
  • Projects:The Word Of Tolkien Mod

Posted 04 September 2016 - 08:30 PM

Hi all!

I want to give more armor when Balrog start leap

Code:
 

Behavior = SpecialPowerModule ModuleTag_LeapStarter                      
SpecialPowerTemplate = SpecialAbilityBalrogWings
UpdateModuleStartsAttack = Yes
InitiateSound = BalrogSpecialPowerRoar ;this plays on right-click target, not when Balrog leaps
End
 
Behavior = WeaponFireSpecialAbilityUpdate ModuleTag_LeapUpdate   
SpecialPowerTemplate    = SpecialAbilityBalrogWings
 
UnpackTime              = 1733 ; Drawing the horn
PackTime                = 1160 ; Putting horn away
 
AwardXPForTriggering    = 0
 
StartAbilityRange = 800.0
ApproachRequiresLOS = No
SpecialWeapon = MordorBalrogLeap
BusyForDuration = 3000 ; don't accept any AI for this long... ai commands will be queued
WhichSpecialWeapon = 2
End

Need help


#2 JUS_SAURON

JUS_SAURON

    El Shaddai

  • Members
  • 1,581 posts
  • Location:Trinidad
  • Projects: BFME2 MOD - Power Of The Ring
  •   INI Coder

Posted 04 September 2016 - 09:06 PM

probably add

 

to weapon MordorBalrogLeap

 

   AttributeModifierNugget
AttributeModifier        = NewAttribute
SpecialObjectFilter      = NONE +MordorBalrog ALLIES
End   
 
then add a new Atribute with armour 
 
ModifierList NewAttribute
Category = WEAPON
Modifier = ARMOR 25%
Duration = 18000
FX = FX_GenericArmorLeadership 
End
 
I have no idea if it would work ...so go ahead and test





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users