PDA

View Full Version : Binds and auto-heal?


Free
10-08-2009, 08:17 PM
Hi, all.

First, let me say that I'm completely clueless when it comes to key binds, scripting, or any of that. I've read various tutorials on it, and it still makes no sense to me.

Here's what I'm trying to do: I'm trying to practice my rocket-jumping, but the self-damage leaves me dead after only 1 or 2 tries. I want something--a key bind (whatever that is), or some console command that I can type in that will continually heal me.

In other words, I want to be able to keep practicing my rocket jumps without dying. Can anyone give me a step-by-step on how to go about this?

Any advice is appreciated. Thanks!

v3locity
10-08-2009, 09:56 PM
bind "k" "sv_cheats 1; hurtme -9999999"

Where k = any key you want.

This will give you an (effectively) infinite healthpool, your health will go to 0 but then it will revert back to 500. To many 9's will kill you, but what's above should work. That command is best suited for a localserver as well, otherwise you need access to the server's admin to change cheats to 1.

Free
10-10-2009, 01:40 PM
Thanks, Velocity. That was exactly what I needed.

Is there one for replenishing ammo?

Your help has been much appreciated!

v3locity
10-10-2009, 03:57 PM
givecurrentammo is the command to give you ammo for whatever weapon you're currently using.

You can bind it if you want, but you shouldn't really need it that often, just throw it in the console when you're almost out. It doesn't work if you can't switch to the weapon when you're completely out of ammo though.

Grimm
10-16-2009, 11:54 AM
bind "k" "sv_cheats 1; hurtme -9999999; givecurrentammo"

Where k = any key you want.

Simplicity ftw. :D