Switching out default units
-
@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
-
@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?
-
@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.
-
@Stohrm So where a unit gets placed within a territory is based on 2 things:
- The unit placements defined for each territory (where and the order of them). This also is then used for unit overflow.
- 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:
- Unit owner: territory owner, not at war with territory owner, player order in XML
- Unit type: 0 movement, can't combat move, sea, air if sea territory, land, air if land territory
- 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.
-
@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.
-
@Stohrm I'm starting thinking you are using a very old version of TripleA, maybe 1.8.0.9. What one I wonder?
-
@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.
-
@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.
-
@Joe-Pants I have a copy of your unit folder.
-
@Hepps I still have it as well; is there a new group repository?
-
@Joe-Pants Not sure. One of the technocrats may know.
-
@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
-
@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.
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