Jump to content

etconfig, autoexec.cfg doesnt exec, script needed


schNee

Recommended Posts

hello i thought i put all in one post. i have some issues with my cfg. it works but id like ot add some stuff and change some settings, but i cannot get it work.

so here are my questions.

 

1. i have all saved as etconfig.cfg (pops up autmatically, overwrote it with my stuff and saved it) - i cannot exec my autoexec.cfg !! (error: couldnt exec autoexec.cfg) - same with all class, spawn cfg's

    so what is the right way? etconfig, autoexec.cfg? how to?

 

2. spawn script, made a cfg file and wanted to exec in main cfg, didnt work. ideas ?

 

3. class script, same here, made separate cfgs for each class and exec via main cfg or via teamtoggle, they dont load :( ideas?

 

4. gamma switch. really nice have cus usually i play very bright, but sometimes its needed darker. but its not working, have it in my main cfg but i got this error:  set DeviceGammaRamp failed

 

thanks for your help on this =)

 

cheers Saskia

 

 

 

Link to comment
Share on other sites

You should have one main CFG files and then exec all the child CFGs in there.  Make sure all your files are in the etmain folder.  I wouldn't name your CFG file "etmain.cfg" since there is already a compiled CFG in your profile folder by that name.  Create a new file with a new name like ... "main.cfg" or "autoexec.cfg" (I am not sure why you cant exec it if it's in your etmain folder).  Then you can have inside that file:  

exec defaults.cfg
exec controls.cfg
exec classes.cfg
exec spawns.cfg
exec gamma.cfg

Then in the game console "/exec [filename].cfg"

  • Like 1
Link to comment
Share on other sites

You should have one main CFG files and then exec all the child CFGs in there.  Make sure all your files are in the etmain folder.  I wouldn't name your CFG file "etmain.cfg" since there is already a compiled CFG in your profile folder by that name.  Create a new file with a new name like ... "main.cfg" or "autoexec.cfg" (I am not sure why you cant exec it if it's in your etmain folder).  Then you can have inside that file:  

exec defaults.cfg
exec controls.cfg
exec classes.cfg
exec spawns.cfg
exec gamma.cfg

Then in the game console "/exec [filename].cfg"

 

 

ah i assume i found the mistake :D i have all in my profile folder under main and not in the main! completly overread this in every forum!! gonna try this when im home. i guess this solves all other issues except the gamma switching error. woaaaah :)

Link to comment
Share on other sites

Ah OK :P  For the gamma problem, I am not sure what cvar you're using.  But try this:

seta r_ignorehwgamma "1"

set gamma1 "r_gamma 1; bind KP_END vstr gamma2"
set gamma2 "r_gamma 1.5; bind KP_END vstr gamma3"
set gamma3 "r_gamma 2; bind KP_END vstr gamma1"

bind KP_END "vstr gamma2"

Substitute KP_END with what ever key you'd like.

Edited by gamestate
Link to comment
Share on other sites

  • Platinum VIP

Why do you think it's better to have multiple cfg's exec'd out of the main cfg, instead one cfg with all the settings in it?

Link to comment
Share on other sites

Why do you think it's better to have multiple cfg's exec'd out of the main cfg, instead one cfg with all the settings in it?

 

i did all in one and i had big lags. i deleted some settings now in my main cfg , now its working fine again. plus u dont need to exec all in every game. sometimes i dont need gamma, sometimes i only play medic and so on.

for me it helps me at least to get rid off the lags, although its weird to have lags in a game thats that old and the computer are so fast today. but i had lag issues, with changing fov & sense while shooting.

  • Like 1
Link to comment
Share on other sites

Why do you think it's better to have multiple cfg's exec'd out of the main cfg, instead one cfg with all the settings in it?

 

I only have 2 config files, autoexec and controls.  Autoexec execs controls.  The reason why is it's easier to share a config to others without messing up their binds.

  • Like 1
Link to comment
Share on other sites

Ah OK :P  For the gamma problem, I am not sure what cvar you're using.  But try this:

seta r_ignorehwgamma "1"

set gamma1 "r_gamma 1; bind KP_END vstr gamma2"
set gamma2 "r_gamma 1.5; bind KP_END vstr gamma3"
set gamma3 "r_gamma 2; bind KP_END vstr gamma1"

bind KP_END "vstr gamma2"

Substitute KP_END with what ever key you'd like.

 

 

 

this is how it loos in mine:

bind "KP_PLUS" "vstr gup"

bind "KP_MINUS" "vstr gdn"
 
set gdn vstr gamma00
set gup vstr gamma01
set gamma00 "set r_gamma 0.9;set gdn vstr gamma00;set gup vstr gamma01;echo ^2Gamma^1MIN^n========"
set gamma01 "set r_gamma 1.0;set gdn vstr gamma00;set gup vstr gamma02;echo ^2Gamma^n=^1|^n========="
set gamma02 "set r_gamma 1.1;set gdn vstr gamma01;set gup vstr gamma03;echo ^2Gamma^n==^1|^n========"
set gamma03 "set r_gamma 1.2;set gdn vstr gamma02;set gup vstr gamma04;echo ^2Gamma^n===^1|^n======="
set gamma04 "set r_gamma 1.3;set gdn vstr gamma03;set gup vstr gamma05;echo ^2Gamma^n====^1|^n======"
set gamma05 "set r_gamma 1.4;set gdn vstr gamma04;set gup vstr gamma06;echo ^2Gamma^n=====^1|^n====="
set gamma06 "set r_gamma 1.5;set gdn vstr gamma05;set gup vstr gamma07;echo ^2Gamma^n======^1|^n===="
set gamma07 "set r_gamma 1.6;set gdn vstr gamma06;set gup vstr gamma08;echo ^2Gamma^n=======^1|^n==="
set gamma08 "set r_gamma 1.7;set gdn vstr gamma07;set gup vstr gamma09;echo ^2Gamma^n========^1|^n=="
set gamma09 "set r_gamma 1.8;set gdn vstr gamma08;set gup vstr gamma10;echo ^2Gamma^n=========^1|^n="
set gamma10 "set r_gamma 1.9;set gdn vstr gamma09;set gup vstr gamma10;echo ^2Gamma^n==========^1MAX"
so where is the mistake?? 
Link to comment
Share on other sites

so just to sum it up. class works now. only gamma not. everything else works :D

 

Q3 engine has issues with newer hardware and Windows 7+.  Try:

seta r_ignorehwgamma "0"

Then /vid_restart and see if your script works.  It works for me BTW, but I also have issues with gamma and have to correct it when I exit the game.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.