Forum
Medic script help...ed :D
Created 25th May 2009 @ 10:24
Add A Reply Pages: 1
I kinda suck at this, and I had my first attempt making a scrypt for the medic. Admitidly I borrowed the base of this from tf2 wiki.
It worked perfectly… before the update… dunno if valve changed something, or if it was always bugged.
Using this I can not deploy my Uber, kinda a handycap for a medic :) Can someone see where the problem lies in this? Thanks :D
developer 1; echo Medic Script Loaded.; Wait 200;developer 0
exec clear.cfg
alias +primary “slot1; +attack; bind mouse3 quickuber”
alias -primary “-attack;”
bind mouse1 +primary
alias +secondary “slot2; +attack; bind mouse3 uber; bind mouse1 +primary”
alias -secondary “-attack;”
bind “mouse2” +secondary
alias +melee “slot3; +attack; bind mouse3 quickuber”
alias -melee “-attack”
alias “meleetoggle” “+melee; wait; -melee; bind mouse1 +melee”
alias “weapontoggle” “+primary; wait; -primary; bind mouse1 +primary”
bind mwheelup weapontoggle
bind mwheeldown meleetoggle
alias “+QuickMelee” “slot3; wait; bind mouse1 +attack; bind mouse2 +attack”
alias “-QuickMelee” “lastinv; bind mouse1 +primary; bind mouse2 +secondary”
bind “shift” “+quickmelee”
Alias “quickuber” “slot2; wait 85; +attack2; wait 5; -attack2”
bind “mouse3” “quickuber”
Alias “Uber” “+attack2; wait 5; -attack2”
it could be because you have wait commands in your script, valve gave out a command in the last update to disable that on certain servers
Yeah, it’s probably the waits. Just try to get your script working without them.
You should be able to remove the waits from “quickmelee” and “meleetoggle” without problems.
And instead of using “quickuber” I think you can just press and hold mouse2(m3 in your case) and the uber should trigger as soon it’s possible.
Ah… I had thought the waits were something… thanks all! I will have a play with them a little later, and let you know how it goes! will post the working script up if anyone want to nick it!
As promiced, this is the fixed scrypt.
Thanks to all who helped out! :D
developer 1; echo Medic Script Loaded.;developer 0
exec clear.cfg
Alias +Uber “slot2; +attack2”
Alias -Uber “-attack2”
bind “mouse3” +Uber
alias +primary “slot1; +attack”
alias -primary “-attack;”
bind mouse1 +primary
alias +secondary “slot2; +attack; bind mouse1 +primary”
alias -secondary “-attack;”
bind “mouse2” +secondary
alias +melee “slot3; +attack”
alias -melee “-attack”
alias “meleetoggle” “+melee; -melee; bind mouse1 +melee”
alias “weapontoggle” “+primary; -primary; bind mouse1 +primary”
bind mwheelup weapontoggle
bind mwheeldown meleetoggle
alias “+QuickMelee” “slot3; bind mouse1 +attack; bind mouse2 +attack”
alias “-QuickMelee” “lastinv; bind mouse1 +primary; bind mouse2 +secondary”
bind “shift” “+quickmelee”
for people (like me) who cant just read this and know what it does.
Left click = equip / fire srynige gun/blutsauger
Right click = equip / fire medi gun (ect)
middle mouse (mouse3) = deploy Uber
Hold shift = pull saw, then click to use, let go of shift to go back to previous weapon.
(this goes in medic.cfg, in steam/steamapps/user/teamfortress2/tf/cfg off the top of my head… all other class .cfg has exec clear.cfg in them) make a clear.cgf file there and it can look something like this,
developer 1; echo Clear Script Loaded.; Wait 200;developer 0
unbind “MOUSE1” unbind “MOUSE2” unbind “MOUSE3” unbind “q” unbind “1” unbind “2” unbind “3” unbind “4” unbind “5” unbind “6” unbind “7” unbind “8” unbind “9” unbind “w” unbind “a” unbind “s” unbind “d” unbind “ctrl”
unbind “shift”
bind “MOUSE1” “+attack” bind “MOUSE2” “+attack2” bind “q” “lastinv” bind “1” “Slot1” bind “2” “Slot2” bind “3” “slot3” bind “4” “Slot4” bind “5” “slot5” bind “6” “slot6” bind “7” “slot7” bind “8” “slot8” bind “9” “slot9” bind “w” “+forward” bind “a” “+moveleft” bind “s” “+back” bind “d” “+moveright” bind “ctrl” “+duck”
(messy but condenced) make sure each bind/unbind is on its own line!!! Hope knowone feels patronised, just thought it may come in handy! :)
Add A Reply Pages: 1