New mod: Enhanced 1920x1080 experience

Everything about mods can be found here.

Moderator: Morax

New mod: Enhanced 1920x1080 experience

Postby nine2 » 24 Mar 2015, 16:04

Edit: This mod is now redundant. The UI Party mod does the same thing but better (eg: is not limited to a certain screen size)

Old text:

Spoiler: show
This mod is for people with dual 1920x1080 monitors who play in windows mode and drag the screen over both monitors, playing split screen.

A few tweaks to the ui to make this nicer.

Starts the game in split screen,
with left screen zoomed to acu and right screen zoomed out fully,
one click away from placing a land factory,
with collapsed multifunction (ping ui) and tab controls (top menu ui).
Moves the avatars control (idle units ui) to the left screen so its actually noticeable.
Unlocks the ui so you can place your factory straight away.

So it's mainly making the split screen feature a bit more practical (saves you having to set it up properly each game).
However you also gain a small advantage by being able to place your factories straight away.

If you do not have the right monitor setup, then expect bad things to happen.

Thank you to Resin and Sheeo for answering my noob modder questions.
Last edited by nine2 on 12 Apr 2015, 12:27, edited 1 time in total.
nine2
Councillor - Promotion
 
Posts: 2416
Joined: 16 Apr 2013, 10:10
Has liked: 285 times
Been liked: 515 times
FAF User Name: Anihilnine

Re: New mod: Enhanced 1920x1080 experience

Postby Frozen_byte » 24 Mar 2015, 16:11

I play 2x 1280x1024 on Windowed Dualscreen - is this possible with your mod, too?
~¿Quis custodes custodit?~
User avatar
Frozen_byte
Avatar-of-War
 
Posts: 208
Joined: 21 Sep 2011, 22:03
Has liked: 37 times
Been liked: 22 times
FAF User Name: Frozen_byte

Re: New mod: Enhanced 1920x1080 experience

Postby nine2 » 24 Mar 2015, 16:29

avatars will be in wrong place

but you can just edit the mod. got to replace one number...
nine2
Councillor - Promotion
 
Posts: 2416
Joined: 16 Apr 2013, 10:10
Has liked: 285 times
Been liked: 515 times
FAF User Name: Anihilnine

Re: New mod: Enhanced 1920x1080 experience

Postby Frozen_byte » 24 Mar 2015, 16:31

/me best modding noob you've ever seen

Thanks! I will mod the mod then.

Maybe it's possible to calculate 50% of the Screen-width.
~¿Quis custodes custodit?~
User avatar
Frozen_byte
Avatar-of-War
 
Posts: 208
Joined: 21 Sep 2011, 22:03
Has liked: 37 times
Been liked: 22 times
FAF User Name: Frozen_byte

Re: New mod: Enhanced 1920x1080 experience

Postby nine2 » 24 Mar 2015, 16:46

yeah you will be able to get the map viewport width but then you will have to handle resize etc - couldn't be bothered
nine2
Councillor - Promotion
 
Posts: 2416
Joined: 16 Apr 2013, 10:10
Has liked: 285 times
Been liked: 515 times
FAF User Name: Anihilnine

Re: New mod: Enhanced 1920x1080 experience

Postby Frozen_byte » 24 Mar 2015, 17:25

gamemain.lua
line 58
Code: Select all
         local w = GetFrame(0).Width()/2
         -- reposition the avatars pane
         LayoutHelpers.AtRightTopIn(c.avatarGroup, c.parent, w, 70)

Works awesome:
Image

Maybe it is possible to mod the whole "menu" with all its windows to one screen.
Last edited by Frozen_byte on 24 Mar 2015, 19:31, edited 2 times in total.
~¿Quis custodes custodit?~
User avatar
Frozen_byte
Avatar-of-War
 
Posts: 208
Joined: 21 Sep 2011, 22:03
Has liked: 37 times
Been liked: 22 times
FAF User Name: Frozen_byte

Re: New mod: Enhanced 1920x1080 experience

Postby nine2 » 24 Mar 2015, 17:40

i dont think so but once again ... couldn't be bothered :)

it takes ages to figure it all out. even though it doesnt look like much
nine2
Councillor - Promotion
 
Posts: 2416
Joined: 16 Apr 2013, 10:10
Has liked: 285 times
Been liked: 515 times
FAF User Name: Anihilnine

Re: New mod: Enhanced 1920x1080 experience

Postby nine2 » 24 Mar 2015, 17:55

id be more interested in moving stuff i dont use off onto the other screen

how come that image is so yellow? it looks wrong
nine2
Councillor - Promotion
 
Posts: 2416
Joined: 16 Apr 2013, 10:10
Has liked: 285 times
Been liked: 515 times
FAF User Name: Anihilnine

Re: New mod: Enhanced 1920x1080 experience

Postby Frozen_byte » 24 Mar 2015, 18:23

AFAIK there was an UI-Mod which allows you to move every Panel freely.
//edit search for "Movable UI"

The yellow trees are caused by lowest Graphic settings. Dunno, was a Quickshot of my Enthusiasm - I there even are some UI Mods active I don't use usually (just wanted to test Compatibillity)
~¿Quis custodes custodit?~
User avatar
Frozen_byte
Avatar-of-War
 
Posts: 208
Joined: 21 Sep 2011, 22:03
Has liked: 37 times
Been liked: 22 times
FAF User Name: Frozen_byte

Re: New mod: Enhanced 1920x1080 experience

Postby nine2 » 12 Apr 2015, 12:28

This mod is now redundant. The UI Party mod does the same thing but better (eg: is not limited to a certain screen size)
nine2
Councillor - Promotion
 
Posts: 2416
Joined: 16 Apr 2013, 10:10
Has liked: 285 times
Been liked: 515 times
FAF User Name: Anihilnine


Return to Mods & Tools

Who is online

Users browsing this forum: No registered users and 1 guest