TripleA Logo TripleA Forum
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags
    • Register
    • Login

    How to modify borders on an existing map

    Scheduled Pinned Locked Moved Map Making
    108 Posts 6 Posters 47.8k Views 5 Watching
    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.
    • TheDogT Offline
      TheDog @Davor Pavlić
      last edited by TheDog

      @davor-pavlić
      copy this into your file manager, the %username% is a DOS command to substitute your userid into the path, assuming you did a default install.

      C:\Users\%username%\triplea\downloadedMaps

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

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

      The map dimensions are held in the map.properties file held here
      C:\Users\%username%\triplea\downloadedMaps\iron_war\map
      They are
      map.width=12001
      map.height=5239

      You will have hundreds of questions 😁 just keep going.

      ps. TripleA cannot understand %username%, this must be replaced the real users name.

      https://forums.triplea-game.org/tags/thedog
      https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

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

        @thedog

        I've found where the baseTiles are, however it doesn't show anything in downloaded maps when i use Tile Reconstructor. I have loads of stuff downloaded in downloadedmaps but the TripleA Tile Reconstructor shows the folder as blank and i can't choose anything.

        632fdd32-babc-4ba4-a394-500fd753a548-image.png

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

          @davor-pavlić
          Make a copy of the original iron_war as we will be over-writing the it.

          where it says
          C:\Program Files\TripleA

          overwrite that text with
          C:\Users\%username%\triplea\downloadedMaps\iron_war\map\baseTiles
          EDIT: where %username% is replaced by the real user name

          then press Enter
          then save the file to your desktop, so you know where is, then cut/paste to here, so outside of the map folder
          C:\Users\%username%\triplea\downloadedMaps\iron_war\

          https://forums.triplea-game.org/tags/thedog
          https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

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

            @thedog

            Okay i think i got it, assuming that the png is supposed to be all just empty black.

            What is the next step? Editing the png in GIMP/Photoshop?

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

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

              What is the next step? Editing the png in GIMP/Photoshop?

              Yes, put it on white background and it should show the TT outlines and have a blue sea TT colour.

              https://forums.triplea-game.org/tags/thedog
              https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

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

                @thedog

                Hmm, i don't have anything on the map, i probably messed up when i copied original iron_war, maybe it's because its zipped? Should i unzip everything?

                So to recap everything i did :
                -Made a copy of iron_war in DownloadedMaps, still zipped
                -Opened the tile Reconstructor and navigated to the files of the copied iron_war
                -Saved a png to desktop, and copy pasted it to the copied iron_war folder
                -Opened a png and it was empty, nothing on it.

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

                  @Davor-Pavlić
                  Are you using 2.6 ?
                  As I have just tried using 2.6 and it fails. 😞

                  However using 2.5 and it works as intended.

                  https://forums.triplea-game.org/tags/thedog
                  https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

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

                    @thedog i am using 2.5.2

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

                      @davor-pavlić
                      Yes unzip everything and remove the zip from the downloads folder.

                      Keep trying the reconstruction, but if you get bored, here is the file you are after.
                      https://drive.google.com/file/d/1lD24jpT1jdBuCAJRafjvnm4W4BJ_riWi/view?usp=sharing

                      https://forums.triplea-game.org/tags/thedog
                      https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

                      Davor PavlićD 1 Reply Last reply Reply Quote 1
                      • Davor PavlićD Offline
                        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

                        TheDogT 1 Reply Last reply Reply Quote 0
                        • TheDogT Offline
                          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.

                          https://forums.triplea-game.org/tags/thedog
                          https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

                          Davor PavlićD 1 Reply Last reply Reply Quote 1
                          • Davor PavlićD Offline
                            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.

                            TheDogT 1 Reply Last reply Reply Quote 1
                            • TheDogT Offline
                              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).

                              https://forums.triplea-game.org/tags/thedog
                              https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

                              Davor PavlićD 1 Reply Last reply Reply Quote 0
                              • Davor PavlićD Offline
                                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?

                                TheDogT 1 Reply Last reply Reply Quote 0
                                • TheDogT Offline
                                  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

                                  https://forums.triplea-game.org/tags/thedog
                                  https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

                                  Davor PavlićD 1 Reply Last reply Reply Quote 1
                                  • Davor PavlićD Offline
                                    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.

                                    TheDogT 1 Reply Last reply Reply Quote 0
                                    • TheDogT Offline
                                      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?

                                      https://forums.triplea-game.org/tags/thedog
                                      https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

                                      TheDogT 1 Reply Last reply Reply Quote 0
                                      • TheDogT Offline
                                        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.

                                        https://forums.triplea-game.org/tags/thedog
                                        https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

                                        Davor PavlićD 1 Reply Last reply Reply Quote 0
                                        • Davor PavlićD Offline
                                          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?

                                          TheDogT PantherP 2 Replies Last reply Reply Quote 0
                                          • TheDogT Offline
                                            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.

                                            https://forums.triplea-game.org/tags/thedog
                                            https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

                                            Davor PavlićD 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 6 / 6
                                            • First post
                                              Last post
                                            Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums