Announcement

Collapse
No announcement yet.

TileEdit: first beta release is here

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • (Back from a one week summercamp. )

    E,

    Thanks for the test of the result of overflow-underflow with respect to borders.

    The effect is not random: In the example you posted the center tile is a beach-tile (TileSetIndex 13), the tile to the south-east is a plains-tile (TileSetIndex 1) so the border used is 13-01-SE.
    The cutout part of the tile is 507 pixels larger than 352 pixels, so ctp2 uses the next available bytes from the tile-file-witch is the id of the next border and then as many pixels as needed from that border: in this case it is the SW and part of the NW border for 13-2 witch is beach to tundra.

    The following images ilustrates the problem.
    The first tile is the tile as you want it to be. The other is the tile as ctp2 displays it. I have used black for the borderID, dark red for 13-2-SW, and dark green for 12-2-NW.
    Attached Files
    Visit my CTP-page and get TileEdit and a few other CTP related programs.
    Download and test SpriteEdit development build.

    Comment


    • Welcome back! Thanks for checking this out.

      But also I notice this rule seemed only to apply to borders on the SE border portion of a tile. In the screenshot you can see I have other tiles that I think are bigger than the 352. So I'm guessing that it is therefore replacing the SE border spots but these spots are covered up with the beach graphic so it doesn't show up unless the SE part is one of the border blacks. Is this "overflow affect" right?
      If so I'll adjust accordingly... but any chance we can the overflow "fill affect" the NE side instead of the SE? because with mountains, hills forests they use the SW and SE but not the other and if this fill effect is as I described than I can make some great forest mountains and jungle mountain borders to my normal mountains

      BTW do you think the new beach tiles look nicer than the standard sandy beach?
      Last edited by Ekmek; July 16, 2005, 22:12.
      Formerly known as "E" on Apolyton

      See me at Civfanatics.com

      Comment


      • The underflow-effect applies to all sides, but for the other borders it is less aparent, as the pixels used are taken from the other borders between the two tiles.

        I don't know if it is possible to use the underflow-behaviour in the way you suggest, but its worth a try. Try change the background color for the cutout part to 0-0-12 in stead of 0-0-24. This way you specify that ctp should use the NW pixels and not the SE pixels. It might totally mess up the borders though.

        BTW do you think the new beach tiles look nicer than the standard sandy beach?
        They sure look more natural, and that imo makes them look better.
        Visit my CTP-page and get TileEdit and a few other CTP related programs.
        Download and test SpriteEdit development build.

        Comment

        Working...
        X