Tremulous Forum

Community => Servers => Topic started by: rotacak on June 24, 2007, 10:50:21 pm

Title: One map restarting
Post by: rotacak on June 24, 2007, 10:50:21 pm
If I set in maprotation.cfg only one map, then is again loaded before start. But I want only restart map - it's fast without loading. How to do that?

And second question: where should be mapconfig (it's mapconfig.cfg?)?

Thanx for reply
Title: One map restarting
Post by: mooseberry on June 24, 2007, 11:01:38 pm
Well if you only want one map, you don't even need a maprotation.cfg, you can leave it blank (how it is when you first start your server) and than it will automatically play that map over and over again with out anyone having to reload it.
Title: One map restarting
Post by: rotacak on June 25, 2007, 04:35:16 pm
Thanx, this work.
But what if I want two commands:
!rotationon
!rotationoff

First command rotate all basic maps. Second command rotate none map, only atcs again in loop, but without loading. I try create command with "set g_initialmaprotation rotation_name", but this affect nothing.

How to do this?

I found similar question, but without answer: http://tremulous.net/phpBB2/viewtopic.php?t=3786

And, where should be mapconfig? It's probably config for each map, because if I vote another map, then configuration from maprotation.cfg it's not aplied :-(
Title: One map restarting
Post by: Plague Bringer on June 25, 2007, 05:10:17 pm
The second post answered that.
Title: One map restarting
Post by: rotacak on June 27, 2007, 04:11:23 pm
Mapconfig solved:
Add to server.cfg: set g_mapConfigs "mapconfigs".
Create directory "mapconfigs" in tremulous/base.
In this directory create mapname.cfg (atcs.cfg etc.) and in this file you can set buildpoints (set g_humanBuildPoints 999).

This is applied on specified map even with !restart or vote command.