Jump to content

Recommended Posts

Posted

I've got a mission that has a random set of target areas (around 150) using various scripts. It runs pretty well, and gives me a nice somewhat random mission every time I play. Now, I stole and modified these scripts because I suck at coding...so I'm limited in my programming capability. :D What I'd like to do now is have the mission use random times and weather conditions. I know this can't be done with scripts, and has to be done outside the simulation. Several different mods open the MIZ file, modify a variable and re-save the file (the DAWS Save mission is one of them).

 

Is there any way to create a simple BAT file or something similar I could run that would open a MIZ file...change the time/weather to a random variable, then re-save the MIZ file? Or am I looking at something that's way over my head? I've been looking at some of the existing mods that work (DCE, DAWS), but it seems WAY too complex for what I'm trying to achieve.

 

Or is there something out there already that does this?

  • 3 months later...
Posted (edited)

Save the mission multiple times with different time & weather settings, use a empty "loader" mission with flags to randomly select one of your missions, ex:

in triggers at mission start->flag set random value 1, 1, 3, add 3 more triggers

->once->flag 1 equals 1->load mission 1.miz

->once->flag 1 equals 2->load mission 2.miz

->once->flag 1 equals 3->load mission 3.miz

Edited by RAF_Raven
Posted

Weather can be heavily controlled through use of the dynamic system. Adjusting files after making the systems can create fronts and such. I did a mission a while ago that had a really nasty storm blowing in from the black sea, but once around 50-60 miles inland, it was calm skies with little to no cloud cover, but at the beach was sustained 75mph+ winds.

 

https://forums.eagle.ru/showthread.php?t=178451

 

There is also a powerpoint or pdf floating around out there with step by steps. I will come back if I find it

Posted (edited)
... had a really nasty storm blowing in from the black sea, but once around 50-60 miles inland, it was calm skies with little to no cloud cover ...

 

I asked this in another thread, but received no reply. Is it possible yet to go from good weather to bad? Last I checked, our only options was to start with bad weather and watch it improve.

Edited by rassy7
Added quote

The State Military (MAG 13)

 

[sIGPIC][/sIGPIC]



 

SHEEP WE-01

AV-8B BuNo 164553

VMA-214

Col J. “Poe” Rasmussen

http://www.statelyfe.com

 

Specs: Gigabyte Z390 Pro Wifi; i9-9900K; EVGA 2080 Ti Black; 32GB Corsair Vengeance LPX DDR4; Samsung 970 EVO Series M.2 SSD; WIN10; ASUS VG248QE; CV-1 and Index



Modules: A-10C; AV8B; CA; FC3; F-5; F-14; F-18; F-86; HAWK; L-39; P-51; UH1H; NTTR; Normandy; Persian Gulf

Posted (edited)
Save the mission multiple times with different time & weather settings, use a empty "loader" mission with flags to randomly select one of your missions, ex:

in triggers at mission start->flag set random value 1, 1, 3, add 3 more triggers

->once->flag 1 equals 1->load mission 1.miz

->once->flag 1 equals 2->load mission 2.miz

->once->flag 1 equals 3->load mission 3.miz

DCS 2.5.2 OB latest update, F-18C, Caucasus map. This method yields black screen for me after selecting fly when Loader mission scene activates.

Update: Anyone get this to work with 2.5.2 (Update 9)? I created dummy mission with the random LOAD MISSION triggers and a place holder client aircraft at Batumi. I select MULTIPLAYER in main DCS screen. Start NEW SERVER. Add and select the dummy mission. Select the place holder client aircraft and go to briefing. This puts me in the place holder cockpit and nothing else happens. Also nothing happens if I do not select the place holder aircraft and try going directly to BRIEFING. Tried adding TIME MORE 2 to the ONCE > RANDOM CONDITION triggers. No go.

Edited by Habu_69
Update
  • Recently Browsing   0 members

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