2 or more files.

Discuss anything to do with Nexuiz here.

Moderators: Nexuiz Moderators, Moderators

2 or more files.

Postby shaggy » Wed May 09, 2007 10:28 am

I would like to know if you could have more cfg files and link the so you have heaps of binds and aliases?

what i tryed to do was this

i made a commands.cfg, autoexec.cfg, shh.cfg ( chat file cause every one tells me to shut up =). ) and a team.cfg file of course i have config.cfg
what i wanted to do was to bind exec autoexec.cfg and the rest to a key then have a large amount of aliases and binds.
shaggy
Alien trapper
 
Posts: 419
Joined: Tue Apr 03, 2007 6:12 am

Postby esteel » Wed May 09, 2007 1:43 pm

I'm not totally sure what you want to do.. I guess you want to read those config files JUST if you press a certain key?
bind X "exec configfile1.cfg;exec configfile2.cfg;exec configfile3.cfg"
or make it:
bind X "exec configfile1.cfg"
and inside configfile1.cfg have: exec configfile2.cfg;exec configfile3.cfg

exec autoexec.cfg IS NOT NEEDED as that file is read at EACH START automatically (hence the name :) )
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby Ed » Wed May 09, 2007 1:51 pm

If you mean on Nexuiz start, before autoexec.cfg is executed there is a previous file that tells it to run autoexec.cfg. In Quake this was called quake.rc, I can't remember what it is in Nexuiz. Add the .cfg fiel you want to that .rc file.
Ed
Forum addon
 
Posts: 1172
Joined: Wed Mar 01, 2006 12:32 am
Location: UK

Postby KadaverJack » Wed May 09, 2007 2:02 pm

Ed wrote:In Quake this was called quake.rc, I can't remember what it is in Nexuiz. Add the .cfg fiel you want to that .rc file.

Guess what: it's still called quake.rc :)
But i wouldn't advise changing the quake.rc, it's easier to add "exec foo.cfg" to your autoexec.cfg
KadaverJack
Site admin and forum addon
 
Posts: 1102
Joined: Tue Feb 28, 2006 9:42 pm

Postby Psychcf » Wed May 09, 2007 2:07 pm

see, aside from my global config and autoexec config files, I have two cfgs, one for competing and one for pubing. competing has things like music turned off, more brightness, some visuals turned off, chat binds for CTF, etc. My pub config has most visuals turned on, chat binds that are considered spam, etc. All you need to do to get this is (I'm assuming you're in windows, I'm not so I'm not completely sure how) make another start menu item and call it "nexuiz pro" and run /path/to/nexuiz.exe +exec pro.cfg and then your existing menu item add +exec pub.cfg onto the end. I don't have the cfgs because I'm at school right now but I'll post them up later if you want...
Psychcf
Forum addon
 
Posts: 1554
Joined: Sun Dec 03, 2006 11:38 pm
Location: NY, USA

Postby Ed » Wed May 09, 2007 3:03 pm

[TSA] Psychiccyberfreak wrote:... and one for pubing.

Anyone else see the humour in that?

Pubbing?
Ed
Forum addon
 
Posts: 1172
Joined: Wed Mar 01, 2006 12:32 am
Location: UK

Postby :) » Wed May 09, 2007 4:18 pm

Ed wrote:
[TSA] Psychiccyberfreak wrote:... and one for pubing.

Anyone else see the humour in that?

Pubbing?

I see the humour in everything.
:)
Keyboard killer
 
Posts: 590
Joined: Tue Feb 28, 2006 9:09 pm

Postby Psychcf » Wed May 09, 2007 7:34 pm

damn those school keyboards, the b key must have been used during a flame war on some other forum... :lol:

anyways back on track...
what i wanted to do was to bind exec autoexec.cfg and the rest to a key then have a large amount of aliases and binds.


Ok so basically I think what you want is to bind a key that will execute a whole bunch of configs at once. Autoexec.cfg is automatically executed on startup so you don't need that. try this:
Code: Select all
bind <key> "exec commands.cfg; exec shh.cfg; exec team.cfg;"
Last edited by Psychcf on Wed May 09, 2007 11:12 pm, edited 2 times in total.
Psychcf
Forum addon
 
Posts: 1554
Joined: Sun Dec 03, 2006 11:38 pm
Location: NY, USA

Postby Longhorn » Wed May 09, 2007 11:02 pm

I was chuckling to myself about pubing. :P
Longhorn
Member
 
Posts: 39
Joined: Sun Feb 04, 2007 5:59 am
Location: Indiana, USA

Postby The mysterious Mr. 4m » Thu May 10, 2007 9:34 am

4m [PB] (amoebios)

This is Your world.
The mysterious Mr. 4m
Forum addon
 
Posts: 1402
Joined: Wed Mar 01, 2006 6:03 pm
Location: germany

Next

Return to Nexuiz - General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron