Skip to content

Seijaxx/TriggerModeControl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

TriggerModeControl

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

All credits to rfuzzo, that showed everyone this could be done by writing the initial version.

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 ManualTriggerSwap
  - !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.

Keybind is defined in the xml file for Input Loader, r6/input/ManualTriggerSwap.xml

Requirements:

  • redscript
  • RED4ext
  • Input Loader
  • AchiveXL
  • TweakXL

Check Wiki for more details

About

Framework for Cyberpunk2077, to enable specific weapons to swap firemodes at the press of a keybind while leaving all other weapons unaffected

Resources

Stars

Watchers

Forks

Packages

No packages published