If you've had any problems with Nexuiz, or would like to report bugs, post here.
Moderators: Nexuiz Moderators, Moderators
-
Hey,
I noticed that some maps change the game mode through their mapcfg. Is there a possibility to disallow that or at least to switch it back, when the next map is loaded? Something like
set "g_gamemode_override" "none"
- Code: Select all
$ grep -R g_minstagib *.mapcfg
dm_evilminsta.mapcfg:set g_minstagib 1
dm_minstarena.mapcfg:set g_minstagib 1
$ grep -R g_rocketarena *.mapcfg
dm_suicidebooth-0.1.mapcfg:g_rocketarena 1
-
ZyanKLee
- Alien
-
- Posts: 151
- Joined: Sun Feb 18, 2007 8:58 pm
- Location: Germany
-
this is not a problem if all mapcfgs explicitly set theyr gamemode, wich is the easier solution.
the spice extend life!
the spice expand conciousness!
the spice is vital to space travel!
sooooo.. tell me what you want, waht you really-really want
I will proceed directly to the intravenous injection of hard drugs, please.
-

tChr
- Forum addon
-
- Posts: 1501
- Joined: Tue Feb 28, 2006 9:11 pm
- Location: Trondheim, Norway
-
-
tChr wrote:this is not a problem if all mapcfgs explicitly set theyr gamemode, wich is the easier solution.
which is not the case in MOST maps, afaik
-
ZyanKLee
- Alien
-
- Posts: 151
- Joined: Sun Feb 18, 2007 8:58 pm
- Location: Germany
Sat Jun 23, 2007 10:02 am
-
ZyanKLee wrote:maps change the game mode through their mapcfg. Is there a possibility [...] to switch it back, when the next map is loaded?
I've used exit cfgs for that (see Docs/mapping.txt).
-
Nil
- Advanced member
-
- Posts: 81
- Joined: Wed Mar 01, 2006 5:10 pm
Sat Jun 23, 2007 10:05 am
-
IF I would insert a line like this to server.cfg:
set "exit_cfg" "std-exit.cfg"
would it be executed at every map-exit? Or does it ONLY work in the mapcfg ?
-
ZyanKLee
- Alien
-
- Posts: 151
- Joined: Sun Feb 18, 2007 8:58 pm
- Location: Germany
Sat Jun 23, 2007 10:19 am
-
ZyanKLee wrote:If I would insert a line like this to server.cfg:
set "exit_cfg" "std-exit.cfg"
would it be executed at every map-exit? Or does it ONLY work in the mapcfg ?
It gets executed once but after the map changed exit_cfg is reset to "empty.cfg". So having a data/empty.cfg works.

-
Nil
- Advanced member
-
- Posts: 81
- Joined: Wed Mar 01, 2006 5:10 pm
Sat Jun 23, 2007 10:22 am
-
Nil wrote:It gets executed once but after the map changed exit_cfg is reset to "empty.cfg". So having a data/empty.cfg works.

Sounds great

thanks
EDIT: and it works like a charm
-
ZyanKLee
- Alien
-
- Posts: 151
- Joined: Sun Feb 18, 2007 8:58 pm
- Location: Germany
Return to Nexuiz - Support / Bugs
- Users browsing this forum: No registered users and 1 guest