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

    how I am using "movementCostModifier"

    Scheduled Pinned Locked Moved Map Making
    thedog
    3 Posts 2 Posters 937 Views 2 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.
    • TheDogT Offline
      TheDog
      last edited by TheDog

      I thought I would share how I am using "movementCostModifier"

      territoryEffectAttachment - for controlling movement

      The movementCostModifier can be used in the following ways;

      Simulate a Railway/Road, can move twice as far,    costs 1 -0.5  = 0.5 to enter	<option name="movementCostModifier" value="Tank:Truck" count="-0.5"/>
      Simulate a Warp-Drive, can give unlimited movement,costs 1 -1 = 0 to enter,     <option name="movementCostModifier" value="Enterprise" count="-1"/>	
      Block movement into terrain type, for move 2 unit, costs 1 +3 = 4 to enter, 	<option name="movementCostModifier" value="Mere:Gigas" count="3"/>
      Simulate slower move on a River, for move 2 unit,  costs 1 +1 = 2 to enter, 	<option name="movementCostModifier" value="Greatship:Longboat" count="1"/>
      

      Block movement can be used for one directional territory connections.

      My map Settlers: Fallen Empire
      https://forums.triplea-game.org/topic/2467/settlers-fallen-empire-official-thread
      Uses three of the above examples, Warp-Drive=unlimited movement and Slower move on a River and Block movement.

      A free/unlimited move.
      This is how Catapults are intended to work.
      In the Place phase, put them next to a Settlement.
      Next turn Attack with just the Catapult and do a Bombing raid, in the Non Combat phase retreat the Catapult, repeat until the Fort or Castle falls.
      This is achieved by coding the Catapult not to use its movement to enter the Settlement territory and so can use its move in the Non Combat phase.
      <option name="movementCostModifier" value="Catapult" count="-1"/> <!-- Allows Catapult to retreat from sieging a Settlement

      Slower move - Move 2 sea units can only move 1 on a river.
      This is achieved by making it cost 2 (1+1) to enter a river territory.
      <option name="movementCostModifier" value="Greatship:Longboat" count="1"/>

      Block Movement
      Gives the same result as the option "unitsNotAllowed".

      But can also be used for one directional territory connections, by making is cost say 99 to go back to where you came from.

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

      RogerCooperR 1 Reply Last reply Reply Quote 4
      • RogerCooperR Offline
        RogerCooper @TheDog
        last edited by

        @thedog Is there anyway to modify the costs based on territory control?

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

          @rogercooper
          As "movementCostModifier" is part of territoryEffectAttachment is is very limited to what else you can do.

          However if each unit type has its nationality/faction built into the unit like "infantry-usa" or "roman-infantry" then you can target who gets the benefit or not.

          I think that might be as good as is gets.

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