308 lines
8.6 KiB
Text
308 lines
8.6 KiB
Text
######################################################
|
|
################## EDUCATION FOCUS ###################
|
|
######################################################
|
|
|
|
window = {
|
|
name = "character_focus_window"
|
|
size = { 520 880 }
|
|
parentanchor = center
|
|
layer = middle
|
|
|
|
using = Window_Background
|
|
using = Window_Decoration
|
|
|
|
vbox = {
|
|
using = Window_Margins
|
|
|
|
header_pattern = {
|
|
layoutpolicy_horizontal = expanding
|
|
|
|
blockoverride "header_text"
|
|
{
|
|
text = "[CharacterFocusWindow.GetWindowTitle]"
|
|
}
|
|
|
|
blockoverride "button_close"
|
|
{
|
|
onclick = "[CharacterFocusWindow.Close]"
|
|
|
|
}
|
|
}
|
|
|
|
vbox = {
|
|
name = "focus_selection_area"
|
|
size = { 500 850 }
|
|
|
|
### PENTAGON W EDUCATION FOCUSES
|
|
widget = {
|
|
name = "education_focuses_and_portrait"
|
|
size = { 350 350 }
|
|
|
|
background = {
|
|
name = "martial_disposition"
|
|
framesize = { 352 352 }
|
|
texture = "gfx/interface/window_lifestyles/education_affinity_up_side.dds"
|
|
frame = "[CharacterFocusWindow.GetDispositionFrame('1')]"
|
|
}
|
|
|
|
background = {
|
|
name = "diplomacy_disposition"
|
|
framesize = { 352 352 }
|
|
|
|
texture = "gfx/interface/window_lifestyles/education_affinity_up_side.dds"
|
|
mirror = horizontal
|
|
frame = "[CharacterFocusWindow.GetDispositionFrame('0')]"
|
|
}
|
|
|
|
background = {
|
|
name = "stewardship_disposition"
|
|
framesize = { 352 352 }
|
|
|
|
texture = "gfx/interface/window_lifestyles/education_affinity_down_side.dds"
|
|
frame = "[CharacterFocusWindow.GetDispositionFrame('2')]"
|
|
}
|
|
|
|
background = {
|
|
name = "learning_disposition"
|
|
framesize = { 352 352 }
|
|
|
|
texture = "gfx/interface/window_lifestyles/education_affinity_down_side.dds"
|
|
mirror = horizontal
|
|
frame = "[CharacterFocusWindow.GetDispositionFrame('3')]"
|
|
}
|
|
|
|
background = {
|
|
name = "intrigue_disposition"
|
|
framesize = { 352 352 }
|
|
|
|
texture = "gfx/interface/window_lifestyles/education_affinity_up.dds"
|
|
frame = "[CharacterFocusWindow.GetDispositionFrame('4')]"
|
|
}
|
|
|
|
### Diplomacy
|
|
button = {
|
|
name = "diplomacy_button"
|
|
position = { -3 100 }
|
|
parentanchor = top|left
|
|
texture = "gfx/interface/icons/lifestyles/diplomacy_lifestyle.dds"
|
|
framesize = { 160 160 }
|
|
size = { 80 80 }
|
|
onclick = "[CharacterFocusWindow.OnClickSetSelectedFocus('0')]"
|
|
down = "[CharacterFocusWindow.IsSelectedFocus('0')]"
|
|
clicksound = "event:/SFX/UI/Unique/CharacterLifestyle/sfx_ui_unique_lifestyle_diplomacy"
|
|
datacontext = "[CharacterFocusWindow.GetFocus( '(int32)0' )]"
|
|
|
|
highlight_icon = {
|
|
visible = "[CharacterFocusWindow.IsCharacterFocus('0')]"
|
|
size = { 100% 100%}
|
|
texture = "gfx/interface/buttons/button_lifestyles_active_frame.dds"
|
|
}
|
|
|
|
tooltip = "EDUCATION_FOCUS_BUTTON_TOOLTIP"
|
|
using = tooltip_below
|
|
}
|
|
|
|
### Martial
|
|
button = {
|
|
name = "martial_button"
|
|
position = { 3 100 }
|
|
parentanchor = top|right
|
|
texture = "gfx/interface/icons/lifestyles/martial_lifestyle.dds"
|
|
framesize = { 160 160 }
|
|
size = { 80 80 }
|
|
onclick = "[CharacterFocusWindow.OnClickSetSelectedFocus('1')]"
|
|
down = "[CharacterFocusWindow.IsSelectedFocus('1')]"
|
|
clicksound = "event:/SFX/UI/Unique/CharacterLifestyle/sfx_ui_unique_lifestyle_martial"
|
|
datacontext = "[CharacterFocusWindow.GetFocus( '(int32)1' )]"
|
|
|
|
highlight_icon = {
|
|
visible = "[CharacterFocusWindow.IsCharacterFocus('1')]"
|
|
size = { 100% 100%}
|
|
texture = "gfx/interface/buttons/button_lifestyles_active_frame.dds"
|
|
}
|
|
|
|
tooltip = "EDUCATION_FOCUS_BUTTON_TOOLTIP"
|
|
using = tooltip_below
|
|
}
|
|
|
|
### Stewardship
|
|
button = {
|
|
name = "stewardship_button"
|
|
position = { -45 -4 }
|
|
parentanchor = bottom|right
|
|
texture = "gfx/interface/icons/lifestyles/stewardship_lifestyle.dds"
|
|
framesize = { 160 160 }
|
|
size = { 80 80 }
|
|
onclick = "[CharacterFocusWindow.OnClickSetSelectedFocus('2')]"
|
|
down = "[CharacterFocusWindow.IsSelectedFocus('2')]"
|
|
clicksound = "event:/SFX/UI/Unique/CharacterLifestyle/sfx_ui_unique_lifestyle_stewardship"
|
|
datacontext = "[CharacterFocusWindow.GetFocus( '(int32)2' )]"
|
|
|
|
highlight_icon = {
|
|
visible = "[CharacterFocusWindow.IsCharacterFocus('2')]"
|
|
size = { 100% 100%}
|
|
texture = "gfx/interface/buttons/button_lifestyles_active_frame.dds"
|
|
}
|
|
|
|
tooltip = "EDUCATION_FOCUS_BUTTON_TOOLTIP"
|
|
using = tooltip_below
|
|
}
|
|
|
|
### Learning
|
|
button = {
|
|
name = "learning_button"
|
|
position = { 45 -4 }
|
|
parentanchor = bottom|left
|
|
texture = "gfx/interface/icons/lifestyles/learning_lifestyle.dds"
|
|
framesize = { 160 160 }
|
|
size = { 80 80 }
|
|
onclick = "[CharacterFocusWindow.OnClickSetSelectedFocus('3')]"
|
|
down = "[CharacterFocusWindow.IsSelectedFocus('3')]"
|
|
clicksound = "event:/SFX/UI/Unique/CharacterLifestyle/sfx_ui_unique_lifestyle_learning"
|
|
datacontext = "[CharacterFocusWindow.GetFocus( '(int32)3' )]"
|
|
|
|
highlight_icon = {
|
|
visible = "[CharacterFocusWindow.IsCharacterFocus('3')]"
|
|
size = { 100% 100%}
|
|
texture = "gfx/interface/buttons/button_lifestyles_active_frame.dds"
|
|
}
|
|
|
|
tooltip = "EDUCATION_FOCUS_BUTTON_TOOLTIP"
|
|
using = tooltip_below
|
|
}
|
|
|
|
### Intrigue
|
|
button = {
|
|
name = "intrigue_button"
|
|
position = { 0 4 }
|
|
parentanchor = top|hcenter
|
|
texture = "gfx/interface/icons/lifestyles/intrigue_lifestyle.dds"
|
|
framesize = { 160 160 }
|
|
size = { 80 80 }
|
|
onclick = "[CharacterFocusWindow.OnClickSetSelectedFocus('4')]"
|
|
down = "[CharacterFocusWindow.IsSelectedFocus('4')]"
|
|
clicksound = "event:/SFX/UI/Unique/CharacterLifestyle/sfx_ui_unique_lifestyle_intrigue"
|
|
datacontext = "[CharacterFocusWindow.GetFocus( '(int32)4' )]"
|
|
|
|
highlight_icon = {
|
|
visible = "[CharacterFocusWindow.IsCharacterFocus('4')]"
|
|
size = { 100% 100%}
|
|
texture = "gfx/interface/buttons/button_lifestyles_active_frame.dds"
|
|
}
|
|
|
|
tooltip = "EDUCATION_FOCUS_BUTTON_TOOLTIP"
|
|
using = tooltip_below
|
|
}
|
|
|
|
portrait_shoulders = {
|
|
name = "character_portrait"
|
|
datacontext = "[CharacterFocusWindow.GetCharacter]"
|
|
parentanchor = center
|
|
position = { 0 0 }
|
|
blockoverride "coa" {}
|
|
blockoverride "status_icons" {}
|
|
blockoverride "opinion_box" {}
|
|
blockoverride "glow_local_player" {}
|
|
blockoverride "glow_selected" {}
|
|
|
|
background = {
|
|
texture = "gfx/interface/component_masks/mask_fade_circle.dds"
|
|
color = { 0.1 0.1 0.1 1 }
|
|
margin = { 15 0 }
|
|
margin_top = 0
|
|
margin_bottom = 30
|
|
alpha = 0.5
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
vbox = {
|
|
layoutpolicy_horizontal = expanding
|
|
layoutpolicy_vertical = expanding
|
|
margin_top = 10
|
|
spacing = 10
|
|
# we hide the text_label_center if nothing is selected
|
|
ignoreinvisible = no
|
|
|
|
text_label_center = {
|
|
name = "selected_focus_name"
|
|
text = "[CharacterFocusWindow.GetSelectedFocusName]"
|
|
visible = "[Not(StringIsEmpty(CharacterFocusWindow.GetSelectedFocusName))]"
|
|
}
|
|
|
|
# Info about Selected Focus
|
|
scrollbox = {
|
|
name = "focus_info_area"
|
|
layoutpolicy_horizontal = expanding
|
|
layoutpolicy_vertical = expanding
|
|
|
|
blockoverride "scrollbox_content"
|
|
{
|
|
vbox = {
|
|
visible = "[Not(StringIsEmpty(CharacterFocusWindow.GetSelectedFocusName))]"
|
|
spacing = 4
|
|
|
|
text_multi = {
|
|
autoresize = yes
|
|
maximumsize = { 390 -1 }
|
|
minimumsize = { 390 -1 }
|
|
text = "[CharacterFocusWindow.GetSelectedFocusDescription]"
|
|
}
|
|
|
|
text_multi = {
|
|
autoresize = yes
|
|
maximumsize = { 390 -1 }
|
|
minimumsize = { 390 -1 }
|
|
text = "[CharacterFocusWindow.GetFocusDescriptionFromDatabase]"
|
|
}
|
|
|
|
text_multi = {
|
|
autoresize = yes
|
|
maximumsize = { 390 -1 }
|
|
minimumsize = { 390 -1 }
|
|
text = "[CharacterFocusWindow.GetSelectedFocusEffectDesc]"
|
|
}
|
|
|
|
text_multi = {
|
|
autoresize = yes
|
|
maximumsize = { 390 -1 }
|
|
minimumsize = { 390 -1 }
|
|
text = "[CharacterFocusWindow.GetSelectedFocusModifierDesc]"
|
|
}
|
|
}
|
|
}
|
|
|
|
blockoverride "scrollbox_empty"
|
|
{
|
|
visible = "[StringIsEmpty(CharacterFocusWindow.GetSelectedFocusName)]"
|
|
text = "EDUCATION_FOCUS_SELECTED_EMPTY_STATE"
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
vbox = {
|
|
margin = { 15 15 }
|
|
spacing = 15
|
|
|
|
text_multi = {
|
|
text = "[CharacterFocusWindow.GetWarningText]"
|
|
default_format = "#low;italic"
|
|
autoresize = yes
|
|
maximumsize = { 390 -1 }
|
|
}
|
|
|
|
button_primary = {
|
|
tooltip = "[CharacterFocusWindow.GetCanChangeFocusDescription]"
|
|
onclick = "[CharacterFocusWindow.OnClickChangeFocus]"
|
|
enabled = "[CharacterFocusWindow.CanChangeFocus]"
|
|
text = "CHOOSE_FOCUS"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|