Previewing Maps

Post here if you need help setting up your server, etc.
Post Reply
User avatar
ed
Match Winner
Posts: 613
Joined: Mon Feb 13, 2006 12:34 pm
Location: UK

Previewing Maps

Post by ed »

Hi,
I'm trying to build a new map and would like to preview it.
Every time i upload a map to http://www.generalconsumption.org/armag ... p-preview/
it says:

Code: Select all

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request POST /armagetron/map-preview/preview_map.rhtml.

Reason: Error reading from remote server
these are with basic default maps, not of my own creation.

There is also a link to the source which includes a script to run from the command line, I'm quite happy with this but the link is broken.

Is there anywhere else I can get the source?

Thanks
User avatar
iF
GLL Admin
Posts: 133
Joined: Thu Dec 18, 2003 8:20 pm
Contact:

Post by iF »

You can use the freeware "ArmaBell".

Armabell is with a PlugIn named "MapEditor".

This MapEditor is with a function named "Overview". :D
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Post by dlh »

map-preview is back up. Sorry about that.
User avatar
ed
Match Winner
Posts: 613
Joined: Mon Feb 13, 2006 12:34 pm
Location: UK

Post by ed »

Thanks if, but i don't use xp.
Linux and win2k. Tried on win2k it would install but not start up the prog.

And Thanks nemo, working just dandy now.
Not really necesssary, but I wouldn't mind a look at the source if you could put that back at some time.
User avatar
ed
Match Winner
Posts: 613
Joined: Mon Feb 13, 2006 12:34 pm
Location: UK

Post by ed »

If, it did work on win2k, didn't notice the icon in the corner.
(if, you make every statement appear to be a question).

Still prefer to do it by hand. Thanks.

I have created a fortress map that looks something like this

Image

It was a heavily modified version of z-man's fortress.
It now looks like this:

Code: Select all

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE Resource SYSTEM "map-0.2.8_beta3.dtd">
<Resource type="aamap" name="ed_fortress" version="0.0.0" author="ed" category="fortress">
	<Map version="2">
		<!-- Fortress Test Map

		 License: Do with it what you want.-->

		<Settings>
			<Setting name="TEAMS_MIN" value="2" />
			<Setting name="TEAMS_MAX" value="2" />
			<Setting name="NUM_AIS" value="0" />
			<Setting name="SP_TEAMS_MIN" value="2" />
			<Setting name="SP_TEAMS_MAX" value="2" />
			<Setting name="SP_NUM_AIS" value="0" />
			<Setting name="SP_MIN_PLAYERS" value="0" />
			<Setting name="WIN_ZONE_EXPANSION" value="0" />
			<Setting name="MAP_FILE_OVERRIDE" value="0" />
		</Settings>

		<World>
			<Field>
				<Spawn	x="235"	y="90"	xdir="0"	ydir="1"	/>
				<Spawn	x="245"	y="590"	xdir="0"	ydir="-1"	/>
                                         
                                         
                                <!--//main parameter -->
				<Wall>
				        <Point	x="0"	y="0"	/>
					<Point	x="0"	y="680"	/>
					<Point	x="480"	y="680"	/>
					<Point	x="480"	y="0"	/>
				        <Point	x="0"	y="0"	/>
				</Wall>

                                <!--//sw centre block -->
                                <Wall>
                                        <Point	x="50"	y="310"	/>
					<Point	x="50"	y="330"	/>
					<Point	x="225"	y="330"	/>
					<Point	x="225"	y="310"	/>
				        <Point	x="50"	y="310"	/>
                                </Wall>
                                <!--//se centre block -->
                                <Wall>
                                        <Point	x="255"	y="310"	/>
					<Point	x="255"	y="330"	/>
					<Point	x="430"	y="330"	/>
					<Point	x="430"	y="310"	/>
				        <Point	x="255"	y="310"	/>
                                </Wall>
                                <!--//nw centre block -->
                                <Wall>
                                        <Point	x="50"	y="350"	/>
					<Point	x="50"	y="370"	/>
					<Point	x="225"	y="370"	/>
					<Point	x="225"	y="350"	/>
				        <Point	x="50"	y="350"	/>
                                </Wall>
                                <!--//ne centre block -->
                                <Wall>
                                        <Point	x="255"	y="350"	/>
					<Point	x="255"	y="370"	/>
					<Point	x="430"	y="370"	/>
					<Point	x="430"	y="350"	/>
				        <Point	x="255"	y="350"	/>
                                </Wall>
                                
                                <!--//base centre block -->
                                <Wall>
                                        <Point	x="100"	y="20"	/>
					<Point	x="100"	y="40"	/>
					<Point	x="380"	y="40"	/>
					<Point	x="380"	y="20"	/>
				        <Point	x="100"	y="20"	/>
                                </Wall>
                                
                                <!--//top centre block -->
                                <Wall>
                                        <Point	x="100"	y="640"	/>
					<Point	x="100"	y="660"	/>
					<Point	x="380"	y="660"	/>
					<Point	x="380"	y="640"	/>
				        <Point	x="100"	y="640"	/>
                                </Wall>

                                <!--//sw corner block -->
                                <Wall>
                                        <Point	x="20"	y="20"	/>
					<Point	x="20"	y="330"	/>
					<Point	x="40"	y="330"	/>
					<Point	x="40"	y="40"	/>
					<Point	x="80"	y="40"	/>
					<Point	x="80"	y="20"	/>
				        <Point	x="20"	y="20"	/>
                                </Wall>
                                
                                <!--//se corner block -->
                                <Wall>
                                        <Point	x="400"	y="20"	/>
					<Point	x="460"	y="20"	/>
					<Point	x="460"	y="330"	/>
					<Point	x="440"	y="330"	/>
					<Point	x="440"	y="40"	/>
					<Point	x="400"	y="40"	/>
				        <Point	x="400"	y="20"	/>
                                </Wall>

                                <!--//nw corner block -->
                                <Wall>
                                        <Point	x="20"	y="350"	/>
					<Point	x="20"	y="660"	/>
					<Point	x="80"	y="660"	/>
					<Point	x="80"	y="640"	/>
					<Point	x="40"	y="640"	/>
					<Point	x="40"	y="350"	/>
				        <Point	x="20"	y="350"	/>
                                </Wall>
                                
                                <!--//ne corner block -->
                                <Wall>
                                        <Point	x="400"	y="660"	/>
					<Point	x="460"	y="660"	/>
					<Point	x="460"	y="350"	/>
					<Point	x="440"	y="350"	/>
					<Point	x="440"	y="640"	/>
					<Point	x="400"	y="640"	/>
				        <Point	x="400"	y="660"	/>
                                </Wall>


				<Zone effect="fortress">
					<ShapeCircle radius="40">
						<Point x="240" y="110" />
					</ShapeCircle>
				</Zone>

				<Zone effect="fortress">
					<ShapeCircle radius="40">
						<Point x="240" y="570" />
					</ShapeCircle>
				</Zone>
			</Field>
		</World>
	</Map>
