Jump to content

Question

Posted

If you add this code i did up to your autoexec.cfg it will make your capslock key (or something else) toggle crouch on and off so that you don't have to keep the key held down.

The config assumes that you use ctrl to crouch, z to prone, shift to sprint, and that you want capslock to turn the crouch lock on and off.

If you change the key make sure you replace all capslock binds in the aliases. The other keys only appear once in their bind.

// Rebind capslock to turn crouch lock on and off
Bind "capslock" "+dOn";
alias "-dOn" "bind capslock +dOFF";
alias "-dOFF" "bind capslock +dOn";
alias "+dOn" "+duck";
alias "+dOFF" "-duck";

// Rebind control to cancel the crouch lock when released
bind "ctrl" "+duck2"
alias "+duck2" "+duck"
alias "-duck2" "-duck;bind capslock +dOn"

// Rebind z to cancel the crouch lock when pressed
bind "z" "+prone"

alias "+prone" "+alt1;-duck;bind capslock +dOn"
alias "-prone" "-alt1"

// Rebind shift to cancel the crouch lock when pressed
bind "SHIFT" "+sprint"    
alias "+sprint" "+speed;-duck;bind capslock +dOn"
alias "-sprint" "-speed"

3 answers to this question

Recommended Posts

  • 0
Posted

That might be very helpful in MOS's/Platoon or Realism Practices where a lot of talking is par for the course. I know I get tired of hold that stupid key down, and if there is something I need that finger to do (scratch my ass, poke an eye), I can free it up with Caps Lock.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Recent Posts

    • 2nd Platoon Weekly Attendance   Week of 27APR2025   P = Present | E = Excused | A = Absent   Platoon Staff CWO. A. Pitteway - Present 1stSgt. J. Candy -  Present GySgt. A Yoder -  Present GySgt. R. Fielding - Present   1st Squad Squad leader:  Cpl. M. Noel - Excused Cpl. B. Grande -  Present Cpl. R. Smith -  Present Cpl. C. Keebler - Present Pfc. D. Moffat -  Present     2nd Squad Squad leader:  SSgt. S. Holquist - Excused Cpl. T. Scary -  Present Cpl. C. Marsh - Present Cpl. W. Swift - - Excused Pfc. M. Oake - Excused Pvt. R. Zera - Absent Pvt. J. Coelho - Present  
    • Name: Brother Bear   Steam I.D: STEAM_0:0:120956468   Duration of Ban: Permanent   Reasons for the Ban: Racist comments   Demo Provided?: N   Comments: Said the N word a couple of times
    • Welcome to the 1st Marine Raider Battalion! Now that you have been accepted don't forget to: 1. Check in at the Recruit Depot 2. Read the Marine Raider Handbook (you are expected to know everything in it) 3. Change your steam friends Avatar 4. Download, install and log into Discord NOTE: Please be aware that you will not have access to the above links until an officer has given you full access to the forum. Access to the forum should be given to you within the next day.
    • MARINE CORPS ENLISTMENT OFFICE Camp Pendleton, CA   RECRUITMENT LETTER     Hello Paul Smith, Thank you for taking interest in joining the 1st Marine Raider Battalion.   During your trial period the following will occur: Once accepted as a Recruit, you will remain as a Recruit for 2 weeks from the day of your acceptance until the next BCT Class is offered. During your time as a recruit, it is highly encouraged to play within the Public Server and join Discord with our other members. Upon acceptance, you will be contacted by one of our DIs when the next available BCT is scheduled via the appropriate Discord channel.   We have a BCT class every two weeks. Please keep an eye out for when the next one is made available once you've completed your time requirements!   Upon stating that you understand all the information here, an admin will change your forum name and login to be :   P. Smith 1st MRB   Take the time now to change your Steam and in-game name to:   Rec. P. Smith [1st MRB]     Please make sure to verify your forum account by checking your email. Also, please respond below with a reply showing that you have read and understand these rules. You cannot be fully accepted until you do so. We have a limit on the time to reply, if you do not do so within 48 hours, your application will be denied. Once you reply, you will be approved for your trial period unless otherwise posted.  
×
×
  • Create New...