Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Dynamic Weather and Traffic

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios >> Dynamic Weather and Traffic Page: [1]
Login
Message << Older Topic   Newer Topic >>
Dynamic Weather and Traffic - 1/7/2020 6:43:37 AM   
patpatpowercat

 

Posts: 10
Joined: 11/19/2019
Status: offline
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?



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

 

Posts: 10
Joined: 11/19/2019
Status: offline
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.

Attachment (1)

(in reply to patpatpowercat)
Post #: 2
RE: Dynamic Weather and Traffic - 1/7/2020 8:56:55 PM   
magi

 

Posts: 1529
Joined: 2/1/2014
Status: offline
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...

(in reply to patpatpowercat)
Post #: 3
RE: Dynamic Weather and Traffic - 1/13/2020 1:36:56 AM   
patpatpowercat

 

Posts: 10
Joined: 11/19/2019
Status: offline
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

(in reply to magi)
Post #: 4
RE: Dynamic Weather and Traffic - 1/13/2020 2:53:49 AM   
Whicker

 

Posts: 664
Joined: 6/20/2018
Status: offline
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.

(in reply to patpatpowercat)
Post #: 5
RE: Dynamic Weather and Traffic - 1/13/2020 5:33:07 AM   
Rory Noonan

 

Posts: 2816
Joined: 12/18/2014
From: Brooklyn, NY
Status: offline
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.

_____________________________


(in reply to Whicker)
Post #: 6
RE: Dynamic Weather and Traffic - 1/13/2020 11:10:00 PM   
patpatpowercat

 

Posts: 10
Joined: 11/19/2019
Status: offline
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!

(in reply to Rory Noonan)
Post #: 7
RE: Dynamic Weather and Traffic - 1/17/2020 9:55:47 PM   
patpatpowercat

 

Posts: 10
Joined: 11/19/2019
Status: offline
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.

Attachment (1)

(in reply to patpatpowercat)
Post #: 8
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios >> Dynamic Weather and Traffic Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

1.109