Jump to content

The mystery of "HolsterUnholster"


Nagrom0ne

Recommended Posts

So, while I was updating the crafting time thanks to the help of https://www.nexusmods.com/cyberpunk2077/mods/155, I figured I might as well tweak some more stuff here and there. Mainly, I wanted to change the stupid double-tapping the "weapon wheel/ switch weapon" button to sheath/holster to another button. 'Cept something is weird.

In the IputContext.ini, you have these lines:


<!-- Script only gives 0.25 seconds to read this so tighter tap requiremets -->
<multitap action="HolsterUnholster" count="2" uptime="0.125" downtime="0.125" />

Except this is a dummy (I think that's the right word?) line, as no matter how I altered it or even removed it, the behavior for holstering stayed the same in game: double tapping the weapon wheel button. I was suspicious of that, since "HolsterUnholster" doesn't appear in either the Context or UserMapping inis, and it isn't linked to either "WeaponWheel" or "Switchitem", the two script bound to this button. Another orphan line, with seemingly no actual button or script attached to it is:

<hold action="EmptyHands" timeout="0.2" />

Due to the name, I wonder if it's linked somehow to "HolsterUnholster" action, but the fact that's it's a hold action is weird.

Anyway, there you have it: Holstering/Unholstering is:

A- Not a regular keybind, as it doesn't have an actual entry in the inputcontext.ini or inputusermapping.ini
B-Always bound to double tapping the weaponwheel/ switchitem button.

I'm sure some of y'all smarties can figure this one out, but I'm just confused as to why it's treated differently.

Link to comment
Share on other sites

I'd put money on the idea that the person responsible for figuring out and porting the keyboard layout from gamepad/controller to keyboard/mouse has never in their life used an English alphabet QWERTY keyboard or they are left handed!

 

'ALT' should be use for well 'ALT'ernate actions, why it's set as the weapon swap key is unfathomable! That's what the mouse scroll wheel or number keys are for. 'R' should only be used for Reload or 'hold' for holster and assigning "F" for interactions instead of 'E' is just trolling on the part of the developer.

 

They also didn't bother "locking out" the mouse scroll wheel as weapon select during dialogues ( I've lost count of the number of times I've pulled my weapon on someone whilst talking to them)

Link to comment
Share on other sites

i think you found the root of the conspiracy, Perraine

 

i disabled mouse-scroll weapon cycling entirely, due to that asinine function.

 

tho it looks like nothing can be done about using it in other functions.

Edited by S0MAM3CH
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...