OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: tateyou on 17 Jul 2008, 07:06:21
-
In the nuke addon,when nuke exploded,there is a wind of dust represent as shockwave
How to create this effect? I want to use it as a small version,like use it on Bo_GBU12_LGB
Thanks a lot!
-
Tateyou,
Don't have the addon in front of me right now (using a different computer).
if you have a .pbo unpacker you could probably find the file/
I'd have to get back to you in about 10 hrs.
Here's YOUR reply, as always.
Luke
-
Thanks!
And i do have a .pbo unpacker,waiting for good news!
-
~37200 :D
Tateyou,
Sorry I'm late, what did I miss? :)
There's a file in GIGAN's SCUD addon entitled "nuke_blast1".
If you want to call it, you can by typing [getpos name select 0, getpos name select 1] exec "\GIG_Scud\nuke_blast1.sqs"
I 'believe' since it's a). unmodified). and b) released to the public) that I am not doing anything wrong here.
but the basic jist is here:
_posx = _this select 0
_posy = _this select 1
_cnt = 0
_next = 0
_agl = random 360
_aglz = 0
#loop
?(_cnt > 30) : goto "next"
_velx = (sin _agl) * 1000.0
_vely = (cos _agl) * 1000.0
_velz = 10
drop ["\Ca\Data\Cl_basic","","Billboard",1,3.0,[_posx,_posy, -10],[_velx,_vely,_velz],1,1.25,1.0,0.0,[50,300,750,1500],[[1.0,1.0,1.0,0.0],[1.0,1.0,1.0,0.2],[1.0,1.0,1.0,0.1],[1.0,1.0,1.0,0.05],[1.0,1.0,1.0,0.025],[1.0,1.0,1.0,0.012],[1.0,1.0,1.0,0.0]],[0],0.0,2.0,"","",""]
_velx = (sin (_agl + 120)) * 1000.0
_vely = (cos (_agl + 120)) * 1000.0
drop ["\Ca\Data\Cl_basic","","Billboard",1,3.0,[_posx,_posy, -10],[_velx,_vely,_velz],1,1.25,1.0,0.0,[50,300,750,1500],[[1.0,1.0,1.0,0.0],[1.0,1.0,1.0,0.2],[1.0,1.0,1.0,0.1],[1.0,1.0,1.0,0.05],[1.0,1.0,1.0,0.025],[1.0,1.0,1.0,0.012],[1.0,1.0,1.0,0.0]],[0],0.0,2.0,"","",""]
_velx = (sin (_agl + 240)) * 1000.0
_vely = (cos (_agl + 240)) * 1000.0
drop ["\Ca\Data\Cl_basic","","Billboard",1,3.0,[_posx,_posy, -10],[_velx,_vely,_velz],1,1.25,1.0,0.0,[50,300,750,1500],[[1.0,1.0,1.0,0.0],[1.0,1.0,1.0,0.2],[1.0,1.0,1.0,0.1],[1.0,1.0,1.0,0.05],[1.0,1.0,1.0,0.025],[1.0,1.0,1.0,0.012],[1.0,1.0,1.0,0.0]],[0],0.0,2.0,"","",""]
_agl = _agl + 4
_cnt = _cnt + 1
goto "loop"
#next
exit
?(_next == 9) : goto "end"
_cnt = 0
_agl = random 360
_aglz = _aglz + 9.0
_next = _next + 1
goto "loop"
#end
exit
Hope that helps.
Here's YOUR reply, as always.
Luke
EDIT: Tateyou,
If your gonna change it,
you probably want to ask GIGAN first.
-
Note that this is creating a visual effect, but it is not affecting men or vehicles in any way.
-
Note that this is creating a visual effect, but it is not affecting men or vehicles in any way.
Yeah, what he said.
Sorry for not mentioning this.
Here's YOUR reply, as always.
Luke
-
A lot of thank to your guys!
Actually,it's more like a self entertaining,but if i want to use it in a mission or what i'll ask GIGAN.
Thanks again!
I tried and i 'don't know how to reduce the effect,i mean, what are these numbers represent?like below:
drop ["\Ca\Data\Cl_basic","","Billboard",1,3.0,[_posx,_posy, -10],[_velx,_vely,_velz],1,1.25,1.0,0.0,[50,300,750,1500],[[1.0,1.0,1.0,0.0],[1.0,1.0,1.0,0.2],[1.0,1.0,1.0,0.1],[1.0,1.0,1.0,0.05],[1.0,1.0,1.0,0.025],[1.0,1.0,1.0,0.012],[1.0,1.0,1.0,0.0]],[0],0.0,2.0,"","",""]
I know some of them are about color,some are about smoke,but i don't know which is what?
Can anyone tell me,that'll mean a lot to me!
And GIGAN's E-mail address too :)
-
That is a particle array, the meaning of the members can be found here (http://www.ofpec.com/COMREF/arrays.php#ParticleArray).
-
Sooooooooo thank you!
Or as in my mother language,naked in the snow to thank you!
And next time i should keep my eyes sharp,hehe :D