v0.8.9 (Bugfixes + translations) released to Google Play!

Useful links
Source code of the game - Contribution guide - ATCS Editor - Translate the game on Weblate - Example walkthrough - Andor's Trail Directory - Join the Discord
Get the game (v0.8.9) from Google, F-Droid, our server, or itch.io

Worldmap.xml?

Discussions of the development process of the game.
Post Reply
theGleep
Posts: 38
Joined: Tue Oct 25, 2011 4:52 pm
android_version: 3.1 - Honeycomb
Location: West Valley City, Utah, USA, Earth
Contact:

Worldmap.xml?

Post by theGleep »

Is there an editor or any automated mechanism to apply this file?

I searched for "Worldmap" in the forums, but didn't see any mention of such.

Thanks
User avatar
PK17
Posts: 839
Joined: Fri Jul 20, 2012 7:33 pm
android_version: 4.0

Re: Worldmap.xml?

Post by PK17 »

We use an editor called "Tiled", if that is what you were looking for.
Take a stop by my game thread for some forum fun!!!

http://andorstrail.com/viewtopic.php?f=9&t=4577
sdevaney
Site Admin
Posts: 1177
Joined: Fri Jan 28, 2011 10:17 pm
android_version: 14 - Android 14
Contact:

Re: Worldmap.xml?

Post by sdevaney »

The worldmap basically works by taking a screenshot of the map and then stitching the images together to display them on the worldmap file.
Tomcat
VIP
Posts: 1353
Joined: Tue Feb 08, 2011 7:05 am
android_version: 7.0

Re: Worldmap.xml?

Post by Tomcat »

PK17 wrote:We use an editor called "Tiled", if that is what you were looking for.
The Tiled editor is for making the individual map files, called TMX files, not xml.files. The worldmap.xml file is constructed by the game code itself, based on s template xml file, as Scott describes.
Norbert
Lvl:52 XP:2597576 AP:12 HP:124 AC:282 AD:30-42 CHS:27 CM:2.0 ECC:18% BC:132 DR:2
Skills: CS:2 IF:2 Ev:3 Rg:1 DgPro:1 1HPro:2 LtAPro:2 FS-DW:2 Sp-DW:1
Equip: FP BSS JoF RoP PRoB SrpHbk GoLF EnhCH EnhCB
Other: DotSP VD GoW FB TG RoD+6 Oegyth:6
User avatar
PK17
Posts: 839
Joined: Fri Jul 20, 2012 7:33 pm
android_version: 4.0

Re: Worldmap.xml?

Post by PK17 »

Oops :oops: seems I need to read a little slower.
Take a stop by my game thread for some forum fun!!!

http://andorstrail.com/viewtopic.php?f=9&t=4577
theGleep
Posts: 38
Joined: Tue Oct 25, 2011 4:52 pm
android_version: 3.1 - Honeycomb
Location: West Valley City, Utah, USA, Earth
Contact:

Re: Worldmap.xml?

Post by theGleep »

So there isn't something that can read WorldMap.xml to build a map with? (Outside the game?)

I can't wait to retire so I can write something like that up... :)
Ian
Posts: 395
Joined: Wed Nov 02, 2011 10:24 am
android_version: 4.2
Location: Germany and the world of AT :D

Re: Worldmap.xml?

Post by Ian »

theGleep wrote:So there isn't something that can read WorldMap.xml to build a map with? (Outside the game?)

I can't wait to retire so I can write something like that up... :)
Well, what you can do is, copying all files in mnt/storage/andors-trail/worldmap from your phne to your PC. Open the .html files and you can see your AT worldmap!
Mapmaker for Andor's Trail
Lvl: 73, XP: 6655552, Gold: 327905, RoLS: -, ElyR: -, RoL: -, ChaR: 1, GoLF: 1, ShaF: 2, SRoV: 1, VSH: 1, WMC: 1, GoW: 1
HP: 58, AC: 260%, AD: 52-62, AP: 3, ECC: -, CM: -, BC: 164%, DR: 1
theGleep
Posts: 38
Joined: Tue Oct 25, 2011 4:52 pm
android_version: 3.1 - Honeycomb
Location: West Valley City, Utah, USA, Earth
Contact:

Re: Worldmap.xml?

Post by theGleep »

oh...~realy~? That's good to know!

---------------------combined posts-----------------------------------------------------
Ha! Didn't even have to copy the files to my pc! :)

ETA: But that map seems to be outdated. I'm exploring "burntwood" (or whatever it is...the new mine...) and it's not on the map?
Pyrizzle
VIP
Posts: 6435
Joined: Sat Jun 25, 2011 1:00 am
android_version: 6.0 - Marshmallow
Location: Fire Nation HQ

Re: Worldmap.xml?

Post by Pyrizzle »

Charwood is the name of the new mine added in V7.
---------------------------------------------------------------------------------------

Player Name:Pyro
Lvl:24XP:244KAP:2/10HP:80AC: 189%AD:13-21CHS:-6CM: 0BC: 20%DR:2
IF:2Reg:2FSDW:1

May Elythara bless you and light your path!

---------------------------------------------------------------------------------------
Ian
Posts: 395
Joined: Wed Nov 02, 2011 10:24 am
android_version: 4.2
Location: Germany and the world of AT :D

Re: Worldmap.xml?

Post by Ian »

theGleep wrote:oh...~realy~? That's good to know!

---------------------combined posts-----------------------------------------------------
Ha! Didn't even have to copy the files to my pc! :)

ETA: But that map seems to be outdated. I'm exploring "burntwood" (or whatever it is...the new mine...) and it's not on the map?
Yes that might be because your device ran out of RAM. If that happens, it doesn't render the picture of the map you're in. You would need to reload your savegame and make your way again through this area. :(


Maybe you could add some code to the HtML file, so it renders all the pictures in your worldmap which you got in your worldmap folder?
Mapmaker for Andor's Trail
Lvl: 73, XP: 6655552, Gold: 327905, RoLS: -, ElyR: -, RoL: -, ChaR: 1, GoLF: 1, ShaF: 2, SRoV: 1, VSH: 1, WMC: 1, GoW: 1
HP: 58, AC: 260%, AD: 52-62, AP: 3, ECC: -, CM: -, BC: 164%, DR: 1
Post Reply