Navigation

    TripleA Logo

    TripleA Forum

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

    Referencing Unit Images

    Map Making
    3
    6
    1242
    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

      Is there a way of using specific unit images for a specific zip file, which mostly uses the standard images, without copying everything over?

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

        @rogercooper Yes. For each image the program will search in the map folder and, then, in its own assets.

        This sometimes is a problem for Unit help, displaying images in assets that are not supposed to be in the game (like the French marine for World At War).

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

          @cernel Let me more specific. I am working on a scenario using BuildCaps, based upon the number of pieces in the physical game. In the Revised scenario the Japanese have a lower limit for armor, so I created an image called armour_ja.

          My overall folder name is BuildCaps. The xml references the mapName of "world_war_ii_revised".

          What happens is that TripleA looks in assets\units and then in the world_war_ii_revised master. I would like it to look in the BuildCaps/units folder.

          I can work around this by copying everything from world_war_ii_revised-master into the BuildCaps folder and set the mapName to "world_war_ii_revised". Is there a better solution, so my zip file only contains the files needed?

          Hepps C 2 Replies Last reply Reply Quote 1
          • Hepps
            Hepps Moderators @RogerCooper last edited by

            @rogercooper why not just copy and paste the entire units folder into your new map then simply rename the unique units?

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

              @rogercooper said in Referencing Unit Images:

              The xml references the mapName of "world_war_ii_revised".

              That map doesn't have a units folder. So, referencing that map means using the TripleA assets only, as far as units go.

              What happens is that TripleA looks in assets\units and then in the world_war_ii_revised master.

              It works the other way round.

              Is there a better solution, so my zip file only contains the files needed?

              There is not, and, actually, as far as I know, the developers decided not to have in the repository xml looking at maps they are not part of (but this doesn't matter to you, if you are not aiming at adding this game to download list).
              However, as said, "WWII Revised" is fully supported by TripleA units assets; so you would just need having the units you want (referencing your map folder) and, for the rest, it will use TripleA assets (like in the case of "the_pact_of_steel").
              So I confirm no other ways but pasting all the skin elements of "world_war_ii_revised" into your variant of it and, additionally to that, add a units folder with a Japanese subfolder and the armour_ja image in it.

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

                @cernel Thanks for the answer. I will just need to copy everything.

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