Convoy zone
-
Hi, I'm trying to create sea zones which will give income to UK unless there is an axis sub or other naval unit on it at the time that UK collects income. I tried copying xml from Napoleonic Empires and the XML Option Browser but not having much luck. The sea zones are called: "CZ1","CZ2","CZ3","CZ4","CZ5". What is the best way to do this? These sea zones are not adjacent to any land areas. Thanks
-
@andrewthree
Hi andrew
I'm guessing you want a convoy zone so the sz is worth money but not if enemy ship is in it ? I don't remember 100% how I did it but<attachment name="triggerAttachment_90_SeaZone" attachTo="Germans" javaClass="games.strategy.triplea.attachments.TriggerAttachment" type="player">
<option name="trigger" value="conditionAttachmentConvoyandBlockade"/>
<option name="territories" value="90 Sea Zone"/>
<option name="territoryProperty" value="production" count="2"/>
<option name="territoryProperty" value="convoyRoute" count="true"/>
<option name="territoryProperty" value="convoyAttached" count=""/>
<option name="when" value="before:germansPolitics"/>
<option name="uses" value="1"/>so I have a trigger that activates it but you won't need it if it's always on. You need to add "convoy text" as well. It's in the "map" where objective properties and stuff are.
oops so convoy is right below the highlighted one. POS 2 explains it. It takes some searching but convoy and giving sea zones pu value "production" is what you want.
If you still have trouble let me know
oh and you'll need "convoy flags" too. DL "Global 40 House Rules" That's how I did it. You activate the "Convoy and Blockade" map option and it'll show up or just hit "Option Redesign"
-
hmm...actually idk if you need the convoy thing. I think you just need "territory Owner" and a "production" value. But you want the flag to show who has control of it.
If he's not too busy maybe @Cernel will clue you in.
-
@beelee I actually do not want any flag there. I was thinking about something like in ww2v3 where the italians get +5 PUs if they control certain land territories and there are no allied surface ships in the mediterranean. I want UK to get +1 PU for each of these sea zones which have no axis surface ship or submarine (usually it will be a submarine) in it at the end of the UK turn. There are no land areas which have to be controlled by UK (other than London of course).
-
@andrewthree those are NOS or national ObjectiveS @beelee can help with them he loves them
-
@andrewthree
yea i think you just need to give the sea zone "production" but idk if that makes it so the other player gets the dough instead of just neutralizing -
@prastle said in Convoy zone:
@andrewthree those are NOS or national ObjectiveS @beelee can help with them he loves them
it's a love hate thing
-
@beelee Ok, thanks, I'll mess with it some more
-
@beelee convoys were only ever neutralized was my understanding
-
@andrewthree said in Convoy zone:
@beelee I actually do not want any flag there. I was thinking about something like in ww2v3 where the italians get +5 PUs if they control certain land territories and there are no allied surface ships in the mediterranean. I want UK to get +1 PU for each of these sea zones which have no axis surface ship or submarine (usually it will be a submarine) in it at the end of the UK turn. There are no land areas which have to be controlled by UK (other than London of course).
Right on so something like this should work
<attachment name="conditionAttachment_Russians_1_Convoy_Clear" attachTo="Russians" javaClass="games.strategy.triplea.attachments.RulesAttachment" type="player">
<option name="enemyExclusionTerritories" value="125 Sea Zone" count="1"/>
<option name="unitPresence" value="battleship:carrier:submarine:destroyer:cruiser" count="0"/>
</attachment><attachment name="triggerAttachment_Russians_1_Lend_Lease" attachTo="Russians" javaClass="games.strategy.triplea.attachments.TriggerAttachment" type="player">
<option name="trigger" value="conditionAttachment_Russians_1_Lend_Lease"/>
<option name="resource" value="PUs"/>
<option name="resourceCount" value="3"/>
</attachment>so that means Russia gets 3 bucks if 125 doesn't have any axis ships.
-
@beelee for this to work do i need to be using v3 rules?
-
@andrewthree
hmm..idk that
what it uses tho. For the global 40 game -
@beelee global uses v3 rules as a base so I doubt it works in v2
-
@prastle
yea that's what I meant. Poorly worded on my part -
I think I have it working. I am using national objectives. Thanks for the help.