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

A little script help?

Created 26th July 2009 @ 00:36

Add A Reply Pages: 1

Sorry if this is in Admiral cfg or something like that,but i can’t find how to do this there.

So,right now i have this im 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 “3” “mweap”
bind “2” “sweap”
bind “1” “pweap”

pweap
r_drawviewmodel 0
cl_crosshair_file “”
cl_interp .033

And i just want a key to turn autoreload off for the primary weapon,so i can use the FaN,and another one to return to my current config.I’d like to keep the same no model on primary weapon thing.

Thanks in advance.

Puppets

//fan toogle
alias fan “slot1 ; r_drawviewmodel 0 ; -reload”
bind KEY “fan1” //fantoogle
alias fan1 “bind 1 fan ; bind KEY fan0 ; fan”
alias fan0 “bind 1 pweap ; bind KEY fan1 ; pweap”

// replace the key by the key you want to toogle the fan. default is still scattergun, so you have to press the button everytime the cfg is executed

Well thanks,but it does’t work :P. When i press f12 (the key i chose) the weapon still auto reloads, and if im holding secondary or melee weapon, pressing 1 doesn’t change weapon to primary.

Puppets

thats the problem with the “””””” apostrophs in this forum i belive

http://pastebin.com/m1aabc37d

copy it from there, it must work is just tested it

eoN^

Well thanks,but it does’t work :P. When i press f12 (the key i chose) the weapon still auto reloads, and if im holding secondary or melee weapon, pressing 1 doesn’t change weapon to primary.

if you make sure the alias’ you bound are the same as the ones set

In admirables config the alias for toggling auto reload is miss typed in the binding.

Ones _tog the others _toggle

Something like oneTwo_toggle? cant be bothered to check.

Works perfectly like that Puppets, Thank you very much!

eoN^

thats the problem with the “””””” apostrophs in this forum i belive

http://pastebin.com/m1aabc37d

copy it from there, it must work is just tested it

Or use the

bind "space" "+jump"

code /code

with the triangle brackets

Puppets

Works perfectly like that Puppets, Thank you very much!

always happy to help out =)

Add A Reply Pages: 1