Jesus Cox
Members
-
Joined
-
Last visited
Reputation Activity
-
Jesus Cox reacted to OJdoesIt for a file, Beat Partners - Autonomous Partners, Proximal Pursuit Logic, SupervisorThis plugin beta allows you to spawn units that will act as your beat partner. They will persistently patrol given the selected parameters in the creation menu. This allows for further immersion, realism, and ambiance. The goal of this plugin is to create autonomous AIs that will patrol, in a close-to-similar fashion as a human player and eventually eliminate the need of needing to manually request backup units during certain situations.
Scenario Example: You can assign multiple units to patrol Grapeseed while you patrol Sandy Shores. If you get involved in a shooting, the Grapeseed units can automatically respond to assist. Or if you get in a pursuit, the Grapeseed units will only join the pursuit if the suspect enters the Grapeseed area. If the suspect exits the Grapeseed area, then those Grapeseed units will disengage from the pursuit and return to patrol.
Various features and customizations:
Assign a partner to patrol a specific zone (e.g. Vinewood) Give the partner a name and a call sign (call sign will be displayed on the partner's blip on the map) Assign a partner to patrol within a specified distance from the player (partner will try to stay within distance X from the player's position) Assign a partner to respond to pursuits/callouts within their assigned zone Display either the name tag or call sign tag above partners that are driving by the player Have partners always respond to player-involved shootings If a partner gets into a shooting away from the player, they will report it to dispatch If a partner gets severely injured, they will radio "Officer down" If a partner's vehicle is badly damaged or destroyed, they will become "out of service" to go to the nearest police station to retrieve a new vehicle or repair their vehicle, then return back to service Partners will persistently be available to respond to calls / assist the player Take a smoke break with your partner at a specified location
Proximal Pursuit Logic
You can select for each partner to only engage in pursuits if the pursuit passes within their assigned zone (e.g. Vinewood). Once the pursuit leaves their zone, the unit will drop out of the pursuit and return back to patrol. You can also have it where the partner will only engage pursuits when it is within a certain distance of their location (regardless of their assigned zone).
Make sure to put BeatPartners.dll and BeatPartners.ini and BeatPartners.pdb into \Plugins\LSPDFR folder.
Make sure to have the latest version of RageNativeUI installed.
Developer API
Take a look at the INI at least once to make sure you are satisfied with the settings. You can also modify the INI values within the in-game plugin menu.
If you are encountering crash upon ForceDuty, then install the latest version of RageNativeUI.
FYI: This plugin has been tested on vanilla settings (no additional plugins, only LSPDFR). There were minimum amount of crashes experienced. Also, due to a specific lack of feature in the LSPDFR API, units will not respond to callout locations, but will respond to the player's location and follow the player. They should be able to respond to the callout location in a future update.
Special thanks to:
@NoNameSet
LSPDFR Developer Discord