I have here "Pacific" version 1.2
i updated it from 1.0.4 to include some rules properties that are needed to comply with the actual rulebook for it
http://sites.google.com/site/tripleasupplydepot/home/triplea-maps-iii/pacific.zip
you can also find it on the eb list
the only thing needed for this map to actually be playable is the "givePUs" delegate to work
for the givePUs delegate to work properly, it should NOT be hard-coded
there should be somewhere in the xml where it states the following:
WHO the player can give their PUs to
and HOW MUCH the player can give TOTAL
and optionally: how much the player can give to each other player (this would have to take into account the total, so that i could set the total at 10, then the individual amounts at 7 and 6. so then the player could give 7 to one guy and 3 to the other, but not more than that because would exceed the 10 total)
we already have the delegate:
<delegate name="givePUs"
javaClass="games.strategy.triplea.delegate.GivePUsDelegate"
display="Give PUs"/>
and the step:
<step name="commonwealthGivePUs" delegate="givePUs" player="Commonwealth"/>
so for example, a good place for this would be in the rules attachments section:
<attatchment name="rulesAttatchment" attatchTo="Commonwealth" javaClass="games.strategy.triplea.attatchments.RulesAttachment" type="player">
<option name="AllowedGivePlayers" value="British:Australians"/>
<option name="AllowedGiveTotal" value="12"/>
</attatchment>
in this example, the \"Commonwealth\" play is allowed to give up to 12 PUs per step to the British and Australians
he could give 12 to the UK and 0zero to to Australians, or 5 to the UK and 7 to the Australians, or whatever
he could NOT give 13 to the UK, and could not give 6 to the UK and 7 to Australians (both add up to 13, which is more than the 12 allowed above in this example)
This delegate should NOT require any property set in the xml. (i do not know if it currently requires \"Pacific Theater\" or not, but i think it should not require Pacific Theater or any other properties, because some maps would not want all the other stuff that comes with the pacific theater property)
the good part of this, is that it allows for maps other than just \"pacific\" to use this property....
(it should not be hard coded in any way... everything should be able to be set within the xml)
soooo..... sgb and kev.... i hope at some future date people will be able to play \"pacific\", which is SOOOO close to being done
(only the givePUs delegate needs completion. the other things, like combat air patrols, do not need to be done as they are not needed to be able to play the game.)
you should have separate delegates for that
one called GivePUs
one called GiveUnits
the give pu's needs to have conditions that you can set like:
which players you give it to
how much total can you give
how much to each player can you give
the GiveUnits needs to have conditions like:
which units types can be given
do the units HAVE to be on territory owned by the player you want to give them to? (or beside, for sea units)
does that territory have to be original or can it be captured territory?
does it have to be beside a factory, or just any owned/original territory?
which players can you give
how many units can you give total
how much to each player can you give
(give units needs to fulfill the requirements of 'europe', which has a lend lease feature, where any usa or uk units that start the russian turn on original russian territory can be converted to russian units. except that they can not move that turn.
this could be solved with having the delegate at the beginning of the uk turn, so that they uk has to already have those units in russia since last turn for them to be there at the beginning of her turn. since it would take effect immediately, the units would become russian and not be moveable by the uk that turn.
also, you have something in 'pacific' right now, that converts all australian units into british units...
i would love to use that with other countries...
please make it so that we can use that in our xml's (without any other pacific rules)
thx kev, i love your work,
veqryn