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

    Remove SBR damage limit?

    Scheduled Pinned Locked Moved Map Making
    7 Posts 4 Posters 1.5k 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 am trying to remove the damage limits for strategic bombing raids, but it doesn't work. I've set the following properties:

      <property name="Limit SBR Damage To Factory Production" value="false" editable="false">
        <boolean/>
      </property>
      <property name="Limit SBR Damage Per Turn" value="false" editable="false">
        <boolean/>
      </property>
      <property name="Use Bombing Max Dice Sides And Bonus" value="true" editable="false">
        <boolean/>
      </property>
      <property name="Territory Turn Limit" value="false" editable="false">
      	<boolean/>
      </property>
      <property name="SBR Affects Unit Production " value="false" editable="false">
      	<boolean/>
      </property>
      

      This is the territory attachment:

      <attachment name="territoryAttachment" attachTo="Leningrad" javaClass="games.strategy.triplea.attachments.TerritoryAttachment" type="territory">
        <option name="production" value="1"/>
        <option name="originalFactory" value="true"/>
        <option name="changeUnitOwners" value="Russians"/>
      </attachment>
      

      What should happen, is that the die rolls for all bombers are added up and then that total amount of PUs is removed from the player being bombed. However, the game engine limits each roll to the production value of the territory.

      f321ab20-853a-45ff-baaa-ebc12259043e-image.png

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

        Never mind, I found the issue

        <property name="WW2V2" value="true" editable="false">
          <boolean/>
        </property>
        

        This property overwrote the other ones and made the limit apply, even though the other ones were below this one. I thought if you have a property that sets something to true and a couple of lines later another property that sets the same thing to false, it would be false, but that's apparently not the case.

        Lol I only post these questions when I really can't figure out the issue, but I always find the solution just after I posted 😅

        TheDogT wc_sumptonW 2 Replies Last reply Reply Quote 3
        • TheDogT Offline
          TheDog @VictoryFirst
          last edited by

          @victoryfirst
          Putting a positive spin on things, you are solving your own problems and future map-makers have posts to search and learn 🙄 😀

          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 4
          • VictoryFirstV Offline
            VictoryFirst @TheDog
            last edited by

            @thedog Hehe that's true. Remember kids, never set "WW2V2" to "true" if you want to remove the damage limits for SBRs 😁

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

              @victoryfirst said in Remove SBR damage limit?:

              I thought if you have a property that sets something to true and a couple of lines later another property that sets the same thing to false, it would be false, but that's apparently not the case.

              Not so my friend, properties default to false, if you set it to false it is ignored. So, setting cover property like "WW2V2"/"WW2V3" to true will set those to true.

              Cheers...

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

                @victoryfirst said in Remove SBR damage limit?:

                Remember kids, never set "WW2V2" to "true" if you want to remove the damage limits for SBRs

                ha ha ha !!!

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

                  @VictoryFirst

                  That made me laugh lol

                  In case you're not aware, v2 changes some other stuff too. Technology tokens i think. Maybe some other stuff. Can't remember

                  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