AngryZealot's Less-Laggy UI 1.00, for Forged Alliance.

By AngryZealot (repackaged, and hosted by BulletMagnet).



Description: (what the hell does this mod do?)

AZUI is my attempt at fixing certain peculiarities regarding the FA interface and lag. You can download this UI-only mod through the vault or through the link above. Note: Compatibility with other UI mods is not guaranteed. 


Features:

1. Removing an item from a build queue will cause the icon to disappear instantly instead of lingering on for half a second. 

2. Factories no longer cause a stutter when selected. Absurdly long queues may lag slightly, but this can't be helped without a more complete UI overhaul. 

3. Factory buttons now work on mouse down instead of mouse up. This fixes most "dropped clicks" (caused by moving the mouse off the button too quickly and then it doesn't do anything). 

4. Pressing [ now updates the fire state icon instantly. Choosing a fire state from the menu and then quickly reopening the menu will no longer cause the menu to disappear. 

5. Tooltips no longer fade into existance. The fade looks nice at higher framerates but feels too laggy at lower framerates. The tooltip for idle builder buttons now uses the delay from the interface preferences (it doesn't in retail FA). 

6. Double-tapping a control group number or right clicking the avatars for idle production units no longer resets the camera zoom. 



Change Log:

	Version 3 
	
	1. Some new internal code for the queue removal. Users should notice no change. This code has fewer chances of bugs going undiscovered. 
	
	4. The fire state icon now updates even if you reselect the unit (the Caution posted from version 2 no longer applies). Fixed a bug where changing move orders would reset a state applied from the menu you get clicking on the button. Choosing a firestate from the menu and then opening the menu shortly after will no longer cause the menu to disappear on you. 
	
	5. Removed fade-ins from the rest of the tooltips. It might look nice at a high FPS, but in the 10-15 range it makes things feel really laggy. The tooltip for the idle builder buttons will now use the delay set in the interface preferences (it doesn't in retail FA). 
	
	
	Version 2 
	
	Fixed a typo that caused certain enhancements to not be shown . 
	
	4. The fire mode icon now updates instantly when [ is pressed. CAUTION: Changing the fire mode via [ and then quickly deselecting and reselecting the same unit may cause the icon to not be updated. This is a drawback of how the main engine sends fire state updates. Your unit will have the correct fire mode enabled, it just won't be shown correctly. Reselecting the unit will refresh the icon. I decided this was the lesser of two evils. If you disagree, deleting the orders.lua and gamemain.lua files in the mod will set it back to the default behavior. 
	
	5. Tooltips no longer lag into and out of existence. 
	
	
	Version 1 
	
	1. When you try to remove an item from a queue, the item will disappear instantly instead of lingering around for half a second. This was my main motivation for writing this mod. 
	
	2. Most of the lag when selecting a factory is fixed. Absurdly long queues will still hiccup slightly (can't fix without redoing whole UI), but it's unnoticable under normal circumstances. 
	
	3. Factory buttons now work on mouse down instead of mouse up. This fixes most "dropped clicks" (caused by moving the mouse off the button too quickly and then it doesn't do anything). 
	
	4. [ will now toggle the fire mode each time it is pressed. Previously it would stop working until the new mode was updated in the UI.



A Quick Q&A: (should address some concerns that you might have.)

Q: Where is the *.scd file? 
A: Well, there is none. That's the way The Vault works.

Q: Why is their no *.scd mod?
A: Laziness on my part.

Q: Does this work with vanilla Supreme Commander?
A: I think so, I haven't checked. Please feel free to try and let us know of the results.

Q: It doesn't work!!!
A: Sorry about that, i'm only a part-time modderer (university takes priority over mods). If you shout at me for a while, I might fix it.



Installation Instructions: (for those who can't nut-it-out themselves.)

copy the "AZUI.zip" file to;

	%USERPROFILE%\My Documents\My Games\Gas Powered Games\Supreme Commander Forged Alliance\Mods\

or for Vista users;

	%USERPROFILE%\Documents\My Games\Gas Powered Games\Supreme Commander Forged Alliance\Mods\

* NOTE: you can copy-paste the above address to any window in Windows (XP or Vista/Win7) and it will work, magically.