Login  Register
 



Post new topicReply to topic Go to page 1, 2, 3  Next
 
Author Message
 PostPosted: 20 Dec, 2009 
 
User avatar

Joined: 08 Mar, 2008
Posts: 270
Location: NHTV, Breda, Netherlands
Offline
Movable UI

If you like this mod, place a comment below so i know who i'm doing it for.
Download Latest Version

This mod allows you to move all panels and resize the construction panel.
It's not possible to move stuff out of the game window.

You can save/restore the positions, you can also set it to restore on game start.
You can customize:
The Orders Panel: You can select the layout (1x12, 2x6, 3x4, 4x3, 6x2, 12x1) and the button size (1 to 100 pixels).
The Score Panel: You can select the text size (1 to 20 pixels)

Added Localization:
In the movableUI folder there is a file: LOCFILE.lua
In it are the strings used in the mod.
If you place these strings in your loc_LG.scd/loc/LG/strings_db.lua and change them to your language, the strings ingame will be in your language.
If you could PM me when you've translated to a certain language, i can upload those strings and post them here for download.

There are Plugins, see below


Known Issues:
- Unit view window starts behind construction panel, just move it away :)

Feedback is always welcome.

You could start with:
Image

And end with:
Image

This icon opens a menu in which you can access the mod's options.
Image
Installation:
Extract MovableUI.zip and place the movableUI folder in one of these mods folders, where you place it is your OS:
Windows XP: X:\Documents and Settings\[username]\Local Settings\Application Data\Gas Powered Games\SupremeCommander\mods
Windows Vista: X:\Users\[username]\AppData\Local\Gas Powered Games\Supreme Commander\mods
Windows 7: X:\Users\[username]\Documents\my games\Gas Powered Games\Supreme Commander Forged Alliance\mods

OR (for every OS): C:\Program Files\THQ\Gas Powered Games\Supreme Commander - Forged Alliance\mods

If the mods folder doesn't exist yet, create it, as it's not automatically created when the game is installed.

Plugins:
These are optional and are not needed for the rest of the mod to work.
To install, unzip and place the folder inside into the 'plugins' folder. The mod will then automatically detect it.

Movie Viewer
As a little side project I created a movie viewer, allowing you to watch every movie in the game. (useless but fun to make)
To use, go to the options panel and select "Open movie Player".
Download
Picture:
Image


GAZ_UI movable reclaim panel
This plugin allows you to move the reclaim panel from GAZ_UI.
It's position isn't remembered and will never be.
Download

HelperTools Upgrade Panel
This plugin allows you to move the Upgrade panel from Helper Tools.
It's position isn't remembered and will never be.
Download

Old Versions:
V4
V5
V6
V7
V8
V9

Changelog wrote:
V9:
- Added localization
- Added compatibility with Powerlobby v1.4

V8:
- Updated Helper tools Plugin to show it at it's default location instead of the top left of the screen.
- Fixed move icon toggling and setting on startup.
- Helper Tools & Reclaim window move icons are now also hidden.

V7:
- Bracket/Icon Hide state is now remembered correctly
- When hovering over a build icon the unit description is displayed correctly.
- Created Plugin for GAZ_UI reclaim window and HelperTools Upgrade window.

V6:
- The orders panel position is now restored correctly.
- The construction panel width is now restored correctly.
- The score panel is now customizable:
You can select the text size (1 to 20 pixels)
- Created MoviePlayer Plugi

V5:
- I created a nice options panel for things to come. (who knows)
- To open it, use the icon in the lower left of the screen and click "Show Options Window".
- Panels should no longer be able to get outside the game window after you change the resolution and press Restore Saved Positions. If you have one that does, PM me with the situation.
- Resized World view now sticks to game window border.
- I also added the option for minimap cartographic back in, so you can choose for yourself. The minimap does not work correctly in non-cartographic mode when you place it over the world view though, so you have to resize that and place the minimap outside.
- The orders panel is now costumizable:
You can select the layout (1x12, 2x6, 3x4, 4x3, 6x2, 12x1) and the button size (1 to 100 pixels).

V4:
- The hide state and worldview size is now remembered.
- The brackets are now hideable.
- It is now possible to restore UI positions on game start.

V3:
- You can now:
Save and restore window positions.
Restore default positions (should work on all resolutions)
Hide the move icons.