</Resource>
It works except that the four corner "L" shaped blocks can be driven through quite happily. Fake walls if you like.

I know I could build the L shape from 2 rectangles to harden them up, but I kind of like them the way they are.

If anyone would like to test this, pop along to "The Fortress of Death" or some better name when I come up with one.
User avatar
ed
Match Winner
Posts: 613
Joined: Mon Feb 13, 2006 12:34 pm
Location: UK

Post by ed »

Sorry, I'm new to this server game.

You can't connect to my server because you don't have the map.

I suppose you could create an xml file from the above code called ed_fortress.aamap.xml
and put it into resource/included/ed/

then it works, hence my successful testing of it.

How do you get your maps into the resourse repository?
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Post by dlh »

You need to host it on a website. Set RESOURCE_REPOSITORY and MAP_FILE.


Ex:
Upload map to http://ed-website.com/armagetronad-maps ... .aamap.xml
RESOURCE_REPOSITORY http://ed-website.com/armagetronad-maps
MAP_FILE ed/new-fortress.aamap.xml

The map will download to resource/automatic/ed/new-fortress.aamap.xml

http://wiki.armagetronad.net/index.php/ ... wnload_URI
User avatar
ed
Match Winner
Posts: 613
Joined: Mon Feb 13, 2006 12:34 pm
Location: UK

Post by ed »

Got ya, you can now enter.
Thanks

Let me know what you think.
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6712
Joined: Thu Dec 18, 2003 7:03 pm

Post by Tank Program »

Looks pretty cool.
Image
User avatar
philippeqc
Long Poster - Project Developer - Sage
Posts: 1526
Joined: Mon Jul 12, 2004 8:55 am
Location: Stockholm
Contact:

Post by philippeqc »

A last detail:

Code: Select all

<Resource type="aamap" name="ed_fortress" version="0.0.0" author="ed" category="fortress">
With the previous, the file should be named: ed/fortress/ed_fortress-0.0.0-aamap.xml
Its a small convension we made to ensure that each file gets assigned a single, determined file name and location. Also, having the version in the name, if you change the content, to fix a bug or add an imporvement, and rename the file to reflect the change, then all clients will automatically download the new one. If you keep a constant name, clients have no way to be informed of changes in the file.

Its a very nice one. I should be getting my new computer today, so once it is all installed, I'll try to cruise your map online ;)

-ph
Canis meus id comedit.
User avatar
iF
GLL Admin
Posts: 133
Joined: Thu Dec 18, 2003 8:20 pm
Contact:

Post by iF »

