x
ETF2L is looking for new Staff to recruit! Are you interested in supporting the league? Then click here for more details on what we can offer and how to apply! 

Forum

Scout script help!

Created 12th July 2009 @ 22:59

Add A Reply Pages: 1 2 Next »

Grem

rEJ
TG

K, this is for all you scripters out there. I have the following added to my scout.cfg:

alias pweap “slot1; r_drawviewmodel 0; +reload”
alias sweap “slot2; r_drawviewmodel 1; -reload”
alias mweap “slot3; r_drawviewmodel 1; -reload”

bind “MOUSE4” “mweap”
bind “MOUSE5” “sweap”
bind “q” “pweap”

pweap
r_drawviewmodel 0
crosshair 1

I want to add the added function of turning off autoreload on my primary weapon using a key (any key). This is so that when I switch to FaN, I don’t reload after every shot. Any help would be much appreciated!

klu

-[MG]-
MG//

alias pweap_scat “slot1; r_drawviewmodel 0; +reload”
alias pweap_fan “slot1; r_drawviewmodel 0”
alias sweap “slot2; r_drawviewmodel 1; -reload”
alias mweap “slot3; r_drawviewmodel 1; -reload”
alias "scat" "bind q pweap_scat"
alias "fan" "bind q pweap_fan"

bind “MOUSE4″ “mweap”
bind “MOUSE5″ “sweap”
bind “q” “pweap”

then bind scat & fan to w/e

Meyer

IsF
G9

create an other config. call it fan.cfg

put that in that config.

alias pweap “slot1; r_drawviewmodel 0; -reload”
alias sweap “slot2; r_drawviewmodel 1; -reload”
alias mweap “slot3; r_drawviewmodel 1; -reload”

bind “MOUSE4″ “mweap”
bind “MOUSE5″ “sweap”
bind “q” “pweap”

pweap
r_drawviewmodel 0
crosshair 1

bind “f1” “exec fan.cfg”
bind “f2″ exec scout.cfg”

scout.cfg

bind “f1” “exec fan.cfg”
bind “f2″ exec scout.cfg”

add that and you are done

Meyer

IsF
G9

seems like someone else was faster than me :(

klu

-[MG]-
MG//

seems like someone else was faster than me :(

:P

Grem

rEJ
TG

None of them seems to work. Kulniq’s one gives the following error:

bind [command] : attach a command to a key
bind [command] : attach a command to a key
bind [command] : attach a command to a key
Unknown command: MOUSE4
Unknown command: MOUSE5
Unknown command: q
Unknown command: pweap

whilst Meyers one just crashes my TF2 as soon as I select scout :/

Waebi

‹Con›

you have to change the ” ” iirc, they are fucked up here and dont work in the tf2 configs.

Grem

rEJ
TG

Aye I did that, but no luck.

klu

-[MG]-
MG//

Thats strange, I can’t see any reason why it wouldn’t work.

Grem

rEJ
TG

Yea, same problem klu. Can’t change weapons either.

This is what’s in my scout.cfg:

bind “MOUSE2” “+attack2”

alias pweap_scat “slot1; r_drawviewmodel 0; +reload”
alias pweap_fan “slot1; r_drawviewmodel 0”
alias sweap “slot2; r_drawviewmodel 1; -reload”
alias mweap “slot3; r_drawviewmodel 1; -reload”
alias “scat” “bind q pweap_scat”
alias “fan” “bind q pweap_fan”

bind “MOUSE4″ “mweap”
bind “MOUSE5″ “sweap”
bind “q” “pweap”

bind “[” “scat”
bind “]” “fan”

Admirable

(Toucan Ambassador)

Do all this and more with my gay script :D

klu

-[MG]-
MG//

This is what I have and it works for me, you can try it.

alias "scout_weap1_scat" "slot1; reload_off; r_drawviewmodel 0; default_xhair; bind mouse1 +autoload; bind mouse2 +attack2"
alias "scout_weap1_fan" "slot1; reload_off; r_drawviewmodel 0; default_xhair; bind mouse1 +attack; bind mouse2 +attack2"
alias "scout_weap2" "slot2; reload_off; r_drawviewmodel 1; default_xhair; bind mouse1 +attack; bind mouse2 +attack2"
alias "scout_weap3" "slot3; reload_off; r_drawviewmodel 1; default_xhair; bind mouse1 +attack; bind mouse2 +attack2"

bind "mwheelup" "scout_weap1_scat"
bind "mwheeldown" "scout_weap2"
bind "mouse4" "scout_weap3"
bind "1" "scout_weap1"
bind "2" "scout_weap2"
bind "3" "scout_weap3"

alias "scat" "bind mwheelup scout_weap1_scat"
alias "fan" "bind mwheelup scout_weap1_fan"

bind "[" "scat"
bind "]" "fan"

Puppets

this one works for sure, as im playing with it myself =)

http://amsterdam1.plunder.com/x/$E4vSJTUl8EFO3H4ny2FA8CFGQfPF0yYW/db9a3ce23b/grems%20cfg.cfg

caliban

fail

play without it? Oo holy

sgN^

TKN

Just borrowing the thread for a moment, Is there anyway that you can add an option so that when you perhaps press the button “M” it removes the +reload on the scattergun AND switches your weapon layout so that you instead have the Force-A-Nature?

Add A Reply Pages: 1 2 Next »