Subcategories

  • Negative Support Attachment Does Not Work

    Moved
    6
    0 Votes
    6 Posts
    1k Views
    RogerCooperR
    @Cernel Thanks for the help. This is working <attachment name="supportAttachmentFighterAllied" attachTo="fighter" javaClass="games.strategy.triplea.attachments.UnitSupportAttachment" type="unitType"> <option name="unitType" value="infantry:artillery:armour"/> <option name="faction" value="allied"/> <option name="side" value="offence"/> <option name="dice" value="strength"/> <option name="bonus" value="-3"/> <option name="number" value="99"/> <option name="bonusType" value="air"/> <option name="impArtTech" value="false"/> <option name="players" value="British:Americans"/> </attachment> <attachment name="supportAttachmentFighterEnemy" attachTo="fighter" javaClass="games.strategy.triplea.attachments.UnitSupportAttachment" type="unitType"> <option name="unitType" value="infantry:artillery:armour_ge"/> <option name="faction" value="enemy"/> <option name="side" value="offence"/> <option name="dice" value="strength"/> <option name="bonus" value="-3"/> <option name="number" value="99"/> <option name="bonusType" value="air"/> <option name="impArtTech" value="false"/> <option name="players" value="British:Americans"/> </attachment> <attachment name="supportAttachmentBomberAllied" attachTo="bomber" javaClass="games.strategy.triplea.attachments.UnitSupportAttachment" type="unitType"> <option name="unitType" value="infantry:artillery:armour"/> <option name="faction" value="allied"/> <option name="side" value="offence"/> <option name="dice" value="strength"/> <option name="bonus" value="-3"/> <option name="number" value="99"/> <option name="bonusType" value="air"/> <option name="impArtTech" value="false"/> <option name="players" value="British:Americans"/> </attachment> <attachment name="supportAttachmentBomberEnemy" attachTo="bomber" javaClass="games.strategy.triplea.attachments.UnitSupportAttachment" type="unitType"> <option name="unitType" value="infantry:artillery:armour_ge"/> <option name="faction" value="enemy"/> <option name="side" value="offence"/> <option name="dice" value="strength"/> <option name="bonus" value="-3"/> <option name="number" value="99"/> <option name="bonusType" value="air"/> <option name="impArtTech" value="false"/> <option name="players" value="British:Americans"/> </attachment>
  • Occupation Penalty

    Moved
    5
    0 Votes
    5 Posts
    1k Views
    CrazyGC
    @Schulz There is a territory in Russia. If Russia holds it, Russia gets 6. If Germany,Italy, or another enemy take it, they only earn 3. You have two ways The territory's production is set to 6. You create a national objective for all enemy nations that generates -3 PUs if they control this territory. The territory's production is set to 3. Russia has a national objective that gives an extra 3 PUs if it holds that territory. Look at the Pact of Steel 2 XML to see examples and how to make national objectives.
  • 0 Votes
    9 Posts
    2k Views
    PantherP
    @Cernel said: ... Maybe @Panther can check this, as I've scarce interest in tech, but I believe the only ruleset that allows getting more than 1 tech per turn is Classic (v1). That's correct.
  • How to diversify USA strategies in WWII maps?

    Moved
    23
    0 Votes
    23 Posts
    7k Views
    B
    Depends on how you value territories. Strategic/geographical and morale boosting to a countries people can(usually is) be a determination of value also. Obviously, from a raw material stand point, midway islands are not worth anything. From a strategic point, quite a bit. Just depends on how you want to do it. "World in Flames" is supposed to be the best WWII game for realism. Sadly, I've never played it and last I checked, no longer an online option.
  • How do I prevent infantry from hitting aircraft?

    Moved
    13
    0 Votes
    13 Posts
    2k Views
    C
    Moved to Mapmaking, as, while there is a map reference, I think this is more of a general matter, that may apply to various maps.
  • How to get error messages?

    Moved
    6
    1 Votes
    6 Posts
    2k Views
    C
    Moving to mapmaking.
  • How would you improve the convoy system in maps?

    Moved
    11
    0 Votes
    11 Posts
    3k Views
    C
    Moving to Mapmaking.
  • The irreversibilty issue of losing side

    Moved
    6
    0 Votes
    6 Posts
    1k Views
    C
    So, guess moving this to mapmaking, as I understand it is more of a discussion about how to make games in some ways, so I suppose it belongs to the development part of the forum.
  • 0 Votes
    6 Posts
    1k Views
    FrostionF
    I am moving this thread to the Map Making category as the thread essentially is about how to make a map/mod with the discussed player setup.
  • notepad++

    6
    0 Votes
    6 Posts
    2k Views
    V
    @beelee upper right corner of any Windows window
  • Changing the cost of units

    Moved
    4
    0 Votes
    4 Posts
    1k Views
    B
    @Stonewall571 Hi Stonewall Not hard to change, but as cernel says, you have to make a separate mod to the existing map. Which isn't that hard either. Which map are you trying to change ?
  • Starting Unit Positions

    10
    0 Votes
    10 Posts
    3k Views
    redrumR
    @CrazyG Well mostly the good habits are the opposite of the bad ones But I think the key tends to be that there are a lot of options so you get a good variety of moves/buys turn 1 and the map plays differently every game. You want some randomness as well but not huge 50/50 battles that end up deciding the game the first round. Generally having some interconnected threaters of war helps make it so each player has different options on what to focus on. Many maps don't actually do this very well and most of the moves are no brainers. NWO/WaW/TRS are examples of really bad initial unit/factory placements as the first 3-4 turns play out almost the same way every time to the point I've seen players take a save at say the start of turn 3 and just play from that again and again. Probably TWW and Civil War have maybe the most interesting initial setup options as they tend to play out pretty differently every play through and almost every player has a different preferred opening. Once you get to UK1 in TWW, things can have played out pretty differently and the UK has tons of options on what to focus on (pressure France vs pressure Scandinavia vs support Egypt/Med vs support Southeast Asia) as well as what to build.
  • Git Question

    Moved
    3
    1
    0 Votes
    3 Posts
    966 Views
    B
    @redrum right on thank you.
  • How to make commonwealth nations autonomous?

    Moved
    5
    0 Votes
    5 Posts
    1k Views
    FrostionF
    I have moved this topic to general map making and xml editing, as the answer/solution is not map specific and could be helpful for other map projects. @Schulz I hope you get it to work
  • github update trouble

    14
    2
    0 Votes
    14 Posts
    5k Views
    B
    @simon33 yea It's working now. I just didn't realize it had updated when it did. Usually took an admin to approve.
  • The Neutral Player

    4
    0 Votes
    4 Posts
    1k Views
    HeppsH
    @CrazyG But you may be able to use a trigger that controls ownership based on the Territory name... EG. Trigger a change on ownership of "OuterMongolia".
  • Trying to Make New Players?

    Moved
    7
    0 Votes
    7 Posts
    3k Views
    HeppsH
    @beelee and @Lincoln-Russell If you are working on Windows and editing an XML I might suggest NotePad++ . It is a much better tool.
  • XML Error "y"

    4
    1
    0 Votes
    4 Posts
    1k Views
    B
    @beelee well took a while but I see my issue was searching for y instead of "y" Tried space y and y space but yea ... the line error was the last line in the document so ... anyway just posting the resolution in case someone stumbles across this in the future : )
  • How to make a naval unit that can produce units?

    5
    0 Votes
    5 Posts
    1k Views
    HeppsH
    @CrazyG You could make a trigger for the ship that has the ability to make mines then have those ships automatically produce 1 invisible unit at the end of the NCM turn phase. Then you could make the purchasable mine unit consume the invisible unit. Then simply have all the (unused) invisible units removed from the map at the end of the current players turn. I think you could even deal with the invisible unit generation be handled by the unit attachment of "canProduceXUnits" instead of a trigger. But this is all just a suggestion. I have not tested any of this. So I am not sure what complications might arise.
  • Trying to fix some typos

    13
    0 Votes
    13 Posts
    3k Views
    V
    Does the "capitols.txt" file have any function? I moved the capitol for one of the factions in the XML file, but not in the "capitols.txt" file. No errors happen, and the new capitol seems to function correctly.

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)

    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

  • @Ramon said:

    Is there a mechanic or attachment that allows a 0 attack unit to destroy a 0 defense construction?

    The "trench", a 0 defense construction unit, could give the "conscript", a 0 attack unit, a plus 1 attack using support attachments. The problem with this is that the support should be applied only when the "trench" is defending and only the "conscript" is attacking.

    <attachment name="supportAttachment_Trench" attachTo="trench" javaClass="UnitSupportAttachment" type="unitType"> <option name="faction" value="enemy"/> <option name="unitType" value="conscript"/> <option name="side" value="defence"/> <option name="dice" value="strength"/> <option name="bonus" value="1"/> <option name="number" value="1"/> <option name="bonusType" value="Trench"/> <option name="players" value="$All-Players$"/> </attachment>

    To do this a plus and minus support attachment would have to be created for every attacking/defending land unit to create a counter to the "trench".

    <attachment name="supportAttachment_InfantryAttack" attachTo="infantry" javaClass="UnitSupportAttachment" type="unitType"> <option name="faction" value="allied"/> <option name="unitType" value="conscript"/> <option name="side" value="offence"/> <option name="dice" value="strength"/> <option name="bonus" value="1"/> <option name="number" value="-1"/> <!-- All positive supports are "Trench" --> <option name="bonusType" value="Trench"/> <option name="players" value="$All-Players$"/> </attachment> <attachment name="supportAttachment_InfantryAttackDebuf" attachTo="infantry" javaClass="UnitSupportAttachment" type="unitType"> <option name="faction" value="allied"/> <option name="unitType" value="conscript"/> <option name="side" value="offence"/> <option name="dice" value="strength"/> <option name="bonus" value="-1"/> <option name="number" value="-1"/> <!-- All negative supports are "Debuf" --> <option name="bonusType" value="Debuf"/> <option name="players" value="$All-Players$"/> </attachment> <attachment name="supportAttachment_InfantryDefend" attachTo="infantry" javaClass="UnitSupportAttachment" type="unitType"> <option name="faction" value="enemy"/> <option name="unitType" value="conscript"/> <option name="side" value="defence"/> <option name="dice" value="strength"/> <option name="bonus" value="1"/> <option name="number" value="-1"/> <!-- All positive supports are "Trench" --> <option name="bonusType" value="Trench"/> <option name="players" value="$All-Players$"/> </attachment> <attachment name="supportAttachment_InfantryDefendDebuf" attachTo="infantry" javaClass="UnitSupportAttachment" type="unitType"> <option name="faction" value="enemy"/> <option name="unitType" value="conscript"/> <option name="side" value="defence"/> <option name="dice" value="strength"/> <option name="bonus" value="-1"/> <option name="number" value="-1"/> <!-- All negative supports are "Debuf" --> <option name="bonusType" value="Debuf"/> <option name="players" value="$All-Players$"/> </attachment>

    It can get slightly complicated.

    Cheers...

    read more