TOTAL GLOBAL WORLD WAR II- fusion & clean-up PROJECT
-
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...
-
@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 )
-
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...!!!

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... -
@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.
-
Thnxs Belee... I dive into it soon....

now working on some notifications with historical pics to get some flavour...
anyway... I take a break posting in this forum besides essential questions.... -
You could also use photoshop for unhistorical notifications, it would be very enjoyable.
-
@Schulz good idea.....
-
@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>!!
-
Sea zones and coasts look awesome. TripleA really needs a basic tutorial how to make sea zones and coastlines like that.
-
Hi @ebbe Got your message. Can you explain exactly what it is that you're trying to do again ?
-
@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:
-
@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.
-
-
@Belee: I send you the XML code ( still under construction) Winter implementation-attempt at -> 7394-7688 thnxswwIIglobal41_1st_edition@Belee.xml
-
@ebbe wow where did it go ? I saw it earlier when I skimmed through but it's not here now
-
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 ?
-
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.
-
@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!
-
Okej: working on this some hours: concerning issues with the previous discussed WINTER EFFECT: it is still not able to reset: does anyone know if the : -reset- option is okej in following?
<option name="territoryAttachmentName" value="TerritoryAttachment" count="territoryAttachment"/>
<option name="territoryProperty" value="territoryEffect" count="-reset-"/>I think that's the point......
-
@ebbe I'll try and look at this closer later tonight. It seems if you have a unit "winterSign" that modifies whatever is in the same TTy and you remove and replace it, you shouldn't even need a territoryEffect because the unit winterSign is creating the effect. The effects should just be added to winterSign in unitAttachment.
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