Subcategories

  • Victory Cities not appearing on Players tab

    2
    1 Votes
    2 Posts
    507 Views
    TheDogT
    @rogercooper your line <option name="victoryCity" value="1"/> is outside of the required attachment , it should be inside. <attachment name="territoryAttachment" attachTo="Berlin" javaClass="games.strategy.triplea.attachments.TerritoryAttachment" type="territory"> <option name="production" value="12"/> <option name="capital" value="Germans"/> </attachment> <option name="victoryCity" value="1"/>
  • Movement Restrictions

    4
    0 Votes
    4 Posts
    725 Views
    TheDogT
    @beelee Not sure this will help but... Make the unit unique, say Infantry_us then use territoryEffect to aid, block, hinder the movement? https://forums.triplea-game.org/topic/2892/how-i-am-using-movementcostmodifier
  • Activate Trigger

    2
    2
    0 Votes
    2 Posts
    560 Views
    B
    Unfortunately i have a bigger problem now. When having more than 1 trigger, they will both fire sometimes. I've tried multiple combinations with "when" and without it. Tried changing the trigger"true:true:false:false" to different combinations. No joy. This is my latest attempt <attachment name="triggerAttachment_USA_Loses_Marianas_Pacific_Expanded_Turn2andON" attachTo="Americans" javaClass="games.strategy.triplea.attachments.TriggerAttachment" type="player"> <option name="conditions" value="conditionAttachment_Americans_ControlMarianasInvert:conditionAttachmentTurn3"/> <option name="resource" value="PUs"/> <option name="resourceCount" value="-1"/> <option name="uses" value="1"/> <option name="when" value="before:americansEndTurn"/> </attachment> <attachment name="triggerAttachment_USA_Loses_Marianas_Pacific_Expanded_Turn2" attachTo="Americans" javaClass="games.strategy.triplea.attachments.TriggerAttachment" type="player"> <option name="conditions" value="conditionAttachment_Americans_LoseEXPMarianasTurn2:conditionAttachmentTurn2"/> <option name="resource" value="PUs"/> <option name="resourceCount" value="-1"/> <option name="uses" value="1"/> <option name="when" value="after:americansNonCombatMove"/> <option name="activateTrigger" value="triggerAttachment_USA_Loses_Marianas_Pacific_Expanded_Turn2andON:1:true:true:false:false"/> </attachment> I have the same trigger for Paulau Island. Named differently of course. What I want, is to have the "activate trigger" trigger fire only after the trigger that activates it fires. What happens is, the USA takes Marianas from JPN. This activates a PU boost. USA gets it. Next rd, Turn 2, JPN takes Marianas. They now get the PU boost and the USA receives a negative PU boost. This activates the trigger which has Turn 3 as a condition for it to fire, but it fires anyway, even though it's still turn 2. So when USA takes over Marianas they get a PU boost. When JPN takes it back, the USA gets a negative one. This works correctly. I want the USA to continue to receive a negative bonus until they take it back. This is not working. I use "battle" in the conditions for the first trigger, then "directOwnership" invert for the trigger to activate. Meaning Rd1 USA takes Marianas and gets a PU boost. Then if USA loses control the next turn, which is JPN attacking USA and having a battle <option name="battle" value="Japanese:Americans:any:2-3:Marianas"/> it will activate the trigger which should then fire on turn 3 if USA doesn't control Marianas. So condition Turn 3 and InvertOwnership, that way it would still get the negative bonus without a battle on turn 3. Hmm ... I don't like how I explained this but I'll just leave it for now.
  • Keeping areas very realistic in Mercator projection

    13
    2
    0 Votes
    13 Posts
    4k Views
    LaFayetteL
    Slightly off topic, but I thought y'all might enjoy this read: https://www.mapbox.com/blog/adaptive-projections
  • Aggression 1942 Map Upload

    1
    1 Votes
    1 Posts
    445 Views
    No one has replied
  • Question about Convoy Centers

    2
    0 Votes
    2 Posts
    1k Views
    C
    @schulz Yes: set the original owner to the nation and the owner initialize to the enemy.
  • battleType

    1
    0 Votes
    1 Posts
    375 Views
    No one has replied
  • Changing a productionFrontier

    8
    0 Votes
    8 Posts
    2k Views
    N
    @wc_sumpton That's it. Now it works. Thx
  • "whenHitPointsDamagedChangesInto"

    1
    0 Votes
    1 Posts
    441 Views
    No one has replied
  • 1 Votes
    3 Posts
    2k Views
    SchulzS
    @cernel "Russia" territory in vX series not only represent Moscow, it represent all the areas between Moscow and Ural Mountains v3 actually proved that Manchuria-Moscow distance can be increased but in the expense of making Japan incredibly strong to keep game balance. It actually changed nothing since it is still amost always better to go Atlantic only as USA. Plus there is still no reason to not attack Russia and Japan and take almost all Siberia. If there is a Hawaiian factory and Germany can be reasonably countered without USA (like in Big World or WaW), a Pacific war is a guarantee thing but expense of (unhistorically) lack of significant US presence in Europe. But we would still have no two ocean going USA. It is easy to make Pacific an active front, hardest thing is making the actual US approach in WWII (%80 Atlantic-%20 Pacific) is a good choice rather than going only Atlantic and Pacific. I think the issue is actually based on having naval units too expensive compared to ground units and lack of more defense oriented sea units hence making a Pacific war worthless investment as USA.
  • offset round="0"

    5
    0 Votes
    5 Posts
    1k Views
    B
    @lafayette right on yea I wanted to have a "map option" activate which rd the game would start for games that have multiple scenarios with different start dates. That way I could keep it all in 1 xml and not have to update multiple ones. Only way I know of, is to make a trigger for each instance that would need adjusting, which is a lot. I thought if it was possible to only do a couple code lines and bingo, it would be sweet lol
  • How to place units in allied or major/minor territory?

    11
    0 Votes
    11 Posts
    3k Views
    U
    @thedog said in How to place units in allied or major/minor territory?: I would try creating more units, the indian units will need to end with say; Indian units Infantry_in Tanks_in factory_in These units must specify the factory they can be produced from with <option name="requiresUnits" value="factory_in/> British units Tanks_br Fighter_br factory_br These units must specify the factory they can be produced from with <option name="requiresUnits" value="factory_br"/> Then the two factories can produce only their national units. In your idea you will get units produced by the faction on its own factory located in its own territory? If "yes", then, sorry, your idea is not relevant to this topic.
  • How to calculate TripleA Political Allied Victory?

    4
    0 Votes
    4 Posts
    674 Views
    RogerCooperR
    @thedog Take a look at these objectives from Global <attachment name="objectiveAttachment_Italians_3_North_Africa" attachTo="Italians" javaClass="games.strategy.triplea.attachments.RulesAttachment" type="player"> <option name="objectiveValue" value="5"/> <option name="alliedOwnershipTerritories" value="Alexandria:Morocco:Algeria:Tunisia:Tobruk:Libya" count="6"/> </attachment> <attachment name="objectiveAttachment_Italians_4_Control_Iraq_Or_Persia_Or_Northwest_Persia" attachTo="Italians" javaClass="games.strategy.triplea.attachments.RulesAttachment" type="player"> <option name="objectiveValue" value="2"/> <option name="directOwnershipTerritories" value="Iraq:Persia:Northwest Persia" count="each"/> </attachment> Attachment 3 counts the number of territories held by Italy and the other Axis powers. Although this is an objective attachment, it could just as easily be a triggered victory. Attachment 4 counts only the territories held by Italy ("directOwnership").
  • placement/removeUnits Question

    Moved
    23
    0 Votes
    23 Posts
    9k Views
    N
    @thedog now everything works!
  • How to represent cliffs and rocky shores?

    4
    1
    1 Votes
    4 Posts
    871 Views
    ubernautU
    @thedog lookin good
  • error message - StringIndex

    9
    1
    1 Votes
    9 Posts
    1k Views
    N
    @beelee I have only comment no ..close with comment
  • IsDestroyer

    13
    1 Votes
    13 Posts
    2k Views
    TorpedoAT
    @numetalfan No. Its just my personal modded game based on NWO 5 Nations map. But i think there are some maps out there which are using negative and positive support attachments. What do you need exactly? More details about how to structure a support attachment based rock scissor paper element into a game? Feel free to ask. I will do as much as i can to help you with anything i am able to do.
  • objectiveAttachment neutral countries

    8
    0 Votes
    8 Posts
    2k Views
    B
    @numetalfan said in objectiveAttachment neutral countries: unfortunately it does not display the objective result for the player in the game, ... You mean it doesn't show up in the Objectives tab with the other Objectives ? If so you need to add it to the "objectives.properties" Also, when you collect income, it will mention it and record it in History
  • 0 Votes
    7 Posts
    1k Views
    RogerCooperR
    @zlefin Yes, you could create a trigger like that. You would check against "directPresence" and change control to a neutral player.
  • 1 Votes
    2 Posts
    485 Views
    TheDogT
    I had <option name="canBeDamaged" value="true"/> <option name="canDieFromReachingMaxDamage" value="true"/> <option name="maxDamage" value="2"/> To stop the error add the following to the same unit <option name="isConstruction" value="true"/> <option name="constructionType" value="Recruit"/> <option name="maxConstructionsPerTypePerTerr" value="1"/> <option name="constructionsPerTerrPerTypePerTurn" value="1"/>

