ruff 102 Posted June 24, 2004 is it possible to set a ofp mission so that the rain does not stop i know all the set rain overcast stuff in the init and activaton lines but the rain only goes on for like 3 to 5 minutes and it stops any1 know how to make it non stop im using ecp mod Share this post Link to post Share on other sites
NeMeSiS 11 Posted June 24, 2004 ecp has random weather, so it will automaticly change, dunno if theres something u can do about that... Share this post Link to post Share on other sites
vektorboson 8 Posted June 24, 2004 is it possible to set a ofp mission so that the rain does not stopi know all the set rain overcast stuff in the init and activaton lines but the rain only goes on for like 3 to 5 minutes and it stops any1 know how to make it non stop im using ecp mod You can set up a loop that steadily sets rain and overcast Share this post Link to post Share on other sites
NeMeSiS 11 Posted June 24, 2004 is it possible to set a ofp mission so that the rain does not stopi know all the set rain overcast stuff in the init and activaton lines but the rain only goes on for like 3 to 5 minutes and it stops any1 know how to make it non stop im using ecp mod You can set up a loop that steadily sets rain and overcast  yea, but u cant change much in ecp without editing all those script is what i ment Share this post Link to post Share on other sites
m21man 0 Posted June 24, 2004 <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">#loop _rand = (random 0.5) + 0.5 0 setovercast 1 0 setrain _rand ~15 goto "loop" Quote[/b] ]yea, but u cant change much in ecp without editing all those script is what i ment So ? You can override the ECP scripts. Share this post Link to post Share on other sites
NeMeSiS 11 Posted June 24, 2004 Quote[/b] ]yea, but u cant change much in ecp without editing all those script is what i ment  So ? You can override the ECP scripts. lol, forget it, i cant explain things, not even in dutch Share this post Link to post Share on other sites
The Real Armstrong 0 Posted June 24, 2004 Quote[/b] ]yea, but u cant change much in ecp without editing all those script is what i ment  So ? You can override the ECP scripts. lol, forget it, i cant explain things, not even in dutch   Neither can I. Think it could be something about me being a Swede. Share this post Link to post Share on other sites
ruff 102 Posted June 25, 2004 i took off ecp but the rain still stops i wanna know what 1 of said about using a loop is it using a trigger with set to loop Share this post Link to post Share on other sites
ruff 102 Posted June 25, 2004 is a loop a script file? and how do i enable it ingame? Share this post Link to post Share on other sites
newiy 0 Posted June 25, 2004 Create a script file in the directory of your mission, then paste the loop code into the script. If you wish to have the loop start from the beginning of the mission, you can put it in init.sqs, but I prefer to keep my init.sqs clean and write the loop in a seperate file and put [] exec "scriptname.sqs" in init.sqs Share this post Link to post Share on other sites
Junker 0 Posted June 25, 2004 make sure overcast is above 0.7 and then use this code time setrain density Time - 0 = instant 60 = smoother incoming rain Density - 0.1 = Spitting 0.5 = normal 1 = MONSOON Share this post Link to post Share on other sites
MrZig 0 Posted June 25, 2004 Junker, read the first post! Quote[/b] ]i know all the set rain overcast stuff in the init and activaton lines but the rain only goes on for like 3 to 5 minutes and it stops Share this post Link to post Share on other sites
Junker 0 Posted June 26, 2004 oops sorry man  :S   but when i do it, it stays on all the while. But then again i dont use ECP. Share this post Link to post Share on other sites
ruff 102 Posted June 26, 2004 Create a script file in the directory of your mission, then paste the loop code into the script.If you wish to have the loop start from the beginning of the mission, you can put it in init.sqs, but I prefer to keep my init.sqs clean and write the loop in a seperate file and put [] exec "scriptname.sqs" in init.sqs thanks for the help Share this post Link to post Share on other sites