planning a battle click is offcenter
planning a battle click is offcenter
hello whenever i try to click on a unit in a planned combat, it clicks the unit left of the unit im clicking, unless i click on the top right edge, not sure if maybe this has to do with screen resolution maybe?
RE: planning a battle click is offcenter
Same /similar here. Moving the battle planer window slightly resolves it for the next few clicks, then it reappears.
RE: planning a battle click is offcenter
In part 19.10 of the manual there are appear to be settings to do it in the ini-file.
ChangeScreenResolution=N Y=Alternate Screen Resolution
ScreenY=768 Alternate Screen Resolution Parameter
ScreenX=1024 Alternate Screen Resolution Parameter
input your own screen size and see if it scales and works for you
the file your after is in the game folder in your docs etc
see if that helps
ChangeScreenResolution=N Y=Alternate Screen Resolution
ScreenY=768 Alternate Screen Resolution Parameter
ScreenX=1024 Alternate Screen Resolution Parameter
input your own screen size and see if it scales and works for you
the file your after is in the game folder in your docs etc
see if that helps
Windows 11 Pro 64-bit (10.0, Build 26100) (26100.ge_release.240331-1435) 24H2
RE: planning a battle click is offcenter
In part 19.10 of the manual there are appear to be settings to do it in the ini-file.
ChangeScreenResolution=N Y=Alternate Screen Resolution
ScreenY=768 Alternate Screen Resolution Parameter
ScreenX=1024 Alternate Screen Resolution Parameter
That does not seem to solve this problem here.
I have dual monitors and tried on each monitor:
On the main monitor (1920x1080), the offcenter problem always occurs soon or late (ususally soon), regardless of the screen setting in the .ini file, and regardless of playing in a full window or a resized window.
The problem typically starts by the Combat Planner (CP) jumping a little bit to the left when I click on a unit. The CP never recovers after that and units may even become totally unresponsive, in which case I need to exit the CP and open it again.
The 2nd monitor (1680x1050) sometimes behaves as the first. But sometimes, after jumping to the left, it jumps back to the right when I click on the same or another unit and then there is no subsequent offcenter problem.
The trigger appears to be clicking on units to add or remove them.
---
Edited 2nd monitor text after more trying.
RE: planning a battle click is offcenter
I have dual monitors and I having this issue as well.
I7-6700K@4.5GHz/Asus MAXIMUS VIII FORMULA/EVGA GTX 1080SC/Corsair LPX 16GB/Corsair 600Q/Corsair RM750i/Acer XB270H 27"/BenQ G2400W 24"/SOUND BLASTER ZX/Samsung 850 Pro x2/Samsung 950 Pro x1/Win10 Pro 64bit/Saitek X52/TrackIR3: Pro-TrackClip Pro/Oculus CV
-
- Posts: 43
- Joined: Fri Nov 17, 2017 2:03 am
RE: planning a battle click is offcenter
I have a single monitor, 2560x1440, no DPI scaling, but am seeing the same thing. Good news is, I think I can see why it's shifting around as you click:
Everything will be positioned normally when you first open the Combat Planner. BUT...
If, as you add units to the attack, the text in the "Predicted results" part of the window - the part that says "Our losses will probably be very heavy" and so on - changes from what it first says when the Planner opens, the width of the window adjusts slightly on the fly to compensate for the change in text. But, it seems like the unit icons' positions/clickable areas/whatever don't actually change to match their new, slightly-shifted position in the "resized" window.
This can be repeated:
1. Open the planner on a tile where you're predicted to get "Extremely heavy" losses, and then start including attacking units until the prediction drops to "Heavy."
2. The string in that box gets shorter since you lose the word "Extremely," and the Planner window will shrink ever so slightly because it no longer needs the extra width to display the whole string.
3. That shift of just a few pixels is enough - now try clicking the right edge of any attacking unit at the right side of its tile (i.e. the right most edge of the right-most unit). You'll almost certainly notice that it will be offset maybe...15 pixels or so. To select those units, you have to click where they *were*, not where they are now.
4. As Roofio says: Moving the window resets its awareness of those icons' locations, but it will re-shift if the text in the prediction box changes length again.
Hopefully someone else can corroborate that!
Everything will be positioned normally when you first open the Combat Planner. BUT...
If, as you add units to the attack, the text in the "Predicted results" part of the window - the part that says "Our losses will probably be very heavy" and so on - changes from what it first says when the Planner opens, the width of the window adjusts slightly on the fly to compensate for the change in text. But, it seems like the unit icons' positions/clickable areas/whatever don't actually change to match their new, slightly-shifted position in the "resized" window.
This can be repeated:
1. Open the planner on a tile where you're predicted to get "Extremely heavy" losses, and then start including attacking units until the prediction drops to "Heavy."
2. The string in that box gets shorter since you lose the word "Extremely," and the Planner window will shrink ever so slightly because it no longer needs the extra width to display the whole string.
3. That shift of just a few pixels is enough - now try clicking the right edge of any attacking unit at the right side of its tile (i.e. the right most edge of the right-most unit). You'll almost certainly notice that it will be offset maybe...15 pixels or so. To select those units, you have to click where they *were*, not where they are now.
4. As Roofio says: Moving the window resets its awareness of those icons' locations, but it will re-shift if the text in the prediction box changes length again.
Hopefully someone else can corroborate that!
RE: planning a battle click is offcenter
if you post a report, the developers and staff will be able to at least see your DPI and res settings fully to make sure it's not a scaling issue and is a pure DPI or setting one and maybe able to tell you then what setting to manually input to make it work better or more correctly etc
How to get a DirectX Diagnostic file:
1. click on "START"
2. click "run"
3. type in "dxdiag" and click "OK"
4. check through the tabs and perform all tests
5. click "Save all Information..." and save the text file to a location of your choice
We prefer that DxDiag files be posted as message attachments rather than pasted into the body of the post.
once the report has been made, just attach it to your post with first adding the file to a zip, which is then permitted to attach to the forum.
here's mine as an example on a test pc
and another with a mixed DPI and res setting,
while mine are part copies, please include the full report, thanks
How to get a DirectX Diagnostic file:
1. click on "START"
2. click "run"
3. type in "dxdiag" and click "OK"
4. check through the tabs and perform all tests
5. click "Save all Information..." and save the text file to a location of your choice
We prefer that DxDiag files be posted as message attachments rather than pasted into the body of the post.
once the report has been made, just attach it to your post with first adding the file to a zip, which is then permitted to attach to the forum.
here's mine as an example on a test pc
Operating System: Windows 10 Home Single Language 64-bit (10.0, Build 15063) (15063.rs2_release.170317-1834)
Language: English (Regional Setting: English)
System Manufacturer: Hewlett-Packard
System Model: Compaq Presario CQ61 Notebook PC
BIOS: Default System BIOS
Processor: n/a (no idea why it didn't put it in either) it's a dual core celeron T3000 @ 1.80GHz
Memory: 3072MB RAM
Available OS Memory: 3002MB RAM
Page File: 1431MB used, 2851MB available
Windows Dir: C:\Windows
DirectX Version: DirectX 12
DX Setup Parameters: Not found
User DPI Setting: Using System DPI
System DPI Setting: 96 DPI (100 percent)
DWM DPI Scaling: Disabled
Miracast: Not Available
Microsoft Graphics Hybrid: Not Supported
DxDiag Version: 10.00.15063.0000 64bit Unicode
and another with a mixed DPI and res setting,
Operating System: Windows 10 Home Single Language 64-bit (10.0, Build 16299) (16299.rs3_release.170928-1534)
Language: English (Regional Setting: English)
System Manufacturer: System manufacturer
System Model: System Product Name
BIOS: BIOS Date: 09/11/12 14:09:39 Ver: 04.03
Processor: Intel(R) Core(TM) i7-2700K CPU @ 4.20GHz (8 CPUs), ~3.5GHz
Memory: 16384MB RAM
Available OS Memory: 16336MB RAM
Page File: 3167MB used, 29552MB available
Windows Dir: C:\WINDOWS
DirectX Version: DirectX 12
DX Setup Parameters: Not found
User DPI Setting: 120 DPI (125 percent)
System DPI Setting: 144 DPI (150 percent)
DWM DPI Scaling: UnKnown
Miracast: Available, with HDCP
Microsoft Graphics Hybrid: Not Supported
DxDiag Version: 10.00.16299.0015 64bit Unicode
while mine are part copies, please include the full report, thanks
Windows 11 Pro 64-bit (10.0, Build 26100) (26100.ge_release.240331-1435) 24H2
RE: planning a battle click is offcenter
ORIGINAL: aperfecturkel
If, as you add units to the attack, the text in the "Predicted results" part of the window - the part that says "Our losses will probably be very heavy" and so on - changes from what it first says when the Planner opens, the width of the window adjusts slightly on the fly to compensate for the change in text.
The problem indeed appears related to the (changing) text length in the Combat Predictions field when you click on units to add or remove them. As the length of the text changes, that text field (and/or the dialog window) is resized or moved, and clicking on units becomes offcenter.
As a workaround, changing the font size of that text field works for me. I tried and set DialogMediumFont in the fonts .ini file much smaller, Size 6 works on my monitor. It makes text with the same font in other dialogs also tiny but it does seem solve this problem for me now.
RE: planning a battle click is offcenter
if you post a report, the developers and staff will be able to at least see your DPI and res settings fully to make sure it's not a scaling issue and is a pure DPI or setting one and maybe able to tell you then what setting to manually input to make it work better or more correctly etc
I understand, but I'm not allowed to post images or the diagnostic file yet (not enough posts).
As a workaround, making DialogMediumFont much smaller (so that the Combat Results prediction text field is not resized) seems to work for me now.
Hope other players can confirm this or give another solution.
RE: planning a battle click is offcenter
ORIGINAL: JPJ
if you post a report, the developers and staff will be able to at least see your DPI and res settings fully to make sure it's not a scaling issue and is a pure DPI or setting one and maybe able to tell you then what setting to manually input to make it work better or more correctly etc
I understand, but I'm not allowed to post images or the diagnostic file yet (not enough posts).
As a workaround, making DialogMediumFont much smaller (so that the Combat Results prediction text field is not resized) seems to work for me now.
Hope other players can confirm this or give another solution.
Which line in the ini file did you edit? I't's not clear where to locate it, thanks
RE: planning a battle click is offcenter
You can do it (1) in the fonts .ini file, or (2) in the Fonts Editor.
(1) In the fonts .ini file, in the [DialogMediumFont] section, the Size=X setting. In my .ini file that is line 76 but this may be different for you.
Setting Size=6 seems to have solved it completely for me (but text in this font now is hard to read, so tiny). Size=8 works often but not in all attacks. 10 and 12 are too big and cause this problem.
(2) You find the Fonts Editor within TOAW4 under Play > Player Options (this opens the Set Advanced Player Options Dialog) > Fonts Editor (the last option on the 2nd screen). Select [Dialog Medium Font] and set the size.
---
Incidentally, a similar offcenter clicking issue happens in the Fonts Editor when I deselect and then select the Windows Font checkbox. When I deselect it, the fonts in this window are instantly changed, the width of the dialog box changes, and the checkbox is moved to the right. Then, if I try to select the Windows Font checkbox again, the checkbox itself is dead and I must click left of where it is displayed. (I can find where I have to click by hovering the mouse around and looking where the description popup for this checkbox appears -- that is the spot to click, even though the checkbox is displayed in a different place).
(1) In the fonts .ini file, in the [DialogMediumFont] section, the Size=X setting. In my .ini file that is line 76 but this may be different for you.
Setting Size=6 seems to have solved it completely for me (but text in this font now is hard to read, so tiny). Size=8 works often but not in all attacks. 10 and 12 are too big and cause this problem.
(2) You find the Fonts Editor within TOAW4 under Play > Player Options (this opens the Set Advanced Player Options Dialog) > Fonts Editor (the last option on the 2nd screen). Select [Dialog Medium Font] and set the size.
---
Incidentally, a similar offcenter clicking issue happens in the Fonts Editor when I deselect and then select the Windows Font checkbox. When I deselect it, the fonts in this window are instantly changed, the width of the dialog box changes, and the checkbox is moved to the right. Then, if I try to select the Windows Font checkbox again, the checkbox itself is dead and I must click left of where it is displayed. (I can find where I have to click by hovering the mouse around and looking where the description popup for this checkbox appears -- that is the spot to click, even though the checkbox is displayed in a different place).
- ralphtricky
- Posts: 6675
- Joined: Sun Jul 27, 2003 4:05 am
- Location: Colorado Springs
- Contact:
RE: planning a battle click is offcenter
Thanks, I heard there was something 'wonky' about it. I'll look into it further.ORIGINAL: aperfecturkel
I have a single monitor, 2560x1440, no DPI scaling, but am seeing the same thing. Good news is, I think I can see why it's shifting around as you click:
Everything will be positioned normally when you first open the Combat Planner. BUT...
If, as you add units to the attack, the text in the "Predicted results" part of the window - the part that says "Our losses will probably be very heavy" and so on - changes from what it first says when the Planner opens, the width of the window adjusts slightly on the fly to compensate for the change in text. But, it seems like the unit icons' positions/clickable areas/whatever don't actually change to match their new, slightly-shifted position in the "resized" window.
This can be repeated:
1. Open the planner on a tile where you're predicted to get "Extremely heavy" losses, and then start including attacking units until the prediction drops to "Heavy."
2. The string in that box gets shorter since you lose the word "Extremely," and the Planner window will shrink ever so slightly because it no longer needs the extra width to display the whole string.
3. That shift of just a few pixels is enough - now try clicking the right edge of any attacking unit at the right side of its tile (i.e. the right most edge of the right-most unit). You'll almost certainly notice that it will be offset maybe...15 pixels or so. To select those units, you have to click where they *were*, not where they are now.
4. As Roofio says: Moving the window resets its awareness of those icons' locations, but it will re-shift if the text in the prediction box changes length again.
Hopefully someone else can corroborate that!
Ralph Trickey
TOAW IV Programmer
Blog: http://operationalwarfare.com
---
My comments are my own, and do not represent the views of any other person or entity. Nothing that I say should be construed in any way as a promise of anything.
TOAW IV Programmer
Blog: http://operationalwarfare.com
---
My comments are my own, and do not represent the views of any other person or entity. Nothing that I say should be construed in any way as a promise of anything.
-
- Posts: 43
- Joined: Fri Nov 17, 2017 2:03 am
RE: planning a battle click is offcenter
Thanks Ralph! I had thought that perhaps a fixed width to that field would correct it, but it'd have to likely be pretty wide to account for those ol' grognards who bump the text size up to 20pt.
Though if there are other windows doing the same thing, maybe the fix would need to be more broad... Since manually moving the window seems to reset the location mapping for the clickables, I wonder if a kludge-y fix like "shift the window 1px when variabled fields update" would be sufficient and easy to implement, but I know literally zero about the codebase and am way out of my depth anyway, so...godspeed, man. [:)]
Though if there are other windows doing the same thing, maybe the fix would need to be more broad... Since manually moving the window seems to reset the location mapping for the clickables, I wonder if a kludge-y fix like "shift the window 1px when variabled fields update" would be sufficient and easy to implement, but I know literally zero about the codebase and am way out of my depth anyway, so...godspeed, man. [:)]
RE: planning a battle click is offcenter
Further to this issue in the Combat Planner, here is a screenshot of my workaround, which is to reduce the size of the DialogMediumFont in the font settings.
The font in the marked field is now small enough that even long text does not trigger resizing of that text field and/or the dialog when units are added (or removed) and the text length changes. It appears this resizing causes the offcenter click problem on unit icons.
Edit: 1920x1080, no DPI scaling

The font in the marked field is now small enough that even long text does not trigger resizing of that text field and/or the dialog when units are added (or removed) and the text length changes. It appears this resizing causes the offcenter click problem on unit icons.
Edit: 1920x1080, no DPI scaling

- Attachments
-
- CombatPlan..Font_6pt.jpg (140.57 KiB) Viewed 370 times