PRiME 1 Posted September 11, 2002 Altho I can get the particle system to work is so darn complex I can't figure it out properly, even when I know what is what I still can't get much to happen except from what has already been done "flaming vehicles etc" What I would like to do is make small sized smoke particles shoot accross the ground in a medium sized strip and perhaps ramdom direction, The smoke clouds must be whiteish tho and they must also not stay around forever were as this other script I had the smoke clouds never went away. Can anyone help me out? Share this post Link to post Share on other sites
Novellus 0 Posted October 25, 2004 sample here. mission.sqm version=11; class Mission { randomSeed=10377219; class Intel { }; class Groups { items=1; class Item0 { side="WEST"; class Vehicles { items=1; class Item0 { position[]={6492.488281,148.160202,6379.062500}; azimut=140.000000; id=0; side="WEST"; vehicle="SoldierWB"; player="PLAYER COMMANDER"; leader=1; skill=0.600000; }; }; }; }; class Vehicles { items=1; class Item0 { position[]={6544.639648,142.824249,6319.040039}; azimut=140.000000; id=1; side="EMPTY"; vehicle="HeliH"; skill=0.600000; text="target"; }; }; class Sensors { items=1; class Item0 { position[]={6410.239258,143.423920,6370.240234}; a=100.000000; b=100.000000; rectangular=1; activationBy="WEST"; repeating=1; age="UNKNOWN"; expActiv="[] exec ""HEAVYARTY.sqs"""; class Effects { }; }; }; }; class Intro { randomSeed=11694595; class Intel { }; }; class OutroWin { randomSeed=4162051; class Intel { }; }; class OutroLoose { randomSeed=14596099; class Intel { }; }; put heavyarty.sqs in same directry [GetPos Target,"SmokeShellRed",50,5,20,5,1,2,150] exec "g_arty.sqs" EXIT this g_arty.sqs too. _coords = _this select 0 _ord =_this select 1 _height = _this select 2 _VolleyNr = _this select 5 _ShotNr =2 _vTime = _this select 5 _vTimeVar = _this select 6 _vTimeVol = _this select 5 _radius = _this select 8 _nr = 0 #loop ?(_nr > _Volleynr):goto "ende" _volnr = 0 #volley _volnr = _volnr + 1 _ord camCreate [(_coords select 0) + (random _radius) - (_radius / 2), (_coords select 1) + (random _radius) - (_radius / 2), _height] ?(_shotnr == 0):goto "avoid" ~(Random(_vTimeVol / _Shotnr)) goto "endrnd" #avoid ~0.1 #endrnd ?(_volnr <= _Shotnr):goto "volley" _nr = _nr + 1 ~(_vtime + (Random _vTimeVar )) goto "loop" #ende Share this post Link to post Share on other sites
T J 0 Posted October 25, 2004 prime, you can make a particle do anything. its well worth spending the time playing with each variable to get to know the particle array well. Share this post Link to post Share on other sites