Page 1 of 1

Beamlaser fadeout

Posted: 15 Mar 2007, 17:28
by KDR_11k
It would be useful if we could make beamlasers fade out instead of disappear immediately, preferrably the fading would be after the beam did its damage. This could be used for beamlasers that have a very short beamtime to act like railguns or other fast weapons that don't fire a stream. It just looks bad when the beam flashes up for a split second and disappears again, would be better if there was a trail that slowly faded out. For visual inspiration take e.g. UT2003's ASMD, Quake 2 and later's railgun or Dawn of War's lasguns.

Posted: 15 Mar 2007, 23:01
by Zpock
Hmmm, the way I think this should be done is you can specify 2+ different textures and it "morphs" from one texture to the other, also able to set the time this takes between each texture for more control.

Posted: 16 Mar 2007, 07:09
by KDR_11k
That would still require that the beam stays visible for longer than it does damage because I'd want e.g. a railgun to do its whole damage in one frame.

Posted: 17 Mar 2007, 13:37
by bwansy
Hmmm, I get your point. Yes, that would be nice.

Posted: 17 Mar 2007, 18:41
by Argh
So, it needs ColorMap and a value like "timeToRemove" to pad out the time after the projectile hits and allow it to exist. Not a big problem. However, iirc, I think that it'd still be capable of doing damage during that 5-frame fade or whatever.