Navigation

    TripleA Logo

    TripleA Forum

    • Register
    • Login
    • Search
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags

    Creating baseTiles from polygons.txt

    Map Making
    basetiles polygons.txt sea areas
    2
    4
    718
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • RogerCooper
      RogerCooper last edited by

      I have a map where I have the polygons.txt, centers.txt, map.properties files but no baseTiles folder. Is there any way I can create the base tiles from the text files? The scenario is playable and interesting, but the sea areas are all black.

      C 2 Replies Last reply Reply Quote 0
      • C
        Cernel Moderators @RogerCooper last edited by

        @RogerCooper I don't believe there is a supported way to create any images from any txt files, but you can, instead, just make a monocrome png of the sea colour you want, that has the dimensions that map has specified in map.properties, then get this into the baseTiles (with the splitting utility). What you see of the base tiles are only the sea zones and whatever is not a zone (that may be nothing if the map has single pixel borders between zones). Then you can Export that Map Snapshot with map details off and manage it with a graphic program, if you need it.

        1 Reply Last reply Reply Quote 0
        • C
          Cernel Moderators @RogerCooper last edited by

          @RogerCooper Actually, for getting the image out of the polygons.txt, you can use the Tiles Image Recostructor, selecting whatever folder having no images in it, when asked to get the tiles (not to get any). Of course, be sure to imput the right map dimensions (that are specified in map.properties). Eventually, it will ask if you don't want to draw the polygons. Just say "No" (double negation), and you will get a transparent png with the polygons' borders drawing. So, that is your base image by the polygons, you can just open it with any raster graphic editors (even the classic paint will do, in this case) and fill up the sea zones with the colour you want (it should be called "Bucked Fill Tool", or something), and the rest with white or whatever (or rather first remove the alpha channel, so all transparent pixels become white, then fill the sea zones or whatever).

          RogerCooper 1 Reply Last reply Reply Quote 1
          • RogerCooper
            RogerCooper @Cernel last edited by

            @Cernel It works perfectly. Thanks for the help.

            1 Reply Last reply Reply Quote 1
            • 1 / 1
            • First post
              Last post
            Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums