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

    Ancient Empires: 222 BC

    Scheduled Pinned Locked Moved Maps & Mods
    265 Posts 8 Posters 228.6k Views 7 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.
    • N Offline
      Name @Cernel
      last edited by

      @Cernel Ok. I'm actually currently testing related things, and from an aesthetics point of view navigable/non-crossable rivers might be a bad idea.

      Check the Nile delta. I need at least this thickness for gameplay reasons, but I don't think I'll like the looks.
      d832aa69-f944-4efa-b661-abbeb31fcb91-εικόνα.png

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

        @Name Yeah full sized rivers can be a challenge to fit into a map. Especially from an aesthetic standpoint.

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

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

          @Name In my map Dragon War map rivers were just un-passable borders, some of them with decorative bridges that made them passable (had connections). They were not actual territories, just borders between territories drawn with a distinct blue color. But the system is kind of strange when air units show up, as they also have to cross by bridges.

          It’s perhaps possible to make crossing connections with limited and customized access, where only air units can cross, but I have not explored this possibility.

          I imagine that your map could also make similar use of this option, like if big heavy units (Elephants? War wagons?) could not cross a river, but the lightest infantry had no problem getting over.

          Does this option exist? Could someone find and maybe copy/paste an example code into this thread?

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

            @Frostion said in Ancient Empires: 222 BC:

            @Name In my map Dragon War map rivers were just un-passable borders, some of them with decorative bridges that made them passable (had connections). They were not actual territories, just borders between territories drawn with a distinct blue color. But the system is kind of strange when air units show up, as they also have to cross by bridges.

            It’s perhaps possible to make crossing connections with limited and customized access, where only air units can cross, but I have not explored this possibility.

            I imagine that your map could also make similar use of this option, like if big heavy units (Elephants? War wagons?) could not cross a river, but the lightest infantry had no problem getting over.

            Does this option exist? Could someone find and maybe copy/paste an example code into this thread?

            You can do it with canals. If you are interested adding to your Dragon War map the ability for all air units to move through rivers, I can just paste here the full code, that, then, you'll have to paste into your game.

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

              @Cernel Yes. Just an example code for us. Maybe @Name could also use it. Maybe add it to Dragon War and also my Warcraft map. Does no map use the code already?

              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 Cernel

                @Frostion Look here for an example of a list of connections that can be used by air only, as long as the "Unit List" territory is Neutral owned:
                https://forums.triplea-game.org/topic/74/dragon-war-official-thread/60?page=3

                1 Reply Last reply Reply Quote 1
                • N Offline
                  Name
                  last edited by

                  @Frostion I'm not using air units, so this case is different. It's whether to use rivers just as borders (and/or decoration), or have (some of) them as full territories, acting like seas.

                  In my current mindset, I tend towards the first option, plus canals for sea straights (you'll need either ships or allied control of both sides to cross - I think that's doable, right?).

                  C HeppsH 3 Replies Last reply Reply Quote 0
                  • C Offline
                    Cernel Moderators @Name
                    last edited by

                    @Name If you have, say, the control of both land sides of the Dardanelles, how are you going to stop me from rowing or sailing my way through the straits? You don't have guns to fire at my ships.

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

                      @Name You can use the canal system for land units... @Cernel was talking about how @Frostion could use the same system to deal with his flying units in Dragon War.

                      Yes what you are asking about is doable.

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

                      1 Reply Last reply Reply Quote 0
                      • N Offline
                        Name @Cernel
                        last edited by

                        @Cernel It shouldn't prevent you from landing from ships. It would just allow you to cross without a fleet if you have uncontested control of both sides. Maybe a trigger could block the canal/straits if enemy fleets are present, so you can't cross even if controlling both sides in that case.

                        But it's still just brainstorming. I don't even remember if you can land transported units - by default or with some property - through a sea ter with enemy ships present.

                        @Hepps So I would need the canal attachments and some triggers with appropriate conditions (like alliedOwnershipTerritories / enemyPresenceTerritories)?

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

                          @Name said in Ancient Empires: 222 BC:

                          In my current mindset, I tend towards the first option, plus canals for sea straights (you'll need either ships or allied control of both sides to cross - I think that's doable, right?).

                          I believe this would be possible... you'd likely have to create a series of conditions and triggers to enforce the behavior.

                          You could just add territorial connections across any straits where you wanted there to be a connection... then add checks for any of the conditions which would then block movement.

                          I am not a trigger guy... they confuse the hell out of me. But others would be far more adept at walking you through the process.

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

                          N 1 Reply Last reply Reply Quote 0
                          • N Offline
                            Name @Hepps
                            last edited by Name

                            @Hepps said in Ancient Empires: 222 BC:

                            You could just add territorial connections across any straits where you wanted there to be a connection... then add checks for any of the conditions which would then block movement.

                            I guess this might be better than canals. Could even prevent crossing without a fleet even if you control both sides and enemy fleet is present. Or just make it like:

                            • No enemy fleet present = you can cross sea straights as if there's a land connection.
                            • Enemy fleet present = you can't.
                            HeppsH C 2 Replies Last reply Reply Quote 0
                            • HeppsH Offline
                              Hepps Moderators @Name
                              last edited by

                              @Name Yes a series of "directPressence" checks should allow you to make very detailed set of movement rules

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

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

                                @Name said in Ancient Empires: 222 BC:

                                @Hepps said in Ancient Empires: 222 BC:

                                You could just add territorial connections across any straits where you wanted there to be a connection... then add checks for any of the conditions which would then block movement.

                                I guess this might be better than canals. Could even prevent crossing without a fleet even if you control both sides and enemy fleet is present. Or just make it like:

                                • No enemy fleet present = you can cross sea straights as if there's a land connection.
                                • Enemy fleet present = you can't.

                                Not possible in a clean way, as canals cannot test conditions. You could make some set of triggers that change how the canal works depending on units presence, but that's complex hacking.

                                However, you can define one or more sea zones as territories (convoy zones, like the ones of Napoleonic Empires, but at production value 0 and original owner Neutral), then having the canal dependent on ownership of that sea territory. This means that enemy ships won't be able to block you directly, but they can do so by conquering the sea territory, then you can regain the ability to pass the canal by getting that sea territory back, with your sea units.

                                N C 2 Replies Last reply Reply Quote 0
                                • N Offline
                                  Name @Cernel
                                  last edited by

                                  @Cernel I mean not by using canals, but as @Hepps suggested. Have one side of the strait connected to the other by default (the land territories). Then check before each combatmove, if enemy fleet is present in the straits (the sea territory), block the connection with trigger. Or unblock if the fleet has left. Isn't something along those lines possible and relatively easy?

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

                                    For example, let's say you have these land territories:
                                    Byzantium
                                    Chalcedon
                                    and this sea territory:
                                    Bosphorus

                                    And you have this connection:
                                    <connection t1="Byzantium" t2="Chalcedon"/>

                                    Then you can have this canal:

                                        <attachment name="canalAttachmentBosphorus" attachTo="Byzantium" javaClass="games.strategy.triplea.attachments.CanalAttachment" type="territory">
                                          <option name="canalName" value="Bosphorus"/>
                                          <option name="landTerritories" value="Bosphorus"/>
                                        </attachment>
                                        <attachment name="canalAttachmentBosphorus" attachTo="Chalcedon" javaClass="games.strategy.triplea.attachments.CanalAttachment" type="territory">
                                          <option name="canalName" value="Bosphorus"/>
                                          <option name="landTerritories" value="Bosphorus"/>
                                        </attachment>
                                    

                                    This means that non-air units can go to and from Byzantium and Chalcedon only if you or your allies own Bosphorus since the start of your turn.

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

                                      @Name said in Ancient Empires: 222 BC:

                                      @Cernel I mean not by using canals, but as @Hepps suggested. Have one side of the strait connected to the other by default (the land territories). Then check before each combatmove, if enemy fleet is present in the straits (the sea territory), block the connection with trigger. Or unblock if the fleet has left. Isn't something along those lines possible and relatively easy?

                                      TripleA likes to be confusing. "Canal" actually means something that blocks your movement, not something that allows it. You create a canal for a connection to impede the use of that connection. Basically, it says "Canal", but it is actually a "Boom", or something. Think about it in terms of the connection being the canal, and the coded canal being the thing that controls who passes through the canal.

                                      N 1 Reply Last reply Reply Quote 0
                                      • N Offline
                                        Name @Cernel
                                        last edited by Name

                                        @Cernel So to make this clear, can I add/remove territory connections with triggers? This should be enough to make what I wrote above (no use of canals at all) functional.

                                        Else I guess it's only doable the way you suggested. But I can see a possible downside. What if a neutral player owns the sea territory (convoy)?

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

                                          @Name said in Ancient Empires: 222 BC:

                                          @Cernel So to make this clear, can I add/remove territory connections with triggers? This should be enough to make what I wrote above (no use of canals at all) functional.

                                          Connections can never be added or removed. However, you can freely modify, during the course of the game, with triggers, anything related to any canals that is limiting, in any ways, the use of that connection. So, as I said, what you want is possible, but would be complex to code, and basically a hack. The code is complex enough that I don't feel like just writing it down.

                                          Else I guess it's only doable the way you suggested. But I can see a possible downside. What if a neutral player owns the sea territory (convoy)?

                                          If the Neutral (null) player (the one always at war with anyone) owns the required territory (in this case a sea zone being a territory), nobody can pass through that canal (but air units). Otherwise, it depends if the relationship you are in with that player allows your units passing through canals (default only Allies do).

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

                                            My suggestion, just do it with convoy (sea territory) ownership, that I wrote down for you. Just change the names, for each case. Be sure to have original owner Neutral in the territory attachment for the sea zone, then, in the initialize, give current ownership (at start game) depending on what makes sense the most.

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