Loading...

OC Spray 0.6

2,140

This mod is supposed to add an oc or pepper spray that creates an animation and sound when the player is hit by the stream.
Though currently, it adds an untextured OC Spray can, and occasionally causes the ped that the can is aimed at to play the animation and sound. This is in alpha.

This is my first mod I have created and my first time programming in C#. I have taken (and somehow passed) college courses in C++ and HTML, and also taught myself some Java. As I have been creating this mod I have been teaching myself C#.

I would like to thank the kind people who have helped me over on the Rage Plugin Hook discord and would like to invite anyone who may be interested in this mod to help me continue making and improving it. If you could leave me feedback with any not mentioned bugs, ideas on how to implement planned features, or even parts of code to improve what I already have that would be awesome. Since I am stuck at a point where I don't know how to continue I want this to be an open source and community made mod.

---Shout Outs---
Discord (for helping by sharing their coding wisdom with me. Without these people this project probably would not have made it off the ground):
plu
Pepega Pig
Object object = new Object();
+ others
YouTube Tutorials (for his awesome YouTube tutorials on developing for Rage Hook):
Albo1125

---Changelog---
Version 0.6
-Made it so the animation only plays when the ped is "shot" by the OC Spray
-Fixed spelling errors in read me (very important)

---Bugs---
-Fires like pistol not stream (too much recoil and not continuous).
-Peds are afraid of it (run and scream).
-Animations and sounds don't always play.
-Textures not correct or not loading. (if you know how to texture add on weapons your help would be greatly appreciated)
-Animation plays after you fire weapon. (I kind of like this though, let me know what you think)
-Occasionally the script crashes. (Not sure why this is yet, let me know if you have any ideas)

---Prerequisites---
Rage Plugin Hook
OpenIV with ASI Loader and OpenIV.ASI installed

---Install---
Unzip "OC Spray V0.6"
Drag everything in the "Grand Theft Auto V" folder to your GTAV main folder.
This will add a plugin to the plugins folder and a dlc pack to Grand Theft Auto V\mods\update\x64\dlcpacks
Add dlcpacks:/ocspray/ to Grand Theft Auto V\mods\update\update.rpf\common\data\dlclist.xml
Show Full Description

First Uploaded: August 24, 2019
Last Updated: August 30, 2019
Last Downloaded: 2 days ago

All Versions

 0.6 (current)

2,011 downloads , 1.03 MB
August 30, 2019

 0.5

130 downloads , 1.03 MB
August 24, 2019

26 Comments