In order to make the subs able to attack, I had to place them after the American non combat move (<option name="when" value="after:americanNonCombatMove"/>). I could not place them attached to americanPlace or americanEndTurn because that created an immobile sub the first turn.
The method you are trying to use by switching the tech on and off has a terrible side effect. Anyone that uses the battle calculator won't get accurate outcomes while the tech is off. So advance planning will be very difficult.
@rogercooper Yeah, I'd like to eventually get rid of some of the properties as they are really unnecessary. Only benefit they provide is if you want to allow them to be editable game options and the map works well both ways but honestly that is pretty rare.
I created an issue to track addressing this: https://github.com/triplea-game/triplea/issues/2538
ron-murhammer created this issue in triplea-game/triplea
Unable to View Error Log When Game Doesn't Load
I used the one that is built into the Triplea program.
You find it here: Engine Preferences - Run the map creator - Step 2: Map Utilities - Run the Automatic Placement Picker.
If you need tips about how to use it, just ask