Well heres what I came up with...
Code:
****Weapon.ini****
;------------------------------------------------------------------------------
Weapon RailgunWeapon
PrimaryDamage = 100.0
PrimaryDamageRadius = 0.0 ; 0 primary radius means "hits only intended victim"
AttackRange = 600.0
DamageType = PARTICLE_BEAM
DeathType = BURNED
WeaponSpeed = 999999.0 ; dist/sec (huge value == effectively instant)
;WeaponSpeed = 10.0 ; dist/sec (huge value == effectively instant)
LaserName = RailgunSlugStream
LaserBoneName = WEAPON02
RadiusDamageAffects = ALLIES ENEMIES NEUTRALS
DelayBetweenShots = 850 ; time between shots, msec
ClipSize = 5 ; how many shots in a Clip (0 == infinite)
ClipReloadTime = 2500 ; how long to reload a Clip, msec
AntiAirborneVehicle = Yes
AntiAirborneInfantry = Yes
FireSound = MicrowaveWeaponLoop
End
***********************************************************
****WeaponObjects.ini****/INI/Object Folder
;------------------------------------------------------------------------------
Object RailgunSlugStream
; *** ART Parameters ***
Draw = W3DLaserDraw ModuleTag_01
Texture = EXSineWave.tga
Tile = Yes
TilingScalar = .5
ScrollRate = -10 ;Scrolls the texture offset this fast -- towards(-) away(+)
NumBeams = 1 ;Number of overlapping cylinders that make the beam. 1 beam will just use inner data. Current
max: 10
InnerBeamWidth = 5 ;The total width of beam
InnerColor = R:100 G:200 B:200 A:50 ;The inside color of the laser (hot)
OuterBeamWidth = 5.0 ;The total width of beam
OuterColor = R:45 G:255 B:244 A:5 ;The outside color of the laser (cool)
End
KindOf = IMMOBILE UNATTACKABLE NO_COLLIDE
ClientUpdate = LaserUpdate ModuleTag_02
MuzzleParticleSystem = GenericGreenLaserFlare
TargetParticleSystem = HackFlare
End
Behavior = DeletionUpdate ModuleTag_03
MinLifetime = 126 ; min lifetime in msec
MaxLifetime = 126 ; max lifetime in msec
End
End
**********************************************************
Make sure you put em in the correct files
I set the KindOf to NO_COLLIDE but unlike the emp pulse etc. it still collides with objects, people, buildings etc.
I used the microwave beam laser to make an interesting raingun slug beam.
Anyway tweak away addon to and see what we can come up with
