Tuesday, April 17, 2012

[REL-FA] Moveable UI V9 (February 9, 2010)(UI mod)

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|||Interesting, very interesting. Does it play nice with GAZ UI?|||oh nice, this is like that old UI whos name ai cant remember back in vanilla!!|||ThaPaer, will you marry me? wow, this is so epic.|||Raiden2|||ThaPear|||Lt_hawkeye|||you are a god.|||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.|||Ghaleon|||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.|||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|||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|||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.|||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|||ThaPear|||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.|||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. :)|||great idea this mod.|||This rules, you rule.|||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|||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)|||Oh yea :), totally forgot about that.



GreetZ ThaPear|||ThaPear|||Could you make it so that the score txt is half the size. Sort of like what moritz did. I find it too big.

No comments:

Post a Comment