Jump to content
Sign in to follow this  
johnnyboy

cl_fire and cl_basic do not work in Drop command

Recommended Posts

To create fire and smoke effects in OFP, we would use the drop command, with the first parameter being set to "cl_fire" or "cl_basic". This does not work in ARMA.

Example drop command from General Barron's script fire_effect.sqs:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

drop ["cl_fire","","Billboard",100,6*_power/((0.1*(abs speed _obj))+1),[(_center select 0) + _dist * cos _dir,(_center select 1) + _dist * sin _dir, _center select 2],[0,0.3*(speed _obj),_zVel*_power],0,34*_size*_power,27*_size*_power,0.05,[5*_size*_power,7*_size*_power,14*_size*_power,22*_size*_power],[[1,1,1,0.1+0.8*_power],[0.07,0,0,0.1+0.7*_power],[0,0,0,0.1+0.5*_power],[0,0,0,0]],[0,1*_power,0,0.33*_power,0.66*_power],0.2,(_zVel/10)*_power,"","",_obj]

The above code results in this Arma error message:

Cannot open object data3d\cl_fire.p3d

Does anyone know if Drop command works in Arma?

Does anyone know what new parameters will work to produce fire and smoke effects?

Please advise.

Share this post


Link to post
Share on other sites

You need to specify the ArmA location. Indeed it does work.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">"\ca\data\cl_basic"

Share this post


Link to post
Share on other sites

Just a note, mods/addon makers also shouldn't have to use the drop command (or any scripting) so much in ArmA now that you can create a number of supported effects in addon configs (in theory).

Also, there are some new commands that seem to be related to the drop command that you might want to check out. I'm not sure exactly what they do, if anything at all, but it could be worth looking into.

setParticleParams

setParticleCircle

setParticleRandom

setDropInterval

Share this post


Link to post
Share on other sites

Hoz: Thanks! The new path "\ca\data\cl_basic" works as you said.

Deano: Thanks for the additional info.

The settings in General Barron's FireEffect ofp script yield a different looking effect in arma. Smoke has alot of red in it. And large smoke looks wrong.

Looks like we will have to do some tweaking until we get proper looking fire and smoke effects. Those new commands may help.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×