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

    Modify movements restrictions out of contested territories

    Scheduled Pinned Locked Moved Map Making
    11 Posts 4 Posters 1.9k Views 4 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.
    • wc_sumptonW Offline
      wc_sumpton @VictoryFirst
      last edited by

      @victoryfirst said in Modify movements restrictions out of contested territories:

      So in this example, I want AH to be able to move from Galicia to Ukraine, but it says "Cannot blitz out of a battle into enemy territory". It does work the other way around, however, from Ukraine to Galicia.

      If I'm reading the map correctly, it is "Red's" turn. Galicia is "Green" owned, and is contested by "Red", while Ukraine is "Red" owned and contested by "Green". Because "Red" is the attacker in Galicia, units engaged, without canBlitz, cannot move to engage in another battle while units in Ukraine are not engaged, "Red" owns Ukraine, and can move and engage in the Galicia battle.

      To allow Galicia units the ability to move, ownership of Galicia would need to be changed to "Red". There is no <option> to allow engaged units to move to another battle.

      Cheers...

      VictoryFirstV 1 Reply Last reply Reply Quote 3
      • VictoryFirstV Offline
        VictoryFirst @wc_sumpton
        last edited by

        @wc_sumpton

        That's indeed correct, thank you. However, it is currently Austria-Hungary's turn ("Green") and they want to move to Ukraine which is controlled by Russia ("Red"), but the engine doesn't allow that.

        Basically, in this game, any territory that has both your units and enemy units in them is considered to be "contested", not controlled by any power. However I don't think TripleA can handle something like that.

        I tried to set the land units to "canBlitz" and "canMoveThroughEnemies", but neither of those worked. So there is really no way to do this except for making Ukraine controlled by Austria-Hungary?

        wc_sumptonW 1 Reply Last reply Reply Quote 3
        • wc_sumptonW Offline
          wc_sumpton @VictoryFirst
          last edited by

          @victoryfirst said in Modify movements restrictions out of contested territories:

          Basically, in this game, any territory that has both your units and enemy units in them is considered to be "contested", not controlled by any power. However I don't think TripleA can handle something like that.

          This may be what you think, but this is not true. TripleA considers a contested territory is still owned by the last power that controlled that territory. Look under the "Territory" tab, and you will see who owns that territory.

          @victoryfirst said in Modify movements restrictions out of contested territories:

          I tried to set the land units to "canBlitz" and "canMoveThroughEnemies", but neither of those worked. So there is really no way to do this except for making Ukraine controlled by Austria-Hungary?

          You are right, sorry about that. This deals with movement points, the units in Galicia would need to first move into a "friendly" territory, disengaging for combat. Romania if it were owned by Austria-Hungary, prior to moving into combat in Ukraine. But with 1 movement the best these unit can do is disengage to a friendly territory.

          Cheers...

          VictoryFirstV 1 Reply Last reply Reply Quote 4
          • VictoryFirstV Offline
            VictoryFirst @wc_sumpton
            last edited by

            @wc_sumpton said in Modify movements restrictions out of contested territories:

            This may be what you think, but this is not true. TripleA considers a contested territory is still owned by the last power that controlled that territory. Look under the "Territory" tab, and you will see who owns that territory.

            Sorry if I am unclear, but that is what I meant. I am creating a game for TripleA, where territories shared by your and enemy units are considered contested. But TripleA indeed thinks the territory is owned by someone, which ultimately prevents the units from moving between two contested territories.

            wc_sumptonW 1 Reply Last reply Reply Quote 3
            • wc_sumptonW Offline
              wc_sumpton @VictoryFirst
              last edited by

              @victoryfirst

              Looks like there maybe an undocumented game property:

              <!-- This property is undocumented in PoS2 but it seems that the engine check for it. Use at own risk -->
              <property name="All Units Can Attack From Contested Territories" value="true" editable="false">
                <boolean/>
              </property>
              

              Cheers...

              cameronC 1 Reply Last reply Reply Quote 4
              • cameronC Offline
                cameron @wc_sumpton
                last edited by

                @wc_sumpton said in Modify movements restrictions out of contested territories:

                @victoryfirst

                Looks like there maybe an undocumented game property:

                <!-- This property is undocumented in PoS2 but it seems that the engine check for it. Use at own risk -->
                <property name="All Units Can Attack From Contested Territories" value="true" editable="false">
                  <boolean/>
                </property>
                

                Cheers...

                ooh.... nice. that not attacking from contested TT was irritating me today... adding it to my mod.

                1 Reply Last reply Reply Quote 0
                • cameronC Offline
                  cameron
                  last edited by

                  i think that we are having a failure in semantics here.

                  i think @VictoryFirst wants contested TT to be neutral while contested. so while the game does deal with contested TT it just doesn't do it in the way they want it to...

                  1 Reply Last reply Reply Quote 0
                  • VictoryFirstV Offline
                    VictoryFirst
                    last edited by

                    @wc_sumpton said in Modify movements restrictions out of contested territories:

                    @victoryfirst

                    Looks like there maybe an undocumented game property:

                    <!-- This property is undocumented in PoS2 but it seems that the engine check for it. Use at own risk -->
                    <property name="All Units Can Attack From Contested Territories" value="true" editable="false">
                      <boolean/>
                    </property>
                    

                    Cheers...

                    Wow, that indeed does the trick! Are there more of these undocumented properties?

                    cameronC 1 Reply Last reply Reply Quote 2
                    • cameronC Offline
                      cameron @VictoryFirst
                      last edited by

                      Are there more of these undocumented properties?

                      that's what i wanna know!!!

                      1 Reply Last reply Reply Quote 0
                      • LaFayetteL Offline
                        LaFayette Admin
                        last edited by

                        A number of properties are listed here: https://github.com/triplea-game/triplea/blob/master/game-app/game-core/src/main/java/games/strategy/triplea/Constants.java

                        (that location is subject to change & that list might not be complete)

                        1 Reply Last reply Reply Quote 4

                        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 / 1
                        • First post
                          Last post
                        Powered by NodeBB Forums