I presume this may have something to do with the emitter ID but unsure. Ok i have various smoke emitters for chimneys and fires i tried to add a flame particle for a torch and although i know its right it shows as smoke with the flame animation? any ideas where I'm going wrong here?
Cheers
-- LUA Script - precede every function and global member with lowercase name of script + '_main'
function smoke_emitter2_init(e)
local imageFile = ParticlesLoadImage( "effectbank\\particles\\64smoke2.dds" )
local emitter = ParticlesGetFreeEmitter()
ParticlesAddEmitterEx( emitter, 1, 1,
0, 16, 0, 0, 16, 0,
20, 80, 20, 120,
0.08, 0.3, 0.08, 0.08, 0.6, 0.08,
100.1, 100.1, 8000, 8000,
160, 195, 190, 190,
30, e, 0, imageFile, 64 )
end
function smoke_emitter2_main(e)
end
-- LUA Script - precede every function and global member with lowercase name of script + '_main'
function smoke_emitter_init(e)
local imageFile = ParticlesLoadImage( "effectbank\\particles\\64smoke2.png" ) -- \\ DW_CloudExplode.dds
local emitter = ParticlesGetFreeEmitter()
ParticlesAddEmitterEx( emitter, 1, 1,
0, 16, 0, 0, 16, 0,
2, 4, 2, 6,
-0.08, 0.3, -0.08, 0.08, 0.6, 0.08,
-0.1, 0.1, 4000, 4000,
60, 95, 0, 0,
30, e, 0, imageFile, 64 )
end
function smoke_emitter_main(e)
StartParticleEmitter(e)
end
function fireplace_init(e)
local imageFile = ParticlesLoadImage( "effectbank\\particles\\phoflame.dds" )
local emitter = ParticlesGetFreeEmitter()
ParticlesAddEmitterEx( emitter, 1, 1,
0, 1, 0, 0, 1, 0,
10, 15, 0, 0,
-0.22, 0.9, -0.22, 0.22, 1.1, 0.22,
-0.22, 0.22, 600, 700,
60, 70, 0, 0,
30, e, 0, imageFile, 1 )
end
function fireplace_main(e)
end
Intel i5 4950 Quad core 3.3ghz AMD FX 6300 x6 cores 3.5ghz(unclocked)
8gb Ram 8gb Ram
XFX R5 2gb AMD Radeon HD 6670 2gb
and a well fed mouse on a wheel
I only smile because i have absolutely no idea whats going on