Population Panel Mod

A place for discussion of making game modifications.
gaerzi
Posts: 210
Joined: Wed Jul 10, 2019 1:30 pm

Re: Population Panel Mod

Postby gaerzi » Fri Jul 12, 2019 6:27 pm

Could you add (in a smaller font, like for the pop numbers) the planet type (and perhaps size) below the planet's name? I find that the planet icons are not entirely sufficient for that, especially at the small size they have on the report panel, in particular arid vs. inferno and barren vs. iceball.

Backfire_22
Posts: 5
Joined: Mon Aug 19, 2019 1:59 pm

Re: Population Panel Mod

Postby Backfire_22 » Sun Aug 25, 2019 4:49 pm

+1 for Zolobolo's proposition, it's such a convenient tool that it'd be great to see it implemented in the vanilla game!

andy
Posts: 18
Joined: Fri Jan 31, 2020 9:24 pm

Re: Population Panel Mod

Postby andy » Tue Feb 04, 2020 7:47 pm

I use the mod quite a bit. Thank you.

I have a request, when I hover over the population icon in the top bar, can you show me the total population of each race in my empire in a hover window?

Race X: 65
Race Y: 25
Race Z: 11
etc.

Or display it the same way you do in the Population Report, just with totals.

rustyi
Posts: 32
Joined: Sat Feb 11, 2017 3:36 am
Location: San Francisco, CA

Re: Population Panel Mod

Postby rustyi » Sun Feb 16, 2020 1:54 am

This too is my favorite (and I think only?) mod I play with. When I start min/maxing population using different species, I *love* this and couldn't imagine going back to not having this tool. It's, for me, pure quality of life. THANK YOU!

User avatar
siyoa
Posts: 182
Joined: Fri Apr 21, 2017 3:19 pm

Re: Population Panel Mod

Postby siyoa » Mon Feb 17, 2020 1:11 am

I may add fancy racial icons there :-)

someone please wake up harpy eagle or tell forum mods to update first post with latest mod files ;-)

please let me know if something is not working, I have this old save file only, cannot test all the races, there is 3 groups separated by empty line (major races, minor races, mechanical)
Attachments
PopReport.7z
(78.53 KiB) Downloaded 2708 times
20200216174945_1.jpg
20200216174945_1.jpg (201.83 KiB) Viewed 50542 times
How did YOU get a key? All right, go in.

User avatar
siyoa
Posts: 182
Joined: Fri Apr 21, 2017 3:19 pm

Re: Population Panel Mod

Postby siyoa » Mon Feb 17, 2020 5:23 am

I guess I missed the other request, new version is up
Attachments
PopReport.7z
(78.56 KiB) Downloaded 2367 times
20200216220451_1.jpg
20200216220451_1.jpg (216.32 KiB) Viewed 50535 times
How did YOU get a key? All right, go in.

andy
Posts: 18
Joined: Fri Jan 31, 2020 9:24 pm

Re: Population Panel Mod

Postby andy » Tue Feb 18, 2020 5:45 am

Thank you siyoa!

gaerzi
Posts: 210
Joined: Wed Jul 10, 2019 1:30 pm

Re: Population Panel Mod

Postby gaerzi » Tue Feb 18, 2020 8:16 am

Wonderful! Thanks :)

User avatar
siyoa
Posts: 182
Joined: Fri Apr 21, 2017 3:19 pm

Re: Population Panel Mod

Postby siyoa » Thu Feb 20, 2020 6:02 am

glad to be of assistance :D

it seems rounding can be a bit of an issue (found some other save game on one of my other gaming rigs), 214 when added up versus 217 calculated by code that is not rounding to a unit of million before adding up

as you can see on the screen shot, it is quite old problem, Cheleb II showing 0 population for Orthin due to rounding as well
Attachments
pop_panel_math_error.JPG
pop_panel_math_error.JPG (76.33 KiB) Viewed 50477 times
How did YOU get a key? All right, go in.

gaerzi
Posts: 210
Joined: Wed Jul 10, 2019 1:30 pm

Re: Population Panel Mod

Postby gaerzi » Fri Feb 21, 2020 10:09 am

Makes sense due to the way the game works. If you have 1.34 million Teros, 1.34 million Haduir, and 1.34 million Humans, that gives you 3 units of populations you can move and 4 million populations. So total population will show 4 while racial breakdown will show 1+1+1.

rustyi
Posts: 32
Joined: Sat Feb 11, 2017 3:36 am
Location: San Francisco, CA

Re: Population Panel Mod

Postby rustyi » Mon Mar 02, 2020 4:48 am

siyoa wrote:I guess I missed the other request, new version is up

Thank you! I love this mod - it's my fav :)

Kornstalx
Posts: 6
Joined: Fri Apr 24, 2020 7:43 am

Re: Population Panel Mod

Postby Kornstalx » Tue Sep 08, 2020 9:26 am

After coming back to the game since the July/August updates, I was sad to see this wasn't integrated into vanilla somehow.
Regardless, glad the patches didn't seem to break it. I couldn't play at all without this mod!

zolobolo
Posts: 1544
Joined: Fri Nov 25, 2016 3:49 pm

Re: Population Panel Mod

Postby zolobolo » Fri Mar 05, 2021 8:44 pm

Is this mod getting to be included int othe main game at some point - it makes the game flow so much better when an empire gets larger that is should be there to improve player experience

gaerzi
Posts: 210
Joined: Wed Jul 10, 2019 1:30 pm

Re: Population Panel Mod

Postby gaerzi » Tue Aug 24, 2021 12:18 pm

Here's my custom version. I've spent the last few weeks without feeling the need to tinker with it further, so I'll consider it finished.

Some changes:

Image
The planet type is written in a font that, IMO, is more legible at this size. In addition, special resources and mineral richness are displayed!

Image
Where's your tanks at? You can now sort by ground troops, so the planets with the most military units on them will be at the top.

Image
The info panel when you hover on the pop icon now sorts the population by decreasing order, gives you their "real" value (same as when you look at a planet), with a fancy little racial icon, too.

Behind the scene, this now uses an iterator and a couple of tables instead of using a bunch of hard-coded variables for each known species. So it should work out of the box when new species get added (zubel larvas anyone?).

Image Image
I've rewritten the tooltip when hovering on a ship from scratch, to use the game's built-in chibi drawer instead of the custom drawer that, for a reason or another, didn't work for me. (I got stuff like "Colony Shiptable <inserthexnumberhere> instead.)
Attachments
PopReport.7z
(264.97 KiB) Downloaded 955 times

zolobolo
Posts: 1544
Joined: Fri Nov 25, 2016 3:49 pm

Re: Population Panel Mod

Postby zolobolo » Tue Aug 31, 2021 9:10 pm

Still a must have mod that got even better: both ground troop sorting and hover over tooltip are welcome additions

Thanks!


Return to “Modding”

Who is online

Users browsing this forum: No registered users and 9 guests

cron