@Keinwyn;
I made the changes necessary to use the Dei Gratia artwork for the Curia & HRE windows.
the College of Cardinals;Sacra Romanum Imperium;The actual artwork is included in your package but it was unreferenced and needed configuration.
All four files below should be added to the mod\Dei Gratia\interface directory.
First the papacy.gfx file...
Code:
spriteTypes = {
spriteType = {
name = "GFX_papacy_bg"
texturefile = "mod\\Dei Gratia\\gfx\\interface\\vatican_bg.tga"
loadType = "INGAME"
}
spriteType = {
name = "GFX_cardinal_banner"
texturefile = "gfx\\interface\\cardinal_banner.tga"
loadType = "INGAME"
}
maskedShieldType = {
name = "GFX_crusade_target_shield"
textureFile1 = "gfx\\interface\\in_nomine_interface\\crusade_target_shield.tga"
textureFile2 = "gfx\\interface\\minimask.tga"
effectFile = "gfx\\FX\\maskedflag.fx"
}
}
...and now the papacy.gui file.
Code:
guiTypes = {
windowType = {
name = "papacy_window"
backGround = ""
position = { x = 0 y = 0 }
size = { x = 1024 y = 100 }
moveable = 0
dontRender = ""
horizontalBorder = ""
verticalBorder = ""
fullScreen = yes
iconType = {
name = "papacy_bg"
spriteType = "GFX_papacy_bg"
position = { x = -271 y = -295 }
Orientation = "CENTER"
}
textBoxType = {
name = "papacy_label"
position = { x = 0 y = -274 }
format = centre
textureFile = ""
font = "Main_24"
borderSize = { x = 4 y = 4 }
text = "PAPACY_THE_HOLY_SEE"
maxWidth = 400
maxHeight = 32
Orientation = "CENTER"
}
textBoxType = {
name = "curia_label"
position = { x = 5 y = -134 }
textureFile = ""
font = "Main_16"
borderSize = { x = 4 y = 4 }
text = ""
maxWidth = 400
maxHeight = 32
format = centre
Orientation = "CENTER"
}
guiButtonType = {
name = "sort_name"
position = { x = -143 y = -113 }
quadTextureSprite = "mini_button"
tooltip = ""
tooltipText = ""
delayedTooltipText = ""
buttonText = "PAPACY_CARDINALS"
buttonFont = "Main_14_black"
Orientation = "CENTER"
}
guiButtonType = {
name = "sort_loyalty"
position = { x = 70 y = -113 }
tooltip = ""
tooltipText = ""
delayedTooltipText = ""
buttonText = "PAPACY_LOYALTY"
buttonFont = "Main_14_black"
quadTextureSprite = "mini_button"
Orientation = "CENTER"
}
instantTextBoxType = {
name = "TableHeaderText"
position = { x = 333 y = 313 }
textureFile = ""
font = "ledger_headline"
borderSize = { x = 1 y = 1 }
text = ""
maxWidth = 150
maxHeight = 30
Orientation = "UPPER_LEFT"
format = left
}
guiButtonType = {
name = "candidate_shield_1"
position = { x = 61 y = -182 }
quadTextureSprite = "GFX_minishield"
Orientation = "CENTER"
}
textBoxType = {
name = "candidate_value_1"
position = { x = 77 y = -152 }
textureFile = ""
font = "Main_14"
borderSize = { x = 0 y = 0 }
text = "100%"
maxWidth = 36
maxHeight = 32
format = centre
Orientation = "CENTER"
}
guiButtonType = {
name = "candidate_shield_2"
position = { x = 92 y = -182 }
quadTextureSprite = "GFX_minishield"
Orientation = "CENTER"
}
textBoxType = {
name = "candidate_value_2"
position = { x = 108 y = -152 }
textureFile = ""
font = "Main_14"
borderSize = { x = 0 y = 0 }
text = "100%"
maxWidth = 36
maxHeight = 32
format = centre
Orientation = "CENTER"
}
guiButtonType = {
name = "candidate_shield_3"
position = { x = 123 y = -182 }
quadTextureSprite = "GFX_minishield"
Orientation = "CENTER"
}
textBoxType = {
name = "candidate_value_3"
position = { x = 139 y = -152 }
textureFile = ""
font = "Main_14"
borderSize = { x = 0 y = 0 }
text = "100%"
maxWidth = 36
maxHeight = 32
format = centre
Orientation = "CENTER"
}
guiButtonType = {
name = "candidate_shield_4"
position = { x = 154 y = -182 }
quadTextureSprite = "GFX_minishield"
Orientation = "CENTER"
}
textBoxType = {
name = "candidate_value_4"
position = { x = 170 y = -152 }
textureFile = ""
font = "Main_14"
borderSize = { x = 0 y = 0 }
text = "100%"
maxWidth = 36
maxHeight = 32
format = centre
Orientation = "CENTER"
}
guiButtonType = {
name = "candidate_shield_5"
position = { x = 183 y = -182 }
quadTextureSprite = "GFX_minishield"
Orientation = "CENTER"
}
textBoxType = {
name = "candidate_value_5"
position = { x = 199 y = -152 }
textureFile = ""
font = "Main_14"
borderSize = { x = 0 y = 0 }
text = "100%"
maxWidth = 36
maxHeight = 32
format = centre
Orientation = "CENTER"
}
listboxType = {
name = "cardinal_list"
position = { x = -225 y = -110 }
backGround= ""
size = { x = 460 y = 420 }
Orientation = "CENTER"
spacing = 2
scrollbartype = "standardlistbox_slider"
borderSize = { x = 0 y = 0 }
}
textBoxType = {
name = "influence_label"
position = { x = -126 y = -235 }
textureFile = ""
font = "Main_16"
borderSize = { x = 4 y = 4 }
text = "PAPAL_INFLUENCE"
maxWidth = 190
maxHeight = 32
format = centre
Orientation = "CENTER"
}
textBoxType = {
name = "influence_value"
position = { x = -126 y = -215 }
textureFile = ""
font = "Main_24"
borderSize = { x = 4 y = 4 }
text = ""
maxWidth = 190
maxHeight = 32
format = centre
Orientation = "CENTER"
}
### OUR CHANCE
textBoxType = {
name = "our_chance_label"
position = { x = -126 y = -186 }
textureFile = ""
font = "Main_16"
borderSize = { x = 4 y = 4 }
text = "CARDINAL_CHANCE"
maxWidth = 190
maxHeight = 32
format = centre
Orientation = "CENTER"
}
textBoxType = {
name = "our_chance_value"
position = { x = -126 y = -166 }
textureFile = ""
font = "Main_24"
borderSize = { x = 4 y = 4 }
text = "100%"
maxWidth = 190
maxHeight = 32
format = centre
Orientation = "CENTER"
}
#####
guiButtonType = {
name = "controller_shield"
quadTextureSprite = "GFX_thinshield"
position = { x = -31 y = -199 }
tooltip = ""
tooltipText = ""
delayedTooltipText = ""
buttonText = ""
buttonFont = "Main_14_black"
Orientation = "CENTER"
}
guiButtonType = {
name = "crusade_target_shield"
quadTextureSprite = "GFX_crusade_target_shield"
position = { x = 115 y = -253 }
tooltip = ""
tooltipText = ""
delayedTooltipText = ""
buttonText = ""
buttonFont = "Main_14_black"
Orientation = "CENTER"
}
guiButtonType = {
name = "close_button"
position = { x = -40 y = 284 }
quadTextureSprite = "button_type_2"
tooltip = ""
tooltipText = ""
delayedTooltipText = ""
buttonText = "PAPACY_CLOSE"
buttonFont = "Main_14_black"
Orientation = "CENTER"
clicksound = close_window
shortcut = "ESCAPE"
}
}
positionType = {
name = "cardinal_shield_position"
position = { x = -230 y = -70 }
}
positionType = {
name = "cardinal_shield_offset"
position = { x = 0 y = 32 }
}
windowType = {
name = "cardinal_window"
backGround = ""
position = { x = -200 y = 0 }
size = { x = 400 y = 26 }
moveable = 0
dontRender = ""
horizontalBorder = ""
verticalBorder = ""
fullScreen = no
iconType = {
name = "cardinal_banner"
spriteType = "GFX_cardinal_banner"
position = { x = -5 y = 16 }
Orientation = "UPPER_LEFT"
}
textBoxType = {
name = "cardinal_title"
position = { x = 20 y = 16 }
textureFile = ""
font = "Main_14"
borderSize = { x = 4 y = 2}
text = "PAPACY_MEMBER_STATES"
maxWidth = 180
maxHeight = 100
format = left
Orientation = "UPPER_LEFT"
}
textBoxType = {
name = "cardinal_name"
position = { x = 80 y = 16 }
textureFile = ""
font = "Main_16"
borderSize = { x = 4 y = 2}
text = "PAPACY_MEMBER_STATES"
maxWidth = 300
maxHeight = 100
format = left
Orientation = "UPPER_LEFT"
}
textBoxType = {
name = "cardinal_location"
position = { x = 270 y = 16 }
textureFile = ""
font = "Main_14"
borderSize = { x = 4 y = 2}
text = "PAPACY_MEMBER_STATES"
maxWidth = 300
maxHeight = 100
format = left
Orientation = "UPPER_LEFT"
}
guiButtonType = {
name = "cardinal_vote_shield"
quadTextureSprite = "GFX_minishield"
position = { x = 400 y = 12 }
tooltip = ""
tooltipText = ""
delayedTooltipText = ""
buttonText = ""
buttonFont = "Main_14_black"
Orientation = "UPPER_LEFT"
}
}
windowType = {
name = "candidate_type"
backGround = ""
position = { x = 0 y = 0 }
size = { x = 36 y = 32 }
moveable = 0
dontRender = ""
horizontalBorder = ""
verticalBorder = ""
fullScreen = no
guiButtonType = {
name = "shield_button"
position = { x = 0 y = 0 }
quadTextureSprite = "GFX_minishield"
}
textBoxType = {
name = "chance_value"
position = { x = 0 y = 15 }
textureFile = ""
font = "Main_14"
borderSize = { x = 0 y = 0 }
text = "100%"
maxWidth = 36
maxHeight = 32
format = centre
Orientation = "CENTER"
}
}
}
Third, the hre.gfx file...
Code:
spriteTypes = {
spriteType = {
name = "GFX_hre_bg"
texturefile = "mod\\Dei Gratia\\gfx\\interface\\hre_bg.tga"
loadType = "INGAME"
}
spriteType = {
name = "GFX_hre_vote_bg"
texturefile = "gfx\\interface\\in_nomine_interface\\hre_vote_bg.tga"
loadType = "INGAME"
transparencecheck = yes
}
spriteType = {
name = "GFX_we_are_hre_elector"
texturefile = "gfx\\interface\\in_nomine_interface\\we_are_hre_elector.tga"
loadType = "INGAME"
}
spriteType = {
name = "GFX_hre_decision_banner"
texturefile = "gfx\\interface\\httt_interface\\hre_decision_banner.tga"
loadType = "INGAME"
}
}
...and last the hre.gui file.
Code:
guiTypes = {
windowType = {
name = "hre_window"
backGround = ""
position = { x = 0 y = 0 }
size = { x = 1024 y = 100 }
moveable = 0
dontRender = ""
horizontalBorder = ""
verticalBorder = ""
fullScreen = yes
iconType = {
name = "hre_bg"
spriteType = "GFX_hre_bg"
position = { x = -324 y = -300 }
Orientation = "CENTER"
}
textBoxType = {
name = "emperor_label"
position = { x = 0 y = -217 }
textureFile = ""
font = "Main_16"
borderSize = { x = 4 y = 4 }
text = "HRE_EMPEROR"
maxWidth = 400
maxHeight = 32
format = centre
Orientation = "CENTER"
}
textBoxType = {
name = "electors_label"
position = { x = 0 y = -111 }
textureFile = ""
font = "Main_16"
borderSize = { x = 4 y = 4 }
text = "HRE_ELECTORS"
maxWidth = 400
maxHeight = 32
format = centre
Orientation = "CENTER"
}
textBoxType = {
name = "members_label"
position = { x = 0 y = -15 }
textureFile = ""
font = "Main_16"
borderSize = { x = 4 y = 4 }
text = "HRE_MEMBER_STAT"
maxWidth = 400
maxHeight = 32
format = centre
Orientation = "CENTER"
}
#### AUTHORITY
textBoxType = {
name = "influence_label"
position = { x = -147 y = -197 }
textureFile = ""
font = "Main_16"
borderSize = { x = 4 y = 0 }
text = "HRE_INFLUENCE"
maxWidth = 400
maxHeight = 32
format = centre
Orientation = "CENTER"
}
textBoxType = {
name = "influence_value"
position = { x = -148 y = -185 }
textureFile = ""
font = "Main_24"
borderSize = { x = 4 y = 4 }
text = ""
maxWidth = 100
maxHeight = 32
format = centre
Orientation = "CENTER"
}
OverlappingElementsBoxType = {
name = "emperor_mods_box"
position = { x = -245 y = -140 }
size = { x = 288 y = 48 }
Orientation = "CENTER"
format = left
spacing = 1
}
guiButtonType = {
name = "emperor_shield"
quadTextureSprite = "GFX_thinshield"
position = { x = -30 y = -197 } #-30x -216y
tooltip = ""
tooltipText = ""
delayedTooltipText = ""
buttonText = ""
buttonFont = "Main_14_black"
Orientation = "CENTER"
}
#### REFORM DECISIONS
instantTextBoxType = {
name = "decisions_label"
position = { x = 48 y = -197 }
format = centre
textureFile = ""
font = "Main_16"
borderSize = { x = 4 y = 0 }
text = "HRE_DECISIONS"
maxWidth = 320
maxHeight = 16
Orientation = "CENTER"
}
listboxType = {
name = "decisions_listbox"
position = { x = 60 y = -177 }
backGround = ""
size = { x = 185 y = 80 }
Orientation = "CENTER"
horisontal = 0
spacing = 1
scrollbartype = "standardlistbox_slider"
borderSize = { x = 10 y = 10 }
}
guiButtonType = {
name = "close_button"
position = { x = -35 y = 134 }
quadTextureSprite = "button_type_2"
tooltip = ""
tooltipText = ""
delayedTooltipText = ""
buttonText = "HRE_CLOSE"
buttonFont = "Main_14_black"
Orientation = "CENTER"
clicksound = close_window
shortcut = "ESCAPE"
}
guiButtonType = {
name = "dismantel_button"
position = { x = -223 y = 134 }
quadTextureSprite = "button_type_2"
buttonText = "HRE_DISMANTLE"
buttonFont = "Main_14_black"
Orientation = "CENTER"
}
guiButtonType = {
name = "leave_button"
position = { x = 148 y = 134 }
quadTextureSprite = "button_type_2"
buttonText = "HRE_LEAVE"
buttonFont = "Main_14_black"
Orientation = "CENTER"
}
}
guiButtonType = {
name = "elector_shield"
quadTextureSprite = "GFX_thinshield"
position = { x = -32 y = -90 }
tooltip = ""
tooltipText = ""
delayedTooltipText = ""
buttonText = ""
buttonFont = "Main_14_black"
Orientation = "CENTER"
}
guiButtonType = {
name = "elector_vote_shield"
quadTextureSprite = "GFX_minishield"
position = { x = 0 y = -58 }
tooltip = ""
tooltipText = ""
delayedTooltipText = ""
buttonText = ""
buttonFont = "Main_14_black"
Orientation = "CENTER"
}
guiButtonType = {
name = "member_shield"
quadTextureSprite = "GFX_minishield"
position = { x = -16 y = 15 }
tooltip = ""
tooltipText = ""
delayedTooltipText = ""
buttonText = ""
buttonFont = "Main_14_black"
Orientation = "CENTER"
}
guiButtonType = {
name = "we_are_elector_button"
quadTextureSprite = "GFX_we_are_hre_elector"
position = { x = 0 y = 0 }
tooltip = ""
tooltipText = ""
delayedTooltipText = ""
buttonText = ""
buttonFont = "Main_14_black"
Orientation = "CENTER"
}
positionType = {
name = "elector_shield_position"
position = { x = -32 y = -90 }
}
positionType = {
name = "elector_vote_position"
position = { x = 0 y = -39 }
}
positionType = {
name = "member_shield_position"
position = { x = -16 y = 3 }
}
positionType = {
name = "we_are_elector_position"
position = { x = -39 y = -149 }
}
positionType = {
name = "elector_shield_offset"
position = { x = 55 y = 0 }
}
positionType = {
name = "member_shield_offset"
position = { x = 30 y = 0 }
}
positionType = {
name = "elector_relation_position"
position = { x = 28 y = -30 }
}
textBoxType = {
name = "relation"
position = { x = 0 y = 0 }
textureFile = ""
font = "Main_16"
borderSize = { x = 4 y = 4 }
text = "HRE_MEMBER_STATES"
maxWidth = 48
maxHeight = 32
format = centre
Orientation = "CENTER"
}
#### EMPEROR MODIFIER ENTRY
windowType = {
name = "emperor_mod_entry"
backGround = ""
position = { x = 0 y = 0 }
size = { x = 48 y = 48 }
moveable = 0
dontRender = ""
horizontalBorder = "0"
verticalBorder = ""
fullScreen = no
iconType = {
name = "strip_temp_mods"
spriteType = "GFX_modifier_icons"
position = { x = 0 y = 0 }
Orientation = "UPPER_LEFT"
frame = 1
}
}
#### REFORMS ENTRY
windowType = {
name = "hre_decision_entry"
backGround = ""
position = { x = 0 y = 0 }
size = { x = 300 y = 20 }
moveable = 0
dontRender = ""
horizontalBorder = ""
verticalBorder = ""
fullScreen = no
iconType = {
name = "nation_decisions_banner"
spriteType = "GFX_hre_decision_banner"
position = { x = -26 y = -21 }
orientation = "UPPER_LEFT"
}
instantTextBoxType= {
position = { x = -10 y = -10 }
name = "name"
font = "Main_14"
borderSize = { x = 0 y = 0 }
maxWidth = 230
maxHeight = 20
text = ""
orientation = "UPPER_LEFT"
format = left
}
iconType = {
name = "info_icon"
spriteType = "GFX_info_decision"
position = { x = 126 y = -13 }
orientation = "UPPER_LEFT"
}
guiButtonType = {
name = "select_button"
position = { x = 149 y = -14 }
quadTextureSprite = "GFX_execute_decision"
tooltip = ""
tooltipText = ""
delayedTooltipText = ""
buttonText = ""
buttonFont = ""
}
}
}
Use it or don't, either way is fine by me! (but I hope you do because it took 4 hours ;-)
Cheers