Unit Tooltip Improvements & Poll
-
@redrum These new tooltips do quite a god job with LME. The only thing that needs to be added is unit type and terrain preference, both too map-specific to be procedurally generated. But I wouldn't like to create custom tooltips for the parts we can now generate, that would only add another place for errors. Would it be possible to add custom tooltips to the end of generic ones instead of overwriting the whole thing?
-
@alkexr Should be possible though I'll have to take a look at the code that does the custom tooltips to see how much effort it would be to allow appending rather than replacing.
-
@Cernel "Targeted Offensive Attack for Battle: 1 @ 1/10 XXX Before Each Round"
and
"Ponderance"These two statements make absolutely no sense to me. I basically do not understand the meaning. I am writing on my phone right now and the english dictionary does not even recognize "Ponderance". I would strongly advocate that descriptions were made more simple and not more confusing and hard to understand.
If I was to come up with a description for AA attacks, it would sound something like:
Special attacks: 1 (name of attack. Like "anti-air attack") (before battle or every round) with 1/10 hit chance when (defending and/or attacking) vs. (list of units)
So an AA attack could look like:
Special attacks: 1 anti-air attack before battle with 1/6 hit chance when defending vs. Bomber, Fighter and Dive-Bomber.
Special attacks: 1 anti-tank attack every round with 1/10 hit chance when defending/attacking vs. Tank and Mech-Inf.
-
If we are not getting a good proposal for referring to the "load", how about just "Cargo Capacity" and "Cargo Size". I don't like "size" very much, since it is mainly referring to the volume, while the capacity is mostly the mass, but it is at least better than cost, and it is what is used in a few custom maps, like WAW. Or would "Cargo Load" be acceptable?
-
PR is merged and unit tooltips can be tested in the latest pre-release: https://github.com/triplea-game/triplea/releases/tag/1.9.0.0.10758
-
@alkexr So I added in an option for appending to the tooltip the custom text instead of replacing. Just add ".append" to the properties file keys. Example is I took your original LME properties file and changed wizard to this:
tooltip.unit.wizard.append=Unseen<br/>Prefers SettlementsUnit help:

-
@redrum Looks very good. A great improvement to the old tooltips
Just some concerns:-
If the tooltips are to use the vertical lines instead of the slash for separating the Att/Def/Mov, then the numbers at purchase screen should also be separated in a similar fashion. If we wouldn’t like it at purchase, we shouldn’t have it in tooltips. Different looking separations for the same thing two places could be confusing. Also, if the numbers at purchase will then seem too cramped together with new line types (they were naturally spaced a bit apart with the / sign) we should think about adding spaces in between numbers and lines.
-
I can see that when units use the old artillerySupportable attachments, a strange sounding and looking info in tooltips like “1 ArtyOld Power to 1 Allied (…)” is used. Players without insight into XML history and definitions will probably go “what???” Would it be possible to change the word “ArtyOld” into just “artillery”? If not, I would say that a lot of maps should be given an update. Not a problem for me and my maps, but many other maps might not get it.
-
-
@frostion Good points. I'm planning to update the purchase screen to use | and I'll probably just have ArtyOld not be displayed since its an internal tag since isArtillery is converted to a support attachment.
-
@redrum pipe delimiters look almost like a 'one' to me, so I've a slight preference for unifying to:
10/10/10over10|10|10FWIW, experimenting around with other delimiter chars, like dash or dots, slash or pipe delimiter do seem to be the best two choices.
-
@lafayette My suggestion was to space it.
10 | 10 | 10
instead of
10|10|10 -
@lafayette So "/" conflicts with using that as the dice sides in some places "3/12" (3 attack roll on a 12 sided die) which made some of the tooltips hard to read.
@Cernel Yeah, I'm going to take a look at adding some spacing to see if that makes it a little easier to read.
-
Updates format for tooltip and purchase screen to "A | D | M": https://github.com/triplea-game/triplea/pull/3641
-
@redrum I am looking forward to trying it out, but there seems to be something seriously wrong with the latest few re-releases. The map tiles seem to load very slow, sometimes they never load and just hang, so one cannot play the map. Do youknow what I mean? Is there an end to this problem?
-
@frostion Yeah, there were some map tiles changes that are problematic but its a known issue and reported here: https://github.com/triplea-game/triplea/issues/3539
Feel free to add any details/insights there.
-
@redrum said in Unit Tooltip Improvements & Poll:
@frostion Good points. I'm planning to update the purchase screen to use | and I'll probably just have ArtyOld not be displayed since its an internal tag since isArtillery is converted to a support attachment.
How about supporting the possibility of not having the label displayed without having to use the old unit options to obtain this result? Either:
- Wherever there is only 1 type of support, the default tooltips don't display the type.
- You can avoid having the type for the support and, in this case, it defaults to "ArtyOld" and it is not displayed; the same if the support is called exactly "ArtyOld".
- You can have the support called exactly "ArtyOld", to not have it displayed.
- Same as 3, but with something else than "ArtyOld"; and also changing "ArtyOld" to that for the deprecates.
I would strongly favour 1, as, in the moment you don't have a label for a support, you also get the info that in that specific map there is only 1 type of support.
-
@redrum Minor note: when Veqryn updated 270BC he added the special support of warelephant and kept the old unit attachment options supports. So, in that game, as well as in any games in which the mapmaker mixed up the old options with the new attachments, something, if not ArtyOld, should be probably displayed, since you have more than 1 support attachment. Going with the number 1 at my previous post would address this too. Anyways, I consider this a marginal matter, as I'm not so sure that the mix up of old and new support options/attachments in a same game should be supported, as it doesn't look like a very sound practice.
-
@cernel Agree, good idea. I like option #1 and agree ArtyOld should display if multiple support types so that those maps are clear even if it isn't the best name. Generally, I don't think they should be mixed but we have some maps that do. Here is the PR: https://github.com/triplea-game/triplea/pull/3646
Revised

270BC

-
@redrum Maybe have it as "artillery" instead of "ArtyOld", to make 270BC or such look not too strange (of course, easy to update), since the option is called "is artillery", after all. As long as pos2 tells you to not use both kind of support in the same game, the name doesn't need to be one that you would never actually use (that I guess it is the whole reason behind that naming).
-
@cernel Well "artillery" really isn't much better for 270BC as chariots having "artillery" doesn't really make any more sense than "ArtyOld". Maps could also use "artillery" as a separate support type (not sure if any do) but essentially any string but "ArtyOld" could be a different support type.
-
@redrum Let me point out that this is all a side note, as I'm not strong on any of this, as I consider this a marginal matter, except only that it is cool being able to not have the label (without having to resort to deprecates), if you are making a game with only 1 support, especially in the case, as you can see in 270BC, that it would be hard to find any good label at all for it.
I know the issue would be if anywhere there is a map that uses both the old options and having a supportattachment called "artillery", then it would be bugged off. I would be surprised it exists.
Actually, "artillery" would be at least better than "ArtyOld" on that map, as the support was mostly related to "ballista" and "onager" (that are artilleries). The support from chariots didn't exist previous to the Veqryn changes, as that was one of those changes, and, anyways, I could argue that chariots have archers on them and the early modern meaning of "artillery" used to comprise any kind of missile weapons (yep, archers were artillery too). In the old chariots were 1/4 without support. In my variant they are 2/4 without support. In the post-Veqryn 270BC they are 1/4 with support to axeman.
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