Navigation

    TripleA Logo

    TripleA Forum

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

    Changing Colours of Map

    Map Making
    4
    15
    1028
    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.
    • MirkoBruner
      MirkoBruner last edited by

      Hi There, Im new to map editing, so far I have endeavoured myself in editing the relief tiles. But I would like to understand how is possible to change the default colours of a nation. Anyone? Thanks!
      Desaturated_Map.jpg

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

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

          @Schulz How do I open that File? Thanks.

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

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

              @Schulz said in Changing Colours of Map:

              https://htmlcolorcodes.com/

              Thank You @Schulz !

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

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

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

                    1 Reply Last reply Reply Quote 0
                    • Schulz
                      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
                      • MirkoBruner
                        MirkoBruner last edited by

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

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

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

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

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

                              1 Reply Last reply Reply Quote 1
                              • Frostion
                                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

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

                                  @Frostion Thanks!

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