FileFront Forums

FileFront Forums (http://forums.filefront.com/)
-   CnC Modding, Mapping and Editing (http://forums.filefront.com/cnc-modding-mapping-editing-273/)
-   -   anti personel rocket (http://forums.filefront.com/cnc-modding-mapping-editing/117419-anti-personel-rocket.html)

blaster_beaver March 26th, 2004 03:37 PM

anti personel rocket
 
i have an thing in mind thats :clap: cool:clap:
look:deal:

a tank thats shoots a special rocket that make a THICK fire trail
that flies VERY low ALL over 2 the other side of the map

or just the weapon
u know like a looooooong :greenflame::furious: flame that burn for some time



can any1 make that
if u can
plz post the code
if ur gonna use this in ur mod plz credit me for the idea

GuyInTheWindow March 27th, 2004 06:10 AM

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

blaster_beaver March 27th, 2004 06:09 PM

Re: anti personel rocket
 
it dosnt work :uhm:


try to get it to work:type: plz


All times are GMT -7.

Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.