maprotation.cfg (layouts)

Get support for Unvanquished.
Post Reply
User avatar
icaro440
Marauder
Posts: 183
Joined: Fri Mar 23, 2012 10:46 am UTC
Location: [SP]ain

maprotation.cfg (layouts)

Post by icaro440 »

Hi, I'm having some problems with the file maprotation.cfg, my local server does not load any layout.

this is my maprotation.cfg

rotation1

{

Code: Select all

 thunder 

  {
  layouts "thunder1"
  }  

parpax

Code: Select all

  {
  layouts "parpax1"
  }  

.... etc, etc

What is happening? this worked well in older versions...

User avatar
Amanieu
Programmer
Posts: 44
Joined: Sun Jun 16, 2013 8:28 pm UTC

Re: maprotation.cfg (layouts)

Post by Amanieu »

the location of maprotation.cfg changed. It must be in $fs_homepath/game/maprotation.cfg

User avatar
icaro440
Marauder
Posts: 183
Joined: Fri Mar 23, 2012 10:46 am UTC
Location: [SP]ain

Re: maprotation.cfg (layouts)

Post by icaro440 »

Amanieu wrote:

the location of maprotation.cfg changed. It must be in $fs_homepath/game/maprotation.cfg

yes, it is there. (i know the new structure ---> pkg, game, config) my maprotation.cfg is in the correct place. The maprotation file is not ignored (the server loads all the maps in that order), but the layouts are ignored.

Image

User avatar
Ishq
Project Head
Posts: 1145
Joined: Tue Mar 06, 2012 8:32 pm UTC

Re: maprotation.cfg (layouts)

Post by Ishq »

Did you set g_initialMapRotation to rotation1?

User avatar
icaro440
Marauder
Posts: 183
Joined: Fri Mar 23, 2012 10:46 am UTC
Location: [SP]ain

Re: maprotation.cfg (layouts)

Post by icaro440 »

Ishq wrote:

Did you set g_initialMapRotation to rotation1?

NO

my initial map rotation is set to rotation0

once the server is running, i switch to different rotations by execing commands:

/exec rotation1.cfg

and rotation1.cfg is ----->


maprotation rotation1

map "atcs"

/exec rotationhola.cfg

and rotationhola.cfg is ----->


maprotation rotationhola

map "lukeimyourfather"

.....

User avatar
Ishq
Project Head
Posts: 1145
Joined: Tue Mar 06, 2012 8:32 pm UTC

Re: maprotation.cfg (layouts)

Post by Ishq »

And I assume maprotation is an alias to g_initialMapRotation?

User avatar
icaro440
Marauder
Posts: 183
Joined: Fri Mar 23, 2012 10:46 am UTC
Location: [SP]ain

Re: maprotation.cfg (layouts)

Post by icaro440 »

Ishq wrote:

And I assume maprotation is an alias to g_initialMapRotation?

maprotation is a "direct" command (pink)

Image

g_initialMapRotation is set to rotation0 -------> server.cfg

Post Reply