Subcategories

  • Underscores in XML

    1
    0 Votes
    1 Posts
    400 Views
    No one has replied
  • Removing "X Convoy Center" texts from convoy zones

    4
    0 Votes
    4 Posts
    590 Views
    B
    @schulz yea I don't think you can have the values without the text. At least you couldn't a few years ago. Kind of a bummer. I asked about trying to get em to show with just hover or add to the bottom bar, but that idea wasn't accepted.
  • Multiple Canals

    3
    1
    0 Votes
    3 Posts
    643 Views
    SchulzS
    @thedog Thank you. Worked now. <attachment name="canalAttachment4" attachTo="SZ 67" javaClass="games.strategy.triplea.attachments.CanalAttachment" type="territory"> <option name="canalName" value="Dardanelles Canal"/> <option name="landTerritories" value="Constantinople:Bursa"/> </attachment> <attachment name="canalAttachment4" attachTo="SZ 84" javaClass="games.strategy.triplea.attachments.CanalAttachment" type="territory"> <option name="canalName" value="Dardanelles Canal"/> <option name="landTerritories" value="Constantinople:Bursa"/> </attachment> <attachment name="canalAttachment5" attachTo="SZ 84" javaClass="games.strategy.triplea.attachments.CanalAttachment" type="territory"> <option name="canalName" value="Bosphorus Canal"/> <option name="landTerritories" value="Constantinople:Bursa"/> </attachment> <attachment name="canalAttachment5" attachTo="SZ 88" javaClass="games.strategy.triplea.attachments.CanalAttachment" type="territory"> <option name="canalName" value="Bosphorus Canal"/> <option name="landTerritories" value="Constantinople:Bursa"/> </attachment>
  • EndTurnNoPU delegate not working

    3
    0 Votes
    3 Posts
    2k Views
    Z
    @beelee Idk if you can change the display or not but POS2 just has "Turn Complete" <delegate name="endTurnNoPU" javaClass="games.strategy.triplea.delegate.NoPUEndTurnDelegate" display="Turn Complete"/> Doesn't have "...No PU" in it I first tried it with "Turn Complete but it didnt work so it was something I changed to see if it did work. However it seems that ive solved it now. I changed <step name="bloodelvesEndTurnNoPU" delegate="endTurnNoPU" player="BloodElves"/> to <step name="bloodelvesEndTurn" delegate="endTurnNoPU" player="BloodElves"/> And it seems to work now. Seems weird to me that they have to have the same name even tho they are different things.
  • Trigger Not Firing Correctly

    9
    0 Votes
    9 Posts
    3k Views
    wc_sumptonW
    @beelee The problem might be with the conditions/'when'. I think control of a territory after battle is not changed until 'endTurn' so checking 'after:japanCombat' will always be false. By removing the 'when' the trigger is checked at 'endTurn' and fires. Cheers...
  • LandMine Image

    19
    1 Votes
    19 Posts
    4k Views
    B
    @hepps Right On ! That's Awesome ! Canada can give them to their Peacekeepers. Keep em safe at night Thanks [image: Rock On !!!.png]
  • 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
    657 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
    696 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
    823 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
    609 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
    1k 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
    917 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
    796 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
    346 Views
    No one has replied
  • GLOBAL WWII OIL & SNOW -Project

    99
    2
    3 Votes
    99 Posts
    41k Views
    ebbeE
    [image: 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....

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