Getting Started
This page will walk you through getting and installing the Radar Display script.
Last updated
This page will walk you through getting and installing the Radar Display script.
Last updated
After purchasing the script through the Sonoran store you may download the script through the keymaster account that purchased the script. Upon downloading extract the file to a safe place.
You must use the Sonoran Fork of WK_Wars2x found here.
Minimum version required: v1.3.3-sonoran
If you are using the Sonoran CAD FiveM Integration, DO NOT install a second copy of WK_Wars2x, it is included and updated with the sonorancad
resource.
WK_Wars2x Radar script is required for this resource to function fully. Please ensure you are using the Sonoran Fork of WK_Wars2x. This is included with the Sonoran CAD FiveM Integration by default.
You can also download the latest release of the resource here.
Inside the script package you just extracted will be two folders. Copy both to a folder in your server's resources folder called [sonoranscripts]
note the []
in the name, without them it will not work.
In the sonoran-radar/config
folder there will be a file called config.CHANGEME.lua
you should rename that to be config.lua
and configure the settings inside as you would like them to be configured based on the configuration documentation below. In that same folder will also be a file called radars.CHANGEME.json
which you should rename to radars.json
and use to manually place cameras based on the existing template, note you can also use the menu placement system in game.
Finally, in your server.cfg
add the following:
You have two options for placing new radars:
You can use the command /addnewradar
while in a LEO vehicle to initiate spawning a new radar and generate the relevant config data
After running this command you will be prompted by a menu that will take you through the spawning process.
You may need to modify some of the rotation values manually to get that perfect placement you are looking for.
You can manually copy and paste an existing config and then modify the values to meet your needs for the new camera
radars.json
Property ExplanationProperty Name | Example | Notes |
---|---|---|
|
|
|
| This is a table that contains the x, y, and z coords of the radar | |
| This is a table that contains the x, y, and z rotation of the radar | |
|
| This is the vehicles spawn code |
|
| This is the index of the bone you would like to attach the radar to |
Command Name | Command Description | Required Permission |
---|---|---|
| This command will initiate the radar spawning and attaching process | Admin or as configured |
Vehicle Spawncode | Adds Radar by Default |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|