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

    Fuel Enhancements

    Scheduled Pinned Locked Moved Feature Requests & Ideas
    234 Posts 10 Posters 220.9k Views 10 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.
    • B Offline
      beelee @prastle
      last edited by

      @prastle I threw another one in for ya pras : )

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

        Wow, I put a few images on the screen and get like 10 replies in 5 minutes ๐Ÿ™‚

        @Frostion Taking my thunder but yes adding resource income is the next step. And yes if you look at Civil War it already has a "resources" folder with icons that I'm using. There are also a few defaults including in the engine.

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

        W 1 Reply Last reply Reply Quote 0
        • prastleP Offline
          prastle Moderators Admin @beelee
          last edited by

          @beelee thanks bee

          If we open a quarrel between past and present, we shall find that we have lost the future! Sir Winston Churchill

          1 Reply Last reply Reply Quote 1
          • W Offline
            wc_sumpton @redrum
            last edited by

            @redrum Can't reand antdk type t thahaghs fas....

            cherf...

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

              I don't think anyone is interested in this. ๐Ÿ˜ƒ

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

              prastleP 1 Reply Last reply Reply Quote 0
              • prastleP Offline
                prastle Moderators Admin @Hepps
                last edited by

                @hepps smart ass

                If we open a quarrel between past and present, we shall find that we have lost the future! Sir Winston Churchill

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

                  @prastle lol

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

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

                    Fuel enhancements are sexy and will make this aspect of Triple A truly incredible. The horizon is bright with the light of a new day.

                    My name is Hepster and I approve this message.

                    Brought to you by the organization for personal assistants for map makers.

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

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

                      Initial PR for the enhancements: https://github.com/triplea-game/triplea/pull/3013

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

                      W 1 Reply Last reply Reply Quote 1
                      • FrostionF Offline
                        Frostion Admin
                        last edited by Frostion

                        This is great and speedy process. I just have couple of questions/concerns.

                        In maps that make use of many resources, some of the resources might be player specific, alliance specific or indented to be used โ€œin the backgroundโ€ for technical reasons. Like in Iron War where there are resources like Kamikaze pilots, Commissars, Colonial Troops and so on, not accessible to all players, and if the player somehow obtain the resources anyway, then they are normally removed by triggers, at least before purchase step. A map like Star Trek has a Borg specific resource like Assimilation.

                        This has been compatible with the engine, since players are not shown their current 0 amount of every single resource in the purchase window. Like for instance Iron War Germany is shown like โ€œYou have 30 PUs, 20 SS, 2 Fuel, 6 Iron leftโ€ in the purchase window. They are not shown that they donโ€™t have Kamikaze pilots. And the federation in Star Trek does not see that they dont have โ€œAssimilationโ€.

                        I can see that your preview bars show all resources, also the 0 ones, and I imagine that the bars would also want to show resources soon obtained like โ€œManpower 0 (+3)โ€. And this is probably for the best (actually showing even though the player has 0 at the moment) as many maps and players would have important resources used up but still want the important info about some resources on the way.

                        So my suggestion would be to have an XML option/setting that could specify who specific resourses are relevant to, meaning who would have them displayed in the bottom of the screen. Maybe like:

                        <resourceList>
                            <resource name="PUs"/>
                            <resource name="Iron"/>
                            <resource name="Fuel"/>
                            <resource name="CR" relevantOnlyTo="France:British-Colonies:Italy:British-India:French-Colonies:KNIL"/>
                            <resource name="SS" relevantOnlyTo="Germany"/>
                            <resource name="Pilot" relevantOnlyTo="Japan"/>
                            <resource name="Officials" relevantOnlyTo="USSR"/>
                        </resourceList>
                        

                        I guess it could be like ShownOnlyTo, ShownTo, relevantOnlyTo, notRelevantTo or something like that, maybe even with NoOne and ALL value. The primary idea is just to be to be able to hide the resource from the bar from some/all players. Would it be possible?

                        I know it might seem as a pretty map specific request, but the more flexibility and the more uses the engine might offer in regards to resources, I would imagine that we might see other maps also desiring some resources hidden.

                        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

                        1 Reply Last reply Reply Quote 3
                        • W Offline
                          wc_sumpton @redrum
                          last edited by

                          @redrum Would it be possible to make different directories under resources, like with units, where different players could would be presented with a different icon. In US: A, resources are used to limit the amount of certain unit types. ie... IUs for InfantryUnits... Then the Western Player would see an orange IUs and Southern would see a blue IUs

                          And I like @Frostion idea also!!

                          Cheers...

                          1 Reply Last reply Reply Quote 0
                          • prastleP Offline
                            prastle Moderators Admin @Hepps
                            last edited by

                            @hepps gigglez

                            If we open a quarrel between past and present, we shall find that we have lost the future! Sir Winston Churchill

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

                              @Frostion Starting to think you're a mind reader... I was thinking pretty much exactly the same thing. Initially was thinking just a boolean parameter but as you pointed out I realized that there are a number of maps where resources are only used by certain nations.

                              My thought was "isDisplayedFor" which either has a list of players or NONE (default is its shown to all).

                              Example:

                              <resourceList>
                                  <resource name="PUs"/>
                                  <resource name="Iron"/>
                                  <resource name="Fuel"/>
                                  <resource name="CR" isDisplayedFor="France:British-Colonies:Italy:British-India:French-Colonies:KNIL"/>
                                  <resource name="SS" isDisplayedFor="Germany"/>
                                  <resource name="Pilot" isDisplayedFor="Japan"/>
                                  <resource name="Officials" isDisplayedFor="USSR"/>
                                  <resource name="HiddenResource" isDisplayedFor="NONE"/>
                              </resourceList>
                              

                              @wc_sumpton It would be possible (like unit images) though I don't think there are a ton of maps that would use different icons per player for the same resource. Probably low priority for now.

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

                              W 1 Reply Last reply Reply Quote 3
                              • W Offline
                                wc_sumpton @redrum
                                last edited by

                                @redrum That quite all right sir. I understand.

                                Hear that @Hepps I'm a low priority...

                                'It's @Hepps season! It's @Hepps season! And I be hunten' som' @redrum !

                                But yes I really do understand... ๐Ÿ˜‰

                                Cheers...

                                prastleP 1 Reply Last reply Reply Quote 1
                                • prastleP Offline
                                  prastle Moderators Admin @wc_sumpton
                                  last edited by

                                  @wc_sumpton Hehe Gigglez!

                                  If we open a quarrel between past and present, we shall find that we have lost the future! Sir Winston Churchill

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

                                    The initial changes to display the resource amounts are now in the pre-release: https://github.com/triplea-game/triplea/releases

                                    Testing and feedback welcome.

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

                                      PR for adding "isDisplayedFor" XML resource property: https://github.com/triplea-game/triplea/pull/3015

                                        <resourceList>
                                          <resource name="techTokens" isDisplayedFor="NONE"/>
                                          <resource name="PUs" isDisplayedFor="Union"/>
                                          <resource name="Manpower" isDisplayedFor="Confederate"/>
                                          <resource name="Supplies" isDisplayedFor="Union:Confederate"/>
                                          <resource name="Industry"/>
                                          <resource name="Leadership"/>
                                        </resourceList>
                                      

                                      Confederate:
                                      0_1518901988088_933c993f-c3a9-40e1-b195-a7005d16734c-image.png

                                      Union:
                                      0_1518902023732_675951a2-ceed-4650-8f7b-0c1581ec4989-image.png

                                      @Frostion FYI, I was doing some testing on various maps and noticed the resource icons in dragon war are on the larger size: https://github.com/triplea-maps/dragon_war/tree/master/map/resources. You probably want to scale those down ๐Ÿ™‚

                                      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 Frostion

                                        @redrum
                                        I will have to test this on all my maps, and I will want to make new small resource png's in the appropriate sizes. As the flag picture in the bottom right corner is 32x32, is this the max size of the resource pictures? I guess that the bar has a fixed seize, so that the bar does not expand if the pictures are too big, right?

                                        As for Dragon War, the pictures that are named ???_large.png are used in the purchase screen. Are you telling me that they are also used in the bar? I would have thought that the maybe too small 12x12 pictures called Wood.png, Food.png, Metal.png and PUs.png would be used in the bar.

                                        I will test this new pre-release when I got time. Dunno when that is. Maybe within a few days.

                                        PS: Funny that we both thought about the player specific resources in nearly the same way ๐Ÿ˜

                                        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 From my testing, there is no limit on the bar height but the right portion of the bar where the flag is doesn't scale with the rest of the bar so looks funny if they are too tall. So right now, I think 32x32 would be the max that looks decent though all the defaults that I tested with are 24x24.

                                          Right now I'm pulling in the *_large resources images as the engine standard is regular are 12x12 and *_large are 24x24. The 12x12 are way too small looking. Not sure about the purchase screen. Are you specifying which images it pulls in or does it choose those ones? If so probably need to consider having 3 standard sizes.

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

                                            @redrum
                                            I have tested and confirmed that the purchase screen pulls the _large.png version. And because of this, the large version should be able to be unit size. I guess the best size for the bottom bar is 24x24 and up to 32x32. The reason why the small resource pictures are tiny in Dragon War is because I really didn't know at the time what those pictures were for, and then I just made them 12x12 as this was the size I saw in another map dir ๐Ÿ™„ (I still don't know what these small pictures are used for. Please enlighten me.)

                                            The only two maps I made that uses resources are Dragon War and Star Trek. Both maps have tiny 10x10/12x12 resource pictures plus larger "_large.png" versions for the purchase screen. I will probably make 24x24 versions of resources for all my maps.

                                            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

                                            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
                                            • 5
                                            • 6
                                            • 7
                                            • 11
                                            • 12
                                            • 5 / 12
                                            • First post
                                              Last post
                                            Copyright ยฉ 2016-2018 TripleA-Devs | Powered by NodeBB Forums