D-Day version 2 PoC
-
Proof of concept mod for D-Day version 2
Sets the territories to "water" except "A" areas, for hidden factories via map.properties and "ShoreBombardment".
All units are "isSea". Fighters are submarine like without "isFirstStrike" and "canEvade".
Fighters and Bombers are placed and have 0 movement. Because D-Day 2 only has 1 player both units should placed at the same time. Fighters must go into "P" areas while Bombers go into "G".
Surviving Bombers are returned to purchase they finish fighting. Surviving Fighters are returned after Germans NCM.
Any unit which ends its movement in a "P" area will be removed at the end of round.
Artillery support added as an option under "Game Options".
Compatible with 2.5. Game is not AI compatible.
D-Day_2_PoC_files.zip
Contains:
D-Day_2_PoC.xml
map.yml
map.properties (Hides the Factories because there is no icon)Original was created for @VictoryFirst D-Day 2 Improved mod.
Read and enjoy.

Cheers...
-
But Wait... Dare's More!
There's more, he says? Dare's mor'?
I fixed my little fighter/bomber problem. And I do love me some problems. There's just the fighter (sub) strafing problem. Now a stack of 4 Fighters works without using edit.
Cheers...
-
@wc_sumpton
Looking at the code, there is some clever cogitation and serious shenanigans going on
It will take awhile to work through.
-
@thedog said in D-Day version 2 PoC:
there is some clever cogitation and serious shenanigans going on
Questions? I got answers!
The secrets in the sauce... er... ah... map.properties! 
Cheers...
-
Ahh, map.properties
dont_draw_units=factory,FighterStack2,FighterStack3,FighterStack4No FighterStack1 ?
The AA guns are not on the map, so how do they appear?
What is the very small circles/loops for on the basemap? Mines?

-
@thedog said in D-Day version 2 PoC:
No FighterStack1 ?
FighterStacks are placed in territories that have more than 1 Fighter in them. Like factories, FighterStacks have no icon.
dont_draw_units=factory,FighterStack2,FighterStack3,FighterStack4allows these units to be placed on the map but the player will not see them.
On the mini map, in the upper right, is a small black bar.

This is the "A" area location with the factories.@thedog said in D-Day version 2 PoC:
The AA guns are not on the map, so how do they appear?
They are placed after the Fighters/Bombers are placed by checking the location of German Artillery.
<!-- AA Guns vs. Fighters --> <attachment foreach="$ArtilleryCount$^$GermanTerritories$:$FighterTerritories$" name="triggerAttachment@ArtilleryCount@AAGunPlacement@GermanTerritories@" attachTo="Germans" javaClass="TriggerAttachment" type="player"> <option name="conditions" value="conditionAttachment@ArtilleryCount@AAGun@GermanTerritories@:conditionAttachmentFighter@FighterTerritories@"/> <option name="placement" value="@FighterTerritories@:aaGun" count="1"/> <option name="when" value="after:AlliedForcesFightersPlace"/> </attachment>@thedog said in D-Day version 2 PoC:
What is the very small circles/loops for on the basemap? Mines?
Left over from the original map. This is a PoC so the map contains a lot of unused items like those little circles.
Thanks for the questions.

Cheers...
-
To help better understand the interactions between Fighters, AAA, and FighterStacks play a round, then view the history starting with Fighter placement.

Cheers...
-
Round 2, see below, do you need a FighterStacksX icon or did I do something wrong?
