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

    Unit Tooltip Improvements & Poll

    Scheduled Pinned Locked Moved Feature Requests & Ideas
    80 Posts 8 Posters 39.1k Views 8 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.
    • redrumR Offline
      redrum Admin @alkexr
      last edited by

      @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.

      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 0
      • FrostionF Offline
        Frostion Admin
        last edited by Frostion

        @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.

        Map maker of: Star Wars: Galactic War + Star Wars: Tatooine War + Caribbean Trade War + Dragon War + Age of Tribes + Star Trek: Dilithium War + Iron War + Iron War: Europe + Warcraft: War Heroes

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

          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?

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

            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

            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 2
            • redrumR Offline
              redrum Admin @alkexr
              last edited by redrum

              @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 Settlements
              

              Unit help:
              0_1532405927520_8d3d095d-b6ee-4c99-9ac0-f8aaaa8c3832-image.png

              PR: https://github.com/triplea-game/triplea/pull/3623

              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 3
              • FrostionF Offline
                Frostion Admin
                last edited by

                @redrum Looks very good. A great improvement to the old tooltips 🙂 Just some concerns:

                1. 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.

                2. 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.

                Map maker of: Star Wars: Galactic War + Star Wars: Tatooine War + Caribbean Trade War + Dragon War + Age of Tribes + Star Trek: Dilithium War + Iron War + Iron War: Europe + Warcraft: War Heroes

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

                  @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.

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

                  LaFayetteL C 3 Replies Last reply Reply Quote 1
                  • LaFayetteL Offline
                    LaFayette Admin @redrum
                    last edited by

                    @redrum pipe delimiters look almost like a 'one' to me, so I've a slight preference for unifying to: 10/10/10 over 10|10|10

                    FWIW, experimenting around with other delimiter chars, like dash or dots, slash or pipe delimiter do seem to be the best two choices.

                    C redrumR 2 Replies Last reply Reply Quote 0
                    • C Offline
                      Cernel Moderators @LaFayette
                      last edited by

                      @lafayette My suggestion was to space it.

                      10 | 10 | 10
                      instead of
                      10|10|10

                      1 Reply Last reply Reply Quote 2
                      • redrumR Offline
                        redrum Admin @LaFayette
                        last edited by

                        @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.

                        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 0
                        • redrumR Offline
                          redrum Admin
                          last edited by

                          Updates format for tooltip and purchase screen to "A | D | M": https://github.com/triplea-game/triplea/pull/3641

                          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 3
                          • FrostionF Offline
                            Frostion Admin
                            last edited by

                            @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?

                            Map maker of: Star Wars: Galactic War + Star Wars: Tatooine War + Caribbean Trade War + Dragon War + Age of Tribes + Star Trek: Dilithium War + Iron War + Iron War: Europe + Warcraft: War Heroes

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

                              @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.

                              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 @redrum
                                last edited by Cernel

                                @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:

                                1. Wherever there is only 1 type of support, the default tooltips don't display the type.
                                2. 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".
                                3. You can have the support called exactly "ArtyOld", to not have it displayed.
                                4. 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.

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

                                  @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.

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

                                    @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
                                    0_1532810818313_6e577f32-a6c0-4442-8dee-1e5d7483b34b-image.png

                                    270BC
                                    0_1532810866215_f7ac9d0f-fcc9-44ab-918c-7fcd1b336283-image.png

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

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

                                      @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).

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

                                        @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.

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

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

                                          @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.

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

                                            @cernel Also, in the moment in which the support is never displayed if only 1 type, it would feel strange to mandate the mapmakers to choose a label that will be never used. So I think it would make the most sense to also allow not having the type entry in the support attachment, defaulting to the default label ("ArtyOld" or "artillery" or whatever) if missing. This way, mapmakers that want only 1 support in their game and don't want it to have a label (maybe also because it is so abstract and generic that there cannot be a good label) will just make supportattachments lacking the "type" (like until now they would have probably used the unit options for support), and the engine will assing the default label for it, much in the same way it happens for the deprecates.

                                            1 Reply Last reply Reply Quote 0

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