V2:
- It is now possible to resize the world view.
- Fixed a bug which made user input impossible once you switch to or from split screen.

V1: First release!

GreetZ ThaPear

_________________
It's better to keep your mouth shut and let people think you are a fool, then to open it and remove all doubt.
My latest mod: Big Map Preview
All my mods


Last edited by ThaPear on 09 Feb, 2010, edited 23 times in total.

Top
 Profile  
 PostPosted: 20 Dec, 2009 
 
User avatar

Joined: 27 Aug, 2008
Posts: 6408
Offline
Interesting, very interesting. Does it play nice with GAZ UI?


Top
 Profile  
 PostPosted: 20 Dec, 2009 
 
User avatar

Joined: 26 Mar, 2007
Posts: 5076
Location: California, United States
Offline
oh nice, this is like that old UI whos name ai cant remember back in vanilla!!

_________________
{◕ ◡ ◕}
Image


Top
 Profile  
 PostPosted: 20 Dec, 2009 
 

Joined: 05 Oct, 2007
Posts: 16426
Location: camping near the biggest power-up
Offline
ThaPaer, will you marry me? wow, this is so epic.

_________________
Nephylim wrote:
But, an FA army in an FA environment just looks... right.
help wrote:
Does anyone know how to use air transports? I cant get them to pick up troops.


Top
 Profile  
 PostPosted: 20 Dec, 2009 
 
User avatar

Joined: 08 Mar, 2008
Posts: 270
Location: NHTV, Breda, Netherlands
Offline
Raiden2 wrote:
Interesting, very interesting. Does it play nice with GAZ UI?
I designed it with GAZ_UI enabled, so yea, it works with that.

BulletMagnet wrote:
ThaPaer, will you marry me? wow, this is so epic.
Thanks, but no thanks :P

GreetZ ThaPear

_________________
It's better to keep your mouth shut and let people think you are a fool, then to open it and remove all doubt.
My latest mod: Big Map Preview
All my mods


Top
 Profile  
 PostPosted: 20 Dec, 2009 
 
User avatar

Joined: 27 Aug, 2008
Posts: 6408
Offline
ThaPear wrote:
Raiden2 wrote:
Interesting, very interesting. Does it play nice with GAZ UI?
I designed it with GAZ_UI enabled, so yea, it works with that.

BulletMagnet wrote:
ThaPaer, will you marry me? wow, this is so epic.
Thanks, but no thanks :P

GreetZ ThaPear
Awesome.


Top
 Profile  
 PostPosted: 20 Dec, 2009 
 
User avatar

Joined: 08 Jul, 2007
Posts: 5394
Offline
Lt_hawkeye wrote:
oh nice, this is like that old UI whos name ai cant remember back in vanilla!!


The SCA UI. Damn, nice work Pear.

_________________
Image


Top
 Profile  
 PostPosted: 20 Dec, 2009 
 
User avatar

Joined: 25 Nov, 2008
Posts: 199
Offline
you are a god.


Top
 Profile  
 PostPosted: 20 Dec, 2009 
 

Joined: 13 Jun, 2008
Posts: 729
Offline
Pretty damn cool, ThaPear!
finally be able to resize it...*drool*

edit:
If i may ask you to add another nice feature of good ol' SCA UI:
resizeable map area, so that if the construction or selection window is displayed no map is rendered below it.
and restoring the layout of the UI elements on gamestart.

well done ThaPear!
tested it with tvg v4.4, and it works.

_________________
TVg V5 Alpha Testers Wanted!
Image
Bulletstorm released
other mods


Top
 Profile  
 PostPosted: 21 Dec, 2009 
 
User avatar

Joined: 08 Mar, 2008
Posts: 270
Location: NHTV, Breda, Netherlands
Offline
Ghaleon wrote:
edit:
If i may ask you to add another nice feature of good ol' SCA UI:
resizeable map area, so that if the construction or selection window is displayed no map is rendered below it.
and restoring the layout of the UI elements on gamestart.
I think this is possible, i'll look into it.

I also found out why they restricted the minimap to cartographic, it's because it's on the same level as the normal map view, so when there's a high piece of land on the normal view, and a low piece of land on the minimap, the normal map view pokes through. :)

GreetZ ThaPear

