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

    Switching out default units

    Scheduled Pinned Locked Moved Maps & Mods
    41 Posts 6 Posters 12.7k 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.
    • StohrmS Offline
      Stohrm
      last edited by

      @Joe-Pants I started doing the same thing: revamping all the units and adding a few of my own. That was two years ago and I managed to finish most of them. I chose to standardize them rather than having them be unique for each country (other than by color); but I, too, faced the Allies one direction and the Axis the other.
      I created an "Engineer" unit, depicted by a shovel-in-hand instead of a rifle (which was slung over his shoulder), and required it to be present within any territory where structures were to be built. The Marine's hunched low. The (regular) infantry stand tall with rifle aimed. The Air-bourn Infantry have the chute pack on their back and rifle held firmly at their waist (plus an open chute in the lower corner). I even added a splash of color to the rifles and such; giving them wood stocks, etc.
      But, that was two years ago and about the time my sister got me into playing World of Warcraft. So, the project fell to the wayside and failed to get finished.
      December 7th rolled around again, though, and (unlike last year) it has prompted me to play once again. Luckily, everything's still intact and I just have to pick up where I left off. Even so, I'd love to find a repository of unit png's and such.

      SK

      SK

      Joe PantsJ 1 Reply Last reply Reply Quote 0
      • Joe PantsJ Offline
        Joe Pants @Stohrm
        last edited by

        @Stohrm I'd love to see your files! I loaded all of mine into the old repository before the forum moved. Not sure what happened to them. Any thoughts from anyone as to where they might be?

        StohrmS HeppsH 2 Replies Last reply Reply Quote 0
        • StohrmS Offline
          Stohrm @Joe Pants
          last edited by

          @Joe-Pants I've been running up against Murphy's Law, in ALL aspects of my life lately. "Anything that can or could go wrong: will go wrong" and has been. Plus, my OCD doesn't help, either.

          Right now, I just want to be able to have Germany's Harbour be placed along the northern coast line. However, it's 12th in line and not first (like it should be). I can't find a way to change that and it's bugging the heck out of me. Of course, people without such compulsions just don't understand; after all "it's just a game".

          One would think: okay, it's 12th in line... So, just place it in the 12th spot; but it's only 12th in line if all 11 of the other units are on the map! None mobile structures should have their own placement handler or be placed first. I don't care if an infantry unit or armour unit stands in front of them: one would expect as much, I'd imagine.

          Okay so what has that to do with your comment? Well, it's preventing me from progressing any further with my project. Which means it won't be uploaded any time soon. However, I'll figure out some way to get those units to you; but you'll just have to be patient.

          SK

          redrumR C 2 Replies Last reply Reply Quote 0
          • redrumR Offline
            redrum Admin @Stohrm
            last edited by redrum

            @Stohrm So where a unit gets placed within a territory is based on 2 things:

            1. The unit placements defined for each territory (where and the order of them). This also is then used for unit overflow.
            2. Where the unit is sorted to which I think is based on some of its properties and the order in the XML file: https://forums.triplea-game.org/topic/681/group-and-sort-units-onto-placements-logically

            Grouping/sorting:

            1. Unit owner: territory owner, not at war with territory owner, player order in XML
            2. Unit type: 0 movement, can't combat move, sea, air if sea territory, land, air if land territory
            3. Within each of those groups sort the units by XML order in UnitList

            So for placing say the harbor in the first slot of a territory, as long as its owned by the territory owner, has 0 movement, and is the first unit in the unit list then it should appear in the territory's first placement slot.

            TripleA Developer with a Passion for AI: https://forums.triplea-game.org/topic/105/ai-development-discussion-and-feedback

            C StohrmS 2 Replies Last reply Reply Quote 1
            • C Offline
              Cernel Moderators @redrum
              last edited by

              @redrum said in Switching out default units:

              So for placing say the harbor in the first slot of a territory, as long as its owned by the territory owner, has 0 movement, and is the first unit in the unit list then it should appear in the territory's first placement slot.

              @redrum I wonder if this is intended, and I want to add that, from testing, I believe that movement 0 units that cannot combat move are prioritized over movement 0 units that can combat move. So I think he should also look out that either all movement 0 units can combat move or at least the harbour cannot.

              It would probably be good to exactly document this matter somewhere official, but I think it doesn't belong to pos2, since it is purely a view matter.

              1 Reply Last reply Reply Quote 1
              • C Offline
                Cernel Moderators @Stohrm
                last edited by

                @Stohrm I'm starting thinking you are using a very old version of TripleA, maybe 1.8.0.9. What one I wonder?

                StohrmS 1 Reply Last reply Reply Quote 2
                • StohrmS Offline
                  Stohrm @redrum
                  last edited by

                  @redrum The issue was that I hadn't upgraded to the latest version of Triple-A. I just did that and it works fine. That having been said (and achieved): I've been giving it a lot of thought and was wondering if the Harbour should be considered a naval unit as opposed to a land unit?

                  Think about it and take Novgorod for an example: It only has one harbor; but it has two sea zones that are not attached to each other. The map I'm currently revamping still shows it in the midst of the territory; but I gather that it's effect will apply to either sea zone (and it really shouldn't).

                  It's a tough call, though; as one sea zone is often attached to two territories and they may or may not belong to the same faction. So, perhaps there needs to be a new distinction called "coastal" that would apply to harbours , shore batteries, dry-docks and other such structures.

                  It might be worth exploring. For now, though, I thank you. Even though you didn't say to check the version I've been running; your response did help me to realize that I needed the updated engine.

                  SK

                  1 Reply Last reply Reply Quote 1
                  • StohrmS Offline
                    Stohrm @Cernel
                    last edited by

                    @Cernel said in Switching out default units:

                    @Stohrm I'm starting thinking you are using a very old version of TripleA, maybe 1.8.0.9. What one I wonder?

                    Yes, I had just realized that as well. Thank you.

                    SK

                    1 Reply Last reply Reply Quote 0
                    • HeppsH Offline
                      Hepps Moderators @Joe Pants
                      last edited by

                      @Joe-Pants I have a copy of your unit folder.

                      "A joyous heart sours with the burden of expectation"
                      Hepster

                      Joe PantsJ 1 Reply Last reply Reply Quote 0
                      • Joe PantsJ Offline
                        Joe Pants @Hepps
                        last edited by

                        @Hepps I still have it as well; is there a new group repository?

                        HeppsH C 2 Replies Last reply Reply Quote 0
                        • HeppsH Offline
                          Hepps Moderators @Joe Pants
                          last edited by

                          @Joe-Pants Not sure. One of the technocrats may know.

                          "A joyous heart sours with the burden of expectation"
                          Hepster

                          redrumR 1 Reply Last reply Reply Quote 0
                          • redrumR Offline
                            redrum Admin @Hepps
                            last edited by redrum

                            @Hepps @Joe-Pants I believe this is the new repository we are using for map maker unit images: https://github.com/triplea-game/map-maker-assets

                            I think we are trying to consolidate all the various map maker links here: https://forums.triplea-game.org/topic/918/map-maker-resources

                            TripleA Developer with a Passion for AI: https://forums.triplea-game.org/topic/105/ai-development-discussion-and-feedback

                            1 Reply Last reply Reply Quote 1
                            • C Offline
                              Cernel Moderators @Joe Pants
                              last edited by

                              @Joe-Pants said in Switching out default units:

                              @Hepps I still have it as well; is there a new group repository?

                              Here are the relevant links:
                              https://forums.triplea-game.org/topic/918/map-maker-resources
                              Here it is the one you are asking for:
                              https://github.com/triplea-game/map-maker-assets
                              Here it is the old one, for the units:
                              https://sourceforge.net/projects/tripleamaps/files/developer resources/units/
                              Are your old units images in there, or were you asking for something else?

                              Going back on topic, I suggest you share your map customization of WAW as a mapskin. This would also make much easier deciding what possibly to integrate into the original skin itself.

                              1 Reply Last reply Reply Quote 1

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