Stellaris

Stellaris

[Discontinued] Show Building Slot Capacity - UIOD
46 Comments
G43 mai waifu 28 Jul @ 12:05pm 
No shot. This mod causes crash during starting new game.
The1ManClan 19 Jul @ 2:02pm 
Any alternatives to this mod now for 4.x?
Xantec 10 Mar @ 11:07pm 
Great mod, thanks for making it. One note: the mod doesn't calculate the building slots unlocked by mining districts when playing the subterranean origin.
Dragsa 18 Jan @ 4:49am 
Great mod, that gives information the game should give us by itself! Thank you!
I just have an issue with Subterran Machines. Right now they are not counted. Would be great if this was added as well.
Peter34 28 Nov, 2024 @ 9:13pm 
Trying Void-Dwellers again, and this mod is often off, sometimes by more than 1 Building Slot. It's also annoying that I can' know if it's safe to demolish/replace one Habitation District without losing a Building Slot or not, because this mod doesn't show the decimals.

I think a more "raw" style where the "true" numbers, including decimals, are shown, would be much more helpful when dealing with Habitats.

As well as bugfixing the part where the number of Slots the mod says I have is markedly different from the number of Slots I actually have.
Peter34 16 Nov, 2024 @ 12:30am 
I'm now playing the Void-Dweller Origin for the first time since the changes to Habitats, and I know that some things appear to give 0.5 Building Slot but this is not shown in the tool tip for this mod, instead the rounded down value is shown.

I think it'd be more helpful, especially to teach players new to Void-Dweller, to show the actual value in a paranthesis, i.e. as "Slots: 6 (6.5)" to indicate to the player that he's half-away to unlocking another slot.
Flying_Squid_999 13 Oct, 2024 @ 12:45pm 
Hey, is there a possibility of making a compatch for WP's Planet View? https://steamhost.cn/steamcommunity_com/workshop/filedetails/?id=3292195087
forbiddenlake  [author] 8 Jul, 2024 @ 6:31pm 
Yeah, from reading vanilla code, Procedural Space is applied to the *empire*, and in my testing the mod does account for it there. (Though I can't properly test without owning AP). Not a problem to check.
Peter34 8 Jul, 2024 @ 5:56pm 
Looking more closely, there is some kind of +1 "Empire Modifiers" shown, and it adds up to my 3rd RW Segment having exactly the 12 Slots it needs, so I think your mod is working fine after all.

Sorry for the inconveninece.
forbiddenlake  [author] 8 Jul, 2024 @ 10:18am 
Thanks, it should, I coded it in, but maybe I did it wrong. I don't own AP but I should be able to console in the modifier and test. Will do it later
Peter34 7 Jul, 2024 @ 5:21pm 
There's an Astral Rift outcome that gives an Empire-wide modifier called "Procedural Space" which adds 1 Building Slot. As far as I can see, it adds it both to natural Planets and to Shattered Ring Segmens.

And it doesn't seem as if this mod takes it into account.
Peter34 4 Jul, 2024 @ 3:35pm 
I just once again want to say thank you for this mod.

It adds so much quality-of-life to the gameplay experience. Before I had to jump through all kinds of hoops to make sure that my developped planets were "right" in terms of having exactly as many City Districts as they need. It wasn't difficult, but it was a constant thing, an annoyance. That's gone now.
FZW 30 Jun, 2024 @ 3:53am 
I LOVE YOU ! This is what I want !
forbiddenlake  [author] 10 Jun, 2024 @ 6:49pm 
It's MP compatible only if all players have it, and in the right order. The checksum needs to be the same for all players.
Jinx 10 Jun, 2024 @ 12:29am 
I understand that the mod is not achievement compatible but does that also mean it's not MP compatible?
Peter34 31 May, 2024 @ 5:56am 
It is. Thanks!
forbiddenlake  [author] 31 May, 2024 @ 5:15am 
Thank you. Should be fixed now
Peter34 30 May, 2024 @ 11:58pm 
The specific problem seems to be the Planet Class bonus, which gives +12. That's correct for a normal Ringworld Segment, but is incorrect for a Shattered Ringworld Segment that has yet to be repaired into a Normal Ringworld Segment.

As an experienced player, I can probably work around that by doing the mental arithmetic of subtracting 12, but it's not good for new players, and mental arithmetic also isn't ideal to do in a frantic MP game with no pausing.
Peter34 30 May, 2024 @ 3:50pm 
There seems to be some bugginess with the Shattered Ring Origin, where the mod assumes that all Building Slots are auto-unlocked like they'd be on a regular Ring Segment. Or have I misunderstood something? I've only recently started using this mod, because of some problems I had with GFN.
Shinocchio 17 Dec, 2023 @ 2:16pm 
Ah, I execute the console cammand, it says 0 for industry district, must be a bug, I have 15.
Shinocchio 17 Dec, 2023 @ 2:12pm 
My industry districs adds +0.34 building capacity/district. In the calc from the mod I don't see this, is the summary in another point shown or not implemented?
Peter34 9 Oct, 2023 @ 8:48pm 
Nevermind, it was a load order issue. Everything is working fine now. Sorry.
Peter34 9 Oct, 2023 @ 5:34pm 
Where do I actually see the information or tool tip, in the UIOD interface?
Peter34 6 Oct, 2023 @ 1:25am 
Thanks!
forbiddenlake  [author] 5 Oct, 2023 @ 7:05pm 
And good news: new version released
forbiddenlake  [author] 5 Oct, 2023 @ 11:45am 
I haven't updated this for 3.9 yet, so don't use this version. The vanilla version was partly updated for 3.9 so far.
Peter34 2 Oct, 2023 @ 9:45pm 
Can I use this mod in v3.9, or do I use the new version that doesn't say anything about UIOD?
forbiddenlake  [author] 25 Jul, 2023 @ 8:13am 
That is correct! And I do note in the description that it is not achievement compatible.
pureMJ 24 Jul, 2023 @ 11:09pm 
I really like this mod but unfortunately it breaks ironman and I lost all my achievement that could be gain in my first long game.
forbiddenlake  [author] 13 May, 2023 @ 4:32am 
No, sorry, I reflow (and rewrite) the file as part of my automation and that won't be changing.

My only actual changes to planet_view.gui are listed in the description. This is a file that has to be overwritten entirely, so the solution to conflicts in planet_view.gui is to place the mod you actually want to use lower in your playlist.
WHR | TMaekler 13 May, 2023 @ 4:23am 
Irony Mod Manager throws a lot of conflicts in the GUI files between this and UI Overhaul Dynamic as well as the basegame. All of them are simply the quotation marks around the names e.g. GFX_job_default and others which are not there in your mod. Was wondering if you mind to add those to your mod so we don't get unnecessary errors in IMM... .
forbiddenlake  [author] 11 May, 2023 @ 1:20pm 
[PIGZ]MrTango 11 May, 2023 @ 12:00pm 
Crashes on 3.7.4 :( any legacy version?
Orrie 8 May, 2023 @ 2:55am 
Very cool!
WHR | TMaekler 28 Apr, 2023 @ 3:23pm 
@forbiddenlake Cool. Thanks to Orrie :-)
Peter34 28 Apr, 2023 @ 7:42am 
I'd like for it to be more clearly visibly indicated when I have too many City Districts.
forbiddenlake  [author] 27 Apr, 2023 @ 3:37pm 
This was fixed in today's 36 Building Slot update (Apr 27 @ 3:08pm US - EST). Props to Orrie!
WHR | TMaekler 27 Apr, 2023 @ 2:09pm 
Ok. Thanks :-)
forbiddenlake  [author] 27 Apr, 2023 @ 9:08am 
Thanks, that is actually a bug in 36 Building Slots, I will report it
WHR | TMaekler 27 Apr, 2023 @ 5:53am 
I am using 36 Building Slots but this mod does not display the Max Number of Buildings.
36 Buildings Slots is first in Load Order, then UI Overhaul, then this mod.
FortuneHost 24 Apr, 2023 @ 4:48pm 
A fantastic idea that I'm amazed isn't a default feature.
Peter34 22 Apr, 2023 @ 4:03pm 
One word:

