# the lights generated below are for VR headsets (light diameters are reduced so they appear less blurry) # for non-VR displays, just double the diameter value in each CreateAF2Light line (diameter value is between the 3rd & 4th "|" symbol) # example - diameter should be changed from 50 to 100 in this line = CreateAF2Light|point="mlight"|1.0;0.6;0.0|50|0;0;1|20 # enter the path and file name of the osm file to use to generate lights ImportOGR|C:\(USER)\Documents\Aerofly Tools\ScenProc Cultivation Tool\Map Downloads\mapKTKI.osm|*|highway;man_made;leisure|NOREPROJ # Lights for Interstates, tollways, freeways PlacePointsAlongLine|highway="motorway"|SINGLE|200;250|6;6|0|String;point|mlight|hdg CreateAF2Light|point="mlight"|1.0;0.6;0.0|50|0;0;1|20 # Lights for Major city roads PlacePointsAlongLine|highway="primary"|SINGLE|300;350|0;0|0|String;point|plight|hdg CreateAF2Light|point="plight"|0.8;0.5;0.0|25|0;0;1|15 # Lights for Minor city roads PlacePointsAlongLine|highway="secondary"|SINGLE|300;350|0;0|0|String;point|slight|hdg CreateAF2Light|point="slight"|0.7;0.6;0.5|15|0;0;1|10 # Lights for Minor city roads PlacePointsAlongLine|highway="tertiary"|SINGLE|300;350|0;0|0|String;point|tlight|hdg CreateAF2Light|point="tlight"|0.6;0.36;0.0|10|0;0;1|7 # Lights for Residential roads PlacePointsAlongLine|highway="residential"|SINGLE|50;100|0;0|0|String;point|rlight|hdg CreateAF2Light|point="rlight"|0.4;0.24;0.0|5|0;0;1|5 # Lights for Residential roads PlacePointsAlongLine|highway="living_street"|SINGLE|50;100|0;0|0|String;point|llight|hdg CreateAF2Light|point="llight"|0.4;0.24;0.0|5|0;0;1|5 # Traffic signals CreateAF2Light|highway="traffic_signals" And FRAND<=0.5 |1.0;0.0;0.0|1|0;0;1|5 CreateAF2Light|highway="traffic_signals" And FRAND>0.5 |0.0;1.0;0.0|1|0;0;1|5 # Water tower beacons (50 meters above ground) CreateAF2Light|man_made="water_tower" And FRAND<=0.5 |1.0;0.0;0.0|5000|2.0;0.0;50|50 CreateAF2Light|man_made="water_tower" And FRAND>0.5 |1.0;0.0;0.0|5000|2.2;0.0;50|50 # Radio tower beacons (200-500 meters above ground) CreateAF2Light|man_made="tower" And name="*AM*" |1.0;0.0;0.0|5000|3.0;0.0;30|500 CreateAF2Light|man_made="tower" And name="*FM*" |1.0;0.0;0.0|5000|2.6;0.0;30|300 CreateAF2Light|man_made="tower" And name="*TV*" |1.0;0.0;0.0|5000|2.8;0.0;30|400 CreateAF2Light|man_made="tower" And name="*" And Not (name="*AM*" Or name="*FM*" Or name="*TV*" Or name="*Traffic*") |1.0;0.0;0.0|5000|2.4;0.0;50|200 # Stadium lights PlacePointsInPolygon|leisure="stadium"|0.0007;0.0007|0;0|INHERITPARENTATTR CreateAF2Light|leisure="stadium" |1.0;1.0;1.0|1500|0;0;1|50 # enter the path and file name of the resulting lights toc file ExportTOC|C:\(USER)\Documents\Aerofly Tools\ScenProc Cultivation Tool\Output|KTKI-lights