Author Topic: A tad bit annoying interface issue.  (Read 6387 times)

Offline kasnavada

  • Hero Member Mark II
  • *****
  • Posts: 986
A tad bit annoying interface issue.
« on: April 01, 2017, 02:21:09 am »
Good job so far but (see attachment).

Looking forward to the rest =).

Offline keith.lamothe

  • Arcen Games Staff
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,505
Re: A tad bit annoying interface issue.
« Reply #1 on: April 01, 2017, 02:49:47 am »
Drag the window up? :)
Have ideas or bug reports for one of our games? Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline kasnavada

  • Hero Member Mark II
  • *****
  • Posts: 986
Re: A tad bit annoying interface issue.
« Reply #2 on: April 01, 2017, 04:08:03 am »
;) what I can also do is unlock the task bar, move it on the side, and such... but I actually can't move the window up because it automatically moves to the bottom for some windows ergonomics related reason.

Resizing is probably on the works for soon(tm), but I was wondering if you guys had an quick and dirty "just reduce the size of the window" or "make the button a bit bigger" fix  ;D.
« Last Edit: April 01, 2017, 04:11:12 am by kasnavada »

Offline lagomorph129

  • Newbie Mark II
  • *
  • Posts: 15
Re: A tad bit annoying interface issue.
« Reply #3 on: April 01, 2017, 04:08:50 am »
I noticed that ss was 1920x1080. My screen is 1366x760, and I use a game size of 1366x700. I bet the start bar scales a bit, so maybe use a size of 1920x1000?

If you don't know how to change the settings, or where to look, copy the path below, and open the settings file (I use the .dat; I don't know if it will make a difference using the .bak) and look for [Window_Width="1360"] and [Window_Height="700"]

C:\Program Files (x86)\Steam\steamapps\common\AI War 2\PlayerData

If the proposed height doesn't work, just experiment with it until it does.

Offline kasnavada

  • Hero Member Mark II
  • *****
  • Posts: 986
Re: A tad bit annoying interface issue.
« Reply #4 on: April 01, 2017, 04:13:05 am »
That's what I was looking for and works well, thanks =).

Offline lagomorph129

  • Newbie Mark II
  • *
  • Posts: 15
Re: A tad bit annoying interface issue.
« Reply #5 on: April 01, 2017, 04:16:03 am »
One last bit; if you want to use fullscreen, look for the fullscreen line and make sure it reads "true" while also making sure you use FULL screen size in that one or it'll cut off. xD

Offline keith.lamothe

  • Arcen Games Staff
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,505
Re: A tad bit annoying interface issue.
« Reply #6 on: April 01, 2017, 12:27:00 pm »
You can also edit GameData/Configuration/UIWindow/KDL_UIWindows.xml to change the position of those elements, specifically:

Code: [Select]
  <window name="Window_InGameMasterMenu"
              dll_name="AIWarExternalCode"
              type_name="Arcen.AIW2.External.Window_InGameMasterMenu"
              x="0.0"
              y="0.0"
  >
  <element type="Button" x="0.0" y="0.0" width="10" height="3" y_align="Bottom" type_name="bToggleEscapeMenu" />
  <element type="Button" x="10.0" y="0.0" width="10" height="3" y_align="Bottom" type_name="bToggleDebugMenu" />
  <element type="Button" x="20.0" y="0.0" width="10" height="3" y_align="Bottom" type_name="bToggleTimingMenu" />
  <element type="Button" x="30.0" y="0.0" width="10" height="3" y_align="Bottom" type_name="bToggleTechMenu" />
  <element type="Button" x="40.0" y="0.0" width="10" height="3" y_align="Bottom" type_name="bToggleCommandsMenu" />
  <element type="Button" x="50.0" y="0.0" width="10" height="3" y_align="Bottom" type_name="bTogglePlanetMenu" />
  <element type="Button" x="60.0" y="0.0" width="10" height="3" y_align="Bottom" type_name="bToggleObjectivesMenu" />
  <element type="Button" x="70.0" y="0.0" width="10" height="3" y_align="Bottom" type_name="bToggleControlGroupsMenu" />
  </window>

If you change the y values of each of the elements (not the window itself, the function of that is misleading and may be removed later, we'll see) from 0 to 3, it would probably do what you wanted for that bar. FYI, the units are "percent of screen size along that axis", so y="3" with y_align="Bottom" means "3% from the bottom of the screen" or ~32 pixels on a 1080-high resolution.

The problem is that all the sub menus that open "on top" of that would need to be bumped up too, since it's not relative to each other at this time. There's a few things I can do to make it relative, still debating which is best.

But once the xml setup is more reasonable for making that sort of change without hand-correcting everything, the idea is that if any of you want a different layout... well, you can have it :) And whichever one(s) have consensus behind them are likely to be used for the official data in some capacity or another. Though obviously there's still a ton changing about the actual visuals, and even about the actual function, but we're getting there.
Have ideas or bug reports for one of our games? Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Draco18s

  • Resident Velociraptor
  • Core Member Mark V
  • *****
  • Posts: 4,251
Re: A tad bit annoying interface issue.
« Reply #7 on: April 01, 2017, 03:12:04 pm »
Booted up the game and I'm pretty sure the game window is actually larger than my monitor's Y resolution, task bar be damned.
https://s15.postimg.org/5ag7sajob/Capture.png
I noticed that if I drag the game window up (it snaps back down again) that I can see some text in the lower right corner that is not visible normally, as it is in the screenshot (version #?).

How would I go about tweaking that?

Offline keith.lamothe

  • Arcen Games Staff
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,505
Re: A tad bit annoying interface issue.
« Reply #8 on: April 01, 2017, 03:21:55 pm »
Booted up the game and I'm pretty sure the game window is actually larger than my monitor's Y resolution, task bar be damned.
https://s15.postimg.org/5ag7sajob/Capture.png
I noticed that if I drag the game window up (it snaps back down again) that I can see some text in the lower right corner that is not visible normally, as it is in the screenshot (version #?).

How would I go about tweaking that?
The settings.dat Window_Height field, as lagomorph mentioned.

Was it vertically reasonable before this version?
Have ideas or bug reports for one of our games? Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Draco18s

  • Resident Velociraptor
  • Core Member Mark V
  • *****
  • Posts: 4,251
Re: A tad bit annoying interface issue.
« Reply #9 on: April 01, 2017, 03:54:20 pm »
Booted up the game and I'm pretty sure the game window is actually larger than my monitor's Y resolution, task bar be damned.
https://s15.postimg.org/5ag7sajob/Capture.png
I noticed that if I drag the game window up (it snaps back down again) that I can see some text in the lower right corner that is not visible normally, as it is in the screenshot (version #?).

How would I go about tweaking that?
The settings.dat Window_Height field, as lagomorph mentioned.

Ah, missed that.

Quote
Was it vertically reasonable before this version?

I'd say "yes" as I don't recall it being so out of proportion. My full screen resolution was spot-on (1600x900) but the windowed resolution came in at 1200x1000.