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

Script help!

Created 6th May 2009 @ 13:47

Add A Reply Pages: 1

Oggy

Ok basically I change xhairs for weapons when I’m sol but for when I’m scout I want default, if I use my soldier config at anytime it keeps those xhairs when I’m scout dunno how to put it back to default. Any help would be great!

Soldier.cfg:

alias weapon1 “+reload; slot1; r_drawviewmodel 0; cl_crosshair_file crosshair7; cl_crosshair_scale 42.480000; cl_crosshair_red 0; cl_crosshair_green 255; cl_crosshair_blue 0; bind “MWHEELDOWN” weapon2; bind “MWHEELUP” weapon3″
alias weapon2 “-reload; slot2; r_drawviewmodel 0; cl_crosshair_file crosshair5; cl_crosshair_scale 42.480000; cl_crosshair_red 255; cl_crosshair_green 0; cl_crosshair_blue 255; bind “MWHEELDOWN” weapon3; bind “MWHEELUP” weapon1″
alias weapon3 “-reload; slot3; r_drawviewmodel 1; cl_crosshair_file crosshair7; cl_crosshair_scale 42.480000; cl_crosshair_red 0; cl_crosshair_green 255; cl_crosshair_blue 0; bind “MWHEELDOWN” weapon1; bind “MWHEELUP” weapon2″
alias weapon4 “-reload; slot4; bind “MWHEELDOWN” weapon1; bind “MWHEELUP” weapon3″
alias weapon5 “-reload; slot5; bind “MWHEELDOWN” weapon1; bind “MWHEELUP” weapon3″
bind “1” “weapon1”
bind “2” “weapon2”
bind “3” “weapon3”
bind “4” “weapon4”
bind “5” “weapon5”
bind “MWHEELUP” weapon3
bind “MWHEELDOWN” weapon2

alias qswitch1 “weapon2; bind “q” qswitch2″
alias qswitch2 “weapon1; bind “q” qswitch1″
bind “q” qswitch1

Scout.cfg:

alias weapon1 “+reload; slot1; r_drawviewmodel 0; cl_crosshair_file “”; bind “MWHEELDOWN” weapon2; bind “MWHEELUP” weapon3″
alias weapon2 “-reload; slot2; r_drawviewmodel 1; cl_crosshair_file “”; bind “MWHEELDOWN” weapon3; bind “MWHEELUP” weapon1″
alias weapon3 “-reload; slot3; r_drawviewmodel 1; cl_crosshair_file “”; bind “MWHEELDOWN” weapon1; bind “MWHEELUP” weapon2″
alias weapon4 “-reload; slot4; bind “MWHEELDOWN” weapon1; bind “MWHEELUP” weapon3″
alias weapon5 “-reload; slot5; bind “MWHEELDOWN” weapon1; bind “MWHEELUP” weapon3″
bind “1” “weapon1”
bind “2” “weapon2”
bind “3” “weapon3”
bind “4” “weapon4”
bind “5” “weapon5”
bind “MWHEELUP” weapon3
bind “MWHEELDOWN” weapon2

alias qswitch1 “weapon2; bind “q” qswitch2″
alias qswitch2 “weapon1; bind “q” qswitch1″
bind “q” qswitch1

Extremer

nvm, this site fucks up quotes, i’ll send it to you on steam

xtala

If you just want default xhair for other classes, add cl_crosshairfile “” in all the other class configs.

Oggy

cl_crosshair_file “none” just gives me a purple and black box where my xhair should be.

Yet if I type cl_crosshair_file “” in console it brings back default xhairs but doesn’t work in my config oO

Admirable

(Toucan Ambassador)

make a config with one line:
cl_crosshair_file “”

and then exec that config instead of using the command cl_crosshair_file “” in your aliases.

e.g.

alias weapon1 “+reload; slot1; r_drawviewmodel 0; exec defaultcross.cfg; bind “MWHEELDOWN” weapon2; bind “MWHEELUP” weapon3″

Oggy

sorted cheers :D

script rox now!

Oggy

One last thing anyone know what the command in config for low shaders and medium models?

Admirable

(Toucan Ambassador)

I think it is something like

r_lod for models
r_rootlod for world

range 0-2
0 best 2 worst

not sure about shaders
ask m0re :D

Add A Reply Pages: 1