Python Performance and Interface Overhaul (PPIO)

One more small graphical glitch:
On right bottom above minimap there is civ scoreboard.
Technology icons seems to not disappear here.
Those icons used to display tooltip of tech when hover with mouse, and not anymore, too
Should be easy to fix, thanks for the reports.
 
PPIO v0.5.9.6
  • Reworked UI for when selecting what a city should build.
  • Noticeable improvement in overall performance.
  • Probably many new odd bugs here and there for me to fix going forward.
You will probably have to delete the "BUG Main Interface.ini" from user folder after updating.

@makotech222 : I ended up not using the new functions you made, sorry. You can probably remove them whenever you feel like it.
I discovered a reliable way to check the state of the modifier keys in python code alone.

Edit:
PPIO v0.5.9.6.0.1 ▬ Hotfix

  • Might fix the error reported by Raxo right after v0.5.6 release.
 
Last edited:
PPIO v0.5.9.6
  • Reworked UI for when selecting what a city should build.
  • Noticeable improvement in overall performance.
  • Probably many new odd bugs here and there for me to fix going forward.
You will probably have to delete the "BUG Main Interface.ini" from user folder after updating.

@makotech222 : I ended up not using the new functions you made, sorry. You can probably remove them whenever you feel like it.
I discovered a reliable way to check the state of the modifier keys in python code alone.
I cleaned Python + Confing folders before installing new version and deleted that ini file.

This is what happened after I loaded save and opened city screen.

Spoiler :


Civ4BeyondSword 2018-08-25 22-46-06-53.jpg


By the way new icons are too grainy as if they fell into boiling oil or someone compressed them bit too much :p
That is those icons would looks much nicer if they had plain black background.
 
Last edited:
By the way new icons are too grainy as if they fell into boiling oil or someone compressed them bit too much :p
Kinda what I was aiming for.
The button style is called "Button Etched", it existed in vanilla but it was simply a duplicate of the standard button style, so I figured I could actually make the Etched button style unique and made some textures for it.
Nothing in the game used the Etched button style, but it is registered in the EXE so I can't remove it.
 
Last edited:
Now it works.

Also those icons could be smaller.
Can be those rescaleable like action icons?

By the way action buttons aren't darkened anymore - they were darkened if requirements weren't met.

Spoiler :

Civ4BeyondSword 2018-08-26 00-12-07-54.jpg
Civ4BeyondSword 2018-08-26 00-12-59-88.jpg



Also I'm not a fan of grained buttons.
 
Can be those rescaleable like action icons?
Yes, to the far right of the filters/grouping/sorting buttons there is a dropdown for selecting icon size.
By the way action buttons aren't darkened anymore - they were darkened if requirements weren't met.
Strange, I didn't make much change to the unit action list coding, I'll look into it.
Also I'm not a fan of grained buttons.
The art can be changed, it was not a priority to make it look perfect right away, coding was prioritized for this release.

PPIO v0.5.9.6.0.2 ▬ Hotfix
  • Fixed a similar issue to the one fixed in v.0.5.9.6.0.1
 
Last edited:
PPIO v0.5.9.6.0.2

Replace orders instead of clearing the last entry text it adds on top of it.


Actually nevermind, it seems to have fixed by itself.
 

Attachments

  • Overplacing..png
    Overplacing..png
    188.7 KB · Views: 242
This bug only happens the first time you open a city screen on a loaded save and gets fixed if you close it and open it again.
 
This bug only happens the first time you open a city screen on a loaded save and gets fixed if you close it and open it again.
Good info.

PPIO v0.5.9.6.0.3 ▬ Hotfix
  • Fixed two small errors related to work queue UI.
This will be last update today, time to sleep.
Busy day tomorrow too, so let's hope the worst is fixed by now.
 
Last edited:
Another bug:

You aren't able to scroll down in the buildings list in the bottom-left if you have a lot of stuff queued.
 
So what is happening is the scrolling function only gets updated when you exit and return to a city screen.

Step 1. Open any city screen.

Step 2. Queue a lot of stuff, the list only (seemingly) gets updated until it its the 7th queue.

Z5Io5Qc.png


Step 3. Exit and return to the city screen, the scroll is there now and works.

COHeNXO.png


Step 4. Remove all queued items, scroll remains.

09qQh65.png


Step 5. Exit and retun to the city screen and the scroll is successfully removed.
 
I deleted those grained background textures.
Those icons look much cleaner.
Spoiler :

Civ4BeyondSword 2018-08-26 11-20-56-42.jpg


There is small graphical bug with scrollbar.
Spoiler :

Civ4BeyondSword 2018-08-26 11-26-15-20.jpg
Civ4BeyondSword 2018-08-26 11-26-18-83.jpg



It looks like rescaling fixed it - had to close window for it to take effect.
Spoiler :

Civ4BeyondSword 2018-08-26 11-29-47-27.jpg



Strange, I didn't make much change to the unit action list coding, I'll look into it.
Maybe enabling etched buttons did that?
 
Last edited:
PPIO v0.5.9.6.0.4 ▬ Hotfix
  • Fixed unreliable scroll bar in the city work queue.
  • Build Lists should now be displayed under the city tabs and processes in the city screen.
It looks like rescaling fixed it - had to close window for it to take effect.
What kind of rescaling?
Maybe enabling etched buttons did that?
No, can't be, and it is enabled without this modmod too, but simply not used anywhere.
 
What kind of rescaling?
This one on top right corner of new build screen, where you can choose icon size.

Also clicking those icons unreliably shifts them, when putting items to build queue.
 
Back
Top Bottom