_________________
It's better to keep your mouth shut and let people think you are a fool, then to open it and remove all doubt.
My latest mod: Big Map Preview
All my mods


Top
 Profile  
 PostPosted: 21 Dec, 2009 
 

Joined: 13 Jun, 2008
Posts: 729
Offline
Once again, pretty darn cool, I look forward to it!
Thank you ThaPear ^^!

And heh, that sounds weird, I wonder if UI depth parameter affects the minimap at all.

_________________
TVg V5 Alpha Testers Wanted!
Image
Bulletstorm released
other mods


Top
 Profile  
 PostPosted: 21 Dec, 2009 
 
User avatar

Joined: 08 Mar, 2008
Posts: 270
Location: NHTV, Breda, Netherlands
Offline
Nope, i tried lots of things, adding other pieces of UI between the minimap and the world view, changing depth, etc...
Only thing that works is making it cartographic :)

The resizable world view part isn't going that well, some code I copy-pasted from another piece of my code isn't working for some reason, still trying though.

GreetZ ThaPear

_________________
It's better to keep your mouth shut and let people think you are a fool, then to open it and remove all doubt.
My latest mod: Big Map Preview
All my mods


Top
 Profile  
 PostPosted: 22 Dec, 2009 
 
User avatar

Joined: 08 Mar, 2008
Posts: 270
Location: NHTV, Breda, Netherlands
Offline
Version 2
As per request by Ghaleon it is now possible to resize the world view, i added a button in the lower right corner of the screen, when you click this, beams show up at the edges of the screen.
You can use these beams to resize the world view, click the button again to hide the beams again.
Image
PS: If anyone downloaded V2 before this edit, redownload it, i greatly improved the resizing script, making it easier to use for you (the resizing).

I also fixed a bug which made user input impossible once you switch to or from split screen.
It's still under the same Download Link :)

If anyone has ANY requests whatsoever as to UI modding, please feel free to ask and i probably will try to make it for you.

GreetZ ThaPear

_________________
It's better to keep your mouth shut and let people think you are a fool, then to open it and remove all doubt.
My latest mod: Big Map Preview
All my mods


Last edited by ThaPear on 05 Jan, 2010, edited 1 time in total.

Top
 Profile  
 PostPosted: 23 Dec, 2009 
 

Joined: 13 Jun, 2008
Posts: 729
Offline
Great work, ThaPear, kudos for solving this, resizing world borders works like a charm.
Really, all that's left is for this to load the last set settings on gamestart.

Regarding the minimap, GPG must have changed how it was working, but tbh, since zooming I never really use it anymore.

_________________
TVg V5 Alpha Testers Wanted!
Image
Bulletstorm released
other mods


Top
 Profile  
 PostPosted: 23 Dec, 2009 
 
User avatar

Joined: 08 Mar, 2008
Posts: 270
Location: NHTV, Breda, Netherlands
Offline
Version 3
You can now:
- Save and restore window positions.
- Restore default positions (should work on all resolutions)
- Hide the move icons.

Image
This icon now opens a menu in which you can access all these options.

Once again, same Download Link

Are there any more suggestions i can add?

GreetZ ThaPear

_________________
It's better to keep your mouth shut and let people think you are a fool, then to open it and remove all doubt.
My latest mod: Big Map Preview
All my mods


Last edited by ThaPear on 05 Jan, 2010, edited 1 time in total.

Top
 Profile  
 PostPosted: 23 Dec, 2009 
 

Joined: 03 Jun, 2009
Posts: 228
Offline
ThaPear wrote:
Version 3
You can now:
- Save and restore window positions.
- Restore default positions (should work on all resolutions)
- Hide the move icons.

Image
This icon now opens a menu in which you can access all these options.

Once again, same Download Link

Are there any more suggestions i can add?

GreetZ ThaPear


Can you make an option to remove the Brackets?

Can you make it work with my mini-size order layout?

http://forums.gaspowered.com/viewtopic.php?t=31368

Moritz


Top
 Profile  
 PostPosted: 24 Dec, 2009 
 

Joined: 13 Jun, 2008
Posts: 729
Offline
Thank you very much for the quick update ThaPear, I appreciate it!

Restoring saved UI positions works well, would be ideal if it did restore the state automatically on gamestart. Also'd be nice if the icon hide state be remembered, too.

_________________
TVg V5 Alpha Testers Wanted!
Image
Bulletstorm released
other mods


