i was wondering if i could get a script that bunny hops, shoots enemies, and prime grenades for me, thanks for the help
|
right guys I would appreciate if anybody came up with some commands I'm in need of.
Demoman script for the following stuff mwheelup to switch between blue and yellow pipes. mouse5 to detonate the yellow pipes. |
Code:
//Quick Weapon - put in demoman.cfg |
thanks mate. by the way, is that Dr Satan from house of 1000 corpses?
|
yeah, started using the name when I was like 12 I think
|
great movie and character!
|
for sure!
|
Mouse sensitivity script
Could you please make a script for me that allows me to reduce mouse sensitivity while I hold the shift key and restore when I let up?
|
What's your current mouse sensitivity then someone can do something
|
Quote:
Code:
alias +sensitivitytoggle "sensitivity x" |
Thank you very kindly Oaties. That will do perfectly.
|
There might be a problem with the nested " " commands. I know I couldn't get some scripts to work right when I needed to use lots of quotes.
|
I'm looking for a script that will make a button (kp_ins) switch between mini shottie to pipe launcher and back again.
it sounds simple but I haven't found any on the forum or have got mine to work right. I just use bind slot2 but would like one that can switch between two specific weapons |
Put in demoman.cfg:
currentweapon alias demoswitch1 "slot5; alias currentweapon slot5; alias demoswitch demoswitch2" alias demoswitch2 "slot4; alias currentweapon slot4; alias demoswitch demoswitch1" Put in autoexec.cfg: alias demoswitch demoswitch1 bind KP_INS demoswitch This will break if you put them in the wrong place. The special nine's weird config friendly version!: bind MWHEELDOWN "invprev; alias demoswitch demoswitch1" bind MWHEELUP "invnext; alias demoswitch demoswitch1" alias demoswitch demoswitch1 alias demoswitch1 "slot5; alias demoswitch demoswitch2" alias demoswitch2 "slot2; alias demoswitch demoswitch1" bind KP_INS demoswitch |
thanks to cake. dunno how he did it but we got it to work with some voodoo magic coding. with the second set of code it's improved because it switches to the grenade launcher no matter what weapon you have out so it's more predictable and better in a bind
|
Dunno if this has been answered before, but is it possible to set +attack as the second command in a string without it fucking up?
I'm trying to set up a script like follows bind mwheeldown "detpipes; wait; +attack" So it will det any currently placed pipes, then immediately shoot one more pipe. What works: bind mwheeldown detpipes -- works as intended bind mwheeldown +attack -- works if there's nothing before it However bind mwheeldown "detpipes; +attack;" -- does det pipes, then starts an infinite +attack command until I manually stop it with a -attack command. bind mwheeldown "detpipes; +attack; -attack" -- obviously doesn't shoot as it has the start and stop attack commands at once bind mwheeldown "detpipes; +attack; wait; -attack" -- same as if I took the wait command out, does nothing after detting pipes bind mwheeldown "+attack; detpipes" -- Will det the pipes, but no +attack command (which is the opposite of what I'd expect - I thought it would attack but not det since you can't det shortly after setting a pipe -- still did the same with a wait command) As far as I can see, there are a few problems -- +attack doesn't work if it's the first part of a string containing multiple commands (or, at least, for this) If you put +attack as the second part of a string, it will act as though you typed it into console (continue attacking until -attack is given), instead of properly treating it as being bound to a button Aliasing +attack didn't help either. |
Gotta play around with multiple waits. This seems to work for me:
Code:
bind "mwheeldown" "detpipes; wait; wait; +attack; wait; wait; wait; -attack" |
welp
I need a bind to build a sentrygun, something like press A Builds a sentry gun, if im near it and press A again it dismantles , if im far from it and I press A destroys it.
I also need a bind to trow flag and say_team the location of it welp |
Code:
bind "z" "sentrygun; detdismantlesentry" |
Thank you squeek
|
All times are GMT. The time now is 02:09 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.