Subcategories

  • 0 Votes
    5 Posts
    863 Views
    C
    @Zaroph said in Strange AI behaviour making an "impossible" movement over a canal while landing a unit: Wasnt sure which category to use so posting it here. https://forums.triplea-game.org/topic/1708/how-to-submit-a-bug-report
  • Determine purchase count of a given unit?

    2
    0 Votes
    2 Posts
    888 Views
    RogerCooperR
    @Michael-Hoover You can't limit it directly. There are 2 workarounds. You can limit the total number of units of the type available You could have the unit producible only at a specific facility with a limited production capacity
  • Bunker, 1 round battle, stalemate, offense participation next round

    9
    0 Votes
    9 Posts
    1k Views
    C
    @TorpedoA Sorry, nevermind. I haven't tested it and remembered "canNotMoveDuringCombatMove" units would never attack, but, apparently, they do. In this case, I think there is not a clean way to have non-attacking units. However, this issue might be tracking the problem (which might be a regression): https://github.com/triplea-game/triplea/issues/7167
  • How to use 'canMoveThroughEnemies' with land units?

    5
    0 Votes
    5 Posts
    905 Views
    TorpedoAT
    @wc_sumpton Nevermind 2.0 has a new XML option canRetreatOnStalemate. We can use that to explicitly allow conscripts an option to retreat on stalemate.
  • How to only block Subs with Destroyers

    Moved
    3
    0 Votes
    3 Posts
    506 Views
    C
    Moved to Map Making.
  • isAAforFlyOverOnly for Air units and Low Luck

    15
    0 Votes
    15 Posts
    2k Views
    B
    @TorpedoA yea it's that they'll give scramble ability to other planes now even if a normal AB isn't there. isAirBase values: allows units with canScramble and requiresAirbaseToIntercept function from a territory with this unit
  • 0 Votes
    30 Posts
    4k Views
    wc_sumptonW
    @LaFayette I would give YAML a try, gives me a chance to learn something new. (Been trying JAVA, just can't seem to get this old head around it.:anguished_face: ) Cheers...
  • I like to share a NWO mod of mine in a fast simple way, but how?

    Moved
    13
    1 Votes
    13 Posts
    2k Views
    B
    Hi @TorpedoA If you wanna add as a separate map here is Frostion's guide: https://docs.google.com/document/d/1FfF7N0srp9QG0_if5D-c1d1Aa1QTttdhxgm1GBh3pI4/edit
  • Editing an HML

    3
    1 Votes
    3 Posts
    523 Views
    C
    @DominicVenditti said in Editing an HML: The XML file is named the exact same as the original code and its in the exact same place inthe directory as well. Anybody have any clue what I'm missing here? Thanks You are supposed always to rename the game, when you modify it in any way, unless you intend to update the original, in which case you should upgrade the version number for it. Doing this will also assure you are looking at the right one.
  • Polygon grabber tool issues with islands inside a single territory

    11
    4
    0 Votes
    11 Posts
    2k Views
    C
    @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 center picker placement picker 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.
  • UPDATING OLDER MAPS FOR 2.1

    Moved
    26
    1
    1 Votes
    26 Posts
    5k Views
    LaFayetteL
    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'>
  • assigning paratrooper tech

    14
    0 Votes
    14 Posts
    2k Views
    Marc SarziM
    @wc_sumpton actually, adding the techTokens made my earlier approach work (in my first attach .xml file) so no need for triggers!
  • Inflict damage on a unit outside of combat

    5
    0 Votes
    5 Posts
    1k Views
    alkexrA
    When a unit checks for repair facilities, it always selects the one where it can get the highest amount of repair, which is technically 0, in this case.
  • Error message

    Moved
    4
    1 Votes
    4 Posts
    792 Views
    C
    Assuming you are making or modifying a map, moved to Map Making. If not: https://forums.triplea-game.org/topic/1708/how-to-submit-a-bug-report
  • Chain a notification off of a User Action

    3
    1 Votes
    3 Posts
    1k Views
    Michael HooverM
    @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
  • I have lots of new unit models for both WW1 and WW2

    4
    0 Votes
    4 Posts
    1k Views
    LaFayetteL
    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.
  • Any way to add national morale?

    8
    0 Votes
    8 Posts
    2k Views
    C
    @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.
  • Where do I change map "version" so that "update" option is available

    8
    0 Votes
    8 Posts
    1k Views
    PantherP
    @Cernel said in Where do I change map "version" so that "update" option is available: I realize this is off topic. Agreed.
  • CannotTarget not working

    15
    0 Votes
    15 Posts
    2k Views
    B
    @redrum @Cernel 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.
  • Determine Unit Damage

    3
    0 Votes
    3 Posts
    905 Views
    Michael HooverM
    Thanks @Cernel, I was really hoping I was overlooking something simple, but at least it is possible as you suggested.

Recent Posts

  • @Ramon said:

    As i understand it, this should make each sea zone worth 1 PU? That doesn't seem to happen in my map, so im wondering if this might be related to the issue?

    This is a condition statement and is checking if player owns a sea zone.

    Cheers...

    read more

  • @Ramon

    For a new TTy you will need the correct xml info and then do the centers poly thing as well as drawing the new TTy.

    I forget the specifics but I'd pick a TTy and follow it through the xml adding the new name next to it. You can add the connections later but it shouldn't hurt to do it now either.

    Once the xml is up to date, follow Elk's guide step by step. @thedog probably more up to date on it than I 🙂

    If need be, we'll bring in reinforcements if you get stuck 🙂

    read more

  • Hi, @TheDog

    I noticed the top line:

    <attachment foreach="$All-Players$^$All-SZ$" name="conditionAttachment_SZ_@All-Players@_@All-SZ@" attachTo="@All-Players@" javaClass="RulesAttachment" type="player">
    <option name="DirectOwnershipTerritories" value="@All-SZ@" count="1"/>
    </attachment>

    As i understand it, this should make each sea zone worth 1 PU? That doesn't seem to happen in my map, so im wondering if this might be related to the issue?

    I dont know honestly, but thanks for all the help! Let me know if you somehow find a fix!

    Another question regarding map creater tool.

    I'm editing a map right now (domination 1914 NML).

    and following this guide: https://forums.triplea-game.org/topic/3432/a-brief-guide-to-the-map-creator-tools-utilities

    Splitting territories in two has worked for me, but creating new territories (islands as example) works differently? I cant get it to work, i assume its different from dividing excisting territories but how does this work?

    Same goes for sea zones, does that also work different?

    Thank you!

    read more

  • @ramon

    I think the condition that activates the trigger/condition has to come before the trigger/condition.

    Also, other things will still work but depending on where they're listed, will affect how they show up in the purchase window for example.

    Support attachments as well but I don't remember the specifics. WC clued me in on it. I need to look it up again.

    read more