Shoulder Swap [.NET] 1.3
1,872
36
1,872
36
A script I created to do a Shoulder Swap (default key is X).
=======CHANGELOG=======
//// 1.3 /////
-Fixed weapon sounds changing on the shoulder camera
-Improved fov for all weapons
-Improved compatibility with other mods that change the shooting camera
-better collision checks
(thanks to @thalilmythos for the help)
//// 1.2 /////
-Improved logic
-Added transition
-Added key configuration by .ini
-Fixed zoom on weapons that have scopes
-other more important small checks
//// 1.1 /////
-fixed for all versions of the game
///// INSTALL ////
- IMPORTANT you need the last ScriptHookVDotNet-nightly (thanks to @leroymcqy) : github.com/scripthookvdotnet/scripthookvdotnet-nightly/releases
-Now put the script file in the script folder that is in the root folder of your GTA V
-Done
-To uninstall just delete the script from the script folder
////Don't repost without giving me credit, Thanks!////
Credits:
-Rockstar Games - A great game
-farusca - Script creation
-Alexander Blade - ScriptHookV
-Crosire - ScriptHookVDotNet
=======CHANGELOG=======
//// 1.3 /////
-Fixed weapon sounds changing on the shoulder camera
-Improved fov for all weapons
-Improved compatibility with other mods that change the shooting camera
-better collision checks
(thanks to @thalilmythos for the help)
//// 1.2 /////
-Improved logic
-Added transition
-Added key configuration by .ini
-Fixed zoom on weapons that have scopes
-other more important small checks
//// 1.1 /////
-fixed for all versions of the game
///// INSTALL ////
- IMPORTANT you need the last ScriptHookVDotNet-nightly (thanks to @leroymcqy) : github.com/scripthookvdotnet/scripthookvdotnet-nightly/releases
-Now put the script file in the script folder that is in the root folder of your GTA V
-Done
-To uninstall just delete the script from the script folder
////Don't repost without giving me credit, Thanks!////
Credits:
-Rockstar Games - A great game
-farusca - Script creation
-Alexander Blade - ScriptHookV
-Crosire - ScriptHookVDotNet
Pertama dimuat naik: 22 Febuari, 2025
Tarikh Kemaskini: 27 Febuari, 2025
Last Downloaded: 1 hari yang lalu
41 Komen
More mods by farusca:
A script I created to do a Shoulder Swap (default key is X).
=======CHANGELOG=======
//// 1.3 /////
-Fixed weapon sounds changing on the shoulder camera
-Improved fov for all weapons
-Improved compatibility with other mods that change the shooting camera
-better collision checks
(thanks to @thalilmythos for the help)
//// 1.2 /////
-Improved logic
-Added transition
-Added key configuration by .ini
-Fixed zoom on weapons that have scopes
-other more important small checks
//// 1.1 /////
-fixed for all versions of the game
///// INSTALL ////
- IMPORTANT you need the last ScriptHookVDotNet-nightly (thanks to @leroymcqy) : github.com/scripthookvdotnet/scripthookvdotnet-nightly/releases
-Now put the script file in the script folder that is in the root folder of your GTA V
-Done
-To uninstall just delete the script from the script folder
////Don't repost without giving me credit, Thanks!////
Credits:
-Rockstar Games - A great game
-farusca - Script creation
-Alexander Blade - ScriptHookV
-Crosire - ScriptHookVDotNet
=======CHANGELOG=======
//// 1.3 /////
-Fixed weapon sounds changing on the shoulder camera
-Improved fov for all weapons
-Improved compatibility with other mods that change the shooting camera
-better collision checks
(thanks to @thalilmythos for the help)
//// 1.2 /////
-Improved logic
-Added transition
-Added key configuration by .ini
-Fixed zoom on weapons that have scopes
-other more important small checks
//// 1.1 /////
-fixed for all versions of the game
///// INSTALL ////
- IMPORTANT you need the last ScriptHookVDotNet-nightly (thanks to @leroymcqy) : github.com/scripthookvdotnet/scripthookvdotnet-nightly/releases
-Now put the script file in the script folder that is in the root folder of your GTA V
-Done
-To uninstall just delete the script from the script folder
////Don't repost without giving me credit, Thanks!////
Credits:
-Rockstar Games - A great game
-farusca - Script creation
-Alexander Blade - ScriptHookV
-Crosire - ScriptHookVDotNet
Pertama dimuat naik: 22 Febuari, 2025
Tarikh Kemaskini: 27 Febuari, 2025
Last Downloaded: 1 hari yang lalu

@farusca, is there a way to make it work with the Xbox controller?
@leroymcqy yes it is possible, I will work on it
@farusca My man, your doing god's work here, just 2 last things that are small but could make this perfect, the heavy machine guns, ahve a different fov, the reticle is more to the right, than on the usual handguns and rifles, so when you switch the shoulder, it comes up short on the left end, might have to increase the multiplier on your script for machine guns only, also, left shoulder camera has no collision with objects, but that last thing is something I can live with
@farusca ALSO, you'll need this:
Audio.SetAudioFlag(AudioFlags.ForceSniperAudio, true);
So that the weapons don't sound different on the shoulder camera change, try it.
@thalilmythos thanks for the feedback, I'll definitely work on it
@farusca Just realized, this is incompatible with killcam and any mod that makes use of the camera in any way.
@farusca now looks perfect keek it up .you can also check my mods
amazing
5 stars because this has been PAINFULLY needed.
Thank HEAVENS, I can't believe how many RP servers gave this game its needed features but gave SP none of the same effort lmao. The one last thing I need from this game is a crouch mechanic that counts as the "stealth stance" and isn't interrupted by the "action-mode" animations.
So happy you thought of this, thank you, I hope to see more improvements like this until 6 comes out!
You are true professional, my friend!
@farusca Hey there friend. Seems like this mod does not work on sniper rifles. Yes I know most of them don't need this feature, but Marksman Rifle MK II can aim in third person. This mod would be even better if you could add support for sniper rifles.
@farusca Shoulder swap works on sniper rifles when I change their names in weapons.meta. So you just disabled this feature for them? Maybe it's easy to bring this back for them?
@farusca My dude I managed to improve your script and the issues with collision, that still remained, I wonder if I can post it, or if I can send the improvements to you to update this
@M4dC4tss How'd you fix it?
@Stoptopper well thats because i have a old version of script hookv dotnet and download the latest version of script hookv dotnet and it actually work and fixing it
@thalilmythos I wouldn't mind grabbing a copy if you can share.
@dimedius I don't have it anymore, sorry my man
@thalilmythos No worries, if you dont mind answering, what needed to be added? I saw there was audio issues regarding the shoulder swap and then collision? Was there a lot to be done there? Im getting back into c# coding and if its not a whole lot of effort Ill try to work on it.
@dimedius The mod took over the game's camera completely, so in instances other mods used it like this one:
https://www.gta5-mods.com/scripts/kill-cam
The loop in the shoulderswap mod would return to the player immediately, even if you weren't in the shoulderswap mode.