March 27th, 2004
|
#2 |
| Wha?!?!?!?!
Join Date: October 27th, 2003 Location: On Earth Status: In a window Rep Power: 0 | Re: anti personel rocket I haven't tested it yet but....
in WEAPON.INI
Weapon rocketburnweapon
PrimaryDamage = 30.0 ;damage amount
PrimaryDamageRadius = 5.0 ; radius that it does damage to
SecondaryDamage = 1.0 ;secondary damage amount
SecondaryDamageRadius = 10.0 ;secondary radius
ScatterRadiusVsInfantry = 0.0 ;When this weapon is used against infantry, it can randomly miss by as much as this distance.
AttackRange = 9999.0 ;High number = anywhere
MinimumAttackRange = 0; 10.0 ;minimum range to attack an enemy
DamageType = FLAME ;damage type (some do more damage to things than others)
DeathType = BURNED ;death animation(s) to choose when enemy unit is killed
WeaponSpeed = 600 ;speed of the weapon dist/sec
WeaponRecoil = 0 ;angle to deflect the model when firing
ProjectileObject = RocketBuggyMissile ;object moving around
FireFX = WeaponFX_DragonTankFlameWeapon ;the effect for "firing" the projectile
ProjectileDetonationFX = WeaponFX_DragonTankMissileDetonation ;effect for the projectile to "explode"
FireSound = RocketBuggyWeapon ;DragonTankWeaponLoop ;sound to play when "firing" the projectile
; FireSoundLoopTime = 80 ; loop the firing sound until there's this much delay between shots
RadiusDamageAffects = ALLIES ENEMIES NEUTRALS ;who can be hit by this weapon
DelayBetweenShots = 40 ; time between shots, msec
ClipSize = 0 ; how many shots in a Clip (0 == infinite)
ClipReloadTime = 40 ; how long to reload a Clip, msec
ProjectileStreamName = FlamethrowerProjectileStream ; Drawing helper for this weapon. Tracks all projectiles in air
ProjectileCollidesWith = ENEMIES STRUCTURES WALLS SHRUBBERY ;if this gets in the way... just crash into it
AllowAttackGarrisonedBldgs = Yes ;can hit infantry in buildings(NOT CHinaBunkers though)
End
and in FACTIONUNITS.INI or WEAPONOBJECT.INI (for zero hour)
do a search (ctrl+f) 'object rocketbuggymissile' and find this in it
Behavior = MissileAIUpdate ModuleTag_07
TryToFollowTarget = Yes
FuelLifetime = 3000 ;;; CHANGE THIS TO LIKE 999999
InitialVelocity = 250 ; in dist/sec
IgnitionDelay = 0
DistanceToTravelBeforeTurning = 3
IgnitionFX = FX_BuggyMissileIgnition
End |
|
Last edited by GuyInTheWindow; March 27th, 2004 at 06:12 AM.
|
| |