Recent Posts

  • @xxxeddiexxx
    version 0.2.6

    Technology
    Using 1941GCD

    All nations have these at game start, the Map Editor’s are blank

    image.jpeg

    .
    In TripleA at start

    image.jpeg

    .
    Tech for 1941GCD does not use techTokens, so there is no PUs per roll, so these will always be 0.
    It does not even use a tech resource, it use a fixed start round + a random to grant the tech.
    .

    image.jpeg

    .
    Using 1888A Steam & Steel
    This has loads of technology, that has a resource called Tech it is not a techToken and again its PUs per roll will always be 0. These Tech are produced by Industries, the more industries the more Tech.

    .
    Total World War 3
    Uses techTokens
    Paratroopers, notice has it a start but the Research chart=Not researched
    Might be missing this test, eg
    <option name="tech" value="ImprovedAntiTank"/> <!-- tech given if true -->

    image.jpeg

    .

    Players>Nations> Compare Nation button(bottom right)
    Using 1941GCD

    Compare Nations vs TripleA Players tab
    Notice Inc-ome vs Pro-duction for Germany is different 311 vs 366
    and USSR 389 vs 308
    and Italy 92 vs 117, this might because of 20+ USSR TT start game as Germany
    and Britain 335 vs 333, SZ 107 & 108 were Britain, the SZ start game as Germany
    search go changeOwnership to find when this happens
    Operation Barbarossa started mid 1941, the map starts late 1941

    image.jpeg

    .
    More columns
    You might want to add two more columns at the end, that are not in TripleA, these are

    Units that add PU, this includes Factories, Oil-Fields, Coal Fields, Lend-Lease-Depots Units that deduct PU, typically used for Upkeep, -1pu/unit/HP/turn

    eg. for upkeep <option name="createsResourcesList" value="-1:PUs"/>

    This would help with balancing the map.

    .

    Nations> Select Nation> Change colors (Upper right)
    Some logic would help the map maker by asking how many

    major Nations/faction=X minor Nations/faction=Y

    With this data a spread of
    X color pallet suggestions for major Nations/faction for maximum contrast
    Y grey pallet suggestions for minor Nations/faction for contrast

    For the map maker to assign colors to the new nations

    Nations> Flag... (Upper right)
    It does not open to the expected folder
    it should open to
    downloadedMaps\MAP-NAME\map\flags
    if that does not exist then
    downloadedMaps\MAP-NAME
    with the ability to map a map\flag folder

    read more

  • @xxXEddieXxx
    version 0.2.6
    Using 11 Ring of Power

    Units
    When you hover over a unit icon the current Tooltip popup activates. This is a quick way of viewing the current stats of the unit in a familiar format.

    Text and Sounds
    Game Notes

    image.jpeg
    .
    It used to read the *.xml
    Now if there are html style comments they also get written to
    games/map_name/.notes.html
    So there can be a duplication.
    The xml version should be deleted.
    As the new way is games/map_name.notes.html only.
    So the file changed is only games/map_name.notes.htm not *.xml

    Texts
    These 5 tabs should be in the left hand pane. Saving space by removing them for each tab.
    They are so distinct they don’t need to be grouped together as tabs.
    Also by removing sounds (left pane) and adding it to Messages like Messages & Sounds as sounds are directly paired with Messages/notifications they should be treated together and on the same pane.

    .
    image.jpeg

    Text> Unit tool tips
    As these are units add in Units icon, also add in hover Tooltips, as this would help fill in the current tool tips.

    .
    The tool tip of
    Duplicated & clutter text, is not needed, please remove. the tool tip of

    image.jpeg

    .
    Please add a Partially formatted text box, between Text box (raw as written in Tooltip.txt) and the Preview box.

    Partially formatted text box
    Takes the text from text box above and for every <br> and <p style, partially formats the text by placing it on a new line. This will encourage Novice, Advanced and me to use this as faffing about with unformatted text is a pain and time consuming.

    Maybe just remove the Text box option?

    eg. leadr-L3-HighElf would look like this

    * Max 1, 4HP, is Heroic, Lvl 3 of 3 <br> * Generates +1 Diplomacy & +3 Fame /turn <br><b><p style="color:green;"> * Duel: Targeted 6 Atk/Def vs Heroic</p></b> <b><p style="color:green;"> * Command: +1 Atk/Def to 6 units</p></b> <b><p style="color:blue;"> * Armoured: Suppress, -1 Atk/Def to 1 enemy unit</p></b>

    A save would reassemble the broken lines into one line.

    .
    Preview - Display/Formating is off
    From TripleA
    .
    image.jpeg
    .
    From Map Editor
    Note the extra spacing
    .
    image.jpeg

    You might want to put some help text on the right panel to aid with the tooltip text ?
    Here is mine to myself from 1941_global_command_decision

    # <br> forces a line break in text (carriage-return) # <b> Bold </b> # <i> Italics </i> #      non-breaking space, used for lots of extra spaces # Colored Text, supports one line HTML <br> <b><p style="color:green;"> * Rail links to move land units upto 3 territories, depending on terrain effects</p></b> # Pumpkin Orange #FF7518 hex color # LightSeaGreen #20B2AA hex color - good for matching cyan color of Construction/consume by # Red - Combat additions # Orange - Warning or notification, usually to say what can be targeted or not # Blue - Suppression (-1) off enemy Attack or Defense # Green - Movement or transport # image source must be in /map/doc/images - they will be for all factions unless make tooltip & faction image.png unique for EACH faction # tooltip.unit._Dev-Armor-Inf= <br/><img src="Armor-Inf.png"/> <br> * Develop <b>Armor-Inf </b> Type:Land. Cost ??pu <br> * Att | Def | Mov: 3 3 1 <br> * PTo complete, place on a Territory with: <b>Industry-Hvy</b>

    Text> Political actions
    There is no way that a map maker will use this pane as it requires too many repetitive entries.
    eg. 11 Rings of Power has 2240 entries with multiple fields per entry. 🙄

    I have a crude parameter driven program, to generate the notifications.properties lines, that you can have, just say?
    Then you can take its crudeness and turn it into something a novice can use?

    Maybe this is for a much latter version as it will require lots of testing and time?

    There appear to be 7 elements to the Political Action, these would be better displayed in the right hand pane. This would mean a more complicated right hand pane, but all of the Political Action text is well laid out and easier to read.

    Text> Objectives
    Using Greyhawk Wars as an example
    Please add a Partially formatted text box, below Text box (raw as written in Tooltip.txt).

    Partially formatted text box
    Takes the text from text box above and for every <br> and <p style, partially formats the text by placing it on a new line. This will encourage Novice, Advanced and me to use this as faffing about with unformatted text is a pain and time consuming.

    Maybe just remove the Text box option?

    .
    Missing objectiveValue
    The command for Objectives is usually an <option name="objectiveValue" value="2"/>
    This could/should be read only as the focus of this panel is the text of the objectives.txt

    Missing uses field
    Another useful display only function is how many uses the Trigger has.
    <option name="uses" value="1"/>

    Text> User Action
    Using Greyhawk Wars as an example, the app lists 984 instances, I question this number.
    Searching for UserActions this counts 181 instances 😕
    I think the number is closer to 181.

    There appear to be 6 elements to the User Action, these would be better displayed in the right hand pane. This would mean a more complicated right hand pane, but all of the User Action text is well laid out and easier to read.

    read more

  • Renaming existing units from within the editor could go on the enhancements list. Would also have to rename the unit images they're currently using, including any of the tech variant ones.

    read more

  • @xxXEddieXxx
    Pedantically it is not multiple files, but a singular file, place.txt, so remove the 's' from files.

    read more