Subcategories

  • A char at index 19 Error

    Moved
    6
    0 Votes
    6 Posts
    1k Views
    wc_sumptonW
    @ebbe Thank you!! Cheers...
  • No battle against AA guns

    10
    2
    0 Votes
    10 Posts
    2k Views
    VictoryFirstV
    @wc_sumpton You are right, I just noticed I had isAA for the fighters when it did not work, and it is missing when it did work, so isAA caused the issue (I changed a lot of parameters so that's why I didn't know what fixed it). I will try to remember not to use the options you mentioned because they indeed cause a lot of trouble. Thanks!
  • Axis & Allies: North Africa

    2
    5 Votes
    2 Posts
    3k Views
    wc_sumptonW
    @rogercooper said in Axis & Allies: North Africa: The sophisticated supply rules of AANA are at the heart of the game and are not supported by TripleA. It would require a significant addition to the engine to support the supply rules. Such might be desirable, as the rules are good and could be applied to other situations This "supply" requirement is almost the same as Axis & Allies World War I 1914 "Infantry" requirement, and could be handled in about the same way with unitSupportAttachment. Thus, armor/artillery etc.. have an attack/defense value of 0/0 and can only attack/defend with the presences of the supporting unit, supply/infantry. These unitSupportAttachment are strait forward, with the exception of the bonusType stacking rules, which at present are quite funky in their workings. (This is why I don't suggest this for WWI '14.) "supply" cannot move and can only be transported by the truck, which cannot move during combat movement. "supply" could utilize the specialCombatMove to allow these units to enter combat. This would require the attacker calculate the number of "supply" to move. Just some thoughts.. Cheers...
  • Condition based on player's income

    3
    1 Votes
    3 Posts
    712 Views
    VictoryFirstV
    @wc_sumpton Thanks for your answer. That's unfortunate to hear. I have a LOT of territories in my game so keeping track of how many territories have been lost will be very hard for the players to manage. An income level would be much easier because it is directly displayed in the "Players" tab.
  • Can't get changeOwnership to work.

    6
    1 Votes
    6 Posts
    1k Views
    wc_sumptonW
    @victoryfirst Yes. Triggers, like conditions, need to have unique names. Cheers...
  • How to make AA guns fire at units multiple times

    4
    1 Votes
    4 Posts
    974 Views
    VictoryFirstV
    @wc_sumpton Thank you WC for you answer
  • Remove SBR damage limit?

    7
    1
    0 Votes
    7 Posts
    2k Views
    B
    @VictoryFirst That made me laugh lol In case you're not aware, v2 changes some other stuff too. Technology tokens i think. Maybe some other stuff. Can't remember
  • How to limit Factory/Facility Placement

    8
    1 Votes
    8 Posts
    2k Views
    VictoryFirstV
    @wc_sumpton I believe I finally found out the issue... I was searching online for the answer and I couldn't find it at first, until I finally came across a thread where someone had a similar problem, and the solution was to add the property Damage From Bombing Done To Units Instead Of Territories. That for some reason makes the canProduceXUnits to work.
  • Multiple combat phases

    4
    2 Votes
    4 Posts
    2k Views
    board 3659B
    @victoryfirst oh I remember some games having a second non-movement phase so should be possible
  • How do I auto-damage units at the end of a player's turn?

    16
    0 Votes
    16 Posts
    3k Views
    cameronC
    @wc_sumpton actually, that makes them heal less... when i tried: <property name="Units Repair Hits Start Turn" value="true" editable="false"> <boolean/> </property> <property name="Units Repair Hits End Turn" value="false" editable="false"> <boolean/> </property> then: units healed 0 HP at end of their Turn Complete phase units healed 0 HP at end of other players Turn Complete phase units healed 1 HP at start of their Combat Move phase when i tried: <property name="Units Repair Hits Start Turn" value="true" editable="false"> <boolean/> </property> <property name="Units Repair Hits End Turn" value="true" editable="false"> <boolean/> </property> then: units healed 1 HP at end of their Turn Complete phase units healed 0 HP at end of other players Turn Complete phase units healed 1 HP at start of their Combat Move phase when i tried: <property name="Units Repair Hits Start Turn" value="false" editable="false"> <boolean/> </property> <property name="Units Repair Hits End Turn" value="true" editable="false"> <boolean/> </property> then: units healed 1 HP at end of their Turn Complete phase units healed 1 HP at end of other players Turn Complete phase units healed ? HP at start of their Combat Move phase [always fully healed before this point but one assumes 0] EDIT: corrected lazy copy/paste errors
  • Why are the territory names so small

    2
    1
    1 Votes
    2 Posts
    629 Views
    TheDogT
    View> Map Font & Colour Change the Font Size to 12 or more
  • Self-made map won't load

    2
    1
    0 Votes
    2 Posts
    704 Views
    VictoryFirstV
    Never mind, I figured out the issue. The mapWidth and mapHeight in the map.properties file were both set to 256 for some reason...
  • Trying to get foreach to work

    19
    5
    0 Votes
    19 Posts
    2k Views
    B
    @victoryfirst well thanks to wc the paratroopers auto deploy now. Guess I need to do another update lol
  • Change control of naval mine (AA unit)

    3
    1 Votes
    3 Posts
    736 Views
    VictoryFirstV
    @wc_sumpton Thank you, it works now! Awesome!
  • Russian Revolution

    48
    2
    1 Votes
    48 Posts
    10k Views
    wc_sumptonW
    @victoryfirst "foreach" is a writing convention. Instead of writing 10 block of code, write 1 and the engine creates the 10 blocks. To see how this works, first load your map. In the menu in the upper left corner there is Export and under that is Export game.xml File (Bata). After saving open the file and you should see: <attachment name="conditionAttachmentRTOLivonia" attachTo="Russians" javaClass="games.strategy.triplea.attachments.RulesAttachment" type="player"> <option name="alliedOwnershipTerritories" value="1:Livonia"/> </attachment> <attachment name="conditionAttachmentRTOKarelia" attachTo="Russians" javaClass="games.strategy.triplea.attachments.RulesAttachment" type="player"> <option name="alliedOwnershipTerritories" value="1:Karelia"/> </attachment> <attachment name="conditionAttachmentRTOBelarus" attachTo="Russians" javaClass="games.strategy.triplea.attachments.RulesAttachment" type="player"> <option name="alliedOwnershipTerritories" value="1:Belarus"/> </attachment> <attachment name="conditionAttachmentRTOUkraine" attachTo="Russians" javaClass="games.strategy.triplea.attachments.RulesAttachment" type="player"> <option name="alliedOwnershipTerritories" value="1:Ukraine"/> </attachment> <attachment name="conditionAttachmentRTOTatarstan" attachTo="Russians" javaClass="games.strategy.triplea.attachments.RulesAttachment" type="player"> <option name="alliedOwnershipTerritories" value="1:Tatarstan"/> </attachment> <attachment name="conditionAttachmentRTOPoland" attachTo="Russians" javaClass="games.strategy.triplea.attachments.RulesAttachment" type="player"> <option name="alliedOwnershipTerritories" value="1:Poland"/> </attachment> <attachment name="conditionAttachmentRTOSevastopol" attachTo="Russians" javaClass="games.strategy.triplea.attachments.RulesAttachment" type="player"> <option name="alliedOwnershipTerritories" value="1:Sevastopol"/> </attachment> <attachment name="conditionAttachmentRTOKazakhstan" attachTo="Russians" javaClass="games.strategy.triplea.attachments.RulesAttachment" type="player"> <option name="alliedOwnershipTerritories" value="1:Kazakhstan"/> </attachment> <attachment name="conditionAttachmentRTOFinland" attachTo="Russians" javaClass="games.strategy.triplea.attachments.RulesAttachment" type="player"> <option name="alliedOwnershipTerritories" value="1:Finland"/> </attachment> <attachment name="conditionAttachmentRTOMoscow" attachTo="Russians" javaClass="games.strategy.triplea.attachments.RulesAttachment" type="player"> <option name="alliedOwnershipTerritories" value="1:Moscow"/> </attachment> So, the engine creates the difference condition. Cheers...
  • User Action messages

    2
    1 Votes
    2 Posts
    678 Views
    B
    @victoryfirst Idk if you can, but you can try adding a image the way you do for notifications. Add a image to doc/images must be a png and then add this to one of the lines in the actionstext and see what happens <img src="YourImageName.png"/> I've have had limited success with sounds. Was able to change them in notifications in 2.5 somewhat but haven't had any success in 2.6. I don't really understand how they work and just copied what Frostion did in Iron War. Added it to the Global 40 game, as I hate the air raid siren lol
  • enemyOwnershipTerritories doesn't exist

    3
    0 Votes
    3 Posts
    803 Views
    VictoryFirstV
    @wc_sumpton Thank you! I just checked and it worked correctly with the invert!
  • How to make captured units controlled by another power

    18
    2
    0 Votes
    18 Posts
    3k Views
    wc_sumptonW
    @victoryfirst said in How to make captured units controlled by another power: I got it to work I added an original owner to each neutral and then did this: Nice! Cheers...
  • Modify movements restrictions out of contested territories

    11
    1
    3 Votes
    11 Posts
    2k Views
    LaFayetteL
    A number of properties are listed here: https://github.com/triplea-game/triplea/blob/master/game-app/game-core/src/main/java/games/strategy/triplea/Constants.java (that location is subject to change & that list might not be complete)
  • air units: how to make them not crash

    12
    0 Votes
    12 Posts
    3k Views
    VictoryFirstV
    @cameron Omg thank you it worked!! I was spending so much time on this! I completely missed the absence of the forward slash! Lol pretty weird indeed, I just started XML coding yesterday and it has been giving me multiple headaches so far

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