User panel stuff on forum
|
|
|
|
|
|
|
Member 135 posts
Registered: Jan 2006
Hello! I need auto weapon script, but I don't know how to make it. I'll try to explain what I want to do . My bindings: bind e "impulse 8" bind f "+gl" - switches on gl and automaticly shoot with it bind q "+sshot" - switches on ssg and automaticly shoot with it bind s "+attack" bind w "impulse 7" bind z "impulse 1" bind CTRL "+shot" - switches on sg and automaticly shoot with it bind SHIFT "impulse 2;wait;impulse 3;wait;impulse 4;wait;impulse 5 " When I'm not shooting I want run with axe. When I'm going to shoot with any weapon, I want to switch on it, shoot and then back to axe, but I want keep my +gl +sshot +shot scripts working for example. Any ideas? Please help me!
Member 811 posts
Registered: Jan 1970
alias +sshot "impulse 3 2 1;+attack" alias -sshot "impulse 1;-attack" alias +gl "impulse 6 2 1;+attack" alias -gl "impulse 1;-attack" alias +shot "impulse 2 1;+attack" alias -shot "impulse 1;-attack"
For example, +sshot will automatically shoot with ssg (and sg if you haven't got ssg, axe if you haven't got sg ammo), and then switch back to axe.
Member 135 posts
Registered: Jan 2006
Yes but what about lg, rl and ng, sng. I dont want automaticly shoot with these weapons, but only switch on a weapon and shoot using +attack (s key) and then back to axe after every shot. I don't know if it is possible?! :S
Administrator 2058 posts
Registered: Jan 2006
alias +attack2 "+attack" alias -attack2 "-attack;impulse 1" bind s +attack2 that however means that if you stop shooting, you will switch to axe, and if you want to fire lg/rl/ng/sng again, you will have to switch to it before firing again
Member 135 posts
Registered: Jan 2006
Is there possibility that qw client "remembers" last used weapon and switches on it when I want to shoot? For example: Im pressing W (impulse 7), it switches on RL, then I'm pressing S (+attack2), it shoots with RL, then automaticly switches on axe, and now when I'm pressing W (+attack2) again it still shoots with RL not with axe. I would like to have something like this one, but I really don't know if it is possible to realize.
Administrator 2058 posts
Registered: Jan 2006
bind w "bind s +rl" bind e "bind s +lg"
Member 135 posts
Registered: Jan 2006
thx dude works perfect and looks like this: alias +shot "impulse 2 1;+attack" alias -shot "-attack;impulse 2" alias +sshot "impulse 3 2 1;+attack" alias -sshot "-attack;impulse 2" alias +best "impulse 5 4 3 2 1;+attack" alias -best "-attack;impulse 2" alias +gl "impulse 6 2 1;+attack" alias -gl "-attack;impulse 2" alias +rl "impulse 7 2 1;+attack" alias -rl "-attack;impulse 2" alias +lg "impulse 8 2 1;+attack" alias -lg "-attack;impulse 2"
bind xxx "bind s +lg" bind xxx "+gl;bind s +gl" bind xxx "+sshot;bind s +sshot" bind xxx "bind s +rl" bind xxx "+shot;bind s +shot" bind xxx "bind s +best" Enjoy!
Member 811 posts
Registered: Jan 1970
can anybody tell me why this doesnt work: alias +best "impulse 8 5 3 2 4 1;+attack" alias -best "-attack;impulse 1" bind mouse2 "+best" i want my right mouse button to shoot my best wep execpt for rl and gl and then return to axe but it only seems to shoot shaft if i have it and otherwise it just stays on axe
Member 518 posts
Registered: Jan 2006
I still can't believe ppl want to use AXE script. Boomstick is much better :>
First you don't have switch to boomstick for a little fight.
Second and most important, if you get into a fight with nmy rl and you survive with like 20h and try to run away. Ppl will chase you and they always know who to chase cuz you're running around with some stupid axe.
BS script ftw!
|
|
|
|
|