schNee Posted August 31, 2016 Posted August 31, 2016 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 Quote
gamestate Posted August 31, 2016 Posted August 31, 2016 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" 1 Quote
schNee Posted August 31, 2016 Author Posted August 31, 2016 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 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 Quote
gamestate Posted August 31, 2016 Posted August 31, 2016 (edited) Ah OK 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 August 31, 2016 by gamestate Quote
schNee Posted August 31, 2016 Author Posted August 31, 2016 ill try thanks, dont have it here atm so i would post it. so cu on the server Quote
gamestate Posted August 31, 2016 Posted August 31, 2016 ill try thanks, dont have it here atm so i would post it. so cu on the server No problem, now get back to work! Quote
Platinum VIP -=HipKat=- Posted August 31, 2016 Platinum VIP Posted August 31, 2016 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? Quote
schNee Posted August 31, 2016 Author Posted August 31, 2016 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. 1 Quote
gamestate Posted August 31, 2016 Posted August 31, 2016 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. 1 Quote
DFighter Posted August 31, 2016 Posted August 31, 2016 try to rename your cfg with settings too for example 1.cfg do this when the game is not on then go into et and try to /exec 1 1 Quote
bo0m Posted August 31, 2016 Posted August 31, 2016 Can't you make cfg with scripts inside to turn on-off when you want? For example that gamma.. Quote
schNee Posted August 31, 2016 Author Posted August 31, 2016 Ah OK 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?? Quote
schNee Posted August 31, 2016 Author Posted August 31, 2016 so just to sum it up. class works now. only gamma not. everything else works Quote
gamestate Posted August 31, 2016 Posted August 31, 2016 so just to sum it up. class works now. only gamma not. everything else works 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.