I added something with MapEditor...

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="abmap" version="1.0.1" author="Duke-Nukem" category="polygon/regular">
 <Map version="0.2.8">
  <World>
   <Field>
   <Axes number="4"/>
   <Spawn x="235" y="90" xdir="0" ydir="1"/>
   <Spawn x="245" y="590" xdir="0" ydir="-1"/>
   <Zone effect="death">
    <ShapeCircle radius="40">
     <Point x="240" y="110"/>
    </ShapeCircle>
   </Zone>
   <Zone effect="death">
    <ShapeCircle radius="40">
     <Point x="240" y="570"/>
    </ShapeCircle>
   </Zone>
   <Wall height="10">
    <Point x="0" y="0"/>
    <Point x="0" y="680"/>
    <Point x="480" y="680"/>
    <Point x="480" y="0"/>
    <Point x="0" y="0"/>
   </Wall>
   <Wall height="10">
    <Point x="50" y="310"/>
    <Point x="50" y="330"/>
    <Point x="225" y="330"/>
    <Point x="225" y="310"/>
    <Point x="50" y="310"/>
   </Wall>
   <Wall height="10">
    <Point x="255" y="310"/>
    <Point x="255" y="330"/>
    <Point x="430" y="330"/>
    <Point x="430" y="310"/>
    <Point x="255" y="310"/>
   </Wall>
   <Wall height="10">
    <Point x="50" y="350"/>
    <Point x="50" y="370"/>
    <Point x="225" y="370"/>
    <Point x="225" y="350"/>
    <Point x="50" y="350"/>
   </Wall>
   <Wall height="10">
    <Point x="255" y="350"/>
    <Point x="255" y="370"/>
    <Point x="430" y="370"/>
    <Point x="430" y="350"/>
    <Point x="255" y="350"/>
   </Wall>
   <Wall height="10">
    <Point x="100" y="20"/>
    <Point x="100" y="40"/>
    <Point x="380" y="40"/>
    <Point x="380" y="20"/>
    <Point x="100" y="20"/>
   </Wall>
   <Wall height="10">
    <Point x="100" y="640"/>
    <Point x="100" y="660"/>
    <Point x="380" y="660"/>
    <Point x="380" y="640"/>
    <Point x="100" y="640"/>
   </Wall>
   <Wall height="10">
    <Point x="20" y="20"/>
    <Point x="20" y="330"/>
    <Point x="40" y="330"/>
    <Point x="40" y="40"/>
    <Point x="80" y="40"/>
    <Point x="80" y="20"/>
    <Point x="20" y="20"/>
   </Wall>
   <Wall height="10">
    <Point x="400" y="20"/>
    <Point x="460" y="20"/>
    <Point x="460" y="330"/>
    <Point x="440" y="330"/>
    <Point x="440" y="40"/>
    <Point x="400" y="40"/>
    <Point x="400" y="20"/>
   </Wall>
   <Wall height="10">
    <Point x="20" y="350"/>
    <Point x="20" y="660"/>
    <Point x="80" y="660"/>
    <Point x="80" y="640"/>
    <Point x="40" y="640"/>
    <Point x="40" y="350"/>
    <Point x="20" y="350"/>
   </Wall>
   <Wall height="10">
    <Point x="400" y="660"/>
    <Point x="460" y="660"/>
    <Point x="460" y="350"/>
    <Point x="440" y="350"/>
    <Point x="440" y="640"/>
    <Point x="400" y="640"/>
    <Point x="400" y="660"/>
   </Wall>
   <Wall height="10">
    <Point x="160" y="128"/>
    <Point x="165" y="151"/>
    <Point x="178" y="172"/>
    <Point x="198" y="186"/>
    <Point x="224" y="192"/>
   </Wall>
   <Wall height="10">
    <Point x="256" y="192"/>
    <Point x="279" y="187"/>
    <Point x="300" y="174"/>
    <Point x="314" y="154"/>
    <Point x="320" y="128"/>
   </Wall>
   <Wall height="10">
    <Point x="320" y="560"/>
    <Point x="315" y="537"/>
    <Point x="302" y="516"/>
    <Point x="282" y="502"/>
    <Point x="256" y="496"/>
   </Wall>
   <Wall height="10">
    <Point x="224" y="496"/>
    <Point x="201" y="501"/>
    <Point x="180" y="514"/>
    <Point x="166" y="534"/>
    <Point x="160" y="560"/>
   </Wall>
   </Field>
  </World>
 </Map>
</Resource>
Attachments
map.png
(6.4 KiB) Downloaded 199 times
User avatar
ed
Match Winner
Posts: 613
Joined: Mon Feb 13, 2006 12:34 pm
Location: UK

Post by ed »

If, I take back what I said. I like your map editor. Used in conjuntion with a text editor it can save a lot of time. Thanks.

philippeqc, I've changed the naming convention to match.

I've put up a new map now. Needs a bit of reworking, it's basically a Race server that looks like this:

Image
meriton
Round Winner
Posts: 256
Joined: Sun Nov 20, 2005 3:33 am

Post by meriton »

I've played a few matches on it tonight. As I said in chat, I like the concept of making grinding more difficult by putting obstacles in place. Nice idea, and nice execution.

I do have one small complaint, though. If teams are uneven and very small, the team that grinds can reach the two fortresses before the player that can not, which gives it a very big advantage. It's not as bad as with that fortress server with 4 zones at the same place and start outside, where a single player has lost before he can even reach the zone, but the tactical imbalance is really big. Most players don't stand a chance alone.

Perhaps this could be fixed by movind the zones closer to the starting locations? (Perhaps even to the starting location?)
Post Reply