ModMod - EUI Condensed Promotions

whoward69

DLL Minion
Joined
May 30, 2011
Messages
8,728
Location
Near Portsmouth, UK
Replacement for EUI UnitPanel.lua implementing condensed promotions.

Backup "C:\Program Files (x86)\Steam\SteamApps\common\Sid Meier's Civilization V\assets\DLC\UI_bc1\UnitPanel\UnitPanel.lua" and then overwrite with the attached zip file

Based on EUI version 1.24d
 
No need for UI - Condensed Promotions mod to be installed if using EUI then. Just use the modmod. Very nice as we no longer have to choose.

Everything from EUI's unit panel is working for me except the feature
"UnitPanel: automatically open city screen when founding city:"

I tested with EUI and only the new DLL v52. I did not test with the 34 civs DLL v52.

I like the modmod but just wanted to identify the above in case it is a bug.
 
As I said in the main EUI thread it's one line of code changed in the V1.20 UnitPanel.lua file and some additional functions - how that can break another feature is astounding!

Doesn't need my DLL - just try it with EUI and the Condensed Promotions mod-mod.
 
As I said in the main EUI thread it's one line of code changed in the V1.20 UnitPanel.lua file and some additional functions - how that can break another feature is astounding!

Doesn't need my DLL - just try it with EUI and the Condensed Promotions mod-mod.

As a convinced conspiracy theorist I blame it all on 8 bit code lurking in the background, quietly waiting to devour the world, due to power hungry mod makers actively working to take over the world. ;)

In all seriousness I love the fix. After 6 hours of civ today it works fine less the city screen item. I will continue to use it, your DLL, and many more of your UI based mods.
 
In all seriousness I love the fix. After 6 hours of civ today it works fine less the city screen item.

What's the exact circumstances? Assume I don't use EUI and describe in gory detail what's needed to get it to happen, what actually happens and what should happen.
 
What's the exact circumstances? Assume I don't use EUI and describe in gory detail what's needed to get it to happen, what actually happens and what should happen.

It really is not a big deal and may not be worth the time to run it down. But here it is.
  • Civ5 installed from steam with all DLC and is updated to most current version.
  • I opened E:\Steam\SteamApps\common\sid meier's civilization v\assets\DLC and removed my previous UI_bc1 folder. I downloaded EUI (v20) from http://forums.civfanatics.com/downloads.php?do=file&id=21929.
  • I opened the zip and dropped it into the E:\Steam\SteamApps\common\sid meier's civilization v\assets\DLC folder
  • I opened the E:\Steam\SteamApps\common\Sid Meier's Civilization V\Assets\DLC\UI_bc1\UnitPanel folder and renamed UnitPanel.lua to UnitPanel.lua.backup
  • I download your zip file and opened it and extracted the UnitPanel.lua into the E:\Steam\SteamApps\common\Sid Meier's Civilization V\Assets\DLC\UI_bc1\UnitPanel folder.
  • I deleted all files from C:\Users\Andrew\Documents\My Games\Sid Meier's Civilization 5\cache (to enable a clean rebuild for testing)
  • I deleted all files from C:\Users\Andrew\Documents\My Games\Sid Meier's Civilization 5\ModUserData (to enable a clean rebuild for testing)
  • I started Civ5 and selected mods and enabled your DLL (v52) (I tested with it since I thought it was necessary for the mod to function. My misunderstanding.
  • I started a Civ5 game with default settings. I immediately built a city without moving my warrior and the city screen did not open automatically. With EUI founding a city automatically opens the city screen and I expected it to open on its own when I founded my first city.
  • Surprised, I repeated everything above to make sure all was done correctly. Same result. (Makes me think of the definition of insanity. ;) )
  • I then went on and played enough turns to test everything else and all other EUI UnitPanel functions listed in his OP worked fine.
I have since played with CSD, Diplomatic Features, CDM, 40 to 50 of your mods, a few graphics mods like RED, and all works fine less the city screen opening when founding a new city.
 
That's what I though you meant.

If I install EUI v20, add the UnitPanel.lua mod, start Civ 5 enable only my DLL, when I start a game and found the capital the city screen opens - same with subsequent settlers/cities.

So the question is, which one of the other mods you've installed is causing the issue?
 
That's what I though you meant.

If I install EUI v20, add the UnitPanel.lua mod, start Civ 5 enable only my DLL, when I start a game and found the capital the city screen opens - same with subsequent settlers/cities.

So the question is, which one of the other mods you've installed is causing the issue?

I'm a little confused as all other mods are disabled, that is no check mark selected, therefore still black and not green. Only the DLL was enabled (check mark and green). Are you saying a mod installed but not selected can cause an error? If so I will change how I test mods and temp rename my mods dir and use a clean mods dir instead.
 
I misread this "I started Civ5 and selected mods and enabled your DLL" as "I started Civ5 and selected other mods and also enabled your DLL"

So, with EUI v20 + the mod-mod and only my DLL enabled (but other mods installed but not enabled), on my system it works correctly, but on your's it doesn't - very weird. And very little I can do to resolve it, as I can't reproduce the error.
 
So, with EUI v20 + the mod-mod and only my DLL enabled (but other mods installed but not enabled), on my system it works correctly, but on your's it doesn't - very weird. And very little I can do to resolve it, as I can't reproduce the error.

Correct and I definitely agree and it is not worth the time since it is so minor in the scheme of things.
 
One thing that would be worth checking before "closing" this - anything unusual in the lua.log file?
 
Will there be a "stand alone" version of the Condensed Promotions mod like there used to be with G&K, or is this now only for people using EUI?
 
Only works with G&K. :( UnitPanel.lua was changed with BnW, so mod needs to be updated to be compatible with BnW.

You have been gone a long time. All the mods on my site work with BNW, it's just that some of the descriptions have yet to be updated.
 
Should also work with EUI 1.21 (as there are no differences in UnitPanel.lua between 1.20 and 1.21)
 
Post #1 updated with UnitPanel.lua from EUI 1.24d

Untested, but the changes are so trivial ...
 
Post #1 updated with UnitPanel.lua from EUI 1.24d

Untested, but the changes are so trivial ...

it mostly works, thank you!

some small glitches though:
- I noticed first with units gifted by military CS, they showed promotions they did not have. and some promotions (Statue of Zeus) did appear more than once
- sometimes promotions seam to stick (still show) when I change the unit. Even civilian units (workers) show sometimes all the high end promotions of my elite military units

I had to rename some units and keep track of the xp level (0xp units cannot have all these promotions;) to keep track of individual promoted units.
The unit ribbon of eui also helped somewhat, as it showed a list of all promotions in mouse over. (though still not ideal as the list keeps changing do to locality and doesn't show the promotions in mouse over for the currently selected unit)

But even with these glitches it is still much better than vanilla promotion icon sprawl. :)
 
Hi WHoward

The EUI was in the meantime updated to 1.25h. Do you believe there may be some issues using your replacement file with the newest EUI version?
 
Back
Top Bottom