Combat Viewer

Aristos

Lightseeker
Joined
Dec 11, 2001
Messages
3,912
Location
Deep inside...
Would you like your Combat Viewer to display like this?

If Yes, let me know so I share the little modifications with you...

cheers,

Uploaded: Unrar and put the files in ..assets/UI/InGame/WorldView after backing up your originals and test. Enjoy.
 
Forgive me,

What's the difference between that and the normal game?

It's got promotions (apparently condensed, at least for shock) above the units. The next step is to let us hover over enemy unit promotions so we can actually read them instead of saying "oh lots of triangles... must be strong."

@ Aristos: Are you able to do anything about times when the combat modifiers extend beyond the bottom of the box?
 
Yes I want to know that I can't read all of the positif modifiers or negatif modifiers its anoying I sometimes dont even know why i get those modifiers from... tell me the secret
 
well, the main thing is that the window is not overlapped anymore, so all modifiers can be seen... now you got me confused... was this fixed already? I have the latest patch, supposedly, but with Steam you never know... was the overlapping fixed? If yes, disregard this. If not, then that is what I did with some small changes in the enemyunitpanel files (both lua and xml). Also, the bars are a little higher (as I am using my own little 20/50 HP mod), and the 3-digits modifiers (100%+) are not being overlapped by the bars anymore...

So tell me, was I emued by a patch that I somehow missed, or has this not been officially fixed yet?
 
No Aristos, I originally mentioned that but edited my post and forgot to put it back in. It's nice to have the modifiers out in the clear like that.
 
OK, so I can upload both files here and you can use them at your own discretion, or put the code changes here (which would be a little messy...). I prefer the first option, but it's up to you. Of course, if you use my enemyunitpanel lua and xml, you should make a backup of your originals just in case... (uploading a mod for small changes does not make sense).

So, which do you prefer?

EDIT: @builer, from what I understand from the code (and tested when I made the bars higher), the window is made to resize itself when it needs more room for modifiers. The problem was that they "anchored" the window at a "too low" point in the screen, so the bottom was always overlapped by the opposing units windows. Re-anchoring the window by changing the offset did the trick, and as far as I understand, it will resize itself when needed, but will always be anchored with the bottom at that point (basically growing up, which it did as soon as I made the HP bars 100 pix instead of 85).
 
Ah I see. This begs the question why such an obvious and easily fixable issue with the UI still exists. Along with others.

Actually, I know why. It's gonna be a DLC someday, I bet.
 
Maybe I can sell it...

nah. j/k.

I'm not in my home machine right now, so later in the day I will upload the two files and you can do whatever you want with them. Yes, it was a relatively easy fix, specially for them that should know the files in and out (I had to "discover" what the values in the xml do).

I will also send the files to Thal to include the changes in his mod, as UoP is widely used I think (similar to BUG in civ4) and only changes the UI (for the better).

c-ya later

EDIT: uploaded (see first post). Unrar and put the files in ..assets/UI/InGame/WorldView after backing up your originals and test. Enjoy.
 
would be nice if anyone tests it and confirms it works.
 
contains a trojan. :scan:

but seriously, thank you for this, it's nice to be able to see all the modifiers now. my only complaint tho is that now the combat odds box seems to take up extra space when involving troops with few combat modifiers on them. i guess it's too much to hope for the box to be small as possible while still showing all the relevant information..
 
contains a trojan. :scan:

but seriously, thank you for this, it's nice to be able to see all the modifiers now. my only complaint tho is that now the combat odds box seems to take up extra space when involving troops with few combat modifiers on them. i guess it's too much to hope for the box to be small as possible while still showing all the relevant information..

If you use only the xml file, and not the lua, you will see it a little smaller, as the original, but still anchored above the unit windows so that you can see all modifiers when necessary. I changed the lua only to make the HP bars higher, but if the height of the originals is enough for you, just try the xml file and you may have what you want.
 
If you use only the xml file, and not the lua, you will see it a little smaller, as the original, but still anchored above the unit windows so that you can see all modifiers when necessary. I changed the lua only to make the HP bars higher, but if the height of the originals is enough for you, just try the xml file and you may have what you want.


still too large.. *shrug*. thanks anyhow
 
It's got promotions (apparently condensed, at least for shock) above the units. The next step is to let us hover over enemy unit promotions so we can actually read them instead of saying "oh lots of triangles... must be strong."

That part of the screenshot is a component of the Civ V Unofficial Patch, and hovering over the icons does show the details of the promotions. :)
 
will "the other part" will also be part of UoP soon? :)
 
Back
Top Bottom