r/tf2scripthelp • u/engima265 • Feb 07 '16
Issue Medic Script help
Can some Can someone please explain what the different sections of this script do? I asked for a medic scirpt but due to my lack of knowledge i don't understand it well can you please explain these lines
bind "leftarrow" "load_itempreset 0; alias uberdeployed quickuber;
say_team RUNNING QUICK-FIX"
bind "uparrow" "load_itempreset 1; alias uberdeployed kritzuber; say_team
RUNNING KRITZ"
bind "downarrow" "load_itempreset 2; alias uberdeployed uberuber;
say_team RUNNING STOCK"
bind "rightarrow" "load_itempreset 3; alias uberdeployed uberuber;
say_team RUNNING STOCK"
alias "first_cross" "cl_crosshair_red 255; cl_crosshair_green 41;
cl_crosshair_blue 226; cl_crosshair_scale 24"
alias "second_cross" "cl_crosshair_red 56; cl_crosshair_green 248;
cl_crosshair_blue 255; cl_crosshair_scale 36"
alias "third_cross" "cl_crosshair_red 47; cl_crosshair_green 255;
cl_crosshair_blue 20; cl_crosshair_scale 25"
// Medigun
alias "+heals" "slot2; +attack; second_cross"
alias "-heals" "-attack"
// Uber
alias "+uber" "slot2; +attack2; uberdeployed; first_cross"
alias "-uber" "-attack2"
// Uber chat
alias "uberdeployed" "quickuber"
alias "quickuber" "say_team QUICK-FIX ÜBER USED!"
alias "kritzuber" "say_team KRITZ ÜBER USED!"
alias "uberuber" "say_team STOCK ÜBER USED!"
// Crossbow
alias "+bow" "slot1; +attack; first_cross"
alias "-bow" "-attack"
// Melee
alias "+saw" "slot3; +attack; third_cross"
alias "-saw" "-attack"
// Radar
alias "+radar" "hud_medicautocallersthreshold 150"
alias "-radar" "hud_medicautocallersthreshold 50"
// Binds
bind mouse1 "+heals"
bind mouse3 "+uber"
bind mouse2 "+bow"
bind = "+saw"
bind - "+radar"
bind 1 "say_team FULLY CHARGED"
bind 2 "say_team UBER SUCCESS"
bind 3 "say_team UBER FAILED"
bind ctrl +attack3Thank you very much
1
Upvotes
View all comments
Show parent comment
1
u/genemilder Scripter Feb 07 '16
BTW you can put quoted lines in code format by putting 5 spaces after the ">" in the initial line and just 4 spaces in the rest: