Allow user to specifically choose amphibious offloaded units in battle chooser
-
@rainova I don't think the UI causualty selection should be this advanced. Just split the non-retreatable units from the retreatable units and keep them together. I don't think the UI should worry about power, bonus, etc.
@Cernel you seem to be talking about the default casualty selection which isn't the same thing that @RaiNova is talking about. He is just talking about how to display the UI where the user can pick which casualties to select.
-
@trevan said in Allow user to specifically choose amphibious offloaded units in battle chooser:
@Cernel you seem to be talking about the default casualty selection which isn't the same thing that @RaiNova is talking about. He is just talking about how to display the UI where the user can pick which casualties to select.
Do we possibly want not to list units' groups by the same order as pre-selected casualties?
-
@cernel said in Allow user to specifically choose amphibious offloaded units in battle chooser:
@trevan said in Allow user to specifically choose amphibious offloaded units in battle chooser:
@Cernel you seem to be talking about the default casualty selection which isn't the same thing that @RaiNova is talking about. He is just talking about how to display the UI where the user can pick which casualties to select.
Do we possibly want not to list units' groups by the same order as pre-selected casualties?
TripleA has never done that before so I'm not sure why it should do it now. It doesn't seem to give any value. The order of units in the selection dialog should be similar to all other selection dialogs. That's how the user sees the units being sorted. Whether the user internally sorts them different is something the UI shouldn't attempt to guess.
-
@cernel said in Allow user to specifically choose amphibious offloaded units in battle chooser:
I would say a raster-images-based program should always work at 100% scaling default, no matter if the general (Windows or whatever) zoom is set otherwise.
Start java.exe with the additional command line argument
-Dsun.java2d.uiScale.enabled=false, see https://news.kynosarges.org/2019/03/24/swing-high-dpi-properties/
@LaFayette you may want to do thisIt does look better.
I've detailed this issue here:
https://github.com/triplea-game/triplea/issues/746
The issue was closed. For overall brevity, I added the info here. -
@rainova So, can that be made so that is the default everyone gets when installing TripleA and maybe adding a line to "vmoptions" or something to set it true if preferred?
-
@cernel said in Allow user to specifically choose amphibious offloaded units in battle chooser:
@rainova So, can that be made so that is the default everyone gets when installing TripleA and maybe adding a line to "vmoptions" or something to set it true if preferred?
@LaFayette May I relay that to you? -
@rainova said in Allow user to specifically choose amphibious offloaded units in battle chooser:
@cernel pointed out mistakes in my question, thanks. Since it is already 1h old, I cannot change it any more and post the correction here:
Let's imagine we have
marineswithnormal attack 2andmarine bonus +2and alsoimproved infantrywithnormal attack 3and nomarine bonus, and bothmarinesandimproved infantryare attacking from land and from sea. What unit order would you like?A)
- withdrawable
marines(attack 2+0) - non-withdrawable
improved infantry(attack 3+0) - withdrawable
improved infantry(attack 3+0) - non-withdrawable
marines(attack 2+2)
(sort first by attack including bonus, then by non-withdrawable)
B )
- withdrawable
marines(attack 2+0) - non-withdrawable
marines(attack 2+2) - non-withdrawable
improved infantry(attack 3+0) - withdrawable
improved infantry(attack 3+0)
(sort first by attack without bonus, then by bonus, then by non-withdrawable)
If you prefer A) - let's assume we now have the some
horseman(attack 4,marine malus -2) and somesellsword(attack 2, nomarine bonus/malus) attacking. What would you prefer:A1)
- non-withdrawable
sellsword(attack 2+0) - non-withdrawable
horseman(attack 4-2) - withdrawable
sellsword(attack 2+0) - withdrawable
horseman(attack 4+0)
(sort by
attack+marine bonus/malus, then non-withdrawable, thenattack)A2)
- non-withdrawable
sellsword(attack 2+0) - withdrawable
sellsword(attack 2+0) - non-withdrawable
horseman(attack 4-2) - withdrawable
horseman(attack 4+0)
(sort by
attack+marine bonus/malus, thenattackorunitType, then non-withdrawable)Thanks in advance for your input
I've really the feeling this is getting bogged down in minor details. I think chances are that noone (else than me) will answer you here. Moreover, the few that might answer are likely not to read the whole topic attentively before doing so because so much information has been added to this topic that I doubt many will want to go through it.
My suggestion is just add the "non-withdrawable" wherever you want and possibly have this new feature (arguably a problem fix) done for 2.6. The order of losses autoselection can be reorganized after this new feature is already available.
- withdrawable
-
@trevan said in Allow user to specifically choose amphibious offloaded units in battle chooser:
@rainova I don't think the UI causualty selection should be this advanced. Just split the non-retreatable units from the retreatable units and keep them together. I don't think the UI should worry about power, bonus, etc.
Thanks for your wisdom. So I did not change the unit order. Then I came across this test case:

To me it looks the non-withdrawable elephant should be shown first, i.e.

