OC Sprayed! 1.1

OC Sprayed! 1.1

This is a revamp of smojo’s original OC Spray script, picking up where it left off and fixing many of the issues seen in that mod. A new pepper spray can model has been added, NPC use functionality added and interfacing with the LSPDFR API to properly work during pursuits. (Because it uses the LSPDFR API the plugin only works when on duty)

Features

New animations and sounds, better emulating the real effect of pepper spray
New Spray can model
Interfacing with the LSPDFR API to work during pursuits
NPCs can now use the OC Spray
Much smoother spray animation
Small chance the subject will fight back
3 (in-game) metre working distance- You must be close to the target

Install

Simply download with Lenny’s Mod Manager

To spawn

It should be automatically added to your inventory when you go on duty. You can also manually add it:

When in game, press F4 to access the RagePluginHook Console and type “GiveWeapon WEAPON_OCSPRAY” without the quotations and press enter. Alternatively, you can add the entry to whatever loadout you want in the inventory xml as seen below.

Setup for NPCs (advanced users)

In “lspdfr\data\custom\inventory_eup.xml”, simply add WEAPON_OCSPRAY below the stungun entry for patrol (if you want it to spawn with the patrol loadout). Change the chance to whatever you want, although I recommend to keep it below 100 and retain the taser as the OCSpray doesn’t cause the suspect to surrender immediately- they’ll just keep running until tased or the player arrests them.

Requirements
LSPDFR 0.4.7
RPH 1.74
Lenny’s Mod Loader

Known Issues
– If an AI ped is shooting the spray towards the player, whizzing sounds are heard as if bullets are whizzing past
– AI spraying while running is not very accurate
– Sometimes the ped’s screaming/coughing sounds don’t play
– Ped doesn’t surrender immediately if sprayed during a pursuit (LSPDFR API Limitation)
– Any cop sprayed during a pursuit will just stand there after the effects wear off, rendering them useless

Credits:

Blobby
smojo for the original script and dlc files

Download mod

FileFile size
zip OCSprayed79 KB

Leave a Reply

Your email address will not be published. Required fields are marked *