Cyberpunk 2077
0 of 0

File information

Last updated

Original upload

Created by

Seijax

Uploaded by

Seijax

Virus scan

Safe to use

About this mod

Framework for weapon mods, to enable specific weapons to swap firemodes at the press of a keybind while leaving all unaffected weapons untouched.

Requirements
Permissions and credits
Changelogs
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)



> DOCUMENTATION


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)