PDA

View Full Version : Drop Command Help



MattXR
Dec 14 2006, 20:58
Can Anyone tell me what this wont work in ArmA..!!


Quote[/b] ]drop ["cl_basic","","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]


It works in OFP just not in ArmA http://forums.bistudio.com/oldsmileys/banghead.gif and i just dont no as you can see lol

hardrock
Dec 14 2006, 22:30
It works in OFP just not in ArmA http://forums.bistudio.com/oldsmileys/banghead.gif and i just dont no as you can see lol
You see, that's the reason why I didn't touch the scripting engine yet. Let's wait a few patches until most of the non or wrong-working commands are fixed, that saves a lot of http://forums.bistudio.com/oldsmileys/banghead.gif

http://forums.bistudio.com/oldsmileys/smile_o.gif

Korax
Dec 14 2006, 22:42
The command works, just there is no CL_basic in Arma. there are many effects you can use but you have to look for them in the CA pbo. For example: "\ca\data\ParticleEffects\Rocketsmoke\Rocketsmoke"

deanosbeano
Dec 15 2006, 10:21
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">setParticleParams &#91;&#34;&#92;ca&#92;data&#92;cl_basic&#34;, &#34;&#34;, &#34;Billboard&#34;, [/QUOTE]
basics in there just where and how has changed.

MattXR
Dec 15 2006, 10:44
Gah im too confused.. http://forums.bistudio.com/oldsmileys/mad_o.gif

Ill wait till someone makes a new fire script.

deanosbeano
Dec 15 2006, 10:51
i havent time to test any drop myself a mo.
but ya could start with trying
where yours = drop ["cl_basic"
to
["&#92;ca&#92;data&#92;cl_basic"
long shot but at least we wil know http://forums.bistudio.com/oldsmileys/smile_o.gif

MattXR
Dec 15 2006, 10:53
i havent time to test any drop myself a mo.
but ya could start with trying
where yours = drop ["cl_basic"
to
["&#92;ca&#92;data&#92;cl_basic"
long shot but at least we wil know http://forums.bistudio.com/oldsmileys/smile_o.gif
already tired http://forums.bistudio.com/oldsmileys/tounge2.gif

deanosbeano
Dec 15 2006, 10:54
and given error was no cl basic ?

MattXR
Dec 15 2006, 10:56
and given error was no cl basic ?
No something about the
Quote[/b] ]"Billboard",100,6*_power gets the error.

Im sure ive seen a Cl_Basic in ArmA but with using two versions both get the same error.

deanosbeano
Dec 15 2006, 11:06
there is a definit cl_basic ,just your sscript obviously has some old ofp syntax that arma dont like.
heres an example from an arma script, vehicle dust i think.
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_dbase = &#91;&#91;&#91;0.85,0.85,0.85,0&#93;,&#91;0.85,0.85,0.85,0.15&#93;,&#91;0.85,0.85,0.85,0&#93;&#93;, &#91;&#91;0.77,0.68,0.55,0&#93;,&#91;0.77,0.68,0.55,0.4&#93;,&#91;0.77,0.68,0.55,0&#93;&#93;, &#91;&#91;1,1,1,0&#93;,&#91;1,1,1,0.9&#93;,&#91;1,1,1,0&#93;&#93;&#93;
......................
_source = &#34;#particlesource&#34; createVehicleLocal &#91;position _vehicle select 0, position _vehicle select 1, 0&#93;
_source setParticleRandom &#91;2, &#91;0.5, 2, 0.5&#93;, &#91;0, 0, 0&#93;, 0, &#91;1, 4&#93;, &#91;&#93;, 0, 0&#93;
_source setDropInterval 0.05

_source2 = &#34;#particlesource&#34; createVehicleLocal &#91;position _vehicle select 0, position _vehicle select 1, 0&#93;
_source2 setParticleRandom &#91;2, &#91;0.5, 2, 0.5&#93;, &#91;0, 0, 0&#93;, 0, &#91;1, 4&#93;, &#91;&#93;, 0, 0&#93;
_source2 setDropInterval 0.05
..............
_color = &#40;_dbase select _surf&#41;
_source setParticleParams &#91;&#34;&#92;ca&#92;data&#92;cl_basic&#34;, &#34;&#34;, &#34;Billboard&#34;, 1, 4, &#91;-1, &#40;&#40;speed _vehicle&#41;/20&#41;, -2&#93;, &#91;0,0,0&#93;, 1, 1.3, 1, 0, &#91;0.4, 5&#93;, _color, &#91;0,1&#93;, 0, 0, &#34;&#34;, &#34;&#34;, _vehicle&#93;
_source2 setParticleParams &#91;&#34;&#92;ca&#92;data&#92;cl_basic&#34;, &#34;&#34;, &#34;Billboard&#34;, 1, 4, &#91;1, &#40;&#40;speed _vehicle&#41;/20&#41;, -2&#93;, &#91;0,0,0&#93;, 1, 1.3, 1, 0, &#91;0.4, 5&#93;, _color, &#91;0,1&#93;, 0, 0, &#34;&#34;, &#34;&#34;, _vehicle&#93;
[/QUOTE]
all i can suggest is wait until someone can pick the bosnes out of that.
what i do know that i can use the drop command still the same
especially with spaceobject and a custom p3d. so it must be either your syntax isnt accepted or your not defining power ?
good luck http://forums.bistudio.com/oldsmileys/smile_o.gif

Balschoiw
Dec 18 2006, 09:09
Bump.

Can we have someone from BIS either update the Wiki or post embedded drop channels and formats here ?