December 22, 2024, 02:46:41

Author Topic: Using a STRIP in an end effect  (Read 4656 times)

Offline Mularac

  • Lieutenant
  • ***
  • Posts: 531
  • Karma: 11
    • View Profile
Using a STRIP in an end effect
« on: February 21, 2011, 18:35:46 »
So far, I've been trying to mimic a true "miss" effect for all my weapons, that is when a shot misses it doesn't transform magically into a burning... thingy and then disappears.

I've been having some degree of success in this area, except in the weapons whose effect contains a STRIP.

The STRIP effect is traditionaly used for beams and lasers, however they can be adapted to function as projectiles or Star Wars-type lasers (as opposed to Nexus ones, for example).

But, if we have, let's say, the SG: WB railgun travel effect:

Code: [Select]
EFX 355  // Railgun

NoModColor
STRIP
Texture 11
Length 30
Radius 1.6
Color 1 1 1
ColorB 1 1.1 0
PulseFactor .7
STRIP

SOUND
Index 207 208
Level .5
SOUND
EFX

and if we want to make the "end" effect a similar one, with, let's say, the same piece effect a most bizarre bug will appear.

A laser composed of the same thickness and color than the original strip will appear at the center of coordinates and stay fixed to the object the original weapon fired and missed until the decay value runs off (if it has any, otherwise it'll say forever).

So, my question: Do you guys know a way of making STRIP-based weapons have a similar end effect?