I've been poking around in the TMX files the last couple of days, starting to learn the system - the classes and resources. I see that the ordering of layers isn't necessarily always the same. The spawn layer is mostly second, after keys, but sometimes this varies, and in some maps there are multiple spawn layers for different groups of monsters and/or NPCs.
Does the order matter, since those layers are not visible?? What is the purpose of splitting the spawns? Performance enhancement?
Planning to dig into the TMX parsing class next...
We have a new Beta: v0.8.13 ("Troubling Times") !
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.12.1) from Google, F-Droid, our server, or itch.io
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.12.1) from Google, F-Droid, our server, or itch.io
Spawn layer questions
-
- VIP
- Posts: 1353
- Joined: Tue Feb 08, 2011 7:05 am
- android_version: 7.0
-
- VIP
- Posts: 655
- Joined: Wed Feb 23, 2011 3:35 pm
- android_version: 2.2
Re: Spawn layer questions
Don't look at the raw files. Use the editor tiled.
Level: 101, XP: 18780586, Gold: 358739
HP: 398, AC: 303%, AD: 84-95, AP: 4, ECC: 12, CM: -, BC: 13%, DR: 0
RoLS: 2, ElyR: 1, RoL: 1, ChaR: 1, GoLF: 1, ShaF: 1, SRoV: 2, VSH: 1, WMC: 0, GoW: 0
HP: 398, AC: 303%, AD: 84-95, AP: 4, ECC: 12, CM: -, BC: 13%, DR: 0
RoLS: 2, ElyR: 1, RoL: 1, ChaR: 1, GoLF: 1, ShaF: 1, SRoV: 2, VSH: 1, WMC: 0, GoW: 0
-
- Site Admin
- Posts: 1187
- Joined: Fri Jan 28, 2011 10:17 pm
- android_version: 14 - Android 14
- Contact:
-
- VIP
- Posts: 1353
- Joined: Tue Feb 08, 2011 7:05 am
- android_version: 7.0
Re: Spawn layer questions
I'm using Tiled already. I've also installed the Java JDK and the Android SDK, but haven't tried to do any compiling . In fact I'm not sure if there's another tool that I need to build a running app.
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
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
- nyktos
- VIP
- Posts: 3463
- Joined: Wed Sep 14, 2011 5:38 pm
- android_version: 7.1 - Nougat
- Location: Nor City, Dhayavar
Re: Spawn layer questions
i thought all you needed was notepad++ to unpack the source...
whats the other stuff for?
i guess i could google it...
whats the other stuff for?
i guess i could google it...

"Embrace the Shadow"

[Lv: 60] [HP: 175] [AC: 361] [AD: 25-39] [BC: 75]
[Dual Wielding Swords] [Unarmored Fighting]

[Lv: 60] [HP: 175] [AC: 361] [AD: 25-39] [BC: 75]
[Dual Wielding Swords] [Unarmored Fighting]
-
- VIP
- Posts: 1353
- Joined: Tue Feb 08, 2011 7:05 am
- android_version: 7.0
Re: Spawn layer questions
Notepad is all you need just to read and modify the source code, both Java and xml, but the other tools are to build with.nyktos wrote:i thought all you needed was notepad++ to unpack the source...
whats the other stuff for?
i guess i could google it...
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
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
- nyktos
- VIP
- Posts: 3463
- Joined: Wed Sep 14, 2011 5:38 pm
- android_version: 7.1 - Nougat
- Location: Nor City, Dhayavar
Re: Spawn layer questions
do they work in conjunction with Tiled?
im assuming they do or you wouldnt bother...
and using these tools...
can oskar / scott use whats produced with them without changing what u submit?
just curious, experimenting over here...

im assuming they do or you wouldnt bother...
and using these tools...
can oskar / scott use whats produced with them without changing what u submit?
just curious, experimenting over here...

"Embrace the Shadow"

[Lv: 60] [HP: 175] [AC: 361] [AD: 25-39] [BC: 75]
[Dual Wielding Swords] [Unarmored Fighting]

[Lv: 60] [HP: 175] [AC: 361] [AD: 25-39] [BC: 75]
[Dual Wielding Swords] [Unarmored Fighting]
-
- VIP
- Posts: 1353
- Joined: Tue Feb 08, 2011 7:05 am
- android_version: 7.0
Re: Spawn layer questions
Tiled reads and writes TMX files, which the AT app then reads directly, with no other modification necessary. The other data, for monsters, quests, items, etc are stored in XML files, which I believe are also read directly by the app, though I haven't yet identified the code that does that. I haven't tried the editors for those either.nyktos wrote:do they work in conjunction with Tiled?
im assuming they do or you wouldnt bother...
and using these tools...
can oskar / scott use whats produced with them without changing what u submit?
just curious, experimenting over here...
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
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
-
- Site Admin
- Posts: 1187
- Joined: Fri Jan 28, 2011 10:17 pm
- android_version: 14 - Android 14
- Contact:
Re: Spawn layer questions
That is pretty much how it works. The only part left out is that the online content editor is used to create all the non-map content. It basically takes your input from the web page and turns it into an XML syntaxed file. Which as Tomcat so excellently pointed out the app gets the bulk of its information.Tomcat wrote:Tiled reads and writes TMX files, which the AT app then reads directly, with no other modification necessary. The other data, for monsters, quests, items, etc are stored in XML files, which I believe are also read directly by the app, though I haven't yet identified the code that does that. I haven't tried the editors for those either.nyktos wrote:do they work in conjunction with Tiled?
im assuming they do or you wouldnt bother...
and using these tools...
can oskar / scott use whats produced with them without changing what u submit?
just curious, experimenting over here...
Although we are currently looking at options to standardize our resource files so that it is easier to both add and extract data.
We are looking to simplify the maintenance and upgrades of the files. As well as hopefully cutting down the time it takes to create the content.
sdevaney
-
- VIP
- Posts: 1353
- Joined: Tue Feb 08, 2011 7:05 am
- android_version: 7.0
Re: Spawn layer questions
Is there documentation on the content editor? I've seen a couple of development tutorials that seem out of date. Even just a list of definitions of the field would help ... Many are self explanatory to the average player, but others are harder.sdevaney wrote:
That is pretty much how it works. The only part left out is that the online content editor is used to create all the non-map content. It basically takes your input from the web page and turns it into an XML syntaxed file. Which as Tomcat so excellently pointed out the app gets the bulk of its information.
Although we are currently looking at options to standardize our resource files so that it is easier to both add and extract data.
We are looking to simplify the maintenance and upgrades of the files. As well as hopefully cutting down the time it takes to create the content.
sdevaney
For instance on the Monster tab, what are Size (dimension of icon in tiles?)

Anything I can do to help?
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
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