Jump to content

Recommended Posts

Posted (edited)

Hey all,

 

Am I right in thinking that there's currently no way to randomise time of day or weather presets for a mission? As an example, it would be great to be able to set a mission to play out at a random time within daylight hours, or to randomly select from a subset of the cloud presets within highly procedural/replayable missions - just to help keep the experience fresh.

 

Pretty sure I already know the answer to this, but I wanted to make 100% certain that I'm not missing some clever workaround.

Edited by Pizzicato

i7-7700K @ 4.9Ghz | 16Gb DDR4 @ 3200Mhz | MSI Z270 Gaming M7 | MSI GeForce GTX 1080ti Gaming X | Win 10 Home | Thrustmaster Warthog | MFG Crosswind pedals | Oculus Rift S

  • Pizzicato changed the title to Randomised time of day and/or weather?
Posted

It is possible in the sense that you have to modify the miz file itself to change the values. For instance the Hoggit servers import live weather data into each mission on their servers so that the weather is roughly accurate to real world conditions. 

The right man in the wrong place makes all the difference in the world.

Current Projects:  Grayflag ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

Posted

An alternative method that might work is making multiple copies of the mission with hardcoded weather/times and then putting them all in a single campaign stage. I think campaign will pick one of the missions at random.

  • Like 2

Awaiting: DCS F-15C

Win 10 i5-9600KF 4.6 GHz 64 GB RAM RTX2080Ti 11GB -- Win 7 64 i5-6600K 3.6 GHz 32 GB RAM GTX970 4GB -- A-10C, F-5E, Su-27, F-15C, F-14B, F-16C missions in User Files

 

Posted
On 10/2/2021 at 9:11 PM, Exorcet said:

An alternative method that might work is making multiple copies of the mission with hardcoded weather/times and then putting them all in a single campaign stage. I think campaign will pick one of the missions at random.

 

Yeah, I'd considered that exact same solution. That seems like the most reasonable approach for me given that I'm comfortable with Lua, but not enough of a programmer to be able to dynamically open, adjust, and save out *.miz files.

 

Thanks for the input, Exorcet. 

i7-7700K @ 4.9Ghz | 16Gb DDR4 @ 3200Mhz | MSI Z270 Gaming M7 | MSI GeForce GTX 1080ti Gaming X | Win 10 Home | Thrustmaster Warthog | MFG Crosswind pedals | Oculus Rift S

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...