@lord-rama, on Mar 25 2006, 06:50 PM, said in Cool Nova Hacks:
I just made a weapon with invisible shots. Just give it a negative falloff value. (I used negative 10, not sure if varying values has any effect.)
Giving a non-beam weapon a negative Falloff value will cause it to fade in over the course of the first thirty frames of its life. The fade-in rate is proportional to the number you put into the Falloff field, with -1 being an even fade-in over the full thirty frames, and anything lower than about -16 suddenly blinking into existance at the end of the thirty frames.
This behaviour is the inverse of what happens when you put a positive number in the Falloff field of a non-beam weapon. In those cases, the weapon fades out of visibility during the last thirty frames of its life.
The positive Falloff trick is used in the default scenario for such weapons as the Railguns and Fusion Pulse Cannon. Negative Falloff is unused, but can lead to interesting Fire-While-Cloaked weapons. Unfortunately, negative Falloff has its effect whether or not you are cloaked, so using it with FWC weapons would require either fancy work to make sure that you can't fire it while not cloaked, or careful writing to explain why the shots are always fired cloaked, even while your ship is not, and yet de-cloak after being fired.
Edwards