Yes, all the settings are the same I've simply added a couple.
(plus the ability to load alternative 'particle' files)
Oh, and completely re-written it to be way more efficient and increase the maximum number of particles on screen at once.
The settings for the 'laser' effect:
{ animSpd = 1/2, SR = 1, freq = 20, lifeMin = 3000, lifeMax = 3000,
-- minX minY minZ maxX maxY maxZ
offset = { -5, 40, 0, -5, 40, 0 },
speed = { 6, 0, 0, 6, 0, 0 },
rotate = { -0.2, 0.2 },-- currently only Z rotate processed
-- startMin startMax endMin endMax
scale = { 10, 20, 10, 20 },
alpha = { 75, 75, 75, 75 }
}
The settings are in a 'named' list and are used by a Lua wrapper function like so:
PE_CreateNamedEmitter( 'laser', 2, numFrames, g_Entity[e].obj )
The '2' refers to the image used, in this case the default 'flame' image.
Here is what it looks like using the 'flowerpuff' image file and slightly different settings:
Been there, done that, got all the T-Shirts!