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

    Age of Tribes - Official Thread

    Scheduled Pinned Locked Moved Maps & Mods
    62 Posts 12 Posters 27.8k Views 12 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.
    • MahksM Offline
      Mahks @Frostion
      last edited by

      @frostion
      I see you have 2 production frontiers for each empire:
      ie; production_Celtic and production_Celtic_Combat

      I can see the combat one never contains the buyDevelop units, but why are both needed?

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

        @Mahks
        You really do your investigations well😊 It was a little detail @CrazyG did for my when we worked on the XML. The only function the double build sets have is, that the combat version does not show the "develop" units when a player uses the battle calculator. If there was not the combat version, the player would see many develop units when doing a battle calculation.

        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

        MahksM 1 Reply Last reply Reply Quote 0
        • MahksM Offline
          Mahks @Frostion
          last edited by

          @frostion I think there may be a minor bug.

          The axeman is not in any of the "_combat" frontiers.

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

            @Mahks OK. I am not at home until a few days from now. Do you mean that the fighting unit "axemen" is not in the combat frontiers? That would mean that players cannot use the battle calculator and see the axemen. Is this the case?

            Just for your information, there is no develop axemen unit in the game, as all nations/tribes should has this unit developed from start.

            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

            MahksM 1 Reply Last reply Reply Quote 0
            • MahksM Offline
              Mahks @Frostion
              last edited by

              @frostion said in Age of Tribes - Official Thread:

              Do you mean that the fighting unit "axemen" is not in the combat frontiers?

              • Yes

              Just for your information, there is no develop axemen unit in the game, as all nations/tribes should has this unit developed from start.

              • True, but players do not have access to the axeman until the Prehistoric Age, only caveman prior to that.
              1 Reply Last reply Reply Quote 0
              • FrostionF Offline
                Frostion Admin
                last edited by Frostion

                Sorry I meant cavemen is a unit that every body should have from start. Not axemen.

                This should be the case for the primeval version. That is the version that has ALL units incorporated into the the XML. The other XMLs might have units missing, but I really can't remember how the XMLs look.

                It might be impossible that all or some XMLs are missing the Axemen unit in combat frontiers. And this could be errors that must be fixed.

                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

                MahksM 1 Reply Last reply Reply Quote 0
                • MahksM Offline
                  Mahks @Frostion
                  last edited by

                  @frostion Yup, looks like axeman is AWOL in all scenarios in the combat frontier.

                  1 Reply Last reply Reply Quote 0
                  • MahksM Offline
                    Mahks
                    last edited by Mahks

                    Realized I had better check the battle calculator, to see if axeman was there or not.
                    Found inconsistent results

                    • In primeval, Axeman does not show in the "Game menu item "Battle Calculator". But if you click the "Battle Calculator" button under the territory tab axeman shows up!.

                    • In classical, one begins with axemen on the map but cannot buy them. And so they are not in either frontier. But they still show in the Battle Calculator (under Game). So it seems the BC is using something else to find the units. Or do you have some other way to add units to a frontier than a TriggerAttachment?

                    This is the TriggerAttachment from primeaval.

                    <attachment name="triggerAttachment_Brittonic_Develop_Axeman" attachTo="Brittonic" javaClass="games.strategy.triplea.attachments.TriggerAttachment" type="player">
                    	<option name="conditions" value="conditionAttachment-Brittonic-Develop-Axeman"/>
                    	<option name="when" value="after:BrittonicPlace"/>
                    	<option name="productionRule" value="production_Brittonic:buyAxeman"/>
                    	<option name="productionRule" value="production_Brittonic:buyDevelop-Boat"/>
                    	<option name="productionRule" value="production_Brittonic:buyDevelop-Spearman"/>
                    	<option name="productionRule" value="production_Brittonic:buyDevelop-Chariot"/>
                    	<option name="productionRule" value="production_Brittonic:buyDevelop-Catapult"/>
                    	<option name="productionRule" value="production_Brittonic:buyDevelop-Slinger"/>
                    	<option name="productionRule" value="production_Brittonic:-buyDevelop-Axeman"/>
                    	<option name="productionRule" value="production_Brittonic:-buyCaveman"/>
                    	<option name="productionRule" value="production_Brittonic_Combat:-buyCaveman"/>
                    	<option name="removeUnits" value="all:Develop-Axeman" count="1"/>
                    	<option name="uses" value="1"/>
                    </attachment>
                    

                    Axeman does get removed from both frontiers when Develop_Spearman happens:

                    <attachment name="triggerAttachment_Brittonic_Develop_Spearman" attachTo="Brittonic" javaClass="games.strategy.triplea.attachments.TriggerAttachment" type="player">
                       	<option name="conditions" value="conditionAttachment-Brittonic-Develop-Spearman"/>
                       	<option name="when" value="after:BrittonicPlace"/>
                       	<option name="productionRule" value="production_Brittonic:buySpearman"/>
                       	<option name="productionRule" value="production_Brittonic_Combat:buySpearman"/>
                       <option name="productionRule" value="production_Brittonic:-buyAxeman"/>
                       <option name="productionRule" value="production_Brittonic_Combat:-buyAxeman"/>
                       	<option name="productionRule" value="production_Brittonic:buyDevelop-Swordsman"/>
                       	<option name="productionRule" value="production_Brittonic:-buyDevelop-Spearman"/>
                       	<option name="removeUnits" value="all:Develop-Spearman" count="1"/>
                       	<option name="uses" value="1"/>
                    </attachment>
                    
                    1 Reply Last reply Reply Quote 1
                    • FrostionF Offline
                      Frostion Admin
                      last edited by

                      @Mahks
                      I have played a game of AoT Primeval and I can’t see that the game is flawed. I think that the develop system works as it should, giving access to tech and units when meant to do so and removing the access when meant to. (But can’t guarantee!)

                      It is a complex and comprehensive trigger system done by a huge number of triggers.

                      The idea is that all/most battle calculations done by the players should not show/involve any of the tech development units, because these units are just meant to trigger the individual player’s access to units on/off and not meant to be in battle.

                      The goal was that any battle calculations done during a combat round should not show any “develop” units.

                      Technically I think the units represented in the battle calculator are at all times made up of:
                      • What unit types the player has access to build (his current productionFrontier) + what unit types he has on the map, at the time of the battle calculation.

                      This means if you do/refresh a battle calculation while the player has access to purchase tech development units, these units show up in the battle calculation. This can also be tested out by going into edit mode and remove place unit types on the map and then do a battle calculation.

                      Does it make sense? It is a complex system and I really I hope it works as it should.

                      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

                      General_ZodG MahksM Ted SelfT 3 Replies Last reply Reply Quote 0
                      • General_ZodG Offline
                        General_Zod Moderators @Frostion
                        last edited by General_Zod

                        @frostion @Mahks

                        My understanding of what units are available for selection for any given nation (within the battle calculator) depend on 2 factors.

                        1. Does the nation currently have the unit available for purchase in a production frontier.

                        2. Does the nation currently have the unit available somewhere on the map.

                        One of two factors must be true or the unit will not be available for selection within the battle calculator. Also note, that most maps share unit types. If a map is truly using unique national units this will be easier to spot. (tww uses truely unique national unit types)

                        1 Reply Last reply Reply Quote 0
                        • MahksM Offline
                          Mahks @Frostion
                          last edited by

                          @frostion said in Age of Tribes - Official Thread:

                          @Mahks
                          I have played a game of AoT Primeval and I can’t see that the game is flawed.

                          Sorry if I came across as overly critical of your map.
                          Your maps, in my opinion are the best and the ones I tend to play because there are so well crafted (not to mention their diverse themes). It is why I use them to learn how things work.

                          What happened was, in testing UBr with AoT the axeman did not show in the unit list. I assumed UBr had a bug and tried to find it. This lead to the discovery that axeman was not in the "_combat" production frontier and lead to the question of why.

                          Somehow this got spun-off into "how the battle calculator works".

                          So, back to the question, Why is axeman not in the "_combat" production frontier, and if he does get in there, how do you do that? I cannot find any TriggerAttachment that does so.

                          CrazyGC 1 Reply Last reply Reply Quote 0
                          • CrazyGC Offline
                            CrazyG Moderators @Mahks
                            last edited by

                            @mahks said in Age of Tribes - Official Thread:

                            So, back to the question, Why is axeman not in the "_combat" production frontier, and if he does get in there, how do you do that? I cannot find any TriggerAttachment that does so.

                            _combat frontier doesn't do anything other than affect the battlecalculator, I designed it that way. Either myself or frostion just forgot to add axemen as part of that trigger. It never showed up in testing because to date, it appears no one tried to battlecalculate something involving axemen before an axeman was built.

                            1 Reply Last reply Reply Quote 0
                            • MahksM Offline
                              Mahks
                              last edited by

                              OK, Thanks!

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

                                @Mahks I appreciate your find. If the Axemen are not in the combat frontiers of any player, this is obviously a flaw, and then they are perhaps only shown because they are represented on the map by the player.

                                I will have to look at the map and XML again. I just played some games to see if things looked right. I maybe did not specifically look for the scenario where a player had access to the unit, had non of the unit on the map and then did a battle calculation.

                                And I hope we can fix it without messing up anything in the overall trigger system 😁

                                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

                                MahksM 1 Reply Last reply Reply Quote 0
                                • MahksM Offline
                                  Mahks @Frostion
                                  last edited by Mahks

                                  @frostion
                                  I think all that is needed is the following line added to each <attachment name="triggerAttachment_XXXX_Develop_Axeman" ...

                                  <option name="productionRule" value="production_XXXX_Combat:buyAxeman"/>
                                  

                                  This was more about me understanding how you did things so that axeman would show up in the UBr.
                                  The game itself is not really affected, except for that esoteric combat calculation. 🙂

                                  1 Reply Last reply Reply Quote 0
                                  • CrazyGC Offline
                                    CrazyG Moderators
                                    last edited by

                                    You also want to change the developSpearmen trigger, so that it remvoes axemen when that happens

                                    1 Reply Last reply Reply Quote 0
                                    • MahksM Offline
                                      Mahks
                                      last edited by

                                      That is already in place, see example about 6 posts back.

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

                                        @Mahks I have now implemented lines you found missing and it seems to work now as originally intended. Thanks for the find! 😄 The new version is called 1.08 and will be downloadable soon.

                                        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 0
                                        • C Offline
                                          Cernel Moderators
                                          last edited by

                                          I think you can safely lower economic victory to 250 production. Unless that is meant for people bashing the AI real hard or maybe for games against AI with huge bonuses, at 350 doesn't make any difference from the 7 capitals one (people will surrender far before either).

                                          Also, if they are useless (not sure, are the capitals irrelevant for general production and is it documented in notes?), I would remove the capitals. I guess you are keeping them because of the Easy AI bug (?), but they just fool noobs and I wonder if Hard/Fast AI too @redrum? Or are you keeping them only for restricting original territories liberation to the ownership of the starting territory, or for other reasons I'm overlooking?

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

                                            Side (not really) note, but this is really an engine problem (maybe somebody should open an issue in GitHub about it, or a feature request in forum for having double production entries for games that may have contested territories producing no income; not sure what would be fitting the most), the production that you actually have, and get in the Players tab, doesn't account contested territories, when they produce no income. On the other hand, the Economic Victory depends on the total owned production, no matter if contested. Thus, in games with possibly contested territories producing no income, you have no way to see any statistics about your total owned production, also in perspective of achieving economic victory. I mean, for example, you can currently achieve the 350+ production victory while the "Production" you have in Players tab is lower than that; the only way you have to know your owned production is either talling it yourself or counting all contested territories you own and adding them up to the given statistic.

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