Callout Interface - BenH and Opus49

Callout Interface allows you to interact with callouts, even those you missed. It also has an MDT. The code that generates the list of installed callouts was written by HazyTube.

Getting Started

Installation

Copy all of the contents of the Grand Theft Auto V folder contained in the archive into your Grand Theft Auto V folder.

Configuration

If you've installed things correctly, you will find a CalloutInterface.ini file in your plugins/LSPDFR folder.

Controls

You can add a modifier to any of these keybinds, e.g. CalloutMenuKeyModifier.
CalloutMenuKey - The keybind for opening/closing the callout menu.
ForceCalloutKey - The keybind for forcing a random callout.
ToggleTerminalKey - Toggles the MDT on/off (when enabled). Long press for interactive mode.
ToggleALPRKey - Toggles the ALPR system on/off.
HoldInterval - How long you must hold the ToggleTerminalKey to enter interactive mode.

Callouts

AutoTrafficStop - When enabled, a callout is dynamically generated when initiating a traffic stop.
ForcedCalloutDelay - Delay (in seconds) used when using ForceCalloutKey.

MDT

MDTEnabled - Enables an MDT-like terminal which is displayed when callouts are available.
MDTToggledOn - For toggling the MDT on and off, assuming it is enabled.
OnlyInVehicle - When true, the MDT will only be visible while in a police vehicle.
MDTAutoDisplayOnCallout - When true, and the MDT is enabled, it will pop up when a callout displays.
MDTCallsign - Added to the MDT when you attach yourself to a callout. If you have Grammar Police, its callsign will take priority.
MDTPosX - The x-coordinate for the MDT's upper-left corner on a 1920x1080 canvas.
MDTPosY - The y-coordinate for the MDT's upper-left corner on a 1920x1080 canvas.
MDTScale - A scaling factor applied as a percentage.
MDTVolume - The audio volume for the MDT sounds.
MDTSoundOnAccept - The MDT sound played when accepting a callout. Set to zero to disable.
MDTSoundOnDisplay - The MDT sound played when displaying a callout. Set to zero to disable.
MDTSoundOnALPRHit - The MDT sound played when there's an ALPR hit. Set to zero to disable.
MDTTimeout - How long (in seconds) the terminal stays visible after a callout is no longer pending.
MDTShowDistance - When enabled, the distance will be mentioned in the callout details.

Postal

PostalCodeEnabled - When true, the nearest postal code will be displayed on the screen.
PostalCodeSet - The postal codes to use (e.g. ocrp, priest0802, virus_city)
PostalCodePosX - The x-coordinate for the Postal Code display.
PostalCodePosY - The y-coordinate for the Postal Code display.
PostalCodeScale - The size of the Postal Code display as a percentage.

Plate

PlateEnabled - Whether or not the external license plate viewer is enabled.
PlatePosX - The x-coordinate for the plate's upper-left corner on a 1920x1080 canvas.
PlatePosY - The y-coordinate for the plate's upper-left corner on a 1920x1080 canvas.
PlateScale - A scaling factor applied as a percentage.

ALPR

DebugEnabled - Allows you to see in real-time what the calculations are for the ALPR system.
CameraLoadout - Which camera loadout to use with the ALPR system.
InvalidDocumentRate - A value between 0 and 1 indicating frequency of invalid document hits.
InvalidLicenseRate - A value between 0 and 1 indicating frequency of invalid license hits.
WantedRate - A value between 0 and 1 indicating frequency of wanted hits.
BlipEnabled - When enabled, you can click on ALPR entries to add a blip.
AutoBlip - When this and blip enabled are both true, automatically blips the most recent ALPR hit.
NearbyVehicleCheck - How many nearby cars the ALPR system should check (up to 16).

AutoTab

ALPR - Automatically switch to the ALPR tab when activated and on hits.
Incident - Automatically switch to Incident tab when a callout comes in.
Peds - Automatically switch to Peds tab for ped checks.
Vehicles - Automatically switch to Vehicles tab for plate checks.

Keybind Values

https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.keys?view=netframework-4.6.1

Modding

Callout developers can send details and messages to the MDT. You can also customize the MDT textures.
https://github.com/Immersive-Plugins-Team/CalloutInterfaceAPI

Contributions

Thank you to everyone who helped make and test this plugin:

I would also like to thank Alex Guirre because if not for RAGENativeUI, none of this would exist.