GameBanana shows no ads to members. Sign up now!
Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

Realistic sprint (Lower your weapon while sprint)

A Config Script for Half-Life 2

20 1 kb Raw Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//There are 3 options you can choose
//Tactical style sprinting V2 (Thanks niicco for the weapon shooting fix)
//It will only work perfectly on default hl2 weapons (other weapons skins work fine but there will be a animation cut whenever you spaming the left mouse button or right mouse button)
//If you press the left or right mouse button it will stop sprinting
alias +sprint "-attack; -attack2; bind MOUSE1 -sprint; bind MOUSE2 -sprint; +speed; global_set friendly_encounter 1"
alias -sprint "bind MOUSE1 +attack; bind MOUSE2 +attack2; -speed; global_set friendly_encounter 0"
bind shift "+sprint"
//copy this command to the autoexec.cfg file

//Tactical style sprinting V1 (same as V2 but won't shoot if you press the mouse button unless you release your sprint button, cannot switch weapons)
alias +sprint "-attack; -attack2; unbind MOUSE1; unbind MOUSE2 ; +speed; global_set friendly_encounter 1"
alias -sprint "bind MOUSE1 +attack; bind MOUSE2 +attack2; -speed; global_set friendly_encounter 0;"
bind shift "+sprint"
//copy this command to the autoexec.cfg file

//Black mesa style sprinting (Able to shoot your weapon while sprinting)
alias +sprint "+speed;global_set friendly_encounter 1"
alias -sprint "-speed;global_set friendly_encounter 0"
bind shift "+sprint"
//copy this command to the autoexec.cfg file

Updates

Realistic Sprint Update! 22d
  • Addition Added 2 new options (Tactical style sprinting V1 & V2)

Realistic sprint (Lower your weapon while sprinting)

Pls read the license before editing my script


The original idea was here: https://gamebanana.com/requests/13614 Since I can't get any answers so I have to make it by myself.

*VIDEO SHOWCASE*

This video uses Tactical Style Sprinting V2.

Ever wanted to make hl2 feel tactical?

Well here is a script for you. This script make you lower your weapon while sprinting.
It uses the lowered sequences just like Cinematic Mod (Work great with HL2 MMod weapons)

*BUGS*
  • Pressing "Sprint" too many times causing the weapon will not lowering (You can fix it by wait for a bit then press it again)
  • Some weapons skin will not lower if they don't have the lowered sequences. (It is recommend to use deafult hl2 weapons)


Sign up to access this!
  • Lambda logo avatar
    Lambda logo Joined 11mo ago
    Offline
    235 points Ranked 55066th
    12 medals 1 legendary 2 rare
    • 2019 Top Contributor Medal icon
    • 10 submissions featured Medal icon
    • Returned 1000 times Medal icon
    • Submission featured Medal icon
    • Returned 100 times Medal icon
    • Submitted 10 Skins Medal icon
    access_time 21d
    I have a question, what is this modification?? And what kind of Addons are installed on it?
    Rebel
    URL to post:
  • PolygonHead avatar
    PolygonHead Joined 4mo ago
    Offline
    212 points Ranked 56540th
    4 medals 1 rare
    • Returned 1000 times Medal icon
    • Returned 100 times Medal icon
    • One month a member Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    access_time 22d
    How did you kick and attack friendlies? 
    Seeyaaa maannnnn.
    URL to post:
  • Ghost1704074 avatar
    Ghost1704074 Joined 8mo ago
    Undeadin'
    678 points Ranked 43679th
    17 medals 2 legendary 3 rare
    • 2019 Top Contributor Medal icon
    • Became a Ripe Supporter Medal icon
    • 10 submissions featured Medal icon
    • Returned 1000 times Medal icon
    • Achieved Game Manager clearance Medal icon
    • Submission featured Medal icon
    access_time 22d
    Hey mate,trash your "added video" update.
    Updates are used only for updates to the submission's files,not description and etc.
    • Agree x 2
    • Helpful x 1
    URL to post:
  • niicco avatar
    niicco Joined 10y ago
    Offline
    1,343 points Ranked 22663rd
    10 medals 1 legendary 2 rare
    • Returned 5000 times Medal icon
    • 6 years a member Medal icon
    • Returned 1000 times Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • 1 year a member Medal icon
    access_time 29d
    I've never seen that command before, nice find.

    Here is a fix to stop the weapon firing:
    alias +sprint "-attack; -attack2; bind MOUSE1 -sprint; bind MOUSE2 -sprint; +speed; global_set friendly_encounter 1"
    alias -sprint "bind MOUSE1 +attack; bind MOUSE2 +attack2; -speed; global_set friendly_encounter 0"
    bind shift "+sprint"
    • Helpful x 1
    • Thanks x 1
    Bananite
    URL to post:
  • access_time 29d
    What mods are you using that video? The effects for the AR2 are pretty nice
    Bananite
    URL to post:

Embed

Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Credits

Original Authors
notaguyyoucantrust
Scripting
Special Thanks
Valve
Original code
nicco
Command to stop weapon shooting while sprinting

Submitter

Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

License

Attributes

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • 3
  • 709
  • 11
  • 29d
  • 6d
  • 22d

More Other/Misc Scripts