posted January 14, 2004 02:17 PM
in the weapons ent:SecEnt = mesh/WaveMotionGlow
and then the WaveMotionGlow.ent:
class = mesh
type = WaveMotionGlow
mesh = weapons/laserbeam.lwo
texture = textures/laserbeam2red.bmp
scale = 1.0
collide = 0
mass = 1
scalematrix = 1, 1, 6
fade = 0.6
blend = add
smoothshade = 1
solidlight = 1
cullface = 1
edgetrans = 0
group = 2
Transitory = 1
The scalematrix line above controls the size of the laser which is actually 1m x 1m x 1m in size.
As you can see, for some reason the Zentreadi Assult weapon used the same technique, but the secent mesh hung around after the weapon itself disappeared. It doesn't happen with the WMC, the Arc Welder, and the SAM weapons. Still trying to figure out why.
[This message has been edited by KiLlEr (edited January 14, 2004).]