Jump to content


Tomalak

Member Since 06 Mar 2005
Offline Last Active Jul 17 2006 10:08 PM

Topics I've Started

Special powers and Unit experience

06 March 2005 - 03:56 PM

Ok, I want to make Faramir's wounding arrow, which I added to Haldir, require level 2 before becoming active.

I added this line into his ini:

Behavior = SpecialPowerModule ModuleTag_WoundArrow
  SpecialPowerTemplate      = SpecialAbilityWoundArrow
  TriggeredBy  = Upgrade_FaramirWoundingArrow
  UpdateModuleStartsAttack  = Yes
      InitiateSound            = HaldirVoiceAttack
End

Behavior = WeaponFireSpecialAbilityUpdate ModuleTag_WoundArrowUpdate
  SpecialPowerTemplate    = SpecialAbilityWoundArrow
;  ForbiddenConditions  = MOUNTED

  SkipContinue  = Yes
  UnpackTime              = 2000
  PreparationTime        = 1 
  PersistentPrepTime      = 1000
  PackTime                = 1
 
  AwardXPForTriggering    = 0
  StartAbilityRange = 325.0 ; Note: This has to be smaller than the weapon range or it'll never succeed
 
  ApproachRequiresLOS  = Yes 
 
  SpecialWeapon = FaramirWoundArrow
  WhichSpecialWeapon = 1
End


But I keep getting an error passing the "Triggeredby" field. I have added it to the Upgrade.ini, and experiencelevels. I'm not quite sure what I'm doing wrong.

Any ideas, chaps?