GDP Plotline Plus Minimized

If you liked this item, please rate it up on Steam Workshop page.

Author: 1230james

Last revision: 5 Jun, 2024 at 05:10 UTC

File size: 243.29 KB

On Steam Workshop

Description:

A fork of obamnastan’s GDP Plotline Plus mod.

The original mod overwrites the entirety of some vanilla GUI files which makes it extremely incompatible with other mods that edit the same files but in different places. If you look at the files for GDPPP, it turns out that doing that is wholly unnecessary.

This is a clone of the original mod that should do almost exactly the same thing for the user (i.e., add a prestige history graph, color the lines, and make the Y axis scales start from the lowest recorded value instead of 0), but written in a better way that minimizes the GUI definitions actually changed (hence the name), which greatly improves compatibility with some mods.

It also returns the tooltip box size to the vanilla one because I didn’t like it being huge (also hence the name). If you liked it huge, you can go to this file with any text editor (such as Notepad):

(Steam root folder)steamappsworkshopcontent5293403261478691gui0_GDPPP_politics_panel_types.gui

Find every instance of text like:

size = { 280 100 } # { 840 200 }

and delete everything between the = and # signs. Delete the # sign as well, but do NOT delete the = sign. In this specific example, you should change it to:

size = { 840 200 }

A minor thing this fixes is it also changes the title of the prestige graph from just saying "Prestige" to being tooltipped to the Prestige game concept to stay consistent with how the GDP graph is titled.

Created mainly as a proof of concept so I could show it to the mod author; hopefully the original mod adopts the same changes.

This does NOT require the original mod. Having the original one active alongside this one should have no effect.

Specifically made because I needed to fix compatibility between this mod and Visual Leaders by FUN, but it should work with any other mods that involve GUI changes as long as they don’t also try to overwrite the plot graphs, the GDP graph specifically, or the GDP graph tooltip box.