Open the downloaded ZIP product file and drop the folder in it somewhere in your resources folder. Add your product key (get it here) to the settings.ini file and add start BigDaddy-SpeedZoneCamera to your server.cfg.
DO NOT RENAME THE FOLDER.
If you change the name of the folder it will not function correctly so leave the name as it is.
| SETTING | DEFAULT | DESCRIPTION |
|---|---|---|
| [licensing] | ||
| key1 | none | This is where you put your product key |
| [settings] | ||
| useMoney | false | Set this to true if you want to integrate a money resource when a fine is issued |
| useMPH | true | true = MPH false = K/MH |
| Leave the next two blank if you just want to use a postals.json in the root of this script instead | ||
| nearestPostalScript | BigDaddy-HUD | the script that contains your nearest postal script |
| nearestPostalExport | getPostal | the export/function called for nearest postal |
| SpeedScript | the script that contains your get speed limit script | |
| SpeedExport | the export/function called for getting speed limit | |
| [fines] | there are in MPH & are how much the fine is for speeds over | |
| 10-Over | 259 | |
| 15-Over | 284 | |
| 20-Over | 309 | |
| 30-Over | 334 | this is the base and more is tacked on for faster speeds using a formula |
NOTE:
If someone passes a camera at more than 30 MPH over the limit, it fines them and looks for emergency vehicles within a three mile radius and sends a message with the license plate of the offending vehicle. It uses vehicle classes to determine which are emergency vehicles. If you have custom police cars and if they are not classified as emergency vehicles by the game (incorrect setup) then they will not get notified. Also, ambulances and fire trucks could get notifications since they are classified as emergency vehicles.
CameraLocations.json This is a datafile with all the locations where cameras will spawn and function. It comes with 30 locations already configured on the highways throughout the map. If you want to change/add to them there are a couple of things to know. If you use the dev tools or txadmin to get coords for where to place the camera, subtract one from the Z to make sure the camera sits on the ground. Also, the street name in each data item MUST match what the game says the player is on as it passes the camera or it will not function. W = heading the camera faces.
There are three ways to get the speed limit.
If you are not using a nearest postal script (set in the settings.ini above) then you can use a postals.json file instead.
Postals.json This is the standard postals data file that many scripts use. It needs to match the map you are using so pick the right one. I've included three different postal files so make sure you use the correct one and rename it to Postals.json and place it in the folder.