Custom map

Post here if you need help setting up your server, etc.
foxx
Core Dumper
Posts: 110
Joined: Sat Aug 28, 2010 9:31 pm

Custom map

Post by foxx »

i want to turn a xml map i made into something i can use on the grid.
Image
^Someone's mad ;)
syllabear
Shutout Match Winner
Posts: 1030
Joined: Fri Oct 13, 2006 1:37 pm
Location: UK/HK

Re: Custom map

Post by syllabear »

offline or online? Offline is alot simpler. Make sure the map is in the right place, and then change your settings.cfg to include the right map_file.
The Halley's comet of Armagetron.
ps I'm not tokoyami
foxx
Core Dumper
Posts: 110
Joined: Sat Aug 28, 2010 9:31 pm

Re: Custom map

Post by foxx »

Yeah i know. online... but idk how to put it online so i can just type map_file (file here)
Image
^Someone's mad ;)
User avatar
kyle
Reverse Outside Corner Grinder
Posts: 1992
Joined: Thu Jun 08, 2006 3:33 pm
Location: Indiana, USA, Earth, Milky Way Galaxy, Universe, Multiverse
Contact:

Re: Custom map

Post by kyle »

well it is usually
MAP_FILE <author_name>/<category>/<name>-<version>.<type>.xml
for example
MAP_FILE kyle/fortress/tunnel_rats-0.0.2.aamap.xml
now since i have that online http://crazy-tronners.com/resource/kyle ... .aamap.xml
it can become
MAP_FILE kyle/fortress/tunnel_rats-0.0.2.aamap.xml(http://crazy-tronners.com/resource/kyle ... .aamap.xml)

or i can set RESOURCE_REPOSITORY_CLIENT and RESOURCE_REPOSITORY_SERVER to http://crazy-tronners.com/resource/ and just use MAP_FILE kyle/fortress/tunnel_rats-0.0.2.aamap.xml

hope that makes sence
Image
foxx
Core Dumper
Posts: 110
Joined: Sat Aug 28, 2010 9:31 pm

Re: Custom map

Post by foxx »

is there a way i can put my map into http://crazy-tronners.com/resource/????
Image
^Someone's mad ;)
User avatar
Desolate
Shutout Match Winner
Posts: 1021
Joined: Sat Apr 26, 2008 2:31 pm
Location: Probably golfing

Re: Custom map

Post by Desolate »

I've found that if you use the map preview tool under "MapTools" at [url]http://.crazy-tronners.com[/url], you're map automatically gets added to the resource.

http://crazy-tronners.com/maptools.php
foxx
Core Dumper
Posts: 110
Joined: Sat Aug 28, 2010 9:31 pm

Re: Custom map

Post by foxx »

doesnt work it says There was an error creating your map preview.
ArgumentError: insufficient/odd number of points specified: 2
/usr/lib/ruby/1.8/rvg/embellishable.rb:135:in `polypoints'
/usr/lib/ruby/1.8/rvg/embellishable.rb:166:in `initialize'
/usr/lib/ruby/1.8/rvg/embellishable.rb:324:in `new'
/usr/lib/ruby/1.8/rvg/embellishable.rb:324:in `polyline'
/home/usazone/maptools/map-preview//lib/map_preview/renderer.rb:85:in `_render_walls'
/home/usazone/maptools/map-preview//lib/map_preview/renderer.rb:85:in `each'
/home/usazone/maptools/map-preview//lib/map_preview/renderer.rb:85:in `_render_walls'
/home/usazone/maptools/map-preview//lib/map_preview/renderer.rb:128:in `_group'
/home/usazone/maptools/map-preview//lib/map_preview/renderer.rb:83:in `_render_walls'
/home/usazone/maptools/map-preview//lib/map_preview/renderer.rb:59:in `render'
/var/www/ct/forums/maptools/map-preview.rhtml:33
(eval):0
/usr/lib/ruby/1.8/apache/eruby-run.rb:116:in `eval_string_wrap'
/usr/lib/ruby/1.8/apache/eruby-run.rb:116:in `run'
/usr/lib/ruby/1.8/apache/eruby-run.rb:72:in `handler'
Image
^Someone's mad ;)
User avatar
Desolate
Shutout Match Winner
Posts: 1021
Joined: Sat Apr 26, 2008 2:31 pm
Location: Probably golfing

Re: Custom map

Post by Desolate »

I tried with one of my maps and it works fine. You sure your file is a .aamap.xml file? Do you have the file located in the right place? The file name and location have to match the heading in the actual map file.

For example, this is from one of my maps:

Code: Select all

<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE Resource SYSTEM "map-0.2.8_beta3.dtd">
<Resource type="aamap" name="deathrealm" version="1.0" author="Desolate" category="race">
Your heading should be something like that. The name and version should be your filename, in this case, deathrealm-1.0.aamap.xml. The location would be under your resource file, the first folder would be named "Desolate" and the second folder would be named "race." You would find the file under that location.

Of course, if this is all obvious to you, or I am completely off of the problem just say so. :) I'm not close to an expert in these things.
foxx
Core Dumper
Posts: 110
Joined: Sat Aug 28, 2010 9:31 pm

Re: Custom map

Post by foxx »

huh its just a xml file
Image
^Someone's mad ;)
foxx
Core Dumper
Posts: 110
Joined: Sat Aug 28, 2010 9:31 pm

Re: Custom map

Post by foxx »

I'm having truble can someone do it for me? pleass just put it under slyfoxx or something and tell me after.

here it is > http://www.mediafire.com/?380b42axdbml5fl
Image
^Someone's mad ;)
User avatar
theroze
Match Winner
Posts: 596
Joined: Mon Aug 10, 2009 7:30 am
Location: 47 72 69 64

Re: Custom map

Post by theroze »

foxx wrote:doesnt work it says There was an error creating your map preview.
ArgumentError: insufficient/odd number of points specified: 2
/usr/lib/ruby/1.8/rvg/embellishable.rb:135:in `polypoints'
/usr/lib/ruby/1.8/rvg/embellishable.rb:166:in `initialize'
/usr/lib/ruby/1.8/rvg/embellishable.rb:324:in `new'
/usr/lib/ruby/1.8/rvg/embellishable.rb:324:in `polyline'
/home/usazone/maptools/map-preview//lib/map_preview/renderer.rb:85:in `_render_walls'
/home/usazone/maptools/map-preview//lib/map_preview/renderer.rb:85:in `each'
/home/usazone/maptools/map-preview//lib/map_preview/renderer.rb:85:in `_render_walls'
/home/usazone/maptools/map-preview//lib/map_preview/renderer.rb:128:in `_group'
/home/usazone/maptools/map-preview//lib/map_preview/renderer.rb:83:in `_render_walls'
/home/usazone/maptools/map-preview//lib/map_preview/renderer.rb:59:in `render'
/var/www/ct/forums/maptools/map-preview.rhtml:33
(eval):0
/usr/lib/ruby/1.8/apache/eruby-run.rb:116:in `eval_string_wrap'
/usr/lib/ruby/1.8/apache/eruby-run.rb:116:in `run'
/usr/lib/ruby/1.8/apache/eruby-run.rb:72:in `handler'
Ha. This is caused by one-point-Walls. Armagetron just ignores them, but the Map Previwer doesn't. Remove the following Lines (in your Map file, of course.) to get a Map Preview.

Code: Select all

<Wall height="50">
<Point x="400" y="-336"/>
</Wall>

Code: Select all

<Wall height="50">
<Point x="416" y="-416"/>
</Wall>
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
foxx
Core Dumper
Posts: 110
Joined: Sat Aug 28, 2010 9:31 pm

Re: Custom map

Post by foxx »

theroze wrote:
foxx wrote:doesnt work it says There was an error creating your map preview.
ArgumentError: insufficient/odd number of points specified: 2
/usr/lib/ruby/1.8/rvg/embellishable.rb:135:in `polypoints'
/usr/lib/ruby/1.8/rvg/embellishable.rb:166:in `initialize'
/usr/lib/ruby/1.8/rvg/embellishable.rb:324:in `new'
/usr/lib/ruby/1.8/rvg/embellishable.rb:324:in `polyline'
/home/usazone/maptools/map-preview//lib/map_preview/renderer.rb:85:in `_render_walls'
/home/usazone/maptools/map-preview//lib/map_preview/renderer.rb:85:in `each'
/home/usazone/maptools/map-preview//lib/map_preview/renderer.rb:85:in `_render_walls'
/home/usazone/maptools/map-preview//lib/map_preview/renderer.rb:128:in `_group'
/home/usazone/maptools/map-preview//lib/map_preview/renderer.rb:83:in `_render_walls'
/home/usazone/maptools/map-preview//lib/map_preview/renderer.rb:59:in `render'
/var/www/ct/forums/maptools/map-preview.rhtml:33
(eval):0
/usr/lib/ruby/1.8/apache/eruby-run.rb:116:in `eval_string_wrap'
/usr/lib/ruby/1.8/apache/eruby-run.rb:116:in `run'
/usr/lib/ruby/1.8/apache/eruby-run.rb:72:in `handler'
Ha. This is caused by one-point-Walls. Armagetron just ignores them, but the Map Previwer doesn't. Remove the following Lines (in your Map file, of course.) to get a Map Preview.

Code: Select all

<Wall height="50">
<Point x="400" y="-336"/>
</Wall>

Code: Select all

<Wall height="50">
<Point x="416" y="-416"/>
</Wall>
Thank you SOOOOO much. but what do i do to get it into the resource lol?
Image
^Someone's mad ;)
User avatar
theroze
Match Winner
Posts: 596
Joined: Mon Aug 10, 2009 7:30 am
Location: 47 72 69 64

Re: Custom map

Post by theroze »

You need a Resource Account! luke-jr is responsible for things related to that. You can either catch him with a PM or in IRC. Type your name there. Luke-jr hangs out in the Channel #armagetron. (Type that in Channels, ofc :P)

PM is the slower Way; I was waiting for 6 Months to get a Reply :lol:
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
Desolate
Shutout Match Winner
Posts: 1021
Joined: Sat Apr 26, 2008 2:31 pm
Location: Probably golfing

Re: Custom map

Post by Desolate »

Or the crazy tronners resource is easier, after you preview the map, it gets added.
User avatar
theroze
Match Winner
Posts: 596
Joined: Mon Aug 10, 2009 7:30 am
Location: 47 72 69 64

Re: Custom map

Post by theroze »

Desolate wrote:Or the crazy tronners resource is easier, after you preview the map, it gets added.
It does? Didn't know at all. Funny.
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
Post Reply