PDA

View Full Version : Creating smoke



december
Jun 13 2009, 11:26
Can anyone tell me why I can't create smoke or explosion using ARTY rounds? Works fine for small hand held smoke and smaller rounds.

rx = Random 10; ry= Random 10;fire="ARTY_30Rnd_122mmSMOKE_D30" createvehicle [(getPos triggbomb select 0)+rx,(getPos triggbomb select 1)-ry,0];

Cheers

december
Jun 15 2009, 03:20
Someone said these rounds are virtual and can't be used.

However the Arty module uses smoke rounds.
Does anyone know what the rounds are called?

Tajin
Jun 15 2009, 08:34
They might be scripted using drop particles, it's not necessarily part of the ammo.

december
Jun 15 2009, 12:28
That was mentioned too, I will look into it, cheers

Junker
Jun 15 2009, 15:24
Found the effect in the arty module under effects : -


scriptName format ["%1ARTY\data\fx\scripts\impactCloudLarge.sqf (_this: %1)",_this];

_rand=random 0.5;
_rand1=random 0.5;
_rand2=random 0.5;
_height = _this select 2;
_size = 24 - (_height*0.33);
drop [["\ca\Data\ParticleEffects\Universal\Universal", 16, 7, 48, 1],
"", "Billboard", 1, 8+2*_rand, [_this select 0 + _rand, _this select 1 + _rand, _this select 2 + _rand], [_rand1*0.8,_rand2*0.8, 0.5+_rand2],
0, 10.6, 7.9, 0.075, [0.001,_size,_size],
[[0.5, 0.5, 0.5, 0.3],[0.4, 0.4, 0.4, 0.9],[0.4, 0.4, 0.4, 0.9],[0.3, 0.3, 0.3, 0.7], [0.3, 0.3, 0.3, 0]],
[0.5*_rand], 1, 0, "", "", ""];

december
Jun 16 2009, 04:11
Thanks Junker. Now just have to find a way to get it to execute in the map.