LightBringer 0 Posted March 29, 2002 Hey all! Is there a way, to make a little thingie, which puffs little smoke? It needs to be really small - even invisible! - and i want it to pop smaller smoke, than the default campfire. And there should be another, which makes smoke like the default. If somebody can make this, then it should be used to make chimneys to smoke (to this we can use the normal sized smoke), and make the open tents heat generator to smoke (with that small smoke)! That should be awesome.. Â Plz, some of u who can make this, make it for me, or write down the way, how to do it! Really thx! Cu: LightBringer Share this post Link to post Share on other sites
Dawdler 0 Posted March 29, 2002 I used this for a little smoke script a while ago: _pos = getPos iH _x = _pos select 0 _y = _pos select 1 _z = _pos select 2 #loop _smoke = "SMOKETYPE" camCreate [_x,_y,_z] ~0.5 camDestroy _smoke Goto "loop" NOTE: Smoketype is just a small little addon config with your own smoke. iH is just a little invisible H. NOTE 2: OFP CAN GO WIERD!!!! At one time I used a lot of smoke, it worked fine walking around it, 30+ fps, when I closed within 2m though it went in 1 fps, walking out again, 30 fps... The longer I played, the slower the fps when closing the smoke... It shouldnt do this with this script though. Ask someone else about the smoketype... I think I made an ammo that was like it or something. Share this post Link to post Share on other sites
LightBringer 0 Posted March 29, 2002 hmm... not working for me. I made an invisible h. pu in init field: this exec "smoke.sqs" and i write those lines into the sqs. what is wrong? thx. cu Share this post Link to post Share on other sites
Bart.Jan 0 Posted March 29, 2002 1) In Dawdler's script is used invisible H named iH. Â Â So name your invisible H iH or change first line of script to : _pos = getPos (_this select 0). 2) To run this script you must write to init field : [this] execute "smoke.sqs" (for changed script) Â Â or [] execute "smoke.sqs" for executing original script with iH. Share this post Link to post Share on other sites
Dawdler 0 Posted March 29, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Bart.Jan @ Mar. 29 2002,17<!--emo&)</td></tr><tr><td id="QUOTE">1) In Dawdler's script is used invisible H named iH. Â Â So name your invisible H iH or change first line of script to : _pos = getPos (_this select 0). 2) To run this script you must write to init field : [this] execute "smoke.sqs" (for changed script) Â Â or [] execute "smoke.sqs" for executing original script with iH.<span id='postcolor'> Neither of those things would make it work... With 1 you would only get the x coordinate as _pos (if even that, your text doesnt make sense), 2 needs to be exec. That isnt the real problem. He needs a smoketype. Like CraterDustSmall for instance (think that is its name, try it) (Though the invisible H needs to be named iH as you said) Oh, wait now I got it, you shortened it down Im used to like 10 different inits, so I assign them first. Sorry I though of the coordinate. Yes, that would probably work, he still needs the smoketype though. Share this post Link to post Share on other sites
LightBringer 0 Posted March 29, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Dawdler @ Mar. 29 2002,19:44)</td></tr><tr><td id="QUOTE"></span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Bart.Jan @ Mar. 29 2002,17<!--emo&)</td></tr><tr><td id="QUOTE">1) In Dawdler's script is used invisible H named iH. Â Â So name your invisible H iH or change first line of script to : _pos = getPos (_this select 0). 2) To run this script you must write to init field : [this] execute "smoke.sqs" (for changed script) Â Â or [] execute "smoke.sqs" for executing original script with iH.<span id='postcolor'> Neither of those things would make it work... With 1 you would only get the x coordinate as _pos (if even that, your text doesnt make sense), 2 needs to be exec. That isnt the real problem. He needs a smoketype. Like CraterDustSmall for instance (think that is its name, try it) (Though the invisible H needs to be named iH as you said) Oh, wait now I got it, you shortened it down Im used to like 10 different inits, so I assign them first. Sorry I though of the coordinate. Yes, that would probably work, he still needs the smoketype though.<span id='postcolor'> oh man.. thx.. =) now it don't writes any errors, but what is that SMOKETYPE thing?? ?? ?? sorry, but i'm not a big scripter... =) Share this post Link to post Share on other sites
LightBringer 0 Posted March 29, 2002 oh i know.. i need to write the type of the smoke, into that field... but i still don't know, what kinda smokes does the game have... so, if somebody, plz write the list of it... =) thx. Share this post Link to post Share on other sites
Dawdler 0 Posted March 30, 2002 CraterSmoke1 CraterSmoke2 CraterSmoke3 CraterDustSmall CraterBlood CraterDustBig There, I think that is it. I have no idea if they work though... Share this post Link to post Share on other sites
LightBringer 0 Posted March 30, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Dawdler @ Mar. 30 2002,08:07)</td></tr><tr><td id="QUOTE">CraterSmoke1 CraterSmoke2 CraterSmoke3 CraterDustSmall CraterBlood CraterDustBig There, I think that is it. I have no idea if they work though...<span id='postcolor'> not working... please, if somebody knows how to make smoke, then write down... (Red? U wrote to lot of forums) Share this post Link to post Share on other sites
Dawdler 0 Posted March 30, 2002 Hm... I thought at least craterdustsmall would work, I think I tested with that once... Well, you can try using my "MGsmoke" type originally intended to be used with the my script... Its in the mg.pbo (modified mvrflamethrower smoke) at http://w1.855.telia.com/~u85528876/ (ignore everything else) Depbo it, edit the config to change the cloud charactaristics... But if you dont know how to script I suppose you dont know how to edit the config either Somebody else can probably come up with a better way to do it. Share this post Link to post Share on other sites