Modding the GUI help needed, please!
Trying to change the default console font and background (it's so small and bg so transparent that it's unreadable in 4K). Edited EU3_core.gfx and EU3_core.gui, but can't get all the windows to work correctly. My best result so far:
EU3_core.gfx replaced old console bg with custom blacker one:
EU3_core.gui edited fonts and window sizes:
Seems I have some problems with the borderSize, cursor and various position for parent and child windows. Unfortunately, format of the GUI files and window attribute inheritance is not explained at all in the modding wiki... I tried messing with bordersize and cursor, do I need to edit the textcursor.tga as well? It is a bit confusing since the window inheritance like position is not much clear.
2) I posted that question on the quick questions thread, but here again: when modding the GUI, can I use reload xxx.gui or reloadinterface console commands to reload the files when I am working on a loaded mod, or do these work only for default installation files? Can I supply a path to the mod gui file to reload? I am tired of restarting the whole game to see my changes.
Many thanks!
Trying to change the default console font and background (it's so small and bg so transparent that it's unreadable in 4K). Edited EU3_core.gfx and EU3_core.gui, but can't get all the windows to work correctly. My best result so far:

EU3_core.gfx replaced old console bg with custom blacker one:
corneredTileSpriteType = {
name = "console_background"
size= {x=32 y=32 }
texturefile = "gfx\\interface\\blackblackbackground.tga"
borderSize = { x=8 y=8 } #8,8
allwaystransparent = no
works well.EU3_core.gui edited fonts and window sizes:
INI:
guiTypes = {
windowType = {
name = "console_wnd"
backGround =""
position = { x=5 y=150 }
size = { x=1200 y=1200 }
moveable = 0
orientation="UPPER_LEFT"
# Console list of entries
listBoxType =
{
name ="console_list"
background ="console_background"
position = { x=0 y=0 }
orientation = "UPPER_LEFT"
priority = 100
size = { x=1200 y=1000 }
borderSize = { x=0 y=0 }
scrollbartype = "standardlistbox_slider"
allwaystransparent = no
}
# Text edit box
editBoxType = {
position = { x = 0 y = 1000 } #0, 560?
name = "console_edit"
textureFile = "gfx\\interface\\blackblackbackground.tga"
font = "century_gothic_bold_18"
borderSize = { x=0 y=0 } #0,0
size = { x=1200 y=60 } #600,40
text = ""
orientation = "UPPER_LEFT"
cursor = { x=4 y=4 } #4,4
}
}
windowType = {
name = "console_entry_wnd"
position = { x=5 y=0 }
size = { x=1200 y=24 }
moveable = 0
orientation="UPPER_LEFT"
# Console entry
textBoxType={
position = { x=0 y=0 }
name = "console_text"
font = "century_gothic_bold_18"
borderSize = { x=0 y=0 } #8,1
maxWidth = 1200
maxHeight = 24 #16
fixedsize = yes
orientation = "UPPER_LEFT"
}
}
Seems I have some problems with the borderSize, cursor and various position for parent and child windows. Unfortunately, format of the GUI files and window attribute inheritance is not explained at all in the modding wiki... I tried messing with bordersize and cursor, do I need to edit the textcursor.tga as well? It is a bit confusing since the window inheritance like position is not much clear.
2) I posted that question on the quick questions thread, but here again: when modding the GUI, can I use reload xxx.gui or reloadinterface console commands to reload the files when I am working on a loaded mod, or do these work only for default installation files? Can I supply a path to the mod gui file to reload? I am tired of restarting the whole game to see my changes.
Many thanks!