Dynamic Weather and Traffic (Full Version)

All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios



Message


patpatpowercat -> Dynamic Weather and Traffic (1/7/2020 6:43:37 AM)

Hello. I am trying to setup some dynamic weather/civilian traffic/nature, and having some trouble. I have used the scripts I found in Operation Brass Drum, modified and trimmed to work for what I was looking at. However, I cannot seem to get them to work at all. Anyone able to take a look and see what I am doing wrong?





patpatpowercat -> RE: Dynamic Weather and Traffic (1/7/2020 6:47:49 AM)

This is the Init file. Sorry I can't figure out how to attach the .scen file. And I suppose this should be in the Lua Legion forum. Apologies.




magi -> RE: Dynamic Weather and Traffic (1/7/2020 8:56:55 PM)

setting up civilian traffic/nature... you just give them missions... with weather you need lulu... and you will have to ask one of the eggheads...




patpatpowercat -> RE: Dynamic Weather and Traffic (1/13/2020 1:36:56 AM)

Anyone able to figure anything out of this? I have tried breaking the scripts down to as simple as I can figure them, but they don't seem to work




Whicker -> RE: Dynamic Weather and Traffic (1/13/2020 2:53:49 AM)

that is a complicated script, from what I can tell it only has to do with traffic - no weather.

If you can't get the traffic to appear, are there errors? have you tried just pasting that entire thing into the lua console?

Weather is most likely in another action? what type of weather randomness do you want?

To post a scen you need to zip it up - then you can upload it.




Rory Noonan -> RE: Dynamic Weather and Traffic (1/13/2020 5:33:07 AM)

First guess is that you're only using the Game_setup script, You'll need to use the LuaInit script too or at least grab the relevant functions from it. If you can put your scen file and any relevant scripts into a zip and upload it I'll take a look for you.




patpatpowercat -> RE: Dynamic Weather and Traffic (1/13/2020 11:10:00 PM)

Thanks I'll try and zip the scene file when I get home from work. I thought I had it set up correctly, but that was also my guess that the LuaInit isn't working for some reason. Thanks so much for the help!




patpatpowercat -> RE: Dynamic Weather and Traffic (1/17/2020 9:55:47 PM)

Ok, that should be the zipped scen file. I thought I set it up correctly; the LuaInit runs on scenario loaded, and 5 seconds later the game_setup runs.

Again, all help is much appreciated.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.71875