Simulate commercial/civilian maritime traffic
Posted: Sat Apr 29, 2023 3:59 pm
I would like to incorporate civivlian and commerical maritime traffic/shipping lanes such as can be seen on https://www.marinetraffic.com/en/ais/home/. For a non-programmer, what is a logical way to set this up with lua scripts?
I think I would need to:
1. create a zone or multiple zones (with Reference Points) for the ships to be created in and navigate within
2. have a lua script that generates multiple civilian/commercial ship DBIDs randomly within the zone(s) at the start of the scenario
3. create waypoints and destinations using Reference Points
4. prevent the ship creation script from running a second time upon loading a save of the scenario
but what else needs to be established?
Keywords: civilian maritime, commercial maritime, shipping lanes
I think I would need to:
1. create a zone or multiple zones (with Reference Points) for the ships to be created in and navigate within
2. have a lua script that generates multiple civilian/commercial ship DBIDs randomly within the zone(s) at the start of the scenario
3. create waypoints and destinations using Reference Points
4. prevent the ship creation script from running a second time upon loading a save of the scenario
but what else needs to be established?
Keywords: civilian maritime, commercial maritime, shipping lanes