OpenArena Message Boards

OpenArena => General => Topic started by: riwa on March 27, 2009, 11:42:08 AM



Title: Different configs for different mods?
Post by: riwa on March 27, 2009, 11:42:08 AM
I've noticed there seems to bee a diffent q3config for each mod for openarena (1v1, cpma , oaxB35 etc). I find this very annoying. Especially for the sensitivity. Is there a way to have a global q3config that affects all of them?


Title: Re: Different configs for different mods?
Post by: Neon_Knight on March 27, 2009, 11:58:39 AM
Put some of the settings you wish to keep onto a file called autoexec.cfg, in baseoa. That way the settings you change there won't be changed the next time you run the game.


Title: Re: Different configs for different mods?
Post by: riwa on March 27, 2009, 12:32:25 PM
Awesome. I'll do that.


Title: Re: Different configs for different mods?
Post by: riwa on March 27, 2009, 05:12:05 PM
It didn't work for 1v1. I haven't tried the others but I assume it doesn't work there neither. Must I have one autoexec in each mods dir as well?


Title: Re: Different configs for different mods?
Post by: Neon_Knight on March 27, 2009, 05:54:22 PM
No. Which commands did you have put on autoexec.cfg?


Title: Re: Different configs for different mods?
Post by: riwa on March 27, 2009, 06:34:22 PM
I've put a lot. But it's the sensitivity and the bind's that I care most about. But they all do work in oa. Just not in 1v1.


Title: Re: Different configs for different mods?
Post by: Neon_Knight on March 27, 2009, 06:43:58 PM
Have you checked by console that the cvars both on 1v1 and baseoa have the same value?
Try doing "exec autoexec.cfg"


Title: Re: Different configs for different mods?
Post by: riwa on March 27, 2009, 06:48:32 PM
I have no idea what the cvars is. However I got:

user@host-main:~/.openarena/baseoa$ exec autoexec.cfg
bash: exec: autoexec.cfg: not found


Title: Re: Different configs for different mods?
Post by: Neon_Knight on March 27, 2009, 07:11:15 PM
cvar = console variable

And I didn't talked about Linux console, I talked about OpenArena's console.
BTW, any command you put on commandline has to be followed by +, for example openarena +set fs_game osp +exec autoexec.cfg


Title: Re: Different configs for different mods?
Post by: riwa on March 27, 2009, 07:25:52 PM
The + applies to the oa console?

Ok, Ill try the command in 1v1. I notice that the stuff works for regular oa (mouse speed, field of view etc).


Title: Re: Different configs for different mods?
Post by: riwa on March 27, 2009, 07:27:50 PM
Ok. Executing the file from within 1v1 worked. Can't I automate the process somehow?


Title: Re: Different configs for different mods?
Post by: Neon_Knight on March 27, 2009, 07:43:55 PM
The + applies to command line (a.k.a. Linux console/Windows cmd) only. This is replaced by \ on OA console.


EDIT: You make a launcher with the command openarena +exec autoexec.cfg and other commands you need to put on the launcher.


Title: Re: Different configs for different mods?
Post by: riwa on March 27, 2009, 08:36:28 PM
But openarena does start with autoexec. But when I go: Mods -> 1v1 its not there anymore.