Upvote Upvoted 1 Downvote Downvoted
Medic Script Help
posted in Q/A Help
1
#1
0 Frags +
//the bind to say you have just used your charge
bind "mouse2" +chargeused
//the bind to say that you have 50% charge
bind "" chargeathalf
//the bind to signify you are ready with a 100% charge
bind "7" chargeready
//the bind to signify switching between normal uber and kritz
bind 8 "medigunswap;Loadout"

alias Loadout "LoadU"
alias LoadU "load_itempreset 1;alias Loadout LoadUK"
alias LoadUk "load_itempreset 2; alias Loadout LoadU"

//LoadoutU is Uber, LoadoutUK is Kritz

alias medigunswap "ubercurrentmed"

alias ubercurrentmed "usingkritz; alias medigunswap kritzcurrentmed"
alias kritzcurrentmed "usinguber; alias medigunswap ubercurrentmed"

alias usinguber "say_team *SWITCHING TO NORMAL UBER*; uberenabled"
alias usingkritz "say_team *SWITCHING TO KRITZ*; kritzenabled"

alias ChargeReady ""
alias ChargeAtHalf ""
alias +ChargeUsed ""
alias -ChargeUsed ""

alias UberChargeReady "voicemenu 1 7;say_team *UBER Faked*"
alias UberChargeAtHalf "say_team *NORMAL UBER*"
alias +UberChargeUsed "+attack2;say_team *UBER used*"
alias -UberchargeUsed "-attack2"

alias KritzChargeReady "voicemenu 1 7;say_team *KRITZ Faked*"
alias KritzChargeAtHalf "say_team *KRITZ*"
alias +KritzChargeUsed "+attack2;say_team *KRITZ Used*"
alias -KritzChargeUsed "-attack2"

alias uberenabled "alias ChargeReady UberChargeReady; alias ChargeAtHalf UberChargeAtHalf; alias +ChargeUsed +UberChargeUsed; alias -ChargeUsed -UberchargeUsed "
alias kritzenabled "alias ChargeReady KritzChargeReady; alias ChargeAtHalf KritzChargeAtHalf; alias +ChargeUsed +KritzChargeUsed; alias -Chargeused -kritzchargeused"
alias resetm2 "bind "mouse2" "+attack2""
//
resetm2

Hey guys I've this modified medic script which I find very useful, but I ran into some trouble as this script some time need to be activated (press 8 to do so) This prove to be problematic as I sometime forget to do it and end up dropping, I like this script as it switches loadout for me. What can I do to fix this or do I just hav to deal with it?
The second script is to reset m2 for other classes

[quote]//the bind to say you have just used your charge
bind "mouse2" +chargeused
//the bind to say that you have 50% charge
bind "" chargeathalf
//the bind to signify you are ready with a 100% charge
bind "7" chargeready
//the bind to signify switching between normal uber and kritz
bind 8 "medigunswap;Loadout"

alias Loadout "LoadU"
alias LoadU "load_itempreset 1;alias Loadout LoadUK"
alias LoadUk "load_itempreset 2; alias Loadout LoadU"

//LoadoutU is Uber, LoadoutUK is Kritz

alias medigunswap "ubercurrentmed"

alias ubercurrentmed "usingkritz; alias medigunswap kritzcurrentmed"
alias kritzcurrentmed "usinguber; alias medigunswap ubercurrentmed"

alias usinguber "say_team *SWITCHING TO NORMAL UBER*; uberenabled"
alias usingkritz "say_team *SWITCHING TO KRITZ*; kritzenabled"

alias ChargeReady ""
alias ChargeAtHalf ""
alias +ChargeUsed ""
alias -ChargeUsed ""

alias UberChargeReady "voicemenu 1 7;say_team *UBER Faked*"
alias UberChargeAtHalf "say_team *NORMAL UBER*"
alias +UberChargeUsed "+attack2;say_team *UBER used*"
alias -UberchargeUsed "-attack2"

alias KritzChargeReady "voicemenu 1 7;say_team *KRITZ Faked*"
alias KritzChargeAtHalf "say_team *KRITZ*"
alias +KritzChargeUsed "+attack2;say_team *KRITZ Used*"
alias -KritzChargeUsed "-attack2"

