Page 1 of 1

maprotation.cfg (layouts)

Posted: Sun Mar 30, 2014 1:17 am UTC
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...


Re: maprotation.cfg (layouts)

Posted: Sun Mar 30, 2014 6:21 am UTC
by Amanieu

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


Re: maprotation.cfg (layouts)

Posted: Sun Mar 30, 2014 11:07 am UTC
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


Re: maprotation.cfg (layouts)

Posted: Sun Mar 30, 2014 11:20 am UTC
by Ishq

Did you set g_initialMapRotation to rotation1?


Re: maprotation.cfg (layouts)

Posted: Sun Mar 30, 2014 11:36 am UTC
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"

.....


Re: maprotation.cfg (layouts)

Posted: Sun Mar 30, 2014 9:26 pm UTC
by Ishq

And I assume maprotation is an alias to g_initialMapRotation?


Re: maprotation.cfg (layouts)

Posted: Sun Mar 30, 2014 11:19 pm UTC
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