View Single Post
Old 07-18-2003, 01:42 PM   #6 (permalink)
Jim-Bob
Senior Member
 
Join Date: Jul 2003
Posts: 138
Default

this guide is just about everywhere on the net.. and has about 20 differant authers..

Code:
;--------------add this to the weapon.ini--------------------


Weapon TTCLaserWeapon 
PrimaryDamage = 35.0 
PrimaryDamageRadius = 5.0 
AttackRange = 225.0 
DamageType = EXPLOSION 
DeathType = LASERED 
WeaponSpeed = 999999.0 ; dist/sec 
DelayBetweenShots = 100 ; time between shots, msec 
ClipSize = 3 ; how many shots in a Clip (0 == infinite) 
ClipReloadTime = 200 ; how long to reload a Clip, msec 
LaserName = TTCLaserBeam 
FireFX = WeaponFX_PaladinPointDefenseLaser 
AntiAirborneVehicle   = YES
  AntiAirborneInfantry  = YES
  AntiSmallMissile      = YES
  AntiBallisticMissile  = Yes
  AntiGround            = YES
End 



;--------------------add this to the factionuni.ini------------------


Object TTCLaserBeam 
; *** ART Parameters *** 
Draw = W3DLaserDraw ModuleTag_01 
Texture = EXLaser.tga 
NumBeams = 3 ;Number of overlapping cylinders that make the beam. 1 beam will just use inner data. 

InnerBeamWidth = 1 ;The total width of beam 
InnerColor = R:6 G:6 B:255 A:250 ;The inside color of the laser (hot) 

OuterBeamWidth = 2 ;The total width of beam 
OuterColor = R:255 G:6 B:6 A:150 ;The outside color of the laser (cool) 

;@todo -- add shot ability functionality (instead of instant point A to B) 
End 

KindOf = IMMOBILE 
ClientUpdate = LaserUpdate ModuleTag_02 
MuzzleParticleSystem = GenericDifferentialFlare 
ParentFireBoneName = Muzzle01 Muzzle02 Muzzle03
TargetParticleSystem = GenericDifferentialFlare 
End 

;Used as a weapon, this is essentially a fast pulse laser. Adjusting 
;the lifetime values will determine how long it renders. The damage 
;is applied immediately, so lifetime doesn't matter. 
Behavior = LifetimeUpdate ModuleTag_03 
MinLifetime = 95 ; min lifetime in msec 
MaxLifetime = 95 ; max lifetime in msec 
End 

End
Jim-Bob is offline   Reply With Quote