Speed Camera Trailer (Prefab) V1.0
Speed Camera Trailer (Prefab) V1.0
Speed camera trailer for your map! Measures traffic in both directions.
Set the speed limit with the user attribute speedLimit (default 50 km/h). Add scripts/MapTrailerCameraEvent.lua and scripts/MapTrailerCamera.lua as extraSourceFiles in your map modDesc.
Several locations: place the prefab at every possible location and give all of them the same user attribute cameraId. Only one of them stands at a time, the others show a traffic cone. With the user attribute configFile you can load settings from an XML file in your map mod (see trailerCameras_example.xml).
Author: Team SimuTools

