Problem with custom map

For all the help you need with Armagetron!
Post Reply
User avatar
omahan
Posts: 8
Joined: Sun Jun 13, 2010 9:33 pm

Problem with custom map

Post by omahan »

Hi. I created a map for custom use, and I was testing it with the AIs, but the map wont load.

The game says "Premature end of data in tag Resource line 3"

This is my resource tag: <Resource name="Parallelomap" type="aamap" version="1" author="Omahan" category="omahancustom">

Help??

I'm running version 0.2.8.3.1 on Windows XP
User avatar
theroze
Match Winner
Posts: 596
Joined: Mon Aug 10, 2009 7:30 am
Location: 47 72 69 64

Re: Problem with custom map

Post by theroze »

Welcome to the Armagetron Advanced Forums. Enjoy! :)
omahan wrote:This is my resource tag: <Resource name="Parallelomap" type="aamap" version="1" author="Omahan" category="omahancustom"
Omahancustom shouldn't be the category, use - if it's a Fortress Map, obviously - e.g. Fortress. Or for Sumo Sumo. etc. And (I'm not sure about that) you should change version "1" to 0.0.1.

Then, the Headline should be

Code: Select all

<Resource name="Parallelomap" type="aamap" version="0.0.1" author="Omahan" category="Fortress/sumo/whatever"
For playing your map in Local, you must save your Map in your resource folder.

Code: Select all

 Program Files
               |-Armagetron Advanced
                     |-Resource
              
Create a new Folder, in that Case, called "Omahan". Creat that Folder another Folder which will be the name of the category.

So far, we got:

Code: Select all

 Program Files
               |-Armagetron Advanced
                     |-Resource
                           |-Omahan
                                |-category
              
In that Folder you can save your Map.

Note: If you have written as version="0.0.1" it must be exactly like that in the Map Name. I will take

Code: Select all

<Resource name="Parallelomap" type="aamap" version="0.0.1" author="Omahan" category="Fortress"
as Resource Line. The Map name must be

Code: Select all

Parallelomap-0.0.1.aamap.xml
then.

If everything is done, it must look like this:

Code: Select all

 Program Files
               |-Armagetron Advanced
                     |-Resource
                           |-Omahan
                                |-Fortress
                                   Parallelomap-0.0.1.aamap.xml
              
To play this Map now, type in Console (^ as default)

Code: Select all

MAP_FILE Omahan/Fortress/Parallelomap-0.0.1.aamap.xml
Of course you can change the Names and Versions and everything however you want, but don't forget to rename then the Folder's Name/Map's Name as well!

I hope that helped, and have Fun on these Forums! :)
apparition wrote:You being able to kill so many players that quickly and efficiently is evidence that the community skill level must be dropping... Sad :/
Reigning champion of: Sir-spam-a-lot 2011
User avatar
AI-team
Shutout Match Winner
Posts: 1020
Joined: Tue Jun 23, 2009 6:17 pm
Location: Germany/Munich
Contact:

Re: Problem with custom map

Post by AI-team »

This singular line seems to be ok.
Maybe you could post the hole map.


@Rozer:
it doesnt matter wheter you use "1" or "0.0.1".
  
 
"95% of people believe in every quote you post on the internet" ~ Abraham Lincoln
 
 
User avatar
omahan
Posts: 8
Joined: Sun Jun 13, 2010 9:33 pm

Re: Problem with custom map

Post by omahan »

Okay theroze, i did all that.

My Resource tag now looks like this:

Code: Select all

<Resource name="Parallelomap" type="aamap" version="0.0.1" author="Omahan" category="polygon">
The filepath is

Code: Select all

C:\Program Files\Armagetron Advanced\resource\Omahan\polygon\Parallelomap-0.0.1.aamap.xml
But now im getting an error that says:
ERROR: Absolute filename, the server is trying to overwrite system files
wtf is wrong now? :(
Accept insults from opponents gladly. This means they don't want to admit you are better than them
User avatar
AI-team
Shutout Match Winner
Posts: 1020
Joined: Tue Jun 23, 2009 6:17 pm
Location: Germany/Munich
Contact:

Re: Problem with custom map

Post by AI-team »

What does

Code: Select all

MAP_FILE
look like?

it should be

Code: Select all

MAP_FILE Omahan/polygon/Parallelomap-0.0.1.aamap.xml
  
 
"95% of people believe in every quote you post on the internet" ~ Abraham Lincoln
 
 
User avatar
omahan
Posts: 8
Joined: Sun Jun 13, 2010 9:33 pm

Re: Problem with custom map

Post by omahan »

Yeah, thats what i typed, AI
Accept insults from opponents gladly. This means they don't want to admit you are better than them
User avatar
AI-team
Shutout Match Winner
Posts: 1020
Joined: Tue Jun 23, 2009 6:17 pm
Location: Germany/Munich
Contact:

Re: Problem with custom map

Post by AI-team »

Hm are you sure you used "/" and not "\"?
Even though I'm not sure whether that makes a difference :P
  
 
"95% of people believe in every quote you post on the internet" ~ Abraham Lincoln
 
 
User avatar
omahan
Posts: 8
Joined: Sun Jun 13, 2010 9:33 pm

Re: Problem with custom map

Post by omahan »

I've tried both / and \. It doesn't make any difference.
Accept insults from opponents gladly. This means they don't want to admit you are better than them
User avatar
kyle
Reverse Outside Corner Grinder
Posts: 1963
Joined: Thu Jun 08, 2006 3:33 pm
Location: Indiana, USA, Earth, Milky Way Galaxy, Universe, Multiverse
Contact:

Re: Problem with custom map

Post by kyle »

can you post the map here or pastebin it and give us the link?
Image
Post Reply