Other user's assetsSome assets in this file belong to other authors. You will need to seek permission from these authors before you can use their assets
Upload permissionYou are not allowed to upload this file to other sites under any circumstances
Modification permissionYou must get permission from me before you are allowed to modify my files to improve it
Conversion permissionYou are not allowed to convert this file to work on other games under any circumstances
Asset use permissionYou must get permission from me before you are allowed to use any of the assets in this file
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are not allowed to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
rfuzzo for revealing this could be done and writing its first iteraction
Donation Points system
This mod is opted-in to receive Donation Points
Changelogs
Version 1.0.5
Accounted for a few more possible inconsistencies in the game files
Version 1.0.4
Refined the checks added in previous version
Moved trigger swap override for Tech weapons in a separate Mod Settings option
Version 1.0.3
Added a fix for Hercules' shenanigans
Version 1.0.2
Preem Weaponsmith compatibility
Version 1.0.1
Redone the logic to check for tags on the weapon
Added attack selection as an optional second tag, that can work together or separately
Added support for vehicle combat
Provided several keybind options
Added Mod Setting option, to force manual control on all guns with multiple triggermodes
Framework for Cyberpunk2077, to enable specific weapons to swap firemodes at the press of a keybind while leaving all other weapons unaffected.
Credits to rfuzzo, that showed everyone this could be done by writing the initial version.
a Mod Settings option is provided, to allow users to force the manual swap functionality on all applicable guns, but this is mainly meant as a resource for modders to make manually controllable weapons for you. If you aren't happy with how a weapon behaves once you flip that switch on, then mod it. If you need assistance for that, you'll find it on the Modding Community Discord (we have a merchants-of-death channel)
TLDR; To make a weapon change firemode manually, instead of the automatic swap that the base game does when changing aiming state, add the ManualTriggerSwap tag to the record of the weapon in question: tags: - !append ManualTriggerSwap
To tie the attack type to the relative (primary/secondary) trigger mode, rather than leave it to aiming state, add the TriggerBoundAttacks tag to the record of the weapon in question: tags: - !append TriggerBoundAttacks
As it's set up, this framework will ignore all weapons that don't have one of its enabling tags, so all weapons that aren't specifically brought into this system will be unaffected by this framework. (unless the users go and activate the option to force this behaviour on all guns, but that's their choice)