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

Scripts

Created 12th April 2010 @ 14:05

Add A Reply Pages: 1 2 Next »

shank

vs

Can anyone write this scripts for me plz?

1. switches betwen secondary and primary wepn
2. say when i die
3. change betwen pub and comp. cfg. (config.cfg and a defalut one)
4. drawhud 1 or 0

ty

octochris

(0v0)

You can’t have something automatically happen when you die by simply using a script because nothing is called upon when you die.

As for switching between primary and secondary weapon, I don’t understand why you need a script for this? (Do you mean something other than pressing 1 and 2?)

To change between configs just make two configs, pub.cfg and comp.cfg and do something like

bind “F1” “exec pub”
bind “F2” “exec comp”

To change drawhud all you need to do is

alias “drawhud_on” “cl_drawhud “1”;alias “drawhud_toggle” “drawhud_off””
alias “drawhud_off” “cl_drawhud “0”;alias “drawhud_toggle” “drawhud_on””
alias “drawhud_toggle” “drawhud_on”
bind “F3” “drawhud_toggle”

ilike2spin

RLM

Chris:

I think the changing weapon thing means like ‘q’ does only it switches to primary if you’re on secondary and switches to secondary if you’re using primary.

Mike

TEZC

Chris:

Get a life.

octochris

(0v0)

Quoted from Mike

Chris:

Get a life.

Where can I download that?

Quoted from ilike2spin

Chris:

I think the changing weapon thing means like ‘q’ does only it switches to primary if you’re on secondary and switches to secondary if you’re using primary.

That’s pretty simple to do:

alias “switchwep_pri” “slot1;alias “switchwep_toggle” “switchwep_sec””
alias “switchwep_sec” “slot2;alias “switchwep_toggle” “switchwep_pri””
alias “switchwep_toggle” “switchwep_pri”


Last edited by octochris,

randa

Quoted from Mike

Chris:

Get a life.

He has one, and its tf2.

Pyle

Quoted from Mike

Chris:

Get a life.

I smell some irony here ; )

Swarlz

Quoted from octochris

You can’t have something automatically happen when you die by simply using a script because nothing is called upon when you die.

As for switching between primary and secondary weapon, I don’t understand why you need a script for this? (Do you mean something other than pressing 1 and 2?)

To change between configs just make two configs, pub.cfg and comp.cfg and do something like

bind “F1” “exec pub”
bind “F2” “exec comp”

To change drawhud all you need to do is

alias “drawhud_on” “cl_drawhud “1”;alias “drawhud_toggle” “drawhud_off””
alias “drawhud_off” “cl_drawhud “0”;alias “drawhud_toggle” “drawhud_on””
alias “drawhud_toggle” “drawhud_on”
bind “F3” “drawhud_toggle”

stfu… fake Geordie.

octochris

(0v0)

Quoted from Swarlz

[…]

stfu… fake Geordie.

AYE DOON THE TOON LIKE REET PISSED AYE

CANNY LIEK NA SAY

XHunter

TIDS
\V/ »

Quoted from octochris

(…)
To change drawhud all you need to do is

alias “drawhud_on” “cl_drawhud “1”;alias “drawhud_toggle” “drawhud_off””
alias “drawhud_off” “cl_drawhud “0”;alias “drawhud_toggle” “drawhud_on””
alias “drawhud_toggle” “drawhud_on”
bind “F3” “drawhud_toggle”

Why so complicated :D bind f3 “toggle cl_drawhud 1 0” does the same job.

Mike

TEZC

Quoted from Pyle

[…]

I smell some irony here ; )

take a shower then

shank

vs

Ty Chris

Mike go unicycling and don`t spam ur crap here.


Last edited by shank,

Mike

TEZC

no

Mordi

≧◡≦

WHAT MIKE SAID!

octochris

(0v0)

Quoted from Mordi

WHAT MIKE SAID!

implying i have no life when you just replied to a thread that’s 5 days old

keep on sucking those balls!

Add A Reply Pages: 1 2 Next »