Subcategories

  • trigger question - unit with hit

    36
    1 Votes
    36 Posts
    7k Views
    B
    @numetalfan I would try using "unitPresence" and"directPresenceTerritories" instead . Something like <option name="directPresenceTerritories" value="53 Sea Zone" count="1"/> <option name="unitPresence" value="battleship" count="1"/>
  • Step Name Withdraw

    3
    1
    0 Votes
    3 Posts
    620 Views
    B
    @trevan ahh...I remember that now. Idk if they're related or not, but the cause in this case is different. The reason the error threw, was because I moved some units in edit into combat as an engine workaround. When i went to retreat the air units, there was still an edited unit alive and it didn't know where it came from is my guess. I thought maybe I needed a withdraw step up by Purchase, CombatMove etc..
  • Support Attachment Question

    4
    0 Votes
    4 Posts
    667 Views
    B
    @beelee well I sent an arty and inf against 2 inf and it had 48% success rate. I sent 1 tank and 1 inf and it had 51% success. Both had same attack power. I guess it's just not gonna pick that Guard unit until all the other supported units are dead. Bummer. I can't really think of any way to hack around it. Even if I could make a trigger work somehow, doubtful, if a Guard and arty were present in same TTy, it would negate the first attachment and I could use a second one for Guards only, It'd negate all the battles with artillery. Unless I could specify each TTy. As I said, I'm doubtful of that idea.
  • Attempted Merging Values Error

    2
    0 Votes
    2 Posts
    807 Views
    C
    I've also discovered it happens specifically when rolling history backwards between the American Combat and Non-Combat phases. Don't know if that's important.
  • Using -reset- To Change Original Owner

    4
    1 Votes
    4 Posts
    588 Views
    B
    @general_zod Right on ! <attachment name="triggerAttachmentNormandyOriginallyNeutral" attachTo="Germans" javaClass="games.strategy.triplea.attachments.TriggerAttachment" type="player"> <option name="conditions" value="NormandyOriginallyNeutral"/> <option name="territories" value="Normandy Bordeaux"/> <option name="territoryAttachmentName" value="TerritoryAttachment" count="territoryAttachment"/> <option name="territoryProperty" value="originalOwner" count="Neutral_Allies"/> <option name="uses" value="1"/> <option name="when" value="after:changerCombatMove"/> </attachment> Thanks General
  • HP repair question

    5
    1 Votes
    5 Posts
    968 Views
    N
    @torpedoa Maybe by a trigger with uses = 5 the condition would be a unit in the country or in a sea zone next to it. However this might cause fifo, first in first out, which means the first 5 units would be repaired. For the next round you would need another trigger. Not an ideal solution, but maybe one that works
  • 0 Votes
    5 Posts
    844 Views
    B
    @themaster42 Rename the folder with your mod. You'll need to rename the xml as well.
  • sleeping nations trigger function

    10
    0 Votes
    10 Posts
    2k Views
    wc_sumptonW
    @Numetalfan You are probably right. I was thinking collect income, which is done at endTurn. Cheers...
  • REPAIR AND LOADING ISSUES

    8
    0 Votes
    8 Posts
    2k Views
    ubernautU
    @ebbe it's interesting i kinda like the way it is tho
  • territory Property error

    10
    0 Votes
    10 Posts
    1k Views
    wc_sumptonW
    @Numetalfan I am sorry for being unclear. The attachment name 'territoryEffectrussinawinter' may be causing the problem: <!-- <attachment name="territoryEffectrussianwinter" attachTo="russian_winter" javaClass="TerritoryEffectAttachment" type="territoryEffect"> --> <attachment name="territoryEffectAttachment" attachTo="russian_winter" javaClass="games.strategy.triplea.attachments.TerritoryEffectAttachment" type="territoryEffect"> <option name="noBlitz" value="armour:mobile_artillery"/> <option name="combatOffenseEffect" value="armour" count="-1"/> </attachment> You are creating an attachment for 'russian_winter'. Cheers...
  • map.yml - file

    Moved
    7
    1 Votes
    7 Posts
    1k Views
    RogerCooperR
    @lafayette I agree, an automated system would be better.
  • Simple ancient battle concept idea and questions

    5
    1 Votes
    5 Posts
    755 Views
    TorpedoAT
    @TheDog I use dice 6 Commanders add support +1 for 10-20 units No terrain effects I use max combat value at 4 for normal battle, then with 2 different/stacking support attachments, some units can reach 6 for combat, like Legionaries e.g. to represent the strongest units. Here the list which i think about atm. I extended it again because i have a great variety of units. (air values = ranged) (normal values = melee) shortbowmen (2/3) (1/1) longbowmen (3/4) (1/1) light javelin infantry (2/2) (2/2) medium javelin infantry (1/1) (3/3) -> 2 HPs heavy javelin infantry (1/1) (4/4) -> 2HPs light spearmen (0/0) (2/3) heavy spearmen (0/0) (3/4) -> 2HPs horsearchers (2/3) (2/1) light javelin horsemen (3/2) (3/2) medium javelin horsemen (2/1) (3/2) -> 2HPs heavy horsemen (0/0) (4/3) -> 2HPs war chariots (4/3) (2/1) -> 2HPs war elephants (1/1) (4/3) -> 2HPs All horses and chariots are 2 movement and can scramble. Elephants only move 1. Eventually you can just take the list and change what you think would be proper values. And of course your rough cost values. Dont need to be super precise. As you can see, i put horses, chariots and elephants as offensive powers, and bowmen and spearmen the defensive ones overall and there are a great number of 2HP units, because i have healer units. Thanks for your thoughts
  • Questians about creating map skin

    1
    0 Votes
    1 Posts
    293 Views
    No one has replied
  • GLOBAL WWII OIL & SNOW -Project

    99
    2
    3 Votes
    99 Posts
    40k Views
    ebbeE
    [image: 1615550588417-hilltype2y.png] Okej, managed to adapt the hills relief; personally I think better than the previous one, but still not completely satisfied..... anyway, back to coding; this is acceptable in the mean while....
  • Map Making 2.6 Change Summary

    15
    1 Votes
    15 Posts
    3k Views
    LaFayetteL
    No map maker should be relying on the engine to generate any of these files for them. That behavior will go away, it's only there so that players do not need to redownload maps. These are not that many changes necessarily, but the explanation has been too complex.. Game notes, map.yml and description.html are the only new things.
  • Question about an optional trigger

    8
    0 Votes
    8 Posts
    1k Views
    wc_sumptonW
    @Schulz Sorry, none that I am aware of. You can set the Player to AI with 'defaultType="AI"'. This can be selected by the player at the start of the game. Cheers...
  • Imperfect 1-movement land/air hybrid kamikaze scramble unit

    2
    2
    2 Votes
    2 Posts
    605 Views
    HeppsH
    @torpedoa Nice solution though.
  • updating an old map

    4
    1
    0 Votes
    4 Posts
    824 Views
    R
    @rogercooper Thank you very much. I plan on starting work on this again this weekend. I tested it and it works. Thank you for your kindness.
  • Simulating naval boarding in ancient times

    7
    0 Votes
    7 Posts
    1k Views
    TorpedoAT
    @hepps Oh yes. Thats a point. I will try that.
  • Alternate flags for map makers

    1
    7
    2 Votes
    1 Posts
    348 Views
    No one has replied

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