I'm doing some .gui modding. I'd like to understand their structure better, as they seem to be less intuitive than other parts of modding this game.
Specifically, what I'm trying to do is to re-draw the College of Cardinals screen. (Already edited to make it work with my religion).
What I'd like some incite on is:
A) If I want to put my character's portrait, at a given x/y position, on a redrawn College of Cardinals screen, how would I go about doing this? How would I create a localisation to place near it?
I) What are valid "name =" s?, how do they work, and where can I find a list of names that the game recognizes?
B) I'm going to change the flavor of the whole interface if I can figure it out, so any general information would be helpful as the interface wiki doesn't adequately cover it. Opening Paint and redrawing/ recoloring the windows is easy enough, but getting them to display and click properly is going to be a challenge if I don't understand how the process works.
EX:
Code:
guiButtonType = {
name ="button_portrait" # Does anyone have a good, working list of these and what they do?
quadTextureSprite= "GFX_char_50"
position = { x= 11 y = 7 } # Pretty self- explanatory, but suggestions for taking the guess work out of it would certainly be appreciated
Orientation = "UPPER_LEFT" # No idea what this is
pdx_tooltip = "CHARACTER_TOOLTIP" # Information about the character when you hover your mouse over their portrait?
pdx_tooltip_delayed = "CHARACTER_TOOLTIP_DELAYED"
EX2:
Code:
guiButtonType = {
name ="character_portrait" # Looks promising for character's portrait, but since I don't know the names, I don't know which "character" will be displayed or how to define that
quadTextureSprite # What's a "quad" TextureSprite? = "GFX_char_150" # referencing one of the single character frames in the gfx folder. I'd wondered what they were for.
position = { x= 76 y = 7 }
Orientation = "UPPER_LEFT"
pdx_tooltip = "CHARACTER_TOOLTIP"
pdx_tooltip_delayed = "CHARACTER_TOOLTIP_DELAYED"
}
So, what I'm really asking for here is any/ all information on interface commands/general information that anyone is willing to give. There is a list of commands for scripting events/decisions/traits/governments/religions/etc. that's pretty easy to come by, but finding out what's going on with these .gui files seems to be a little bit more difficult.
Thanks for any information.