@beelee So for the first one:
<attachment name="triggerAttachment_Battleship_Ordered_to_Vichy_Port" attachTo="French" javaClass="games.strategy.triplea.attachments.TriggerAttachment" type="player">
<option name="conditions" value="conditionAttachment_Axis_Conquer_All_France:Vichy_active:conditionAttachmentFrenchBB"/>
<option name="chance" value="3:6"/>
<option name="when" value="before:frenchCombatMove"/>
<option name="uses" value="1"/>
I believe uses only is used up if it actually fires (you hit the chance) so you can't use that for what you are trying to do. You instead need to have another trigger that does fire after this one (say during after:frenchCombatMove) which sets a condition to false which is used in your trigger. As you also mention, if it only happens on a certain turn(s) then you could use the turns parameter instead.
The second one looks correct except that if the BB would arrive before the 2 uses, it then fires once the BB leaves. So you would need to set a condition to be false once the BB returns so the notification doesn't show when it leaves.
@alkexr said in Map Maker Resources:
@LaFayette Hue shift isn't ideal in this case, because the white highlight is supposed to stay white.
If that map property would actually shift the hue (only), white would remain white, of course.
@LaFayette said in Polygon grabber tool issues with islands inside a single territory:
The SZ name in territory is used as part of:
territory click detection
relief image breaker
That list is not fully exhaustive, it gets pretty complex to go down the tree of everything that uses that functionality and then everything that relies on that and so on.. It's a mess that the name of a territory is used at all to determine the territory type, in particular because it is not consistently done in that manner either.
Right, that is why I said "mapmaking utilities aside". So, once you have made the map, the only one of these points that matters is the "territory click detection" one, which is the only one I'm aware of, as well, if that comprises hovering the cursor to get information, as well.
There is a DTD, doc type definition that does enforce which XML entities and properties are allowed.
I was thinking you meant an XML property as opposed to a TripleA <property> tag. In XML, a property is typically a value after a tag, eg: <tag property=123>
When parsing in an enforcing mode the DTD defines which properties are valid and which are not.
Though you are right about property name values. An unrecognized one would go unused. EG: <property name='not-recognized'>
@Cernel Along that line of thought, perhaps a better way of phrasing what I was trying to say is this:
Rather than the outcome of the user action being notified of itself, could we substitute (or just reference) something from the notifications file?
I'm confident I can do this because the userActionAttachment has the activateTrigger option and the triggerAttachment has the notification option. This method will work, I was just hoping for a shortcut
Re: 1) really depends on the copyright that Slitherine Corp is using. They very likely have a commercial copyright. TripleA is GPLv3. Simply attributing the images is not enough.
Re: 2) Uploaders generally assume any copyright risks. Copyright infringement is bad news "The law provides a range from $200 to $150,000 for each work infringed." Best case you're given a cease and desist, worst case you are sued for copyright infringement.
Unless you have written permission that the images are in public domain, I don't think you can nor should use them.
@RogerCooper Right, but the point here was that, in a somewhat realistic game, by the time you reach the point in which Germany "collapses", the player playing that side would have already surrendered, thus you would virtually never actually reach the point.
Hi, I'm just a newbie into all this.
Do you know if there is any development about being able to use these special Sub abilities?
If I want to restrict Subs in First Strike phase to only hit surface warships, excluding aircraft (of course) and submarine (also), do you believe this small step can be more easily implemented?
It will not add another screen, or other phase at all. Just make aircraft and Subs not available as valid target.