View forums
Search
Rules
Login
User panel stuff on forum
Index
‹
Advanced Configuration
‹
1 buttom, 2 actions
10 posts on 1 page
1
Advanced Configuration
2007-10-01, 14:14
#1
phrenic
Member
628 posts
Registered:
Jan 2006
I know there is some script that a few of you uses.
For example, i have no SG binded, it works on my +ssg (Q) when i don't have it.
I want to use buttom Q for two guns, press one time, i get sg, press again, i get ssg..
Get it ?
Hope someone has it!
2007-10-01, 14:22
#2
disconnect
Member
151 posts
Registered:
Jan 2006
set test 1
bind q +fire
alias +fire "if $test == 1 +sg else +ssg"
alias -fire "if $test == 1 -sg else -ssg"
alias +sg "impulse 2;+attack"
alias -sg "-attack;toggle test"
alias +ssg "impulse 3 2;+attack"
alias -ssg "impulse 2;-attack;toggle test"
kill me now and burn my soul
2007-10-01, 14:22
#3
Willgurht
Member
569 posts
Registered:
Feb 2006
wouldnt it be better to get ssg on first press, then sg on second
it will still use normal sg if you dont have ssg. Because in avarage situation you will want to use ssg instead of sg.
2007-10-01, 16:06
#4
phrenic
Member
628 posts
Registered:
Jan 2006
Final solution that worked best for me...
bind q sg-ssg
alias sg-ssg "bind mouse1 +sg;bind q sg-ssg2; echo SG_ON"
alias sg-ssg2 "bind mouse1 +ssg;bind q sg-ssg; echo SSG_ON"
alias +sg "weapon 2 3;+attack"
alias -sg "-attack"
alias +ssg "weapon 3 2;+attack"
alias -ssg "-attack"
Thanks plaz
2007-10-01, 17:49
#5
niomic
Member
284 posts
Registered:
Oct 2006
phrenic wrote:
Final solution that worked best for me...
bind q sg-ssg
alias sg-ssg "bind mouse1 +sg;bind q sg-ssg2; echo SG_ON"
alias sg-ssg2 "bind mouse1 +ssg;bind q sg-ssg; echo SSG_ON"
alias +sg "weapon 2 3;+attack"
alias -sg "-attack"
alias +ssg "weapon 3 2;+attack"
alias -ssg "-attack"
Thanks plaz
How about this :F
bind q sgssg
alias sgssg "bind mouse1 +sg-ssg;if $sgun != $qt2$qt then set sgun $qt2$qt else set sgun $qt3$qt;echo gun $[$sgun$] ^s^e^l^e^c^t^e^d"
alias +sg-ssg "weapon $sgun;+attack"
alias -sg-ssg "-attack"
2007-10-01, 19:02
#6
HangTime
Administrator
384 posts
Registered:
Dec 2006
Depending on how frequently you want to use sg you could even modify the script so that it always prefers SSG unless you toggle it beforehand:
bind q sg-ssg
alias sg-ssg "bind mouse1 +sg;bind q sg-ssg2; echo SG_ON"
alias sg-ssg2 "bind mouse1 +ssg;bind q sg-ssg; echo SSG_ON"
alias +sg "weapon 2 3;+attack"
alias -sg "-attack
;bind mouse1 +ssg
"
alias +ssg "weapon 3 2;+attack"
alias -ssg "-attack"
Or in otherwords you don't have to worry about 'forgetting' what you have it bound it. This could happen quite easily in a game for example if you die, and then pickup SSG again, then you try and shoot some dude up close and it's like "FFS ****ing script why are you shooting only sg!!"
2007-10-01, 21:43
#7
dakoth
Member
151 posts
Registered:
Feb 2006
Just use 2 buttons, sheesh! I use a button for every weapon, over 15 teamsays, and I still have buttons to spare
2007-10-02, 04:38
#8
niomic
Member
284 posts
Registered:
Oct 2006
HangTime wrote:
Depending on how frequently you want to use sg you could even modify the script so that it always prefers SSG unless you toggle it beforehand:
Or in otherwords you don't have to worry about 'forgetting' what you have it bound it. This could happen quite easily in a game for example if you die, and then pickup SSG again, then you try and shoot some dude up close and it's like "FFS ****ing script why are you shooting only sg!!"
What's the point of having it change after every shot? Just put it so that it resets after you die or have shot other weapons inbetween.
2007-10-02, 09:24
#9
mushi
Administrator
1265 posts
Registered:
Jan 2006
I use double binding since... huhu can t remember.
I advise to use this only in teamchat buttons. For instance, i use mwheelup to shoot sg and mwheeldown to shoot ssg. when i hit TAB (and keep hitting it) this changes to "select time" (script to select a value between 0 and 59 for timing purposes) and mwheelup increases time, mwheeldown decreases. When i release tab, the wheel is binded to sg/ssg again.
works great - and I use it in more situations - other keys with 2 binds, but TAB is always my trigger
never argue with an idiot. they'll bring you back to their level and then beat you with experience.
2007-10-02, 09:33
#10
purplehaze
Member
215 posts
Registered:
Mar 2006
eh?
It Takes A Tough Man To Make A Tender Rocketjump
10 posts on 1 page
1
RSS FEEDS
News
Blogs
SITE SECTIONS
News
Blogs
Guides
Forum
Media
SOCIAL MEDIA
Facebook
Twitter
YouTube
own3D.tv
IRC chat
MEDIA
Images
Videos
Game content
INFORMATION
About
Contact
Site media
Staff & credits