Subcategories

  • 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
    1k 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
    527 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.
  • 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
    3k 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
    6k 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?
  • 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>
  • Question about bombing damage and repair

    12
    1 Votes
    12 Posts
    2k Views
    A
    I actually found a very, very, very dirty trick. But my map is already so heavily modded that it could do the job. Sharing just in case I use the repairPlayers step option, which allows a player to repair for another player. The feature seems to be working ONLY if the main player has anything to repair for himself (which isn't very logic or intuitive). To say it another way, if you want Germans to be able to repare italian factories, you need to have at least one german damaged facility as well, otherwise the phase is skipped. So I created two extra (hidden) players, " Axis" and "Allies". Only those two have the repair frontier. In order to have the repairPlayers feature working (see above), both have a (hidden) fake damaged unit on the map (in Sahara and Himalaya, respectively) that cannot be repaired (no repair frontier). This way, the repair screen doesn't pop-up before regular players purchase phase (as they don't have the frontier). Instead, just after the Place phase of each players, there is a separate "repair" phase, actually lead by the "Axis" and "Allies" players, and using pooled resources. This all just to make sure factories cannot be repaired before placing units...
  • How-To Upscale a Map: World War II v3

    2
    5
    3 Votes
    2 Posts
    1k Views
    B
    @black_elk You are a triplea treasure Elkstar
  • 2 Votes
    5 Posts
    1k Views
    Black_ElkB
    Found this too late to be of much use, but yeah I had the same issues a few times when trying to create a place.txt for a couple maps. What happened in my case was that I had accidentally blanked a place, which is fairly easy to do since it's a lot of click/shift click to add or remove entries, but then without any assigned coordinates for a tile it would throw off that error. Another sorta similar error I think can happen if you have a duplicate entry in the text files. like say for a tile that was renamed. The utility also sometimes asks if you want to use the centers or polys, which can reintroduce an old label depending on which order you make the change. I think it happened to me there in a similar situation, like where I had an impassible tile listed twice, Sahara vs Sahara Desert or the like. That was easier to hunt down than the non existent/blanked place since at least I was able to search the txt file. Sucks the you had to go through that to manually delete the text blocks, hopefully you didn't lose too much work. After a couple snafus I started getting in the habit of maybe an extra copy of all the txt files each time I went in to edit them. Just in case something goofed, I'd have an earlier copy to reference. I had almost hosed like a whole weekends worth of placements for the big map, but somehow theDog was able to figure out which lines were different and saved my bacon. Anyhow, glad you figured it out. The map making tools can be really finicky, cause it you have to save it to launch and confirm changes, but usually the way I tend to do stuff, it'll be more than a few entries at a go.
  • What are the possible values for battleType?

    4
    1 Votes
    4 Posts
    1k Views
    B
    @azimuth what exactly are you trying todo with SBR ? There may be a way around it, although probably doubtful I've tried tweaking them before without much success
  • Universal Objectives

    6
    1 Votes
    6 Posts
    2k Views
    C
    @cameron said in Universal Objectives: Thanks for the replies. Think i might just make special factory type units that spawn the special units. I tried: <attachment name="territoryAttachment" attachTo="Themyscira" javaClass="games.strategy.triplea.attachments.TerritoryAttachment" type="territory"> <option name="production" value="1"/> <option name="unitProduction" value="1"/> <option name='createsUnitsList' value='1:amazons'/> </attachment> but i guess those options only work with units? Or did i just miss something. I seem to be constantly missing things... In the line, you are using primes, whereas you should use seconds (also known as double primes) (as TripleA wrongly uses seconds as if they are either primary American English quotation marks or secondary British English quotation marks, also know as double quotes). Yes, that is only for units: just have an "infrastructure" unit creating whatever you need wherever you need it in the starting setup. Is there a list of list of territory attachments like this helpful list? The official reference for game-making is https://github.com/triplea-maps/the_pact_of_steel/blob/master/map/games/pact_of_steel_2.xml
  • Skipping a delegate?

    4
    0 Votes
    4 Posts
    1k Views
    RogerCooperR
    @azimuth Try using "Movement By Territory Restricted" to prohibit movement anywhere.
  • Declaration of "NoWhere" places

    5
    2 Votes
    5 Posts
    1k Views
    RogerCooperR
    @tannenbernie It is good that you tried to a test map first. Many would-be modders try something overly ambitious and then give up when the run into problems. I wish you luck on your new mod.
  • Map Aspect Ratio, which is optimal for tripleA maps?

    6
    1
    3 Votes
    6 Posts
    3k Views
    Black_ElkB
    Yeah I think so. It's not the simplest thing to test, but I can take whatever existing map and extend the canvas horizontally or vertically. I think if the map is wider than 4:3 you'll get the horizontal pan, which to me feels pretty natural, like the map sorta behaving as I'd expect for the drag around survey view. If the map is narrower than 4:3 you'll get the vertical pan at max zoom out instead, and to me this feels sorta awkward and I can't quickly zoom out to scan and pan, but have to drag the cursor to see the bottom. The mouse wheel up/down scales the height. I'm not sure if there is a way to define the mapview window or the marquee rectangle on the mini as something other than 4:3 or whatever it's using for the actual field of view? I think if there is, it's within tripleA or if tripleA is carrying that over from windows, like the game engine rather than in the map.properties of whatever specific map? The Tutorial map is an interesting case, cause it shows the Bung World War II Europe 1940 map which has almost not pan at max zoom out. Like it is only just the tiniest bit wider than 4:3 so there is no play in the grab and drag unless you first zoom in. The minimap for the tutorial is a swatch at 2:1 currently. So the image shown in the mini is stretched. The map view holds at 4:3 but the dimensions of the minimap will change the shape of that rectangle as it's it's displayed on the mini. If the baseline and mini don't match, you will see a slightly different shaped rectangle on the mini, but really it's the 4:3 image being stretched. Here's a screen showing the current default for the map called "Tutorial" [image: Screenshot 2024-04-03 022752.png] Here's how it looks when I replace the 2:1 smallMap image in the map folder with one that matches the aspect ratio of the Tutorial baseline. You can see the minimap rectangle is now displaying as normal and the main map has the vertical up/down drag. The field of view orients top right so the bottom of the board is cropped off at max zoom out. [image: Screenshot 2024-04-03 023557.png] I think the reason the mini is at 2:1 in the default is so that the map can zoom all the way out, even though it heavily distorts the mini to achieve that. The zoom for the field of view on the main map seems like it can be at least partial controlled by the smallMap that the minimap is using? I've been saying 4:3 but it's kinda hard to tell honestly, my screen is at 16:10 so it could just be that is the display area and it's just the mini that's stretching, same as in the above. I guess someone could maybe confirm if your screen is at 16:9 and the rectangle on the mini matches that with a slightly wider view then I guess we'd know it's keying off the resolution screen size in windows for that? But anyway, the idea would just be to make sure the baseline map is wider if you want a horizontal pan at max zoom out, like to fit the map by Height as opposed to Width. Otherwise you'll get a crop like in the Tutorial map, with the up/down drag. I think most players will play at some intermediate zoom, but then mouse wheel to max zoom out for the quick scan. That's what I do at any rate. There aren't a whole lot of tripleA maps that have a square or vertical orientation rather than a horizontal orientation, but there are a couple. In some of the fantasy games, or simpler maps like chess or capture the flag etc those type games set in a square or taller. Maybe someone who has more experience with various maps could let us know how it feels for those. Mostly I've been playing tripleA maps that are wider than they are tall, like the World War II world maps. But I think anything too square-ish and you get a similar thing happening with the zoom.
  • Experimenting with Politics

    6
    1
    2 Votes
    6 Posts
    1k Views
    B
    @thedog
  • Can't Find the game.dtd file

    3
    0 Votes
    3 Posts
    2k Views
    RogerCooperR
    The game.dtd file is now located at https://github.com/triplea-game/triplea/blob/master/game-app/game-core/src/main/resources/games/strategy/engine/xml/game.dtd

Recent Posts

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

    read more

  • @TheDog

    I'll rename it to "Unit places" and look into a separate switch to show and hide the starting units. https://github.com/xXEddieXxx/eddies-map-editor/issues/54

    what do you mean with your second point?

    read more

  • @xxXEddieXxx
    Territories> Places> Units
    This is actually Place.txt boxes, this would be better to display starting units on/off.
    This is a duplicate of Reload places from files (This is only from place.txt), it is not file(s).

    read more

  • Update 0.2.6

    Hey,
    today was pretty productive.
    Got to test all these changes in detail in addition i provided a new User Manual.
    https://xxeddiexxx.github.io/eddies-map-editor/

    Have fun with it 🙂

    Fixed

    Units showed 0-0-0 for unit types whose options the game file writes in a loop
    (foreach), as 11 Rings does. They show their real numbers now. Those options are
    greyed out in Units, say why, and link to Attachments, where the loop is changed
    for all its units at once. Ticking units in Production > Buy reacted slowly, and so did every change on a big
    map. A change that took over half a second now takes about a tenth. Units shows a unit's full cost: "1 PU + 5 Fame", and "uses 2 Material" for units
    that use up other units when placed. Moving and ordering rules in Production (the arrows and the sort button) now shows
    in the table at once. Production tab shows the correct Unit icons for each nation.

    Changed

    One view button, "View: Game", in every tool, with Game, Owners, Political and
    Values. Connections always shows its lines. Units: the option sections come as battle, movement, the rest. Bombing shows for
    air units. The Value field says it is the TUV and has a short guide behind its "?". Production: unit pictures on the buy rows, as the list's nation shows them, and
    resource icons above the columns of the starting resources. Tool tips show sooner.

    Open issues can be found here

    https://github.com/xXEddieXxx/eddies-map-editor/issues

    read more