bel3ve
  • bel3ve
  • 100% (Exalted)
  • Major Topic Starter
17 years ago
Found this is the avenger code, what is this used for, I haven't seen it before and also does it have a place where I can edit it! The ;comment does not help.


Weapon AvengerTargetDesignator
PrimaryDamage = 200.0 ; How long (msec) we put the status on the target (should equal or exceed DelayBetweenShots)
PrimaryDamageRadius = 0.0
AttackRange = 200.0
DamageType = STATUS ; We put an Object Status on the target
DamageStatusType = FAERIE_FIRE ; And here is what
WeaponSpeed = 999999.0 ; dist/sec
DelayBetweenShots = 200 ; time between shots, msec
ClipSize = 0 ; how many shots in a Clip (0 == infinite)
ClipReloadTime = 0 ; how long to reload a Clip, msec
LaserName = AvengerTargetingLaserBeam
LaserBoneName = TurretFX03
FireFX = WeaponFX_AvengerTargetDesignator
FireSound = AvengerPaintWeaponLoop
FireSoundLoopTime = 120 ; loop the firing sound until there's this much delay between shots
End


UserPostedImage
Sponsor
Annihilationzh
17 years ago
You can modify it in GameData.ini

  WeaponBonus = TARGET_FAERIE_FIRE  RATE_OF_FIRE  150%

It makes units fire 50% faster at the target.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
beng
  • beng
  • 66.5% (Friendly)
  • Captain
17 years ago
Change it from FAERIE_FIRE to UNDER_CONSTRUCTION, then whatever you shoot will be unable to work and the enemy dozers will try and rebuild it if it is a structure.

Note that once you stop shoitng it and the status damage expires, it then acts as if it has been constructed even if it is just at the scaffolding stage.

For other statuses to try see:
http://www.cncmaps.com/index.php?s=&showtopic=2120&view=findpost&p=1988593