Map creator issue

Designed a level that creates new, exciting, and challenging Armagetron game play? Or maybe just something funky. Put it right here.
Post Reply
User avatar
Jules Winnfield
On Lightcycle Grid
Posts: 16
Joined: Thu Nov 11, 2010 9:21 pm

Map creator issue

Post by Jules Winnfield »

Hi all,
I'm trying to implement a Map creator into my Dedicated Server GUI.

However when I save the map from the app I always start outside the outer-rim :P

Can someone tell me what's wrong with my test map.

The saved map:

Code: Select all

<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE Resource SYSTEM "AATeam/map-0.2.8.0_rc4.dtd">
<Resource type="aamap" name="test" version="0.0.1" author="GUI" category="test">
  <Map version="2">
    <World>
      <Field>
        <Spawn x="21" y="16" xdir="0" ydir="0" />
        <Spawn x="28" y="123" xdir="0" ydir="0" />
        <Spawn x="28" y="280" xdir="0" ydir="0" />
        <Spawn x="28" y="452" xdir="0" 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>
        <Wall>
          <Point x="67" y="13" />
          <Point x="71" y="39" />
        </Wall>
        <Wall>
          <Point x="74" y="111" />
          <Point x="66" y="155" />
        </Wall>
        <Wall>
          <Point x="62" y="252" />
          <Point x="66" y="316" />
        </Wall>
        <Wall>
          <Point x="60" y="446" />
          <Point x="66" y="481" />
        </Wall>
      </Field>
    </World>
  </Map>
</Resource>
Attachments
The map creator GUI that is save to a map
The map creator GUI that is save to a map

User avatar
AI-team
Shutout Match Winner
Posts: 1021
Joined: Tue Jun 23, 2009 6:17 pm
Location: Germany/Munich
Contact:

Re: Map creator issue

Post by AI-team »

I would say they seem fine , don't they?
  
 
"95% of people believe in every quote you post on the internet" ~ Abraham Lincoln
 
 

User avatar
Jules Winnfield
On Lightcycle Grid
Posts: 16
Joined: Thu Nov 11, 2010 9:21 pm

Re: Map creator issue

Post by Jules Winnfield »

AI-team wrote:I would say they seem fine , don't they?
A yes you're right.

I got it working now.

It is just strange, when I first tried the map I saved the map to the resource folder of the dedicated server and when I tried to test it using the client I got the error that the map couldn't be found on the client and it tried to download it from repo (not there of course). So I placed the map in the resource folder of the client.

And it started the round, however as I found out now the map still gets downloaded from the server and the map added to the client resource folder is not used at all?

Anyway thanks for your help I can go on now! :)

Post Reply