Author Topic: Track tiles table  (Read 120 times)

dreadnaut

  • Master of Opponents
  • ***
  • Posts: 813
    • View Profile
    • chezDreadnaut
Track tiles table
« on: February 22, 2019, 11:06:24 PM »
Does anyone have a table with all the track tiles, with id, dimensions and possibly the name?
I was about to start compiling one, but with all the editors and tools around, there's bound to be one already :)

Any format is fine!


Duplode

  • Breaths Stunts
  • ******
  • Posts: 3556
  • Through the astral door - to soar
    • View Profile
    • The Southern Cross Stunts Trophy
Re: Track tiles table
« Reply #1 on: February 23, 2019, 02:43:43 AM »
There is the Track File article in the Wiki, though the arrangement of the tables there isn't necessarily as tidy as one might want.

For reverse lookups, this function in the Carography code might be convenient. (On what things like "Q3" and "Sin" mean, see here and here.)

dreadnaut

  • Master of Opponents
  • ***
  • Posts: 813
    • View Profile
    • chezDreadnaut
Re: Track tiles table
« Reply #2 on: February 24, 2019, 09:06:18 PM »
Thanks Duplode, the code is a good starting point. I'll compile a CSV this week.

I'm trying to rewrite the track preview, so that it can load different track skins from a single image, like the one used in Bliss. It would render images faster, and it would be easier to customise :)

Cas

  • Otto's Student
  • **
  • Posts: 314
  • Think different. That's OK... as long as you think
    • View Profile
    • Dimioca Labs
Re: Track tiles table
« Reply #3 on: February 27, 2019, 07:20:03 PM »
Bliss has a file xlation.dat, if I remember correctly, that contains the look up tables for all track elements. It also includes information on what each item actually is, such as its dimensions, where it's entered from and where to goes to. If you need more info on that and it would be useful so you can convert that file to whichever format you want to extract any useful information from it instead of having to recreate it by hand, let me know. It took me some time to build that file, ha, ha.

Also, feel free use the graphics. There's also the 7x7 version of the graphics that Bliss used before (Castunts version 2.1). I think it's here somewhere. Otherwise, I can send it to you. But there's a catch. The new version (22x22 tiles) is transparent with an alpha channel. The old version (7x7 tiles) I think was opaque and it includes the grid, so it would require some editing. The graphics are not made one set after the other. I completely recreated them. The old one is inspired in the original Stunts editor graphics and because they were introduced gradually, they are able to fit alongside the originals. If you instead scale down the 22x22 tiles, they probably will not fit with the original graphics.
Earth is my country. Science is my religion.