A displayName for different elements
-
Since the group is on the 'User Friendly' GUI kick. The readability of some elements could also use a face lift.
<unit name="germanInfantry" displayName="Infantry"/> <resource name="techTokens" displayName="Tech Tokens"/> <techname name="mechanizedInfantry" displayName="Land Transportation"/>
IMOA in some map like TWW which have a lot of similar unit between the different Nations the use of 'germanInfantry', 'germanArtillery' etc... in the purchase screen looks redundant.
Cheers...
-
@wc_sumpton Yeah, it a good idea. Challenge being that some of these appear in A LOT of places so might be hard to track down where the code would need updated to show display name.
-
I've added this to the feature request list: https://forums.triplea-game.org/topic/182/guidelines-and-feature-request-list
-
@redrum Again Thank you
Cheers...
-
@wc_sumpton I believe the most widespread usage would be to rename "PUs" according to the settings or preferences.
You can already indirectly do it for tech, by making a custom tech that simply recalls a hardcoded tech, instead of directly using it (you can look at "WW2v3 Tech Advance"), but this practice implies incurring into other limits. -
@cernel I understand how the renaming of the Techs work, and it is a good thing. It would be nice if this type of renaming worked for other elements like:
<option name="Infantry" unit="germanInfantry"/> <option name="Infantry" unit="russianInfantry"/>
In this manner the purchase window, tool tips and other displays to the player would IMOA be a little cleaner. But this is something just for looks.
Cheers...