• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

rubyiguess

Recruit
11 Badges
Jun 6, 2019
5
2
  • Europa Universalis IV: Conquest of Paradise
  • Hearts of Iron III
  • Crusader Kings II
  • Europa Universalis IV
  • Victoria 2
  • Cities: Skylines
  • Europa Universalis IV: Common Sense
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Art of War
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
It appears throughout the files whenever a pie chart is generated by the game (like in the political chart), it's being at most handled within the gui files as:

pieChartType = {

name = "GFX_political_chart_small"
size = 26

}

It appears some internal scripting is responsible for making the chart actually display what it does. This is slightly tricky for my purposes since I was hoping to be able to properly utilize an element like this in a mod.

Does anyone here know anything about the formatting/other things that'd be needed to actually generate a custom pie chart? It seems like any and all information about pieChartTypes is scarce. I know that I'd have to do this through some sort of scripted GUI, but it seems like the method by which modifying the things displayed on the chart is done is never explained anywhere from my knowledge
 

SophieX

Major
May 9, 2014
558
505
Ah. I guess the way that the Political Popularities are hardwired into the game in a way that can't really be replicated.

I'm not sure whether I understand you right; but for sure you can edit political popularity via focus , events or decisions and then the pie-chart will "show" the new result.
 

Mousetick

Major
93 Badges
Oct 13, 2012
689
1.400
  • Crusader Kings II: Monks and Mystics
  • Age of Wonders II
I'm not sure whether I understand you right; but for sure you can edit political popularity via focus , events or decisions and then the pie-chart will "show" the new result.
The OP is asking if and how it would be possible to reuse the pie chart graphical widget, such as the one used to display political popularity, but with different inputs, for use in the UI of a mod. It seems the answer is no, because the inputs are hardwired into the widget, it's not parametrable.
 

SophieX

Major
May 9, 2014
558
505
The OP is asking if and how it would be possible to reuse the pie chart graphical widget, such as the one used to display political popularity, but with different inputs, for use in the UI of a mod. It seems the answer is no, because the inputs are hardwired into the widget, it's not parametrable.

Got it; thanks for your helpful explanation :)
 

pheonicia

General
87 Badges
Feb 2, 2015
1.803
7.422
  • Stellaris - Path to Destruction bundle
  • Stellaris: Megacorp
  • Hearts of Iron IV: Together for Victory
  • Stellaris
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Holy Fury
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: No Step Back
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Crusader Kings II: Conclave
  • Crusader Kings II: Monks and Mystics
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Golden Century
  • BATTLETECH
  • Surviving Mars
  • Steel Division: Normand 44 Sign-up
  • Hearts of Iron IV: Death or Dishonor
  • Age of Wonders: Planetfall Premium edition
  • Cities: Skylines - Green Cities
  • Imperator: Rome Sign Up
  • Cities: Skylines - Parklife
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV
  • Age of Wonders: Planetfall Deluxe edition
  • Stellaris: Ancient Relics
  • Cities: Skylines - Campus
  • Age of Wonders: Planetfall
  • Cities: Skylines - Snowfall
  • Cities: Skylines
  • Cities: Skylines Industries
  • Europa Universalis IV: El Dorado
  • Imperator: Rome
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Imperator: Rome Deluxe Edition
  • Europa Universalis IV: Dharma
I have no idea who I'd contact for that though, lol.
Make a post in the suggestions forum.

Edit: and clearly explain what you want and what you need it for and why you can't access it right now. I know some of this is in this thread but the more concentrated and well put together the argument, the more likely people are to listen.
 
  • 1Like
  • 1
Reactions: