I did my homework
I created a sandstorm
-- LUA Script - precede every function and global member with lowercase name of script + '_main'
function sparks_emitter_init(e)
local imageFile = ParticlesLoadImage( "gamecore\\decals\\dust\\decal.dds" )
local emitter = ParticlesGetFreeEmitter()
ParticlesAddEmitterEx( emitter, 0.01, 1, -- emitterId, animationSpeed, startsOffRandomAngle
-1000, 0, -1000, -- offsetMinX, offsetMinY, offsetMinZ,
1000, 1000, 1000, -- offsetMaxX, offsetMaxY, offsetMaxZ
1000, 10000, 1000, 10000, -- scaleStartMin, scaleStartMax, scaleEndMin, scaleEndMax
-0.1, -0.1, -0.1, -- movementSpeedMinX, movementSpeedMinY, movementSpeedMinZ
0.1, 0.1, 0.1, -- movementSpeedMaxX, movementSpeedMaxY, movementSpeedMaxZ
-0.1, 0.1, -- rotateSpeedMinZ, rotateSpeedMaxZ
1000, 10000, -- lifeMin, lifeMax
0, 30, 50, 80, -- alphaStartMin, alphaStartMax, alphaEndMin, alphaEndMax
20, -- frequency
e, 0, imageFile, 16 ) -- entityid, limbindex, particleimage, imageframe
end
function sparks_emitter_main(e)
end
Ebe Editor Free - Build your own EBE structures with easy and without editing any text files
Thread and Download