Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: --Steve-O-- on March 01, 2012, 11:13:03 pm

Title: $Pspew question
Post by: --Steve-O-- on March 01, 2012, 11:13:03 pm
forgive my ignorance...
I'm trying to figure out what these lines in the $Pspew weapons table entry do exactly other than cause FSO to throw out a savage rebuke.

+Offset: position of effect with regards to the weapon center
Syntax: Vector

+Initial Velocity: to indicate both direction and speed of particle effects regards to the weapon velocity and +scale:
 Syntax: Vector

are these used only for certain effects like sparkler and so on?
and an even better question...what is the entry format for a vector?



Title: Re: $Pspew question
Post by: Nuke on March 02, 2012, 10:52:31 am
i think both of these can be added to any spew effect. +offset: is useful for things like missiles with multiple engines. +Initial Velocity: is a velocity vector that is added to any particle velocity caused by the effect. so you can make the particles head off in a specific direction and speed.