Disable jumping ?

A Forum Thread for Half-Life 2

Greetings! We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending Foofinoo points.
  • Post: Give Foofinoo your thoughts on this Thread.
  • Vote: Help Foofinoo win the Monthly Awards.
  • Flag: Alert moderators and warn members of a problem with this Thread.
  • Watch: Get notified when this Thread is updated.
Mascot

Stop Lurking!

Sign up

Already a Bananite? Login

Is it possible to disable jumping on HL2 ?

Hey everyone !!

I'm currently working on a HL2 map that is some kind of a puzzle map. It's nearly finish, but I'm still facing one problem (in fact multiple problems, but this one really annoys me).

Recently, I played the Source mod Alchemilla (a mod inspired by Silent Hill) in which you can't jump. I like a lot that feeling of walking and solving riddles...

So, I was wondering how it's possible to disable jumping in HL2. I found something called player_speedmod with the flag "Suppress Jump", but it don't seem to work...  Or I don't know how to make it works...

If anyone knows how to help me...

Posts

  • 5mo
    Shredder2025 avatar
    Shredder2025 username pic Joined 3y ago
    Offline
    2,091 points Ranked 2305th
    11 medals 1 rare
    • Returned 1000 times Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • 1 year a member Medal icon
    • Received thanks 5 times Medal icon
    • Reached 1,000 Points Medal icon
    something related to a jump height setting or making gravity heavier i think, not sure.
    • Thanks x 1
  • 5moEdited 5mo
    General Cornwaffle avatar
    General Cornwaffle Joined 7y ago
    HL2 Manager
    Offline
    3,268 points Ranked 1459th
    13 medals 2 rare
    • 6 years a member Medal icon
    • Achieved Game Manager clearance Medal icon
    • Jellyfish Short Story Entrant Medal icon
    • 2016 Survey Participant Medal icon
    • Reached 1,000 Points Medal icon
    • One month a member Medal icon
    Console command:
    unbind SPACE

    (to bring it back, type
    bind "SPACE" "+jump"

    WITH quotes

    You can also try clearing the spacebar in the keyboard options.

    Of course, you could replace the spacebar with anything else if you wanted to use it for something other than jumping.
    bind "SPACE" "command"
    • Thanks x 1
    Eph. 4:31-32 | 1 Cor. 15:1-4
  • 5mo
    Foofinoo avatar
    Foofinoo username pic Joined 4y ago
    Lost in time...
    Cell 1 Flag Affiliation: Cell 1
    9,571 points Ranked 473rd
    28 medals 3 legendary 5 rare
    • Returned 5000 times Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2017 Medal icon
    • 2nd Place - Marble Tracks Redux Contest Medal icon
    • Returned 1000 times Medal icon
    • Submitted 20 Maps Medal icon
    Foofinoo avatar
    Foofinoo
    Cell 1 Flag
    Affiliation
    Cell 1
    Thanks a lot for the answers.

    Modifying the gravity is not possible because I'm using some physics objects so it would look pretty bad if they were "aspirated" by the ground...

    Also, I thought about unbinding the jump, but the point is that if the player want to bind it again, he just have to go to the options and rebinding the jump, no ?

    What I'm seeking is something like a command or a script that disable jumping.

    For exemple : when you don't have the HEV Suit, you can't sprint at all.
    But then for disable jumping, I might have to change some things in the gamefiles maybe ?
    Professional Crastination avatar
    Mantra
    Professional Crastination
  • 5mo
    unbind your jump key
    Some MLG Pleb
  • 5mo
    Player_speedmod does work, you just need to trigger it.

    Give player_speedmod a name, any name.

    Then make a logic_auto. In the output section, type "OnMapSpawn *Speedmodname* Modifyspeed 1"

    I think this causes it to trigger, and if you want to make the player slower, just change the 1 value to something lower like 0.8
    • Have my babies x 1
    • You rock x 1
    Takes Memes Seriously

Embed

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

Submitter

Foofinoo avatar
Foofinoo username pic Joined 4y ago
Lost in time...
Cell 1 Flag Affiliation: Cell 1
9,571 points Ranked 473rd
28 medals 3 legendary 5 rare
  • Returned 5000 times Medal icon
  • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
  • 15+ Entries! GameBanana’s Christmas Giveaway 2017 Medal icon
  • 2nd Place - Marble Tracks Redux Contest Medal icon
  • Returned 1000 times Medal icon
  • Submitted 20 Maps Medal icon

Foofinoo avatar
Foofinoo
Cell 1 Flag
Affiliation
Cell 1
Sign up to access this!
Sign up to access this!
Sign up to access this!
Sign up to access this!

Category

Attributes

Miscellaneous

Stats

Posts
11
Views
642
Date Added
5mo
bcp.crwdcntrl.net tracking pixel