Author Topic: global config file  (Read 1683 times)

ThEPaniC

  • (Archive)L!ve*Clan Member
  • *
  • Posts (Archive): 722
global config file
« on: October 22, 2011, 01:36:34 AM »
Hey fellows,

OA has a small problem with the different config files in any mod. if you change something it isn't changed in the other mods.
here is a howto how you can fix it:

create a new folder in the "baseoa"-folder, for example we call it "live".

after that you start OA and write in the gameconsole:
:
 /writeconfig live/config.cfg 

then try to load your config with:
:
/exec live/config.cfg

then create a file called "autoexec.cfg" into your baseoa folder, dont use notepad or wordpad for it. this programs are sometimes config-killers. windows users can use notepad++, linux users any default texteditor. 

write in the autoexec.cfg file:

:
exec live/config.cfg


then your config in the live-folder is loaded at every oa-startup.

now you can save your config after wanted changes with:
/writeconfig live/config.cfg

now write this into your config or execute it over the oa-console:

:
bind F10 "exec live/config.cfg" 
now you can load your config with the key F10.

to write it simply with a key write this into your config or execute it over the oa-console:

:
bind F9 "writeconfig live/config.cfg" 

After that you can write your config with F9 and load it with F10 on every openarena server and singelplayer.

The "live"-folder is available everywhere in OA, like pk3 in baseoa too. :)