Navigation

    TripleA Logo

    TripleA Forum

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

    How to modify borders on an existing map

    Map Making
    6
    108
    20448
    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.
    • Davor Pavlić
      Davor Pavlić @TheDog last edited by

      @thedog

      Alright ill unzip it, didn't know i had to.

      That's enough for today, ill use this thread to spam questions as i go on. Thanks for the amount of help, appreciate it

      TheDog 1 Reply Last reply Reply Quote 0
      • TheDog
        TheDog @Davor Pavlić last edited by

        @davor-pavlić
        I think I have resolved the issue.
        In TripleA map tools you cannot use the variable %username% as your username, you must change this to your real username.

        I will amend my posts when you confirm this for later readers.

        Davor Pavlić 1 Reply Last reply Reply Quote 1
        • Davor Pavlić
          Davor Pavlić @TheDog last edited by

          @thedog

          I think you are right. Whenever i copied your entire destination with variable %username% the png was empty. I decided to just abandon experimenting with that for now and just used your png file that you provided.

          I have also played a bit with the png and came up with these borders for 1939 so far.
          8dc2b298-75c6-4e90-8459-4c743f849a7d-image.png

          No zone is deleted or added, the TT number is the same, only the borders were changed to include full Poland, Albania and Yugoslavia. I guess 'Croatia' zone would have to be renamed to Yugoslavia in future, but that's not what ill focus on right now.

          TheDog 1 Reply Last reply Reply Quote 1
          • TheDog
            TheDog @Davor Pavlić last edited by

            @davor-pavlić
            As you will realise the relief TT now do not match the changed baseTiles.

            You could try and reconstruct the reliefTiles with your new information.

            If you have Illustrator or Inkscape
            https://inkscape.org/release/inkscape-1.2.1/
            That is software with layers and vectors you can quickly see the difference and work out what to change in GIMP/Photoshop.

            When the graphics are done, then you have to sort out the code like in Cernels post.
            https://forums.triplea-game.org/topic/3337/how-to-modify-borders-on-an-existing-map/9?page=1
            That is Centers, Polygons, Place(ment).

            Davor Pavlić 1 Reply Last reply Reply Quote 0
            • Davor Pavlić
              Davor Pavlić @TheDog last edited by Davor Pavlić

              @thedog

              I've downloaded Inkscape and opened my modified map.png. How do i reconstruct relief tiles from here?

              TheDog 1 Reply Last reply Reply Quote 0
              • TheDog
                TheDog @Davor Pavlić last edited by

                @davor-pavlić
                Same method as for the baseTiles

                the file manager path to iron wars reliefTiles is
                C:\Users%username%\triplea\downloadedMaps\iron_war\map\reliefTiles

                TripleA path is as above but your actual username

                Then load into Inkscape or maybe GIMP if it supports layers.

                If you are using Inkscape, this might be use, if you have not seen it
                https://forums.triplea-game.org/topic/3318/easier-map-making-with-inkscape-reusable-art-assets

                Davor Pavlić 1 Reply Last reply Reply Quote 1
                • Davor Pavlić
                  Davor Pavlić @TheDog last edited by Davor Pavlić

                  @thedog

                  Alright, so let me make sure i understand.

                  So what i need to do is open the blank map in Inkscape and trace the reliefTiles over the blank map?

                  I'm not very sure how that is done exactly, im kind of overwhelmed by the whole reliefTile thing lol

                  I understand what you mean by layers but im confused how to do that, im not familiar with inkscape.

                  TheDog 1 Reply Last reply Reply Quote 0
                  • TheDog
                    TheDog @Davor Pavlić last edited by TheDog

                    @davor-pavlić
                    For your purposes Inkscape is just a viewer, it is much more, but its a quick method for seeing the changes you have made.

                    baseTiles are required for TripleA to play the game.
                    reliefTiles are not needed by TripleA, but they look good on the human eye and they sit visually on top of the baseTiles.

                    Lets assume you have done the baseTiles correctly, you then need to change the reliefTiles.
                    To see the changes in game you would have to

                    • make the changes on the reliefTiles
                    • break the big png into smaller tiles,
                    • load TripleA
                    • load the game
                    • check the changes
                      repeat until correct

                    .
                    Using Inkscape as a viewer

                    • make the changes on the reliefTiles
                    • Load the big relief png on top of the big baseTiles png
                    • check the changes
                      repeat until correct

                    So the Inkscape cycle is a lot shorter and quicker.
                    Then you just once;

                    • break the big png into smaller tiles,
                    • load TripleA
                    • load the game
                    • check the changes

                    Does this make sense?

                    TheDog 1 Reply Last reply Reply Quote 0
                    • TheDog
                      TheDog @TheDog last edited by

                      @Davor-Pavlić
                      Maybe I should not of posted that link about Inkscape as it just confused you.

                      That post was really about a new way to make baseTiles by tracing of say a fantasy map, because its vector based and a lot easier to make changes.

                      Then for non-graphic artists, like me to make the reliefTiles.

                      As an aside you can also download complete vector images/svg done by other people off the internet.

                      Davor Pavlić 1 Reply Last reply Reply Quote 0
                      • Davor Pavlić
                        Davor Pavlić @TheDog last edited by Davor Pavlić

                        @thedog

                        Okay well i want to get the baseTile map working properly first, ill mingle with relief once i have the base working properly. I modified the centre picker and that works fine, but when i open polygon grabber i need to click into individual TTs and fill them, but whenever i click into any of the TTs, the whole screen gets filled like borders don't exist. Like this :
                        3cf9d299-f26f-4c12-80ee-cbebda1e8ac9-image.png

                        f9775ba8-3b27-4ea5-9989-f73244788b73-image.png

                        What is the solution to this?

                        TheDog Panther 2 Replies Last reply Reply Quote 0
                        • TheDog
                          TheDog @Davor Pavlić last edited by

                          @davor-pavlić said in How to modify borders on an existing map:

                          But are you saying i need to open the tile reconstructor and do the same for relieftiles to get another large map for relief?

                          Yes, I am assuming that you do want to change it, so it matches the baseTiles.

                          Im away from my keyboard, I will post later today.

                          Davor Pavlić 1 Reply Last reply Reply Quote 0
                          • Davor Pavlić
                            Davor Pavlić @TheDog last edited by Davor Pavlić

                            @thedog

                            Alright i think i finally understand how to do relief, i also edited my comment for polygons issues i have.

                            Sure, whenever you are available works for me.

                            1 Reply Last reply Reply Quote 0
                            • Panther
                              Panther Admin Moderators @Davor Pavlić last edited by Panther

                              @davor-pavlić said in How to modify borders on an existing map:

                              @thedog

                              Okay well i want to get the baseTile map working properly first, ill mingle with relief once i have the base working properly. I modified the centre picker and that works fine, but when i open polygon grabber i need to click into individual TTs and fill them, but whenever i click into any of the TTs, the whole screen gets filled like borders don't exist. Like this :
                              3cf9d299-f26f-4c12-80ee-cbebda1e8ac9-image.png

                              f9775ba8-3b27-4ea5-9989-f73244788b73-image.png

                              What is the solution to this?

                              Indeed relevant borders don't exist. The solution is to add black borders to the edges of the image, too.

                              TheDog Davor Pavlić 2 Replies Last reply Reply Quote 1
                              • TheDog
                                TheDog @Panther last edited by TheDog

                                @panther
                                Thanks!
                                I'm no expert, I know a little and that's dangerous. I was getting the same error as @Davor-Pavlić and I did not know why. 🙄

                                Panther 1 Reply Last reply Reply Quote 0
                                • Davor Pavlić
                                  Davor Pavlić @Panther last edited by Davor Pavlić

                                  @panther @TheDog

                                  I added a black outline on all edges of the map, it didnt fix the problem. Technically the original map already has some outline as well but i added a thicker outline and still the whole screen turns red.

                                  There are no gaps between TTs, and i only changed the inland TT borders, sea zones should not be affected, but i got no idea why it doesnt recognize any borders at all on the map.

                                  outline at the edges of the map :

                                  2f833b02-fcc4-4ce3-b1d0-ba287ccb3422-image.png

                                  1 Reply Last reply Reply Quote 1
                                  • Davor Pavlić
                                    Davor Pavlić last edited by Davor Pavlić

                                    The edge borders are the only borders the map recognizes.

                                    220bd79a-2634-47eb-8faa-3fa8b07c8796-image.png

                                    Panther 1 Reply Last reply Reply Quote 0
                                    • Panther
                                      Panther Admin Moderators @Davor Pavlić last edited by

                                      @davor-pavlić
                                      Please upload the entire map-file, so we can take a look at it.

                                      Davor Pavlić 1 Reply Last reply Reply Quote 1
                                      • Davor Pavlić
                                        Davor Pavlić @Panther last edited by

                                        @panther

                                        https://drive.google.com/drive/folders/1d4lOQ2CbHLe_YhN-n6Gy3XuAaWHuE6lX?usp=sharing

                                        Contains a map without any changes to edges of the map, and a map with added edges.

                                        Panther 2 Replies Last reply Reply Quote 0
                                        • Panther
                                          Panther Admin Moderators @Davor Pavlić last edited by Panther

                                          @davor-pavlić

                                          You didn't turn antialiasing off, so your lines are not pure black, what is necessary.

                                          Example:

                                          example.png

                                          See:
                                          https://github.com/triplea-game/triplea/blob/master/docs/map-making/tutorial/map-and-map-skin-making.md

                                          1 Reply Last reply Reply Quote 1
                                          • Panther
                                            Panther Admin Moderators @Davor Pavlić last edited by

                                            @davor-pavlić

                                            Also I recommend to keep every territory in plain white.
                                            Restricted territories are not to be marked or defined in the basetile-map.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 2 / 6
                                            • First post
                                              Last post
                                            Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums