OC Spray 0.6
2.131
24
2.131
24
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
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
Zuerst hochgeladen: 24. August 2019
Letztes Update: 30. August 2019
Last Downloaded: vor 5 Tagen
26 Kommentare
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
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
Zuerst hochgeladen: 24. August 2019
Letztes Update: 30. August 2019
Last Downloaded: vor 5 Tagen
Looking forward for the fully textured version!
@bravo-one-charlie Same, though I'm having a little trouble with it. If you know anyone who knows how to add textures to addons send them my way.
@smojo098 I might be able to help. Is the model unlocked?
@bravo-one-charlie I don't know much when it comes to modelling for a game. I created the model in Inventor then sent it to 3ds Max to make it gta compatible. I didn't click anything that said lock, but I didn't click anything that said unlock. I have all the original files on my computer along with textures I attempted to make. If you can't pull the files out of the dlc.rpf file then I could probably upload whatever you or anyone else needs to create textures for it in a new version or something.
@smojo098 It was unlocked but zmodeler broke it when importing, it just created 3 copies. But I was able to texture it. Can you send me the original .z3d file? we can talk more on discord
@bravo-one-charlie I did not use zmodeler. Haven't figured out how to use that yet so I created it in Autodesk Inventor. I did create a discord channel, heres the link: https://discord.gg/Ajz443k
Reminds me of the game SWAT4!! Thanks!
@AbdullahHossain That is an awesome game! Thank you for your support.
Cool. About time we had a better spray mod :)
Hope you improve this brilliant idea. 5 for bringing to 5MODS 👍😁
@dionys19 @bloodykills Thank you both for the support. Yeah, I'm working on improving it, adding textures now. Only problem is when I add the material the game crashes.
Cant wait for this to become more matured
Would make LSPDFR much more realisitic
How to get the spray in game?
Great concept!
I like where this is going. Keep up the great work! Can't wait to see this evolve
Looking forward to the latest version
How do i spawn the spray?
@Maxie get menyoo, go to favorite weapons and add one in. type "WEAPON_ocspray" (The spray doesnt work for me though)
I've put this weapon into Police ped loadouts, however, the Weapon does not work when used by Police peds. It only works when used by the player. It makes armed NPCs cough once when in close range. Does work on unarmed peds though.
OCSPRAY.dll crashes during seemingly unrelated incidents, like when arresting a ped in LSPDFR.