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

    TripleA freezes with movementCostModifier

    Scheduled Pinned Locked Moved Map Making
    12 Posts 3 Posters 268 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.
    • VictoryFirstV Offline
      VictoryFirst
      last edited by

      I have the following territoryEffectAttachment:

      <attachment name="territoryEffectAttachment" attachTo="Convoy" javaClass="TerritoryEffectAttachment" type="territoryEffect">
        <option name="movementCostModifier" value="UK-scoutcar" count="-3"/>
      </attachment>
      

      UK-scoutcar has a movement of 4, so the intention with this is if this unit starts the turn inside a territory with territory effect "Convoy", it only has a movement of 1.

      Now unfortunately what happens currently is that I can select the unit, and once the cursor crosses the border of the territory while trying to move to another territory, TripleA freezes. My PC is becoming louder and I am unable to do anything. I have to force quit tripleA using Task Manager.

      If I set "count" to "-1", I can avoid this, but then there is no effect on the movement. So the machine does not freeze but the movement is still 4 for some reason. If it's any other number, the game freezes.

      What causes this behavior? And what should I do to get this to work as I want?

      One more special thing to note is that there is water between the territories, even though a connection is specified between these territories. Another thing is that both Atlantic Ocean Convoy and Indian Ocean Convoy have the territory effect "Convoy", although the behavior also comes up when moving from a convoy to a standard territory.
      caefd6d4-a85c-4c2f-8ed2-23219b2410d2-image.png

      B TheDogT 2 Replies Last reply Reply Quote 0
      • B Offline
        beelee @VictoryFirst
        last edited by

        @victoryfirst

        Does it throw a error or just freeze ? Are you in edit when it happens ?

        I know the Paras and LCVs kinda nutup sometimes in HRE

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

          @victoryfirst said in TripleA freezes with movementCostModifier:

          <option name="movementCostModifier" value="UK-scoutcar" count="-3"/>

          Try
          <option name="movementCostModifier" value="UK-scoutcar" count="3"/>

          AFAIK 2 is the extra cost to move into.

          https://forums.triplea-game.org/tags/thedog
          https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

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

            @beelee No error at all, just the game freezing. I am also not in edit mode.

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

              Try

              <option name="movementCostModifier" value="UK-scoutcar" count="3"/>

              AFAIK 2 is the extra cost to move into.thedog

              I tried this and it worked!!!

              B 1 Reply Last reply Reply Quote 1
              • B Offline
                beelee @VictoryFirst
                last edited by

                @victoryfirst

                RightArm.png

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

                  Update,

                  so it works completely correctly when both starting in a "convoy" and moving to a "convoy". However if you start in a convoy and move to a regular territory there is no effect on the movement. How do I solve that?

                  B 1 Reply Last reply Reply Quote 0
                  • B Offline
                    beelee @VictoryFirst
                    last edited by

                    @victoryfirst :astonished_face:

                    I have no idea 🙂 Hows java school coming along ? 🙂

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

                      I think movementCostModifier only applies when moving to the territory, not moving from it. Is there a way to get around this?

                      @beelee Java school is not going well, I am still at 5% of completing the course...

                      B TheDogT 2 Replies Last reply Reply Quote 0
                      • B Offline
                        beelee @VictoryFirst
                        last edited by beelee

                        @victoryfirst

                        😞

                        Edit
                        well lets ping wc @wc_sumpton

                        1 Reply Last reply Reply Quote 0
                        • TheDogT Offline
                          TheDog @VictoryFirst
                          last edited by

                          @victoryfirst said in TripleA freezes with movementCostModifier:

                          I think movementCostModifier only applies when moving to the territory, not moving from it. Is there a way to get around this?

                          Yes, only moving to the territory.
                          AFAIK, no way round this.

                          https://forums.triplea-game.org/tags/thedog
                          https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

                          TheDogT 1 Reply Last reply Reply Quote 2
                          • TheDogT Offline
                            TheDog @TheDog
                            last edited by

                            @VictoryFirst

                            I did some research on this, see here
                            https://forums.triplea-game.org/topic/2892/how-i-am-using-movementcostmodifier

                            https://forums.triplea-game.org/tags/thedog
                            https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

                            1 Reply Last reply Reply Quote 2

                            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
                            Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums