Cyberpunk 2077
0 of 0

File information

Last updated

Original upload

Created by

fuxsart

Uploaded by

dimasnik

Virus scan

Safe to use

34 comments

  1. vizionblind
    vizionblind
    • member
    • 0 kudos
    does the script always need to be running for this to work?
  2. lowspeclanky
    lowspeclanky
    • member
    • 0 kudos
    Did everything as instructed,

    • installed autohotkey
    • downloaded the script that changes the input from double tapping ALT
    • double-clicked before launching game to make sure autohotkey was running
    Anyway, pressing G just made my character spin around in different directions, checked to see if G was already binded to another function (it was) so I changed the input key to Y, then Tab, no success.

    Should the .ahk file be in a certain directory?

    UPDATE: so I swapped all the keys in the script like so:
    ?SetTitleMatchMode 2
    #SingleInstance Force

    #IfWinActive, Cyberpunk 2077 (C) 2020

    *G::
            {
            Send {Y}
                Sleep, 100                                    
            Send {Y}
            }        
        Return    
        
    #IfWinActive   
    and "Y" would toggle the weapons, but G would do nothing, any clues?
  3. darcsword
    darcsword
    • member
    • 0 kudos
    Thank you for this. Having to hold alt just to put weapons way was annoying. LOL, don't know if you or anyone else as noticed. but when u get into your car at night and your headlights come on, hitting the "G" key will turn your car lights off, and hit again, and you turn on your high beams. LOL, makes a difference driving around with Brights on. I don't even know if that's possible in base game, its awesome!
  4. Alushun
    Alushun
    • premium
    • 48 kudos
    Thanks for this mod.  It boggles my mind that CPDR couldn't even get the most basic function of any first person shooter implemented right.  Never knew that double tapping Alt key holsters your weapon and I always used the crappy weapon wheel.  Was that mentioned somewhere in the game, maybe early on?  Idk.  
  5. Inkvitz
    Inkvitz
    • member
    • 4 kudos
    CDPR never played in Bethesda / Obsidian games >:C

    FUCKING HOLD R YO HOLSTER WEAPON!!!!!!1111111111
    1. snake11088
      snake11088
      • supporter
      • 4 kudos
      This a million times. Who in their right mind thought double tapping ALT is a standard?
  6. ferppo
    ferppo
    • member
    • 3 kudos
    Its works, thanks. As other user say, I must run the script as administrator.

    Good job!
  7. Mcfly696
    Mcfly696
    • BANNED
    • 7 kudos
    Thank you so much for this.
  8. Dragonclaw1337
    Dragonclaw1337
    • supporter
    • 0 kudos
    you know double-tapping Alt holsters your weapons too, right?
    1. datsylel2
      datsylel2
      • member
      • 0 kudos
      We know. And it f***ing sucks, because alt also cycles weapons and you end up cycling weapons 50% of the time instead of holstering your weapon. There's no reason why the developers chose not allow us to bind a separate holster key, yet here we are.
    2. Mcfly696
      Mcfly696
      • BANNED
      • 7 kudos
      The very first line in the description notes this.
  9. wanderingHP
    wanderingHP
    • supporter
    • 1 kudos
    I have it set up, and it works 90% of the time without issue, but then the other 10% it will work while at the same time triggering my consumable action (which I have bound to "caps").

    I've changed "Alt" to U and "G" to Y (keys I have bound), but that's it otherwise. 
    I'm not sure why/where it's getting my consumable action from...
    1. dimasnik
      dimasnik
      • premium
      • 154 kudos
      Hi,
      You should take into account that the functions of the weapon wheel and holster are hard-coded in the game to work with only one key for some reason, and these functions cannot be separated without beeng able to access to in-game resources which is currently impossible without the appropriate modding tools.
      This script is a small code run by a third party application that just simulating double pressing a key set in the game for the Holster with another key (some kind of a little trick) without making any changes into game resources.   
      So it's quite difficult for me to answer what exactly keyboard keys combinations will work properly. It's impossible to test them all.
      The only thing I can definitely say is that remapping Alt to Tab, CapsLock or Ctrl works fine for me without any issues.
      I hope I haven't explained too confusing.
    2. wanderingHP
      wanderingHP
      • supporter
      • 1 kudos
      Ah, ok. Damn.
      However, your explanation pointed out how obvious the fix I'm looking for is, so thanks.
      I never use the weapon cycle, or weapon wheel actually, so I just need a holster button. 
      Simple for me to hotkey it myself as a double clicked button, duh. 
      Thanks!
    3. sr383
      sr383
      • premium
      • 15 kudos
      I would agree that it's great but not perfect. I still sometimes end up switching weapons with the G key, rather than putting them away. All in all, though, it works a LOT better than the ALT double-tap.
  10. HardcoreOnly
    HardcoreOnly
    • member
    • 0 kudos
    Thanks for this and great job!!  It works great.   You have *XButton2:: in your example as Mouse5.  Do you happen to know what the button name is for Mouse3? (middle mouse button).  
    1. dimasnik
      dimasnik
      • premium
      • 154 kudos
      *MButton::