Map Rotation without 0.3

For all the help you need with Armagetron!
User avatar
LOVER$BOY
Match Winner
Posts: 731
Joined: Thu Jan 24, 2008 12:46 pm

Re: Map Rotation without 0.3

Post by LOVER$BOY »

Yes!

It's based around 0.2.8.3.2 and the sty+ct patch (Capture The Flag and other stuff). Even players using 0.4 trunk can get into it and play :)
Image
User avatar
trevor
Average Program
Posts: 52
Joined: Fri Nov 23, 2012 8:45 am
Location: The Internet
Contact:

Re: Map Rotation without 0.3

Post by trevor »

And all I'll need to do to upgrade to it will be copy my .CFGs from the current server into the Alpha Project config folder and run it right?
User avatar
LOVER$BOY
Match Winner
Posts: 731
Joined: Thu Jan 24, 2008 12:46 pm

Re: Map Rotation without 0.3

Post by LOVER$BOY »

It's as simple as that :) Yes!
Image
User avatar
trevor
Average Program
Posts: 52
Joined: Fri Nov 23, 2012 8:45 am
Location: The Internet
Contact:

Re: Map Rotation without 0.3

Post by trevor »

Well then, Applejack's Super Awesome Brony Server is about to get even more awesome with some map rotations. Thanks man!
User avatar
LOVER$BOY
Match Winner
Posts: 731
Joined: Thu Jan 24, 2008 12:46 pm

Re: Map Rotation without 0.3

Post by LOVER$BOY »

Your welcome :)

It was difficult to add in the stuff but with a stroke of good luck and fortune and my will to drive forward through the complexities of it all, I managed it :D

By the way, I have also added MAP_QUEING (I didn't spell it right when I was coded it in). I hope you'll find that command useful.
Image
User avatar
trevor
Average Program
Posts: 52
Joined: Fri Nov 23, 2012 8:45 am
Location: The Internet
Contact:

Re: Map Rotation without 0.3

Post by trevor »

Do you have any syntax or a description of how it behaves exactly?
User avatar
LOVER$BOY
Match Winner
Posts: 731
Joined: Thu Jan 24, 2008 12:46 pm

Re: Map Rotation without 0.3

Post by LOVER$BOY »

Yes, I believe I it's in the english_base.txt file but it works like a queuing system.

When you add a map to the queue, the server will first run the queued maps before resuming it's original MAP_ROTATION. The only thing when adding maps to the queue is, the map first needs to exist in the MAP_ROTATION list.

In the future I have planned to add another command called

Code: Select all

MAP_ROTATION_LIST
.This command simply displays the list of maps currently in MAP_ROTATION.
Image
User avatar
trevor
Average Program
Posts: 52
Joined: Fri Nov 23, 2012 8:45 am
Location: The Internet
Contact:

Re: Map Rotation without 0.3

Post by trevor »

Wait, it's in the english_base.txt? Does that mean I can't replace that file to use the command or that file just contains instructions on using it?
User avatar
LOVER$BOY
Match Winner
Posts: 731
Joined: Thu Jan 24, 2008 12:46 pm

Re: Map Rotation without 0.3

Post by LOVER$BOY »

Most likely but why are you working your language file settings in english_base.txt? :P

That's why we prefer to use custom.txt language file so the base english file gets updated. Create your custom.txt file in the language folder. Then open it and do the following:

custom.txt

Code: Select all

language Custom           # give it the name you want it to be called
include english_base.txt  # keep this in, otherwise you might find some errors.

# add your custom language stuff below...
Next, in your settings_custom.cfg or wherever you store your main config settings in, add the next line

Code: Select all

LANGUAGE_FIRST Custom    # Give this the name of the language you wrote in custom.txt
Just to make sure custom.txt will work, open up your languages.txt. It should look similar to this:

Code: Select all

# name of the game
game_name Armagetron Advanced Sty+CT+AP
program_name \g

# Note: Keep this list in reverse-alphabetical order for it to show up in the correct order in the languages menu.

include spanish.txt
include polish_transliterated.txt
include polish.txt
include french.txt
include deutsch.txt
include british.txt
include american.txt
include custom.txt
include ap_racing.txt
If the line include custom.txt doesn't exist, add it like how it is show above and save.
Image
User avatar
trevor
Average Program
Posts: 52
Joined: Fri Nov 23, 2012 8:45 am
Location: The Internet
Contact:

Re: Map Rotation without 0.3

Post by trevor »

It isn't working, it says something about the map wanting to be somewhere else and defaulting to a square map.
User avatar
LOVER$BOY
Match Winner
Posts: 731
Joined: Thu Jan 24, 2008 12:46 pm

Re: Map Rotation without 0.3

Post by LOVER$BOY »

Well that problem will only occur if your maps aren't set properly. I mean, the codes inside your map files.

Can you post the <Resource > of that map and the MAP_ROTATION setting please?
Image
User avatar
trevor
Average Program
Posts: 52
Joined: Fri Nov 23, 2012 8:45 am
Location: The Internet
Contact:

Re: Map Rotation without 0.3

Post by trevor »

<Resource type="aamap" name="repeat" version="0.3.2" author="Your_mom" category="clever">

MAP_FILE Your_mom/clever/repeat-0.3.2.aamap.xml

MAP_ROTATION Your_mom/clever/repeat-0.3.2.aamap.xml ;Your_mom/clever/inaktek-0.7.2.aamap.xml
Last edited by trevor on Sat Dec 22, 2012 8:25 am, edited 1 time in total.
User avatar
LOVER$BOY
Match Winner
Posts: 731
Joined: Thu Jan 24, 2008 12:46 pm

Re: Map Rotation without 0.3

Post by LOVER$BOY »

trevor wrote:<Resource type="aamap" name="repeat" version="0.3.2" author="Your_mom" category="clever">

MAP_FILE Your_mom/clever/repeat-0.3.2.aamap.xml
mmm... that's strange. Your resource and the MAP_FILE match but I don't see why your getting an error.

Could you possibly take a screenshot of the error and post it here please?
Image
User avatar
trevor
Average Program
Posts: 52
Joined: Fri Nov 23, 2012 8:45 am
Location: The Internet
Contact:

Re: Map Rotation without 0.3

Post by trevor »

Here it is. I don't see any difference between these file names...
Attachments
Untitled.jpg
User avatar
trevor
Average Program
Posts: 52
Joined: Fri Nov 23, 2012 8:45 am
Location: The Internet
Contact:

Re: Map Rotation without 0.3

Post by trevor »

Could it be that space after the .xml?
Post Reply