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

    Changing Colours of Map

    Scheduled Pinned Locked Moved Map Making
    15 Posts 4 Posters 2.5k Views 4 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.
    • SchulzS Offline
      Schulz
      last edited by

      All game zips contain a property file called map.properties and in this file, hex color codes determine nations colors. For Example "777777" is mostly used for Germany.

      After that units should be recoloured.

      MirkoBrunerM 1 Reply Last reply Reply Quote 0
      • MirkoBrunerM Offline
        MirkoBruner @Schulz
        last edited by

        @Schulz How do I open that File? Thanks.

        ++Mi®koBruner

        1 Reply Last reply Reply Quote 0
        • SchulzS Offline
          Schulz
          last edited by Schulz

          • Navigating "downloadedMaps" folder which all maps are listed.

          • Opening the map zip.

          colour.png

          • opening "map" folder" then opening map.properties

          colour.png

          Some colour codes are not accepted by tripleA engine. You could find colour codes from here: https://htmlcolorcodes.com/

          If engine does not accept the new colour than you could try again with a similar colour.

          MirkoBrunerM 1 Reply Last reply Reply Quote 0
          • MirkoBrunerM Offline
            MirkoBruner
            last edited by

            @Schulz said in Changing Colours of Map:

            https://htmlcolorcodes.com/

            Thank You @Schulz !

            ++Mi®koBruner

            1 Reply Last reply Reply Quote 0
            • MirkoBrunerM Offline
              MirkoBruner @Schulz
              last edited by

              @Schulz How do I edit the properties file? Can I change the extension and make it a txt or an html? Edit And then remove it?
              Thanks.

              ++Mi®koBruner

              1 Reply Last reply Reply Quote 0
              • SchulzS Offline
                Schulz
                last edited by Schulz

                I use just notepad++. You could change the six digit numbers.

                For example the current American color is color.America=666600

                if you make its colour.America=777777, it would have the same color with Germany which is light gray.

                colour3.png

                MirkoBrunerM 1 Reply Last reply Reply Quote 0
                • MirkoBrunerM Offline
                  MirkoBruner @Schulz
                  last edited by

                  @Schulz Im on mac, I am familiar with html and hex colour codes, the problem is that the file as it is cannot be edited by any application I have on my computer and if i add to the properties file an extension such as txt or html it works well, but when I remove it and open the map the platform gives me error.

                  ++Mi®koBruner

                  1 Reply Last reply Reply Quote 0
                  • SchulzS Offline
                    Schulz
                    last edited by Schulz

                    Could you say which colour do you want to use at which nations? Maybe I could do it.

                    1 Reply Last reply Reply Quote 0
                    • MirkoBrunerM Offline
                      MirkoBruner
                      last edited by

                      Thanks Bud, but I need to solve this independently.
                      Regards,

                      ++Mi®koBruner

                      F 1 Reply Last reply Reply Quote 0
                      • F Offline
                        ff03k64 @MirkoBruner
                        last edited by

                        @MirkoBruner I believe that adding an extension on a Mac doesn't do anything? I think you would have to tell your computer that a certain program opens that kind of file. On windows it is called default programs.

                        MirkoBrunerM 1 Reply Last reply Reply Quote 0
                        • MirkoBrunerM Offline
                          MirkoBruner @ff03k64
                          last edited by

                          @ff03k64 Thanks, It works if i add an extension. But when I remove the extension and launch the platform it gives me an error. There's a basic software on mac that should be able to open it. TextEdit.

                          ++Mi®koBruner

                          1 Reply Last reply Reply Quote 0
                          • MirkoBrunerM Offline
                            MirkoBruner
                            last edited by

                            I confirm that with Mac's TextEdit program properties file are editable.
                            Regards,

                            ++Mi®koBruner

                            1 Reply Last reply Reply Quote 1
                            • FrostionF Offline
                              Frostion Admin
                              last edited by

                              @MirkoBruner I am on Windows and use the free program ConText to edit XML and all the other files. www.contexteditor.org

                              It makes it very easy to find specific lines and locate errors 🙂

                              Unavngivet.png

                              Unavngivet2.png

                              Map maker of: Star Wars: Galactic War + Star Wars: Tatooine War + Caribbean Trade War + Dragon War + Age of Tribes + Star Trek: Dilithium War + Iron War + Iron War: Europe + Warcraft: War Heroes

                              MirkoBrunerM 1 Reply Last reply Reply Quote 1
                              • MirkoBrunerM Offline
                                MirkoBruner @Frostion
                                last edited by

                                @Frostion Thanks!

                                ++Mi®koBruner

                                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 / 1
                                • First post
                                  Last post
                                Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums