Get support for Unvanquished.
icaro440
Marauder
Posts: 183 Joined: Fri Mar 23, 2012 10:46 am UTC
Location: [SP]ain
Post
by icaro440 » Sun Mar 30, 2014 1:17 am UTC
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
{
parpax
.... etc, etc
What is happening? this worked well in older versions...
Amanieu
Programmer
Posts: 44 Joined: Sun Jun 16, 2013 8:28 pm UTC
Post
by Amanieu » Sun Mar 30, 2014 6:21 am UTC
the location of maprotation.cfg changed. It must be in $fs_homepath/game/maprotation.cfg
icaro440
Marauder
Posts: 183 Joined: Fri Mar 23, 2012 10:46 am UTC
Location: [SP]ain
Post
by icaro440 » Sun Mar 30, 2014 11:07 am UTC
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.
Ishq
Project Head
Posts: 1147 Joined: Tue Mar 06, 2012 8:32 pm UTC
Post
by Ishq » Sun Mar 30, 2014 11:20 am UTC
Did you set g_initialMapRotation to rotation1?
icaro440
Marauder
Posts: 183 Joined: Fri Mar 23, 2012 10:46 am UTC
Location: [SP]ain
Post
by icaro440 » Sun Mar 30, 2014 11:36 am UTC
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"
.....
Ishq
Project Head
Posts: 1147 Joined: Tue Mar 06, 2012 8:32 pm UTC
Post
by Ishq » Sun Mar 30, 2014 9:26 pm UTC
And I assume maprotation is an alias to g_initialMapRotation?
icaro440
Marauder
Posts: 183 Joined: Fri Mar 23, 2012 10:46 am UTC
Location: [SP]ain
Post
by icaro440 » Sun Mar 30, 2014 11:19 pm UTC
Ishq wrote: And I assume maprotation is an alias to g_initialMapRotation?
maprotation is a "direct" command (pink)
g_initialMapRotation is set to rotation0 -------> server.cfg