Top
 Profile  
 PostPosted: 25 Dec, 2009 
 
User avatar

Joined: 08 Mar, 2008
Posts: 270
Location: NHTV, Breda, Netherlands
Offline
Version 4
The hide state and worldview size is now remembered.
The brackets are now hideable.
It is now possible to restore UI positions on game start.

My plans:
- Maybe create a mini sized UI, reducing the sizes of UI elements for people with small resolutions.
- Make horizontal positions for some UI elements. (those where it matters :D)

And again, same Download Link

Also, Moritz, i'm sorry, i can't make this mod compatible with your mini orders window, as you've used the most destructive hooking possible...

GreetZ ThaPear

PS: To any modders, do not try to use Itemlist:GetItem(index) when that index doesn't exist :S. Took me half an hour to find the reason of my (random) game crashes. :)

_________________
It's better to keep your mouth shut and let people think you are a fool, then to open it and remove all doubt.
My latest mod: Big Map Preview
All my mods


Last edited by ThaPear on 05 Jan, 2010, edited 1 time in total.

Top
 Profile  
 PostPosted: 28 Dec, 2009 
 

Joined: 21 May, 2008
Posts: 706
Offline
great idea this mod.


Top
 Profile  
 PostPosted: 28 Dec, 2009 
 
User avatar

Joined: 19 Jul, 2009
Posts: 2972
Offline
This rules, you rule.


Top
 Profile  
 PostPosted: 28 Dec, 2009 
 
User avatar

Joined: 08 Mar, 2008
Posts: 270
Location: NHTV, Breda, Netherlands
Offline
Version 5
I created a nice options panel for things to come. (who knows)
To open it, use the icon in the lower left of the screen and click "Show Options Window".
Panels should no longer be able to get outside the game window after you change the resolution and press Restore Saved Positions. If you have one that does, PM me with the situation.
Resized World view now sticks to game window border.

The orders panel is now costumizable:
You can select the layout (1x12, 2x6, 3x4, 4x3, 6x2, 12x1) and the button size (1 to 100 pixels).

And again, same Download Link

If anyone has any ideas for this mod, go ahead and post them, because i'm running dry :)

GreetZ ThaPear

_________________
It's better to keep your mouth shut and let people think you are a fool, then to open it and remove all doubt.
My latest mod: Big Map Preview
All my mods


Top
 Profile  
 PostPosted: 28 Dec, 2009 
 

Joined: 20 Oct, 2007
Posts: 50
Location: USA
Offline
The only thing i can see is the "control group" need to be movable.
(when using Ctrl+0-9 the window show up after creating a group)


Top
 Profile  
 PostPosted: 29 Dec, 2009 
 
User avatar

Joined: 08 Mar, 2008
Posts: 270
Location: NHTV, Breda, Netherlands
Offline
Oh yea :), totally forgot about that.

GreetZ ThaPear

_________________
It's better to keep your mouth shut and let people think you are a fool, then to open it and remove all doubt.
My latest mod: Big Map Preview
All my mods


Top
 Profile  
 PostPosted: 29 Dec, 2009 
 

Joined: 03 Jun, 2009
Posts: 228
Offline
ThaPear wrote:
The orders panel is now costumizable:
You can select the layout (1x12, 2x6, 3x4, 4x3, 6x2, 12x1) and the button size (1 to 100 pixels).


Nice, gonna try it today.

ThaPear wrote:
If anyone has any ideas for this mod, go ahead and post them, because i'm running dry :)


Yes, make it possible to choose from your options menu the height and width size of the economy bar, also make it possible to resize the panel (at least horizontally).

Example:

Default size:

Image

My mod size:

Image

Moritz


Top
 Profile  
 PostPosted: 29 Dec, 2009 
 
User avatar

Joined: 27 Aug, 2008
Posts: 6408
Offline
Could you make it so that the score txt is half the size. Sort of like what moritz did. I find it too big.


Top
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic Go to page 1, 2, 3  Next



Quick Tools

Search for:
Jump to:  

© 2002-2010 Gas Powered Games Corp. All Rights Reserved. Gas Powered Games is the exclusive trademark of Gas Powered Games Corp.
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
 
Home| Games | Company | News & Press | Support
  Terms of Use   |    Copyright Information   |    Privacy Policy