Subcategories

  • Measuring Allies & Enemies

    3
    1 Votes
    3 Posts
    636 Views
    RogerCooperR
    @Frostion I am actually close to getting something working. <attachment name="conditionAttachmentJapaneseEnemyUnitPresent" attachTo="Japanese" javaClass="games.strategy.triplea.attachments.RulesAttachment" type="player"> <option name="enemyPresenceTerritories" value="all" count="each"/> </attachment> <attachment name="triggerAttachmentJapaneseEnemyUnitCount" attachTo="Japanese" javaClass="games.strategy.triplea.attachments.TriggerAttachment" type="player"> <option name="conditions" value="conditionAttachmentJapaneseEnemyUnitPresent"/> <option name="resource" value="PUs"/> <option name="resourceCount" value="1"/> <option name="when" value="after:BBidplace"/> </attachment> The trigger is not firing, but I am getting close to having a way of counting all enemy units and all friendly units. I can then use the difference for some rough handicapping. In many scenarios, there is no obvious historical (or hypothetical) conflict. This way I can just assign random sides and balance them, rather than having a free-for-all, which I find makes for uninteresting play.
  • Map error help

    25
    0 Votes
    25 Posts
    8k Views
    G
    Ok thanks, that worked!
  • Conditional Landbridge. . .

    5
    0 Votes
    5 Posts
    1k Views
    Joe GJ
    thanks guys!
  • Maximum Unit Size?

    7
    0 Votes
    7 Posts
    1k Views
    Michael HooverM
    @Frostion Yes it does, thank you for the additional information.
  • Can't Get Politics Phase to Work on Map

    4
    0 Votes
    4 Posts
    707 Views
    Joe GJ
    Hey Cernel, thanks for your guidance here. I figured out the problem. Did not have a relationshipinitialize section Did not have any true neutral territories on the board so it interfered with stuff. It works now! Thanks for all your help.
  • Error When Taking Other Faction's Capital

    2
    0 Votes
    2 Posts
    496 Views
    Joe GJ
    @Joe-G FIgured this out. A list of playerattachments at the end was missing from my XML.
  • Defense Bonus for Tank Support

    4
    0 Votes
    4 Posts
    757 Views
    C
    @Joe-G No problem. TripleA is fairly evenly split between British and American English. It can be easily confusing. I would personally prefer if TripleA would follow British English fully.
  • 0 Votes
    7 Posts
    984 Views
    Joe GJ
    @Frostion thanks. you guys rock. I got it working
  • Changing Territory Owner with a User Action

    11
    0 Votes
    11 Posts
    2k Views
    FrostionF
    @Cernel @stalinpasha I just use drag and drop when I want to upload an image to forum.
  • Zombie Spawning

    3
    0 Votes
    3 Posts
    816 Views
    C
    @Cernel Mind you that, this way, removed attacking units will turn into zombies owned by the attacking player, if you retreat, or owned by the defending player, if you lose the battle without retreating. For the losing battle without retreating part, you can have a trigger conquering the territory in favour of the "Zombies" player before the infrastructure unit repairs and, immediately thereafter, another trigger re-establishing ownership without conquering the territory (just check that a battle has happened for the attacker but the territory is owned by an enemy of the attacker, if you have a basic 2 sides scenario). For the retreat part, you can hack it by having the intermediate infrastructure unit being a movement 0 air unit (so it won't retreat with the rest and will never move out of it), but I personally strongly disagree on the current behaviour that attacking air infrastructures are conquered (since they are hovering the territory, they should not be influenced by any ownership changes, until after they landed on it, which they never can) (I believe a @Frostion map uses this behaviour for Nuke, if I recall correctly, but I consider this being a case of exploiting a wrong engine behaviour (bug)).
  • What Map Category?

    6
    0 Votes
    6 Posts
    3k Views
    Michael HooverM
    @Frostion thanks for the info I wasn't sure. Yeah in the yaml its version 1 so I'll pull it now and update it. I've already updated the repository on github (getting used to that as I am a noob there too :face_with_raised_eyebrow: ).
  • List of possible sounds in sounds.properties

    25
    1
    1 Votes
    25 Posts
    8k Views
    Michael HooverM
    @Frostion - thank you for all the advice on sounds. I finally have everything lined out thanks to your tips and tricks! I'll be updating Twelve Clans later with music and sounds. :beaming_face_with_smiling_eyes:
  • Trigger createsUnitsList count from 1 to 0 ?

    5
    1
    0 Votes
    5 Posts
    1k Views
    Michael HooverM
    Me too - this has some intriguing applications...
  • "Unit Help" Showing units that don't exist as option for nation

    3
    1
    0 Votes
    3 Posts
    808 Views
    S
    Ah yes.. I see the problem. I have a local copy of the xml and "unit" folder for development purposes and I have simply been adding my new units to the existing folder in the actual game. I see the original author of this game did have these two units in the folder. If I move them out.. the problem is solved! Thanks. Also, I agree it would be better to look at production frontier, but minor problem. Thanks for the help. I think my new version is ready to release to the public.
  • How to use Variables

    variable variablelist
    6
    0 Votes
    6 Posts
    3k Views
    RogerCooperR
    I am now using variables successfully..
  • Hard or Does Nothing AI for unactive players

    34
    0 Votes
    34 Posts
    9k Views
    C
    @LaFayette Yeah, that's why DNAI needs to be figured out and documented (and fixed to work with no capitals without crashing, possibly), as it is now going one way in the moment you can use it for attacking with its own phases and another way in the moment it substantially skips the collect phase, plus the strange behaviour of a first purchase then nevermore, that it is a complete surprise to everyone. Substantially, Veqryn made this AI probably based on something he was planning, but that never happened and, as far as I know, nothing was documented about all this more or less artificial and likely sigle-game tailored construct, that has been since available to all users and map makers. I would personally prefer it being just 100% like assigning the player to somebody that just keeps skipping everything it can skip and clicks randomly on anything it must do (but this would require fixing the placement phase itself as being a must do, preferably with a property to allow having the current free-not-to-place behaviour for custom maps).
  • "Could not find territory. name: " error

    3
    0 Votes
    3 Posts
    1k Views
    Z
    @Hepps Yeah thats what it looks like and what I initially thought but I double-triple checked and didnt find anything. But you did just give me the idea of searching for "" in the file and I found a unit placed with no territory. I probably wouldnt have thought of searching for that if I didnt read your comment tho, so thank you alot.
  • Can a Unit do 2 damage on one hit? (Make enemy select 2 casualties)

    6
    0 Votes
    6 Posts
    851 Views
    C
    @gabegolfer said in Can a Unit do 2 damage on one hit? (Make enemy select 2 casualties): How would I assign the number of dice rolls per round? <option name="attackRolls" value="*"/> <option name="defenseRolls" value="*"/> *natural number Would that be in the “unitAttachment” section? Yes. Is more than one dice roll per round even possible? Yes, since Classic.
  • Step Name

    step
    1
    0 Votes
    1 Posts
    315 Views
    No one has replied
  • foreach syntax

    3
    0 Votes
    3 Posts
    545 Views
    RogerCooperR
    @Cernel Thank you. The capitalization issues without error messages are hard to catch.

Recent Posts

  • @Ramon said:

    -can i make tech dice basically hit every time (so they hit at 1 or higher, basically you pay 20 ipcs for guarenteed tech unlock)

    <property name="Low Luck for Technology" value="true" editable="true"> <boolean/> </property>

    Give the player the number of dice equal to "diceSides".

    @Ramon said:

    <option name="isMarine" value="true"/>

    "isMarine" takes a number value. "isMarine"=true is converter to "isMarine"=1. "isMarine" can also be set to negative values.

    @Ramon said:

    If i understand correctly you can basically give conscripts 1 attack, and make every unit (except trenches) debuff them with 1?

    Yea.. but upon further testing, because both units are 0, the buff was not applied, so I'm still working on this.

    wc_sumpton said:

    It can get slightly complicated.

    Cheers...

    read more

  • @Ramon said:

    -can i make tech dice basically hit every time (so they hit at 1 or higher, basically you pay 20 ipcs for guarenteed tech unlock)

    Hi

    The answer is yes but I can't find an example at the moment. Roger, The Dog or the Master wc will clue you in most likely 🙂

    but it has something to do with "rolls" and "chance' if i remember right.

    From POS2

    Screenshot from 2026-09-18 08-49-37.png

    so something like that

    read more

  • found the marine!

    <option name="isMarine" value="true"/>

    sometimes it can be so easy

    read more

  • @wc_sumpton

    Hi WC!

    Thanks a lot for your time and effort!

    If i understand correctly you can basically give conscripts 1 attack, and make every unit (except trenches) debuff them with 1?

    I have 2 more questions:

    -can i make tech dice basically hit every time (so they hit at 1 or higher, basically you pay 20 ipcs for guarenteed tech unlock)
    -for a unit such as a marine can i give it +1 amphibious attack?

    ~Ramon

    read more