Subcategories

  • Why are the territory names so small

    2
    1
    1 Votes
    2 Posts
    590 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
    675 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
    697 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
    652 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
    760 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
    2k 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
  • Air units transportable by naval transport?

    14
    1
    1 Votes
    14 Posts
    2k Views
    B
    @cameron yea I don't think triplea can do that unless there allied Ftrs being carried as cargo. The Ftrs aren't actually on the CV in triplea. They just fly a endless CAP i guess
  • Territory Effects

    5
    4
    0 Votes
    5 Posts
    973 Views
    wc_sumptonW
    @beelee The "<!--" that was making the block red was the start of a comment section. You might want to remove the "-->" that marks the end of the comment section, "</territoryEffectList> -->", before it may cause further problems. Cheers...
  • land transport - how to make them work?

    17
    0 Votes
    17 Posts
    3k Views
    cameronC
    the Steampunk_Advanced.xml that i've been modding had them like that, as separate entries i mean. this is my first proper mod so it's all rather new to me.
  • How Do I Center a Notification Image

    1
    0 Votes
    1 Posts
    503 Views
    No one has replied
  • transport units: how to limit which units can be transported

    7
    0 Votes
    7 Posts
    1k Views
    cameronC
    @azimuth transport cost is definitely not the answer i am looking for; which doesn't mean that it can't provide a solution... but i suspect a rather ugly one. the problem is there are rather a lot of units: https://docs.google.com/spreadsheets/d/1NnFVfK3eOrjdNwnmiA4q6ytV6VHLN8mNbgTetywtHm4/edit?usp=sharing am i right in assuming that transport costs must be integers? maybe i'll see what happens if i make them 0.9... otherwise i guess i could just multiply all the other values by 10 and make aviatrix/hero 9... hmm... that would allow one extra hero to be transported on the largest transport but that's prob fine - such an edge case it'll most likely never happen. i really wish my OCD wasn't triggered in such silly ways... edit: so i went with 100x for everything and 99 for the aviatrix and hero. seems to work. i still wonder why only integers. and why we can't just have toggles for everything. thanks, y'all.
  • Units in Combat - can we limit what a nonAA unit can target in combat?

    9
    0 Votes
    9 Posts
    2k Views
    cameronC
    @rogercooper said in Units in Combat - can we limit what a nonAA unit can target in combat?: canNotTarget ... i guess i was hoping i could just list the two units i want it to be able to target rather than list every other unit - combination of laziness and desire for less clutter and desire to have less things to update when i invariably end up adding more units...
  • Condition counting the exact number of units in a territory?

    8
    2 Votes
    8 Posts
    2k Views
    cameronC
    @azimuth [[laughs]] that sounds like a nightmare. i feel like the objective for it would end up being 80+% of the xml file... (not ALL the territories - just the land ones...) i'll most likely be the only person who ever plays this mod and i tend to ignore victory triggers anyway - i'm a conquer the whole world kinda player.
  • Broken Air battles with 2.6

    22
    3 Votes
    22 Posts
    5k Views
    A
    @wc_sumpton Great news! Thank you!
  • Next step on Map-Making - how to collect feedback?

    39
    0 Votes
    39 Posts
    9k Views
    C
    @LaFayette Should new maps/games which (quite certainly like this one) will be released after TripleA 2.6 is released avoid having the "mapName" entry in the game (XML) file?
  • Technology - how to make countrys start with techs already researched

    3
    0 Votes
    3 Posts
    1k Views
    cameronC
    excellent. that worked perfectly (once i corrected the slight typo at the end (that final '/')). thank you kindly. : ) <attachment name="conditionAttachmentAlwaysTrue" attachTo="Germany" javaClass="RulesAttachment" type="player"> <option name="switch" value="true"/> </attachment> <attachment name="triggerAttachmentScienceForGermany" attachTo="Germany" javaClass="TriggerAttachment" type="player"> <option name="conditions" value="conditionAttachmentAlwaysTrue"/> <option name="tech" value="Science"/> <option name="uses" value="1"/> <option name="when" value="before:GermanyTech"/> </attachment>

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