Forums

Pages: 1 ... 3 4 [5]
Author Topic: New Inf ammo and health script  (Read 61732 times)
Offline  Void
Maggot
*

Posts: 2
Hello everyone!  I have been having some problems with using this script.

Whenever I use exec regen, I get:
"Unknown command: wait"

I have sv_allow_wait_command 1, sv_pure 0, sv_cheats 1 enabled on my offline server, and I don't know what's causing this.

Any response will help, thanks :)
   
Rocketeer
****

Posts: 331
the skybox is the limit
Don't use the script. impulse 101 refills your clip now.

bind mouse1 "+attack; impulse 101"
   
Offline  Void
Maggot
*

Posts: 2
Don't use the script. impulse 101 refills your clip now.

bind mouse1 "+attack; impulse 101"

Ok, thanks, but what is the command to regenerate health?  I don't want to constantly be buffing myself with hurtme -100
   
Offline  X_DIAS
Rocketman
***

Posts: 643
The world is a cube
Ok, thanks, but what is the command to regenerate health?  I don't want to constantly be buffing myself with hurtme -100

buff once with hurtme -99999
   
Fly
**

Posts: 82
life aint all, sunshine and rainbows
im sort of new to scripting but is there a way i can modify it so it regens quicker?


---------------------------
Intel(R)Celeron(R)CPUG550 @ 2.60 GHz --- 12.0 GB RAM
Asus NVIDIA GeForce GT 640 2GB Graphics Card
x64 Bit
   
Rocketman
*****

Posts: 630
im sort of new to scripting but is there a way i can modify it so it regens quicker?

Press the button faster.
   
Offline  Shunix
Soldier
***

Posts: 167
Awooooo!
im sort of new to scripting but is there a way i can modify it so it regens quicker?


bind all keys to impulse 101


---------------------------
   
Offline  Tilted
Maggot
*

Posts: 2
Just a quick response to the advent of the changes to impulse 101, bootlegged a script from one for bhop to refill ammo and hp on left mouse click, just use hurtme -99999 for multi-rocket jumps :)
Code: [Select]
//Initiate alias - Impulse script by Tilted modified from the BHop script by KandriX
alias impulse_bind "impulse 101;wait 2;impulse_run"
alias impulse_alias "alias impulse_run impulse_bind"
alias impulse_stop "alias impulse_run"
alias +impulse "impulse_alias;impulse_run"
alias -impulse "impulse_stop"
alias +atkimp "+attack; +impulse"
alias -atkimp "-attack; -impulse"

//The bind
bind mouse1 "+atkimp"

//Execute bind
//If you want to avoid endless "Unknown command: wait"'s flooding the console on servers with "sv_allow_wait_command 0"
//whenever you press left mouse uncomment the two alias' below
//alias +hp "bind mouse1 +atkimp"
//alias -hp "bind mouse1 +attack"
//and put this in console to use the script, hurtme -99999 included for multi-rocket jumps
//sv_cheats 1; +hp; hurtme -99999
//when you want to stop the script put this in console
//sv_cheats 0; -hp
   
Rocketman
*****

Posts: 630
Why so complicated?

bind e "hurtme -9999999"
bind mouse1 "impulse 101;+attack"

Press e once, now every time you press mouse1 your ammo regens.
   
Offline  Tilted
Maggot
*

Posts: 2
I started with that but that only initialises once, my script sets impulse 101 on loop so that for wall climbs or pogos or we that you hold mouse click down for it also works, if you're demo pogoing you probably wouldn't have noticed since it will work every click. As for binding hurt me just putting it in console suffices.

Edit: Also as for being complicated it can be stripped down to:
Code: [Select]
alias impulse_bind "impulse 101;wait 2;impulse_run"
alias impulse_alias "alias impulse_run impulse_bind"
Then just put impulse_alias;impulse_run in console and it will work, I just didn't want impulse 101 being set while I didn't have my left mouse held down, as without the toggle it will just run endlessly until you manually put alias impulse_stop "alias impulse_run" into console :)
« Last Edit: August 30, 2013, 07:26:22 AM by Tilted »
   
0 Members and 1 Guest are viewing this topic.
Pages: 1 ... 3 4 [5]
« previous next »


spirit Powered by SMF 2.0 RC5 | SMF © 2006–2011, Simple Machines LLC