I was playing around with the console this morning and decided to make a simple bunny hopping code for OC.
First off, start by going to where OC is installed, it should look something like this:
C>Program Files>Steam>steamapps>sourcemods>obsidian
Then open up the folder named "cfg".
In there should be a bunch of .cfg files. Look for one that says "config_default.cfg" and open it with notepad.
First thing you should do here is change
To:
then scroll to the bottom of where all the binds are and put in:
Code:
alias bhop "bind mwheeldown +jump; bind mwheelup +jump; bind Space +jump; bind ALT norm"
alias norm "bind mwheeldown invprev; bind mwheelup invnext; bind Space +jump; bind ALT bhop"
so that the whole text file should look like this (mine):
Code:
unbindall
bind "TAB" "+showscores"
bind "ESCAPE" "cancelselect"
bind "`" "toggleconsole"
bind "w" "+forward"
bind "s" "+back"
bind "a" "+moveleft"
bind "d" "+moveright"
bind "SPACE" "+jump"
bind "CTRL" "+duck"
bind "e" "+use"
bind "c" "impulse 50"
bind "r" "+reload"
bind "ALT" "bhop"
bind "SHIFT" "+speed"
bind "MOUSE1" "+attack"
bind "MOUSE2" "+attack2"
bind "f" "impulse 100"
bind "1" "slot1"
bind "2" "slot2"
bind "3" "slot3"
bind "4" "slot4"
bind "5" "slot5"
bind "6" "slot6"
bind "7" "slot7"
bind "8" "slot8"
bind "9" "slot9"
bind "0" "slot10"
bind "MWHEELUP" "invprev"
bind "MWHEELDOWN" "invnext"
bind "q" "lastinv"
bind "F5" "jpeg"
bind "F6" "save quick"
bind "F9" "load quick"
bind "PAUSE" "pause"
bind "z" "+zoom"
bind "g" "phys_swap"
bind "y" "messagemode"
bind "u" "messagemode2"
bind "k" "+voicerecord"
bind "'" "+cloak"
bind ";" "shield_toggle"
bind "l" "ironsight_toggle"
bind "m" "drop"
bind "[" "cl_toggleitemmenu"
bind "]" "cl_dropselecteditem"
bind "b" "ch_createairboat"
bind "n" "ch_createjeep"
bind "o" "CallForAttention"
bind "l" "CallForMedic"
bind "p" "locate_players"
bind "-" "inventory_store"
bind "v" "transferpoints"
bind "x" "dropammo"
bind "," "ShowMapBriefing"
alias bhop "bind mwheeldown +jump; bind mwheelup +jump; bind Space +jump; bind ALT norm"
alias norm "bind mwheeldown invprev; bind mwheelup invnext; bind Space +jump; bind ALT bhop"
skill "2"
name "Obsidian Player"
jpeg_quality "100"
alias "create_map-overview" "exec create_map-overview.cfg"
After you do that, go to file>save to save that shit, then fire up OC.
Go to options and hit the default button for the keyboard binds, and that will run the config_default.cfg file and allow you to use your new script.
HOW IT WORKSPressing ALT will 'toggle' the bunny hopping on/off.
Binding the mousewheel to jump helps with the timing. Every time you scroll, instead of activating the +jump action once like you do with the space bar, you activate it every time your mousewheel moves 1 notch. This is almost certainly more than 5 times with every spin, which greatly increases your chances of jumping at exactly the right time, when you hit the ground. Having your mousewheel set to a more sensitive setting increases this chance.
The best technique which I have found with the new script, is to rock the mousewheel up and down on alternate jumps. Step by Step:
1) For the first jump, I rock the mousewheel down.
2) Without lifting my finger, for the second jump, I rock the mousewheel up... etc etc.
This will create as many 'hits' of the +jump command as possible. It is also quite easy to get into a rhythm and you don't have to lift a finger.
And that's pretty much all there is to it, and remember, practice makes perfect. keep trying like the way I showed you above and you'll get it in no time.
Request Sticky?
_________________How to install player models into Sven Co-op:
viewtopic.php?f=4&t=1262A better bunny hopping script, made by me:
viewtopic.php?f=25&t=1634A one-button grenade throwing script for Sven Co-op, made by me:
viewtopic.php?f=4&t=1646