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

Cfg problem

Created 21st December 2009 @ 14:57

Add A Reply Pages: 1

Kasuno

Deimos

Well here are my lines i wrote on my soldier cfg.

bind “mwheelup” “arma1”
bind “mwheeldown” “arma2”
bind “1” “arma1”
bind “2” “arma2”
bind “q” “arma3”

alias arma1 “slot1;r_drawviewmodel 1;cl_crosshair_file crosshair7;cl_crosshair_scale 48;cl_crosshair_blue 0;cl_crosshair_green 255;cl_crosshair_red 0”

alias arma2 “slot2;r_drawviewmodel 0;cl_crosshair_file crosshair5;cl_crosshair_scale 16;cl_crosshair_blue 0;cl_crosshair_green 255;cl_crosshair_red 255”

alias arma3 “slot3;r_drawviewmodel 1;cl_crosshair_file “”;cl_crosshair_scale 14;cl_crosshair_blue 0;cl_crosshair_green 255;cl_crosshair_red 0″

I think nothing its wrong, but when I play, sometimes when i take melee, the crosshair doesn’t change to default and it stands with the dot i have in weap2. :/ I would like sme help, thx ;D !

wpminnows

[PG]

Well here are my lines i wrote on my soldier cfg.

bind “mwheelup” “arma1”
bind “mwheeldown” “arma2”
bind “1” “arma1”
bind “2” “arma2”
bind “q” “arma3”

alias arma1 “slot1;r_drawviewmodel 1;cl_crosshair_file crosshair7;cl_crosshair_scale 48;cl_crosshair_blue 0;cl_crosshair_green 255;cl_crosshair_red 0”

alias arma2 “slot2;r_drawviewmodel 0;cl_crosshair_file crosshair5;cl_crosshair_scale 16;cl_crosshair_blue 0;cl_crosshair_green 255;cl_crosshair_red 255”

alias arma3 “slot3;r_drawviewmodel 1;cl_crosshair_file “”;cl_crosshair_scale 14;cl_crosshair_blue 0;cl_crosshair_green 255;cl_crosshair_red 0″

I think nothing its wrong, but when I play, sometimes when i take melee, the crosshair doesn’t change to default and it stands with the dot i have in weap2. :/ I would like sme help, thx ;D !

cl_crosshair_file “” doesn’t work in aliases afaik, you have to make a seperate .cfg file (let’s say crosshair.cfg) with just cl_crosshair_file “” in it, then change the cl_crosshair_file “” in the alias to exec crosshair.cfg

i think

Kasuno

Deimos

cl_crosshair_file “” doesn’t work in aliases afaik, you have to make a seperate .cfg file (let’s say crosshair.cfg) with just cl_crosshair_file “” in it, then change the cl_crosshair_file “” in the alias to exec crosshair.cfg

i think

It’s a bit lol, not ? D: Well I did that, I hope it works.

Anyway how do you create a cfg file ? Sry I can’t remember now .. I just copied a random cfg and cleared it ..


Last edited by Kasuno,

wpminnows

[PG]

Anyway how do you create a cfg file ? Sry I can’t remember now .. I just copied a random cfg and cleared it ..

i just make one in notepad and save it as xxx.cfg

if it saves as .cfg.txt there’s an option to show file extensions and you can just delete the .txt part

jason

PHX

When you save it in notepad set the name as “crosshair.cfg” including the quotes that stops it from adding .txt to the filename.

Kasuno

Deimos

Thanks, but the scripts are really pissing me because now, the drawviewmodel has been set up to other weapons too.

tesco

mrp.

http://etf2l.org/forum/community/topic-6546/

:D


Last edited by tesco,

Kasuno

Deimos

The fact it’s that im supposed to know a lil bit of scripts and some mistakes pisses me off, but i will take a look at that program, thx ;D.

Add A Reply Pages: 1