I need help with my medic script, I want to script shift+1/2/3/4/5 to say various stuff like
shift+1 medic down
shift+2 uber is ready charge
and so on and ty for the help in advance :)
unless you ignore me and dont bother to help
I WILL HUNT YOU DOWN
I need help with my medic script, I want to script shift+1/2/3/4/5 to say various stuff like
shift+1 medic down
shift+2 uber is ready charge
and so on and ty for the help in advance :)
unless you ignore me and dont bother to help
[b]I WILL HUNT YOU DOWN[/b]
https://code.google.com/p/tf2compconfiguration/
could help you
alias +shiftmod "bind 1 say_team blahblah; bind 2 say_team blahblah2; bind 3 say_team blahblah3"
alias -shiftmod "bind 1 slot1; bind 2 slot2; bind 3 slot3"
bind shift +shiftmod
[code]alias +shiftmod "bind 1 say_team blahblah; bind 2 say_team blahblah2; bind 3 say_team blahblah3"
alias -shiftmod "bind 1 slot1; bind 2 slot2; bind 3 slot3"
bind shift +shiftmod[/code]
alias +shiftkey "alias butt1 "say_team hooli is dabes";alias butt2 "say_team hooli is dabes";alias butt3 "say_team hooli is dabes";alias butt4 "say_team hooli is dabes";alias butt5 "say_team hooli is dabes""
alias -shiftkey "alias butt1 slot1;alias butt2 slot2;alias butt3 slot3;alias butt4 slot4;alias butt5 slot5"
bind 1 butt1
bind 2 butt2
bind 3 butt3
bind 4 butt4
bind 5 butt5
bind shift +shiftkey
Didn't test but it would work.
[code]alias +shiftkey "alias butt1 "say_team hooli is dabes";alias butt2 "say_team hooli is dabes";alias butt3 "say_team hooli is dabes";alias butt4 "say_team hooli is dabes";alias butt5 "say_team hooli is dabes""
alias -shiftkey "alias butt1 slot1;alias butt2 slot2;alias butt3 slot3;alias butt4 slot4;alias butt5 slot5"
bind 1 butt1
bind 2 butt2
bind 3 butt3
bind 4 butt4
bind 5 butt5
bind shift +shiftkey[/code]
Didn't test but it would work.
You can't have nested quotes in a command, I don't think.
You can't have nested quotes in a command, I don't think.
but what do i add if i want more slots ? 4 5 6?
but what do i add if i want more slots ? 4 5 6?
I'm sure you can figure it out. It isn't hard, I promise.
I'm sure you can figure it out. It isn't hard, I promise.
If you say so :) I just dont understand aliases, what do they do ?
If you say so :) I just dont understand aliases, what do they do ?
Was easy ty for the help :), on an additional note where do I learn to script ?
Was easy ty for the help :), on an additional note where do I learn to script ?
http://wiki.teamfortress.com/wiki/Scripting
alias +shiftkey "alias butt1 "Go! Go! Go! Uber IS Ready!!";alias butt2 "Help Me!! Under Attack";alias butt3 "I'm dead";alias butt4 "Enemy Medic is down";alias butt5 "Push!!";alias butt6 "team_say Retreat!!""
alias -shiftkey "alias butt1 slot1;alias butt2 slot2;alias butt3 slot3;alias butt4 slot4;alias butt5 slot5;alias butt6"
bind 1 butt1
bind 2 butt2
bind 3 butt3
bind 4 butt4
bind 5 butt5
bind 6 butt6
Its not working, did i do something wrong ?
alias +shiftkey "alias butt1 "Go! Go! Go! Uber IS Ready!!";alias butt2 "Help Me!! Under Attack";alias butt3 "I'm dead";alias butt4 "Enemy Medic is down";alias butt5 "Push!!";alias butt6 "team_say Retreat!!""
alias -shiftkey "alias butt1 slot1;alias butt2 slot2;alias butt3 slot3;alias butt4 slot4;alias butt5 slot5;alias butt6"
bind 1 butt1
bind 2 butt2
bind 3 butt3
bind 4 butt4
bind 5 butt5
bind 6 butt6
Its not working, did i do something wrong ?
You have to put say_team before your text.
You have to put say_team before your text.
so in other words, like this:
alias +shiftkey "alias butt1 "say_team Go! Go! Go! Uber is Ready!!"; alias butt2 "say_team Help Me!! Under Attack"; alias butt3 "say_team I'm dead"; alias butt4 "say_team Enemy Medic is down"; alias butt5 "say_team Push!!"; alias butt6 "say_team Retreat!!""
alias -shiftkey "alias butt1 slot1; alias butt2 slot2; alias butt3 slot3; alias butt4 slot4; alias butt5 slot5; alias butt6 slot6"
bind 1 butt1
bind 2 butt2
bind 3 butt3
bind 4 butt4
bind 5 butt5
bind 6 butt6
EDIT: Don't forget to put this too
bind +shift +shiftkey
I think you need to do
bind +rshift +shiftkey
if you want it to work with your right shift key too but I'm not sure.
so in other words, like this:
alias +shiftkey "alias butt1 "say_team Go! Go! Go! Uber is Ready!!"; alias butt2 "say_team Help Me!! Under Attack"; alias butt3 "say_team I'm dead"; alias butt4 "say_team Enemy Medic is down"; alias butt5 "say_team Push!!"; alias butt6 "say_team Retreat!!""
alias -shiftkey "alias butt1 slot1; alias butt2 slot2; alias butt3 slot3; alias butt4 slot4; alias butt5 slot5; alias butt6 slot6"
bind 1 butt1
bind 2 butt2
bind 3 butt3
bind 4 butt4
bind 5 butt5
bind 6 butt6
EDIT: Don't forget to put this too
bind +shift +shiftkey
I think you need to do
bind +rshift +shiftkey
if you want it to work with your right shift key too but I'm not sure.
ohh :/ so it was a dumb mistake
ohh :/ so it was a dumb mistake
why dont you just say that stuff?
why dont you just say that stuff?
alias +shiftkey "alias butt1 "say_team PUSH!!!"; alias butt2 "say_team RETREAT!!!"; alias butt3 "say_team UBER is READY!!!""
alias -shiftkey "alias butt1 slot1; alias butt2 slot2; alias butt3 slot3"
bind 1 butt1
bind 2 butt2
bind 3 butt3
bind +shift +shiftkey
it worked earlier but now my weps are unbinded and its not working
alias +shiftkey "alias butt1 "say_team PUSH!!!"; alias butt2 "say_team RETREAT!!!"; alias butt3 "say_team UBER is READY!!!""
alias -shiftkey "alias butt1 slot1; alias butt2 slot2; alias butt3 slot3"
bind 1 butt1
bind 2 butt2
bind 3 butt3
bind +shift +shiftkey
it worked earlier but now my weps are unbinded and its not working
Messing around with this and I cannot seem to get it to work properly. What i'm trying to do is use capslock as the modifier key and have 1-3 be !add !remove and kill respectively. However when it switches back I cannot seem to get my old viewmodel settings back. This is what i've setup going off what you posted earlier.
alias primary "slot1; r_drawviewmodel 0"
alias secondary "slot2; r_drawviewmodel 0"
alias melee "slot3; r_drawviewmodel 1"
alias +shiftkey "alias butt1 "say_team !add";alias butt2 "say_team !remove";alias butt3 "kill""
alias -shiftkey "alias butt1 "primary";alias butt2 "secondary";alias butt3 "melee""
bind 1 butt1
bind 2 butt2
bind 3 butt3
bind capslock +shiftkey
It's probably some stupid mistake that i'm just not noticing but I honestly have almost no idea what i'm doing here.
EDIT: Fixed it I think I left a space out somewhere and that caused everything to get all messed up
alias primary "slot1; r_drawviewmodel 0"
alias secondary "slot2; r_drawviewmodel 0"
alias melee "slot3; r_drawviewmodel 1"
alias +shiftkey "alias 1 "say_team !add";alias 2 "say_team !remove";alias 3 "kill""
alias -shiftkey "alias 1 "primary" ;alias 2 "secondary" ;alias 3 "melee""
bind 1 1
bind 2 2
bind 3 3
bind capslock +shiftkey
Messing around with this and I cannot seem to get it to work properly. What i'm trying to do is use capslock as the modifier key and have 1-3 be !add !remove and kill respectively. However when it switches back I cannot seem to get my old viewmodel settings back. This is what i've setup going off what you posted earlier.
[code]
alias primary "slot1; r_drawviewmodel 0"
alias secondary "slot2; r_drawviewmodel 0"
alias melee "slot3; r_drawviewmodel 1"
alias +shiftkey "alias butt1 "say_team !add";alias butt2 "say_team !remove";alias butt3 "kill""
alias -shiftkey "alias butt1 "primary";alias butt2 "secondary";alias butt3 "melee""
bind 1 butt1
bind 2 butt2
bind 3 butt3
bind capslock +shiftkey
[/code]
It's probably some stupid mistake that i'm just not noticing but I honestly have almost no idea what i'm doing here.
EDIT: Fixed it I think I left a space out somewhere and that caused everything to get all messed up
[code]alias primary "slot1; r_drawviewmodel 0"
alias secondary "slot2; r_drawviewmodel 0"
alias melee "slot3; r_drawviewmodel 1"
alias +shiftkey "alias 1 "say_team !add";alias 2 "say_team !remove";alias 3 "kill""
alias -shiftkey "alias 1 "primary" ;alias 2 "secondary" ;alias 3 "melee""
bind 1 1
bind 2 2
bind 3 3
bind capslock +shiftkey[/code]
What is the command to increase the cursor size?
What is the command to increase the cursor size?