Jump to content
Sign in to follow this  
Ouky1991

Function to randomly switch time of a day in mission?

Recommended Posts

Is it possible to set 2 or more different times of day / weather patterns, that randomly change each time you load a mission?

Share this post


Link to post
Share on other sites

I don't think so but....why not do a copy of that mission and set a different time of day and weather pattern?? Then you could have them running one after the other.

 

Share this post


Link to post
Share on other sites
7 minutes ago, No.85_Camm said:

I don't think so but....why not do a copy of that mission and set a different time of day and weather pattern?? Then you could have them running one after the other.

 

I wanted to avoid copying, I have enough missions to cycle through already. But thanks for reply.

Share this post


Link to post
Share on other sites

If this were possible, I could create a single mission that took the place of an entire campaign.

It's really the only thing I need.

Share this post


Link to post
Share on other sites
On 9/8/2019 at 6:08 PM, Gambit21 said:

It's really the only thing I need.

 

You oversimplify... I doubt you really have everything you need to create many of the scenarios being considered for the near future.

 

Hopefully those objects and tools for the upcoming release will be what we need to make the environment appear believable from an Allied point of view. 👍

 

with your contacts i’m guessing you have made the real needs apparent...

Share this post


Link to post
Share on other sites
3 minutes ago, Jaegermeister said:

 

You oversimplify... I doubt you really have everything you need to create many of the scenarios being considered for the near future..

 

 

True - many objects we need.

I’m talking about mission logic.

Share this post


Link to post
Share on other sites

Ok, I’ll go with that. If there was variable weather on different parts of the map that would really put it over the top, but I doubt it’s possible. There were plenty of missions where the weather over the base was different than the weather over the target. 

 

I’m sure that’s not a debate we want to start another speculation thread on any time soon though. 🙄

Share this post


Link to post
Share on other sites

You could post-process the .mission file to change the weather, I think. I do this to remove DEBUG MCUs (message MCUs that print green text at the bottom of the screen) by setting their coalitions to none. When I deploy a mission to my server, I copy all the files including .mission and .msnbin, post-process the .mission to do things like removing DEBUG, then use the mission resaver to create a .msnbin, then delete the .mission. This is important for my use-case because the server starts much faster from a .msnbin file.

 

Here's a chunk of the .mission file containing stuff you might change with post-processing:

 

  Time = 6:30:0;
  Date = 10.4.1944;
  HMap = "graphics\LANDSCAPE_Kuban_sp\height.hini";
  Textures = "graphics\LANDSCAPE_Kuban_sp\textures.tini";
  Forests = "graphics\LANDSCAPE_Kuban_sp\trees\woods.wds";
  Layers = "";
  GuiMap = "kuban-spring";
  SeasonPrefix = "su";
  MissionType = 2;
  AqmId = 0;
  CloudLevel = 2500;
  CloudHeight = 1300;
  PrecLevel = 0;
  PrecType = 0;
  CloudConfig = "summer\02_Medium_06\sky.ini";
  SeaState = 0;
  Turbulence = 0.7;
  TempPressLevel = 0;
  Temperature = 16;
  Pressure = 760;
  WindLayers
  {
    0 :     340 :     3;
    500 :     330 :     4;
    1000 :     320 :     5;
    2000 :     300 :     6;
    5000 :     280 :     8;
  }


 

  • Thanks 1

Share this post


Link to post
Share on other sites
15 hours ago, Alonzo said:

You could post-process the .mission file to change the weather, I think. I do this to remove DEBUG MCUs (message MCUs that print green text at the bottom of the screen) by setting their coalitions to none. When I deploy a mission to my server, I copy all the files including .mission and .msnbin, post-process the .mission to do things like removing DEBUG, then use the mission resaver to create a .msnbin, then delete the .mission. This is important for my use-case because the server starts much faster from a .msnbin file.

 

Here's a chunk of the .mission file containing stuff you might change with post-processing:

 


  Time = 6:30:0;
  Date = 10.4.1944;
  HMap = "graphics\LANDSCAPE_Kuban_sp\height.hini";
  Textures = "graphics\LANDSCAPE_Kuban_sp\textures.tini";
  Forests = "graphics\LANDSCAPE_Kuban_sp\trees\woods.wds";
  Layers = "";
  GuiMap = "kuban-spring";
  SeasonPrefix = "su";
  MissionType = 2;
  AqmId = 0;
  CloudLevel = 2500;
  CloudHeight = 1300;
  PrecLevel = 0;
  PrecType = 0;
  CloudConfig = "summer\02_Medium_06\sky.ini";
  SeaState = 0;
  Turbulence = 0.7;
  TempPressLevel = 0;
  Temperature = 16;
  Pressure = 760;
  WindLayers
  {
    0 :     340 :     3;
    500 :     330 :     4;
    1000 :     320 :     5;
    2000 :     300 :     6;
    5000 :     280 :     8;
  }


 

Thanks I'll try that.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...