Getting Started
This page will walk you through getting and installing the Radar Display script.
Acquire the Script
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.
Install Prerequisite
You must use the Sonoran Fork of WK_Wars2x found here.
Minimum version required: v1.3.3-sonoran
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.
Install the Script
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.Sonoran Software - Radar Display - Folders In the
sonoran-radar/config
folder there will be a file calledconfig.CHANGEME.lua
you should rename that to beconfig.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 calledradars.CHANGEME.json
which you should rename toradars.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:
ensure sonoran-radar
add_ace resource.sonoran-radar command allow
add_ace resource.sonoran-radar_helper command allow
Configuring the Script
Radar Location Config
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 dataAfter 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 Explanation
radars.json
Property ExplanationID
2
ID
must be unique. No other radar can share this ID
Position
This is a table that contains the x, y, and z coords of the radar
Rotation
This is a table that contains the x, y, and z rotation of the radar
Vehicle
FBI
This is the vehicles spawn code
Bone
-1
This is the index of the bone you would like to attach the radar to
type
1
Enum:
1
Radar model with front and rear antennas
2
Radar model with only front antenna
3
Radar model with no antennas
Commands
/addnewradar
This command will initiate the radar spawning and attaching process
Admin or as configured
Default Vehicles
FBI
yes
FBI2
yes
POLICE
yes
POLICE2
yes
POLICE3
BUGGED
(Investigating fix)
POLICE4
yes
POLICEOLD1
no
POLICEOLD2
no
SHERIFF
yes
SHERIFF2
yes
Last updated
Was this helpful?