Resource Respitory- Adding Maps

Designed a level that creates new, exciting, and challenging Armagetron game play? Or maybe just something funky. Put it right here.
Post Reply
BTD
On Lightcycle Grid
Posts: 49
Joined: Wed Jan 28, 2009 7:34 am

Resource Respitory- Adding Maps

Post by BTD »

Hi,
When i go to upload a map on the resource respitory it say:
ERROR: Validation Failed!

Could some1 help me outt?
User avatar
Infa(mous)
Round Winner
Posts: 255
Joined: Thu Aug 14, 2008 11:27 pm

Post by Infa(mous) »

1. I'm assuming you have an account.
2. Are you using the right dtd?
-Infamous
BTD
On Lightcycle Grid
Posts: 49
Joined: Wed Jan 28, 2009 7:34 am

Post by BTD »

umm yea i have an account
and yea it says dtd. on file.

what can be the problem
BTD
On Lightcycle Grid
Posts: 49
Joined: Wed Jan 28, 2009 7:34 am

Post by BTD »

ooops sorry!

its not a dtd. file

how can i change it into one??
User avatar
Infa(mous)
Round Winner
Posts: 255
Joined: Thu Aug 14, 2008 11:27 pm

Post by Infa(mous) »

It doesn't need to be a dtd file. I'm just asking if you put the right dtd in it. The code you should have is:

Code: Select all

<!DOCTYPE Resource SYSTEM "AATeam/map-0.2.8.0.dtd">
-Infamous
BTD
On Lightcycle Grid
Posts: 49
Joined: Wed Jan 28, 2009 7:34 am

Post by BTD »

and umm im not sure but where do i put this code?
User avatar
Infa(mous)
Round Winner
Posts: 255
Joined: Thu Aug 14, 2008 11:27 pm

Post by Infa(mous) »

Code: Select all

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE Resource SYSTEM "AATeam/map-0.2.8.0.dtd">
<Resource type="aamap" name="square" version="1.0.1" author="Anonymous" category="polygon/regular">
	<Map version="2">
		<!-- The original square map, technically created by z-man.
	         Converted to XML by philippeqc.
	         License: Public Domain. Do with it what you want.
        -->

		<World>
			<Field>
				<Spawn	x="255"	y="50"	xdir="0"	ydir="1"	/>
				<Spawn	x="245"	y="450"	xdir="0"	ydir="-1"	/>
				<Spawn	x="50"	y="245"	xdir="1"	ydir="0"	/>
				<Spawn	x="450"	y="255"	xdir="-1"	ydir="0"	/>

				<Spawn	x="305"	y="100"	xdir="0"	ydir="1"	/>
				<Spawn	x="195"	y="400"	xdir="0"	ydir="-1"	/>
				<Spawn	x="100"	y="195"	xdir="1"	ydir="0"	/>
				<Spawn	x="400"	y="305"	xdir="-1"	ydir="0"	/>

				<Spawn	x="205"	y="100"	xdir="0"	ydir="1"	/>
				<Spawn	x="295"	y="400"	xdir="0"	ydir="-1"	/>
				<Spawn	x="100"	y="295"	xdir="1"	ydir="0"	/>
				<Spawn	x="400"	y="205"	xdir="-1"	ydir="0"	/>

				<Wall>
					<Point	x="0"	y="0"	/>
					<Point	x="0"	y="500"	/>
					<Point	x="500"	y="500"	/>
					<Point	x="500"	y="0"	/>
					<Point	x="0"	y="0"	/>
				</Wall>
			</Field>
		</World>
	</Map>
</Resource>

-Infamous
BTD
On Lightcycle Grid
Posts: 49
Joined: Wed Jan 28, 2009 7:34 am

Post by BTD »

yea i have that code in already but it still wont work..

is there a specific spot i should save the map?
Post Reply