Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Lightspeed on December 31, 2003, 05:59:59 pm
-
Can someone explain the following weapon flags for me?
I need to know where to put them (havent found this anywhere)
$Particle Spew
$Fof:
$Shot: (how do I get Fof and shot to work, where do I have to put them and how do they work)
-
$fof: is field of fire. Put it at the end of a weapon to make it less accurate (excellent when modifying weapons such as the Maxim for realism.:D )
$shots: is how many shots are fired at once. Only noticeable with the $fof: flag as the shots won't go in seperate directions unless you use this.
EDIT: They're all in the SCP readme. $particlespew is in there somewhere.
-
$particlespew is a default FS2 one, it makes little particles stream ou the back, like on the lamprey...
-
No, that's the flag. The $particlespew: field at the end of the weapon has some added paramateres, but I can't remember what they are.
-
It's $Pspew, not $particle spew or anything like that. As I understand it:
$Pspew:
+Count: 1 - number of particles emitted per cycle
+Time: 16 - time in milliseconds between cycles
+Vel: -0.45 - particle velocity as a factor of the host projectile's velocity, a negative value makes it go backwards 'out' of the projectile
+Radius: 2.1 - the radius of the particle
+Life: 0.8 - lifetime of particles in seconds
+Scale: 0.8 - haven't figured this one out yet
+Bitmap: particle_green - particle bitmap
You need to have 'particle spew' in the weapon flags for this to take effect.
EDIT I think the function could benefit from something similar to the $fof tag to specify a cone where the particles are emitted.
-
put that at the end of the weapon entry,
use ani for the bitmap, life doesn't seem to do anything, it's all contrloed by the FPS of th ani
-
thanks :)