-
@rainova I believe the root of the problem is the fact that, as I understand it, the program is always not showing the undamaged state of the unit if none are present at that state. I would go with your second example, but I would rather have the penultimate row (the one showing the image of a damaged non-withdrawable warelephant) having a first column showing a "x0" non-damaged non-withdrawable warelephant, whereas the "x2" damaged non-withdrawable warelephants (which are shown on the first column) would be shown on a second column.
Again, I also think these are minor matters: I would certainly take any one of the proposals so far made over not having this feature at all.
-
@rainova
The non-retreatable row and the retreatable row should have the same number of columns. So there is some other issue that is causing the non-retreatable row to not show the damaged column. -
@trevan said in Allow user to specifically choose amphibious offloaded units in battle chooser:
@rainova
The non-retreatable row and the retreatable row should have the same number of columns. So there is some other issue that is causing the non-retreatable row to not show the damaged column.It is actually not showing the non-damaged column and moving the damaged column in the place of the non-damaged one. I have assumed this is not an issue but intentional (not to show the non-damaged and non-withdrawable units because there are none).
@Panther Do you think it is better to call land units which cannot retreat as non-withdrawable or non-retreatable? Is there a definite difference between retreating and withdrawing?
-
@cernel said in Allow user to specifically choose amphibious offloaded units in battle chooser:
It is actually not showing the non-damaged column and moving the damaged column in the place of the non-damaged one. I have assumed this is not an issue but intentional (not to show the non-damaged and non-withdrawable units because there are none).
Ah, good point. I didn't notice that those were damaged elephants. So I think it is working fine as is. But I do agree with you that it should probably show the non-damaged units but with 0 in them. That can be a later improvement.
-
@cernel said in Allow user to specifically choose amphibious offloaded units in battle chooser:
@Panther Do you think it is better to call land units which cannot retreat as non-withdrawable or non-retreatable? Is there a definite difference between retreating and withdrawing?
Actually I don't know whether there is a difference between the meaning of "to retreat" and "to withdraw" in English language.
But maybe a native speaker can tell us ...
As we are talking about retreat-rules I would prefer "retreat", in case the wording makes no difference.
-
to withdraw, is an organised move away from the battlefront
to retreat, is not as organised as a withdraw (its messy & chaotic)
as an aside to rout, is a every man for themselvesSo in TripleA terms either withdraw or retreat is fine, but I too would also go with retreat.
-
To me, to say that something is "withdrawable" sounds more natural than "retreatable", so I've wondered how frequent each of them is over the internet.
In google, "retreatable" gives 16,300 results, whereas "withdrawable" gives 1,260,000 results (writing both within quotation marks). Honestly, I didn't expect such a huge difference: may someone else check this on google out of curiosity?
-
The top military command withdraws units. It is the units who retreat - and may route in the process.
The TripleA player plays the top military command role. In the situation we are discussing here, routing is not an issue. IMHO we should use the the term withdraw
How do we come to a conclusion so I can unify the terminology in the program code the right way?
-
@cernel said in Allow user to specifically choose amphibious offloaded units in battle chooser:
Do you believe that is a correct or else advisable behaviour for TripleA? I would say a raster-images-based program should always work at 100% scaling default, no matter if the general (Windows or whatever) zoom is set otherwise.
Currently I am using the 1942 game for testing with 100% display (scaling switched off), and for me the images are too small on a 4k screen. I could solve that by setting map zoom to 150%, but map zoom > 100% is not supported.
-
@rainova said in Allow user to specifically choose amphibious offloaded units in battle chooser:
@cernel said in Allow user to specifically choose amphibious offloaded units in battle chooser:
Do you believe that is a correct or else advisable behaviour for TripleA? I would say a raster-images-based program should always work at 100% scaling default, no matter if the general (Windows or whatever) zoom is set otherwise.
Currently I am using the 1942 game for testing with 100% display (scaling switched off), and for me the images are too small on a 4k screen. I could solve that by setting map zoom to 150%, but map zoom > 100% is not supported.
Try to look at the map and units at a monitor resolution of 2/3 of the maximum whilst having 100% general zoom and at the maximum (4k) monitor resolution whilst having 150% general zoom. What, if anything, gives a better visual of the map and units?
Meaning, starting from a 4k monitor resolution at 100% general zoom, is it better for your view to increase the zoom to 150% or to decrease the monitor resolution to 2.666k?
-
@rainova said in Allow user to specifically choose amphibious offloaded units in battle chooser:
The top military command withdraws units. It is the units who retreat - and may route in the process.
The TripleA player plays the top military command role. In the situation we are discussing here, routing is not an issue. IMHO we should use the the term withdraw
How do we come to a conclusion so I can unify the terminology in the program code the right way?
Though, I have to say that to withdraw makes me think that we are deciding unit per unit whether or not to withdraw it (that is what we should be able to do when we submerge submarines, although TripleA fails to support this). The concep of, nomally (full land invasion), withdrawing the entire army in the field or nothing, without having the option deliberately to withdraw only part of your units is something that I do not associate to the concept of withdrawing. Terms like "fall back" or "pull out" come to mind.
A long time wish of me was a new feature that would allow withdrawing/retreating as many units as you want (amongst those which you can withdraw), instead of being obliged to retreat all you can or nothing, and also being able to retreat once the battle is won (retreating when no defending units are left). Of course, off topic.
@Panther What I actually meant is whether there is some sort of official distinction between withdrawing and retreating, game wise.
-
@cernel said in Allow user to specifically choose amphibious offloaded units in battle chooser:
@Panther What I actually meant is whether there is some sort of official distinction between withdrawing and retreating, game wise.
Result of a quick check:
v1 uses "withdraw" only
v2, v3, v4, v5, v6, 1940... all use "retreat" only
LHTR2 uses "withdraw" and "retreat" both. See pages 14-16. (Step 7 of the Conduct Combat Phase). For the distinction please see yourself (as I am short of time at the moment).
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login