alias uberenabled "alias ChargeReady UberChargeReady; alias ChargeAtHalf UberChargeAtHalf; alias +ChargeUsed +UberChargeUsed; alias -ChargeUsed -UberchargeUsed "
alias kritzenabled "alias ChargeReady KritzChargeReady; alias ChargeAtHalf KritzChargeAtHalf; alias +ChargeUsed +KritzChargeUsed; alias -Chargeused -kritzchargeused"[/quote]

[quote]alias resetm2 "bind "mouse2" "+attack2""
//
resetm2[/quote]

Hey guys I've this modified medic script which I find very useful, but I ran into some trouble as this script some time need to be activated (press 8 to do so) This prove to be problematic as I sometime forget to do it and end up dropping, I like this script as it switches loadout for me. What can I do to fix this or do I just hav to deal with it?
The second script is to reset m2 for other classes
2
#2
2 Frags +

I dont understand why you want to have it in such a complicated way.
The way I have it, instead of having uber and kritz seperate just have something like "say_team uber/kritz ready". Because if you switch loadout you say in chat to what you switched anyways so why have it for ready/faked/popped say whether you use uber or kritz again? ( and you are talking on mumble or whatever anyways so everyone should know what you use)

(Sorry if i misunderstood your question)

- If you really really want to keep using it i think you just hae to remind yourself of activating it

I dont understand why you want to have it in such a complicated way.
The way I have it, instead of having uber and kritz seperate just have something like "say_team uber/kritz ready". Because if you switch loadout you say in chat to what you switched anyways so why have it for ready/faked/popped say whether you use uber or kritz again? ( and you are talking on mumble or whatever anyways so everyone should know what you use)

(Sorry if i misunderstood your question)


- If you really really want to keep using it i think you just hae to remind yourself of activating it
3
#3
2 Frags +

I agree that this seems overly complicated. I know binds are about personal preference and fun to make, but I really feel like you're going out of your way to try to make a bind that's not really going to benefit you that much in the long run.

Trust me when I say if you put the extra effort into actual communication with your team you will never need a bind like this. It will do you a favor by placing your focus on the importance of clear team communication and it will better your team's chemistry as a byproduct.

I agree that this seems overly complicated. I know binds are about personal preference and fun to make, but I really feel like you're going out of your way to try to make a bind that's not really going to benefit you that much in the long run.

Trust me when I say if you put the extra effort into actual communication with your team you will never need a bind like this. It will do you a favor by placing your focus on the importance of clear team communication and it will better your team's chemistry as a byproduct.
4
#4
0 Frags +

Way too complicated, and thats why your having issues with it not working correctly. Try simplifying it and if you still have issues, just reply here and someone can help :)

Way too complicated, and thats why your having issues with it not working correctly. Try simplifying it and if you still have issues, just reply here and someone can help :)
5
#5
0 Frags +

Actually someone else made the original script, I just modified it because I was bored. I do comm with my team but idk I just like scripting for some reason...

I guess I can make a simpler script if this become a problem

Actually someone else made the original script, I just modified it because I was bored. I do comm with my team but idk I just like scripting for some reason...

I guess I can make a simpler script if this become a problem
6
#6
0 Frags +

just change these two lines:

alias +ChargeUsed ""
alias -ChargeUsed ""

to

alias +ChargeUsed "+attack2;say_team *UBER/KRITZ used*"
alias -chargeUsed "-attack2"

edit: the point is that this change initializes +chargeused and hence your right click bind with something rather than nothing, as it is right now.

just change these two lines:
[code]
alias +ChargeUsed ""
alias -ChargeUsed ""
[/code]

to
[code]
alias +ChargeUsed "+attack2;say_team *UBER/KRITZ used*"
alias -chargeUsed "-attack2"
[/code]

edit: the point is that this change initializes +chargeused and hence your right click bind with [i]something[/i] rather than nothing, as it is right now.
7
#7
-2 Frags +

Chargedused is actually redirect to Uberchargeused or kritzchargeused depend on what I'm on, it's a mess of a script.

Chargedused is actually redirect to Uberchargeused or kritzchargeused depend on what I'm on, it's a mess of a script.
8
#8
4 Frags +

scripts don't make you good at this game - Prophet b4nny 21:7

scripts don't make you good at this game - Prophet b4nny 21:7
Please sign in through STEAM to post a comment.