Custom map
Re: Custom map
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
ps I'm not tokoyami
Re: Custom map
Yeah i know. online... but idk how to put it online so i can just type map_file (file here)

^Someone's mad
- 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
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
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

Re: Custom map
is there a way i can put my map into http://crazy-tronners.com/resource/????

^Someone's mad
- Desolate
- Shutout Match Winner
- Posts: 1021
- Joined: Sat Apr 26, 2008 2:31 pm
- Location: Probably golfing
Re: Custom map
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
http://crazy-tronners.com/maptools.php
Re: Custom map
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'
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'

^Someone's mad
- Desolate
- Shutout Match Winner
- Posts: 1021
- Joined: Sat Apr 26, 2008 2:31 pm
- Location: Probably golfing
Re: Custom map
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:
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.
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">Of course, if this is all obvious to you, or I am completely off of the problem just say so.
Re: Custom map
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
here it is > http://www.mediafire.com/?380b42axdbml5fl

^Someone's mad
Re: Custom map
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.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'
Code: Select all
<Wall height="50">
<Point x="400" y="-336"/>
</Wall>Code: Select all
<Wall height="50">
<Point x="416" y="-416"/>
</Wall>Reigning champion of: Sir-spam-a-lot 2011apparition wrote:You being able to kill so many players that quickly and efficiently is evidence that the community skill level must be dropping... Sad
Re: Custom map
Thank you SOOOOO much. but what do i do to get it into the resource lol?theroze wrote: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.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'Code: Select all
<Wall height="50"> <Point x="400" y="-336"/> </Wall>Code: Select all
<Wall height="50"> <Point x="416" y="-416"/> </Wall>

^Someone's mad
Re: Custom map
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
)
PM is the slower Way; I was waiting for 6 Months to get a Reply
PM is the slower Way; I was waiting for 6 Months to get a Reply
Reigning champion of: Sir-spam-a-lot 2011apparition wrote:You being able to kill so many players that quickly and efficiently is evidence that the community skill level must be dropping... Sad
- Desolate
- Shutout Match Winner
- Posts: 1021
- Joined: Sat Apr 26, 2008 2:31 pm
- Location: Probably golfing
Re: Custom map
Or the crazy tronners resource is easier, after you preview the map, it gets added.
Re: Custom map
It does? Didn't know at all. Funny.Desolate wrote:Or the crazy tronners resource is easier, after you preview the map, it gets added.
Reigning champion of: Sir-spam-a-lot 2011apparition wrote:You being able to kill so many players that quickly and efficiently is evidence that the community skill level must be dropping... Sad