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

    TOTAL GLOBAL WORLD WAR II- fusion & clean-up PROJECT

    Scheduled Pinned Locked Moved Map Making
    155 Posts 10 Posters 85.2k Views 10 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.
    • ebbeE Offline
      ebbe
      last edited by ebbe

      Okej TripleA Community: HELP-REQUEST for introducing an alternative WINTER-SEASON ( other then running in Total War and Big World 2 games )

      I like to have a Nordic Winter on all continents affecting all units attack and defense and movement. And have variations on that (like say T34 better winter-proof) I have allready the winter signs coming for a arctic and later nordic winter, followed by its removal in spring but fail to attach the negative units bonus

      I could to this by making a terrain type WINTER, specifify for each unit type the impact, but then I have to switch between 2 TERAINTYPES LISTS: A winter and non-winter one ( like one can switch in production connected with turns...that workins well ) WOULD THAT BE POSSIBLE? : A trigger on the total TERRAIN attchment switching between 2 types? Or maybe easier: 2 types of winter terrain attachments : one with penalties and one without .... And if possible how would that look like in coding? If somebody has a clue ... or another aproach to solve this ? would save me lot of time and frustration as this goes beyond my skills ; )

      1 Reply Last reply Reply Quote 0
      • ebbeE Offline
        ebbe
        last edited by

        Thanks @ wc_sumpton for feedback and suggestion on alternative Winter implementation!

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

          This is what I see:

          <!-- A winter territoryEffect -->
          <attachment name="territoryEffectAttachment" attachTo="Winter" javaClass="games.strategy.triplea.attachments.TerritoryEffectAttachment" type="territoryEffect">
              <option name="noBlitz" value="whateverUnit:and more"/>
              <option name="combatOffenseEffect" value="infantry" count="-1"/>
              <option name="combatDefenseEffect" value="infantry" count="-1"/>       
          </attachment>
          
          <!-- The conditions to apply the Winter attachment -->
          <attachment name="conditionAttachmentWinter" attachTo="Germans" javaClass="games.strategy.triplea.attachments.RulesAttachment" type="player">
              <option name="rounds" value="28:32"/>
          </attachment>
          
          <!-- I don't understand the reason for this trigger but left it alone -->
          <attachment name="triggerAttachmentWinter" attachTo="Germans" javaClass="games.strategy.triplea.attachments.TriggerAttachment" type="player">
              <option name="conditions" value="conditionAttachmentWinter"/>
              <option name="frontier" value="germansRumanianT25Production"/>
              <option name="when" value="before:germansPurchase"/>
          </attachment>
          
          <!-- The attaching trigger -->
          <attachment name="triggerAttachmentAddWinterToTerritories" attachTo="Germans" javaClass="games.strategy.triplea.attachments.TriggerAttachment" type="player">
            <option name="conditions" value="conditionAttachmentWinter"/>
            <!-- Needs the list of territories affected by winter ie: Berlin:Moscow:etc -->
            <option name="territories" value="ListOfTerritories"/>
            <option name="territoryAttachmentName" value="TerritoryAttachment" count="territoryAttachment"/>
            <option name="territoryProperty" value="territoryEffect" count="Winter"/>
            <option name="when" value="before:germansCombatMove"/>
          </attachment>
          

          Make sure you give a list of territories separated by colons in the above trigger.

          Cheers...

          1 Reply Last reply Reply Quote 1
          • ebbeE Offline
            ebbe
            last edited by ebbe

            @wc-sumption: WINTER-Implementation via TerrainEffects List: after spending some time on variations of this suggestionmy current conclusion: I don't get it working: ( no bug report either so that is ok ) Winter effect is not "added" as feature in a "trigger-listed territory" by this trigger... it works fine if I add Winter effect as territoryEffectAttachment and add it to a specific territory "hardcoded" but not by trigger.... Thanks for your support... if you or anyone else might have an idea for another option please let me know... plan B was to see if it is possible to add a negative battle bonus on a Dummy-players' Unit ( winterSign) and try to get a general penalty but that would be pretty rough.... and not best option ( especially to support more winter-proof units as Soviet T34's etc )

            1 Reply Last reply Reply Quote 0
            • ebbeE Offline
              ebbe
              last edited by ebbe

              Slow progress solving and testing oil refineries change/damage/disabled options, and strategic bombing of all structures.... one question popped up:

              IS THERE A LIST/OVERVIEW WITH ALL ELEMENTS/OPTIONS supported by the latest triple A version ??? it would help me a lot !

              thnxs...!!!

              winterfront.jpg
              empty winter front after 2 harsh battle rounds...
              refineries at East Poland damaged after conquest or in full production in Rumania... oil will be central theme besides terrain types.... short of oil? than allways possible to buy extra but that drains your units-purchasing...

              B 1 Reply Last reply Reply Quote 1
              • B Online
                beelee @ebbe
                last edited by

                @ebbe not sure if this is what you're looking for or not but it's pretty handy if you're not already aware of it.

                http://www.starlords3k.com/XOB.html

                For the new stuff

                https://triplea-game.org/release_notes/
                look for Map XML.

                I thought I remembered seeing some stuff on Git somewhere that listed everything, new anyways, but I could be wrong.

                1 Reply Last reply Reply Quote 0
                • ebbeE Offline
                  ebbe
                  last edited by ebbe

                  Thnxs Belee... I dive into it soon....

                  notify.jpg
                  now working on some notifications with historical pics to get some flavour...
                  anyway... I take a break posting in this forum besides essential questions....

                  1 Reply Last reply Reply Quote 1
                  • SchulzS Offline
                    Schulz
                    last edited by

                    You could also use photoshop for unhistorical notifications, it would be very enjoyable.

                    ebbeE 1 Reply Last reply Reply Quote 0
                    • ebbeE Offline
                      ebbe @Schulz
                      last edited by

                      @Schulz good idea.....

                      1 Reply Last reply Reply Quote 0
                      • ebbeE Offline
                        ebbe
                        last edited by ebbe

                        @Schulz: Okej it took me 1,5 day but original country flags look good too... 😉
                        -also worked on waves that feel bit real but not too distracting.. and coast / border shades...... So I return to the coding and send out some HELP requests concerning some matters I have a hard time to solve.. enjoy your weekend! <br>!!waves.png

                        1 Reply Last reply Reply Quote 1
                        • SchulzS Offline
                          Schulz
                          last edited by

                          Sea zones and coasts look awesome. TripleA really needs a basic tutorial how to make sea zones and coastlines like that.

                          1 Reply Last reply Reply Quote 1
                          • B Online
                            beelee
                            last edited by

                            Hi @ebbe Got your message. Can you explain exactly what it is that you're trying to do again ?

                            ebbeE 1 Reply Last reply Reply Quote 0
                            • ebbeE Offline
                              ebbe @beelee
                              last edited by ebbe

                              @beelee

                              @beelee : Thnxs: I want to implement Winter Season ... like in Hepps' WWII TOTAL, but then impactspecified for each unit type... like with Terrain Effects..
                              I tried with Terrain Effect implementation but failed...

                              then WcSumption was so kind to give me a possible way to solve it,
                              14 days ago in this forum, it but I don't get it working...
                              .and it takes away too much precious time for ; )......

                              And I am determined to **have Oil/Fuel, Terrain Types and Winter season together ** in this scenario: As I think these were essential elements in WW2...

                              ... I made a 2 step winter.. first Arctic and then more general Nordic winter... they dissappear the opposite way again in spring...
                              but fail on the terrain effect connection.. 😞 I have limited skills in coding unfortunately... more like Copy Adapt Paste Copy Error error fix .. 🙂

                              wc-sumptions' idea:

                              winterEffect.txt

                              B 1 Reply Last reply Reply Quote 1
                              • B Online
                                beelee @ebbe
                                last edited by

                                @ebbe post your xml of what you currently have. Another map that uses oil is "Iron War". Idk if it has weather. Might give you some more ideas.

                                F 1 Reply Last reply Reply Quote 0
                                • F Offline
                                  ff03k64 @beelee
                                  last edited by

                                  @beelee @ebbe iron war doesn't have territory effects.

                                  Oil (just called fuel) is basically each point of movement costs a fuel, but planes cost flat rate of half their movement potential.

                                  1 Reply Last reply Reply Quote 1
                                  • ebbeE Offline
                                    ebbe
                                    last edited by ebbe

                                    @Belee: I send you the XML code ( still under construction) Winter implementation-attempt at -> 7394-7688 thnxswwIIglobal41_1st_edition@Belee.xml

                                    B 1 Reply Last reply Reply Quote 1
                                    • B Online
                                      beelee @ebbe
                                      last edited by

                                      @ebbe wow where did it go ? I saw it earlier when I skimmed through but it's not here now

                                      1 Reply Last reply Reply Quote 0
                                      • B Online
                                        beelee
                                        last edited by

                                        I skimmed through this a bit. The only thing that jumps out is you have two "unitAttachment" s for "winterSign"

                                        <attachment name="unitAttachment" attachTo="winterSign" javaClass="games.strategy.triplea.attachments.UnitAttachment" type="unitType">
                                        <option name="isInfrastructure" value="true"/>
                                        <option name="canBeDamaged" value="false"/>
                                        <!-- <option name="unitType" value="infantry"/>
                                        <option name="faction" value="allied"/>
                                        <option name="side" value="offence"/>
                                        <option name="dice" value="strength"/>
                                        <option name="bonus" value="1"/>
                                        <option name="number" value="1"/>
                                        <option name="bonusType" value="ArtilleryBonus"/>
                                        <option name="impArtTech" value="false"/>
                                        <option name="players" value="germans:italians"/>-->
                                        <!--<option name="bonus" value="1"/>
                                        <option name="unitSupportCount" value="20"/>
                                        <option name="bonusType" value="infantry_bonus"/>
                                        <option name="attack" value="0"/>
                                        <option name="defense" value="0"/>-->
                                        </attachment>

                                        <attachment name="unitAttachment" attachTo="winterSign" javaClass="games.strategy.triplea.attachments.UnitAttachment" type="unitType">
                                        <option name="isInfrastructure" value="true"/>
                                        <option name="canBeDamaged" value="false"/>
                                        <option name="movement" value="0"/>
                                        <!-- <option name="unitSupportCount" value="20"/>
                                        <option name="attack" value="0"/>
                                        <option name="defense" value="0"/>-->
                                        </attachment>

                                        Idk if that would screw anything up or not. So right now, the winter unit shows up and goes away correctly, it's just not having any effect on any units ?

                                        1 Reply Last reply Reply Quote 0
                                        • B Online
                                          beelee
                                          last edited by beelee

                                          I don't see a "territoryEffectAttachment" for "winterSign" either. Using wc's example

                                          <!-- A winter territoryEffect -->
                                          <attachment name="territoryEffectAttachment" attachTo="Winter" javaClass="games.strategy.triplea.attachments.TerritoryEffectAttachment" type="territoryEffect">
                                          <option name="noBlitz" value="whateverUnit:and more"/>
                                          <option name="combatOffenseEffect" value="infantry" count="-1"/>
                                          <option name="combatDefenseEffect" value="infantry" count="-1"/>
                                          </attachment>

                                          So where you have the 2nd unitAttachment for winterSign, turn it into a "territoryEffectAttachment" and add all the -movement units. Use the "Mountain" one right below it for a template.

                                          ebbeE 1 Reply Last reply Reply Quote 0
                                          • ebbeE Offline
                                            ebbe @beelee
                                            last edited by ebbe

                                            @beelee : thnxs : - I indeed removed "territoryEffectAttachment" for winter temporary thinking it caused other trouble... and 2 wintersigns? hmmm that is messy: I fix that and test again!

                                            1 Reply Last reply Reply Quote 1

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