Awesome!
The Grim Sleeper 21 Apr, 2023 @ 11:19am 
Show
Building
Slot
Capacity
-> SBSC :steamhappy:

As for the reflow and text structuring, I can't really explain it without pictures. That python script does a lot of minor text edits, which made it hard for me (and likely other people in the future) to track down what changes you've made (rather then the ones the script did). But that is only a problem when a mod does not work as intended.
forbiddenlake  [author] 21 Apr, 2023 @ 5:20am 
Yep, it was reflowed programmatically using this tool [github.com], and that's going to remain part of my workflow. But I'm not sure I understand what the issue is, is it just comparing with other mods? I can add some info for modders to the description.

What mod is SBSC? If it's popular enough I can easily add a version of this mod for it.
The Grim Sleeper 21 Apr, 2023 @ 4:28am 
Sure do! (Issue resolved, btw)
Yes x 4; Version 3.7.4 of Stellaris, UIOD and this mod.
With the extra information you posted (and a bit more patience then I had yesterday) I was able to find the block of code I had overlooked. Thank you for the help.

When I open SBSC and UIOD version of the file in notepad++ and compare, most lines look altered. Eg:

iconType = {
name = "header_line"
spriteType = "GFX_ui_line_center_tiny"
position = { x = -122 y = 25 }
orientation = center_up
}

are turned into

iconType = {
name = header_line
spriteType = GFX_ui_line_center_tiny
position = {
x = -122
y = 25
}
orientation = center_up
}

Note the " in the name = and spriteType = and the extra line breaks in position = . Text compare apps (inlc: Irony Mod manager) flags these as line altered or line added. I can not imagine you made these changes by hand, but I hope that you can wrangle the program into obedience, in anticipation of your future mods
forbiddenlake  [author] 20 Apr, 2023 @ 2:12pm 
It still works for me, but I'm not sure what you're talking about. Got any more of them details?

Is UIOD active? Is this mod active? Is this mod below UIOD? Are there NO other mods affecting the GUI (planet_view.gui) active? There's a debug command on the vanilla listing (I'll add it to this one), what happens when you run it? Are you on 3.7.4? Is your UIOD updated? Did you verify files on Steam?

If you're talking about planet_view.gui, yes I have reflowed it and removed comments, but there are still plenty of quote marks, and I'm not sure what you mean about line separators. Functionally, planet_view.gui is identical to UIOD's version except for the "fl_planet_num_buildings" effectButtonType block.

Looking forward to additional information from you!