gui folder purge
This commit is contained in:
parent
4dae51d80b
commit
0cf6c9764d
372 changed files with 0 additions and 258868 deletions
|
|
@ -1,363 +0,0 @@
|
|||
template POPSTextStyle
|
||||
{
|
||||
using = Font_Type_Standard
|
||||
using = Font_Size_Small
|
||||
align = left
|
||||
default_format = "#medium"
|
||||
|
||||
block "pops_text_style"
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
template POPSButtonTextStyle
|
||||
{
|
||||
block "pops_button_text_style"
|
||||
{
|
||||
name = "pops_button_text"
|
||||
parentanchor = vcenter|hcenter
|
||||
font = StandardGameFont
|
||||
fontsize = 15
|
||||
fontcolor = { 0.86 0.86 0.73 1 }
|
||||
autoresize = yes
|
||||
position = { 0 0 }
|
||||
align = center
|
||||
}
|
||||
}
|
||||
|
||||
template POPSErrorTextStyle
|
||||
{
|
||||
block "pops_error_text_style"
|
||||
{
|
||||
font = StandardGameFont
|
||||
align = left
|
||||
fontcolor = { 1 0 0 1 }
|
||||
fontsize = 13
|
||||
}
|
||||
}
|
||||
|
||||
template POPSButtonStyle
|
||||
{
|
||||
block "pops_button_style"
|
||||
{
|
||||
texture = "gfx/editor_gui/editor_button.dds"
|
||||
gfxtype = framedbuttongfx
|
||||
spriteType = CorneredStretched
|
||||
spriteborder = { 4 4 }
|
||||
effectname = "NoHighlight"
|
||||
framesize = { 16 16 }
|
||||
upframe = 1
|
||||
downframe = 2
|
||||
overframe = 3
|
||||
disableframe = 4
|
||||
intersectionmask = yes
|
||||
}
|
||||
}
|
||||
|
||||
template POPSDropdownButtonStyle
|
||||
{
|
||||
block "pops_dropdown_button_style"
|
||||
{
|
||||
texture = "gfx/editor_gui/editor_dropdown.dds"
|
||||
spriteType = CorneredStretched
|
||||
gfxtype = framedbuttongfx
|
||||
effectname = "NoHighlight"
|
||||
spriteborder = { 4 4 }
|
||||
spriteborder_right = 24
|
||||
button_trigger = none
|
||||
framesize = { 32 16 }
|
||||
upframe = 1
|
||||
downframe = 2
|
||||
overframe = 3
|
||||
disableframe = 4
|
||||
}
|
||||
}
|
||||
|
||||
template pops_dropdown_enum
|
||||
{
|
||||
block "pops_dropdown_enum"
|
||||
{
|
||||
alwaystransparent = no
|
||||
active_item = {
|
||||
widget = {
|
||||
size = { 250 30 }
|
||||
block "active_item"
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
button = {
|
||||
size = { 100% 100% }
|
||||
using = POPSDropdownButtonStyle
|
||||
}
|
||||
|
||||
editor_textbox = {
|
||||
block "item_text"
|
||||
{
|
||||
text = ""
|
||||
}
|
||||
position = { 10 0 }
|
||||
parentanchor = vcenter|left
|
||||
fontsize = 12
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
item = {
|
||||
widget = {
|
||||
size = { 250 20 }
|
||||
block "item"
|
||||
{
|
||||
}
|
||||
|
||||
button = {
|
||||
size = { 100% 100% }
|
||||
texture = "gfx/editor_gui/editor_dropdown_item.dds"
|
||||
spriteType = CorneredTiled
|
||||
spriteborder = { 1 1 }
|
||||
gfxtype = framedbuttongfx
|
||||
framesize = { 8 8 }
|
||||
upframe = 1
|
||||
downframe = 2
|
||||
overframe = 2
|
||||
disableframe = 1
|
||||
button_trigger = none
|
||||
}
|
||||
|
||||
editor_textbox = {
|
||||
block "item_text"
|
||||
{
|
||||
text = ""
|
||||
}
|
||||
position = { 10 8 }
|
||||
fontsize = 12
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
list = {
|
||||
scrollarea = {
|
||||
position = { 2 30 }
|
||||
autoresizescrollarea = yes
|
||||
alwaystransparent = yes
|
||||
maximumsize = { 250 210 }
|
||||
block "scrollarea"
|
||||
{
|
||||
}
|
||||
|
||||
background = {
|
||||
margin = { 2 2 }
|
||||
margin_bottom = 6
|
||||
margin_right = 6
|
||||
texture = "gfx/editor_gui/editor_dropdown_list.dds"
|
||||
spriteType = CorneredStretched
|
||||
spriteborder = { 6 6 }
|
||||
spriteborder_right = 8
|
||||
spriteborder_bottom = 8
|
||||
shaderfile = "gfx/FX/pdxgui_default.shader"
|
||||
}
|
||||
|
||||
scrollwidget = {
|
||||
dynamicgridbox = {
|
||||
alwaystransparent = no
|
||||
}
|
||||
}
|
||||
|
||||
scrollbar_vertical = {
|
||||
using = editor_vertical_scrollbar
|
||||
}
|
||||
|
||||
scrollbar_horizontal = {
|
||||
using = editor_horizontal_scrollbar
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
types POPS
|
||||
{
|
||||
type pops_vertical_spacer = widget {
|
||||
block "pops_vertical_spacer"
|
||||
{
|
||||
size = { 0 5 }
|
||||
}
|
||||
}
|
||||
|
||||
type pops_horizontal_spacer = widget {
|
||||
block "pops_horizontal_spacer"
|
||||
{
|
||||
size = { 5 0 }
|
||||
}
|
||||
}
|
||||
|
||||
type pops_window = window {
|
||||
|
||||
block "pops_window"
|
||||
{
|
||||
using = Window_Movable
|
||||
|
||||
vbox = {
|
||||
using = Window_Margins
|
||||
|
||||
block "content_layout"
|
||||
{}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
type pops_button = button {
|
||||
block "pops_button_size"
|
||||
{
|
||||
size = { 150 50 }
|
||||
minimumsize = { 150 50 }
|
||||
}
|
||||
|
||||
using = POPSButtonStyle
|
||||
|
||||
buttonText = {
|
||||
textbox = {
|
||||
using = POPSButtonTextStyle
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
type pops_button_wide = pops_button {
|
||||
block "pops_button_size"
|
||||
{
|
||||
size = { 200 50 }
|
||||
minimumsize = { 150 50 }
|
||||
}
|
||||
}
|
||||
|
||||
type pops_load_indicator = progressbar
|
||||
{
|
||||
# parentanchor = vcenter|hcenter
|
||||
size = { 44 44 }
|
||||
gfxtype = framedprogressbargfx
|
||||
texture = "gfx/interface/loading_progress.dds"
|
||||
framesize = { 44 44 }
|
||||
loopinterval = 1.5
|
||||
max = 0
|
||||
block "load_indicator"
|
||||
{
|
||||
visible = no
|
||||
}
|
||||
}
|
||||
|
||||
type pops_button_load_indicator = button_standard {
|
||||
pops_load_indicator = {}
|
||||
}
|
||||
|
||||
type pops_textbox = textbox {
|
||||
text = ""
|
||||
block "textbox_size"
|
||||
{
|
||||
size = { 200 30 }
|
||||
}
|
||||
using = POPSTextStyle
|
||||
block "textboxstyle"
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
type pops_error_textbox = textbox {
|
||||
text = ""
|
||||
multiline = yes
|
||||
layoutpolicy_vertical = expanding
|
||||
using = POPSErrorTextStyle
|
||||
block "textboxstyle"
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
type pops_required_textbox = textbox {
|
||||
block "required_field"
|
||||
{
|
||||
raw_text = "*"
|
||||
}
|
||||
minimumsize = { 10 -1 }
|
||||
using = POPSTextStyle
|
||||
autoresize = yes
|
||||
block "textboxstyle"
|
||||
{
|
||||
}
|
||||
fontcolor = { 1 0 0 1 }
|
||||
}
|
||||
|
||||
type pops_dropdown = dropDown {
|
||||
layoutpolicy_horizontal = expanding
|
||||
block "pops_dropdown_name"
|
||||
{
|
||||
name = "pops_dropdown"
|
||||
}
|
||||
block "pops_dropdown"
|
||||
{
|
||||
}
|
||||
using = pops_dropdown_enum
|
||||
}
|
||||
|
||||
type pops_textbox_entry = hbox {
|
||||
layoutpolicy_horizontal = expanding
|
||||
restrictparent_min = yes
|
||||
layoutpolicy_vertical = fixed
|
||||
|
||||
editbox_standard_with_label = {
|
||||
blockoverride "editbox_label"
|
||||
{
|
||||
block "title"
|
||||
{
|
||||
raw_text = "#D Title:#!"
|
||||
}
|
||||
}
|
||||
layoutpolicy_horizontal = expanding
|
||||
block "editbox_size"
|
||||
{
|
||||
size = { 130 30 }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
type pops_dropdown_entry = hbox {
|
||||
layoutpolicy_horizontal = expanding
|
||||
pops_required_textbox={}
|
||||
pops_vertical_spacer={}
|
||||
pops_textbox = {
|
||||
block "title"
|
||||
{
|
||||
raw_text = "#D Title:#!"
|
||||
}
|
||||
}
|
||||
pops_dropdown = {
|
||||
}
|
||||
}
|
||||
|
||||
type pops_checkbutton = hbox {
|
||||
checkbutton = {
|
||||
gfxtype = checkbuttongfx
|
||||
shaderfile = "gfx/FX/pdxgui_pushbutton.shader"
|
||||
texture = "gfx/editor_gui/editor_checkbox.dds"
|
||||
framesize = { 16 16 }
|
||||
size = { 32 32 }
|
||||
|
||||
block "checkbutton"
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
pops_horizontal_spacer={}
|
||||
|
||||
pops_textbox = {
|
||||
multiline = yes
|
||||
#size = { 300 100% }
|
||||
maximumsize = { 300 800 }
|
||||
minimumsize = { 200 50 }
|
||||
align = top
|
||||
|
||||
block "label"
|
||||
{
|
||||
raw_text = "#D Label#!"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,668 +0,0 @@
|
|||
|
||||
types POPS
|
||||
{
|
||||
type pops_login_window = window {
|
||||
name = "pops_login_window"
|
||||
size = { 100% 100% }
|
||||
movable = no
|
||||
layer = confirmation
|
||||
|
||||
using = Animation_ShowHide_Quick
|
||||
using = Background_Full_Dim
|
||||
|
||||
button = {
|
||||
size = { 100% 100% }
|
||||
onclick = "[POPSLoginView.Hide]"
|
||||
}
|
||||
|
||||
widget = {
|
||||
size = { 600 400 }
|
||||
parentanchor = center
|
||||
alwaystransparent = no
|
||||
|
||||
using = Window_Decoration_Frontend_Spike
|
||||
using = Window_Background
|
||||
|
||||
widget = {
|
||||
position = { 45 20 }
|
||||
allow_outside = yes
|
||||
|
||||
highlight_icon = {
|
||||
size = { 44 44 }
|
||||
texture = "gfx/interface/icons/flat_icons/account.dds"
|
||||
alpha = 0.4
|
||||
using = Master_Button_Modify_Texture
|
||||
|
||||
blockoverride "master_color_frame" {
|
||||
frame = 4
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
using = Window_Margins
|
||||
|
||||
vbox = {
|
||||
name = "log_in"
|
||||
visible = "[POPSLoginView.IsLogin]"
|
||||
layoutpolicy_vertical = expanding
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
header_pattern = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
blockoverride "header_text"
|
||||
{
|
||||
text = "POPS_LOGIN"
|
||||
}
|
||||
|
||||
blockoverride "button_close"
|
||||
{
|
||||
onclick = "[POPSLoginView.Hide]"
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
minimumsize = { 500 0 }
|
||||
spacing = 5
|
||||
margin = { 20 10 }
|
||||
|
||||
pops_textbox_entry = {
|
||||
name = "pops_login_entry_email"
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
blockoverride "title"
|
||||
{
|
||||
text = "EMAIL"
|
||||
}
|
||||
blockoverride "editbox_properties"
|
||||
{
|
||||
name = "pops_editbox"
|
||||
text = "[POPSLoginView.GetEmail]"
|
||||
focus_on_visible = yes
|
||||
ontextchanged = "[POPSLoginView.SetEmail]"
|
||||
onreturnpressed = "[POPSLoginView.Login]"
|
||||
maxcharacters = 255
|
||||
}
|
||||
}
|
||||
|
||||
pops_textbox_entry = {
|
||||
name = "pops_login_entry_password"
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
blockoverride "title"
|
||||
{
|
||||
text = "PASSWORD"
|
||||
}
|
||||
|
||||
blockoverride "editbox_properties"
|
||||
{
|
||||
name = "pops_editbox"
|
||||
text = "[POPSLoginView.GetPassword]"
|
||||
ontextchanged = "[POPSLoginView.SetPassword]"
|
||||
onreturnpressed = "[POPSLoginView.Login]"
|
||||
password = yes
|
||||
}
|
||||
}
|
||||
|
||||
text_multi = {
|
||||
text = "[POPSLoginView.GetErrorMessage]"
|
||||
default_format = "#X"
|
||||
visible = "[Not(POPSStatusIsLoggingIn)]"
|
||||
multiline = yes
|
||||
layoutpolicy_horizontal = expanding
|
||||
align = center
|
||||
autoresize = yes
|
||||
max_width = 500
|
||||
}
|
||||
|
||||
expand = {
|
||||
layoutpolicy_vertical = expanding
|
||||
visible = "[Not(POPSStatusIsLoggingIn)]"
|
||||
}
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
visible = "[And(Not(POPSStatusIsLoggingIn), Not(POPSStatusIsLoggedIn))]"
|
||||
spacing = 10
|
||||
|
||||
button_tertiary = {
|
||||
text = "POPS_LOGIN_RESET_PASSWORD"
|
||||
onclick = "[POPSLoginView.SetState( 'password_reset' )]"
|
||||
}
|
||||
|
||||
expand = {}
|
||||
|
||||
button_primary = {
|
||||
text = "[POPSLoginView.GetLoginString]"
|
||||
layoutpolicy_horizontal = fixed
|
||||
enabled = "[POPSLoginView.IsValidLoginInfo]"
|
||||
onclick = "[POPSLoginView.Login]"
|
||||
}
|
||||
}
|
||||
|
||||
### ANIMATIONS ####
|
||||
vbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
visible = "[POPSStatusIsLoggingIn]"
|
||||
hbox = {
|
||||
spacing = 5
|
||||
|
||||
text_single = {
|
||||
text = "LOGGING_IN"
|
||||
}
|
||||
|
||||
pops_load_indicator = {
|
||||
blockoverride "load_indicator"
|
||||
{
|
||||
visible = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
background = {
|
||||
using = Background_Area_Border
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
visible = "[And(Not(POPSStatusIsLoggingIn), POPSStatusIsLoggedIn)]"
|
||||
|
||||
text_single = {
|
||||
text = "POPS_LOGIN_LOGGED_IN"
|
||||
}
|
||||
|
||||
button_standard = {
|
||||
text = "CLOSE_LABEL"
|
||||
layoutpolicy_horizontal = fixed
|
||||
onclick = "[POPSLoginView.Hide]"
|
||||
}
|
||||
|
||||
background = {
|
||||
using = Background_Area_Border_Solid
|
||||
}
|
||||
}
|
||||
|
||||
### CREATE ACCOUNT ###
|
||||
hbox = {
|
||||
visible = "[And(And(Not(POPSLoginView.IsRestoringPassword), Not(POPSStatusIsLoggedIn)), Not(POPSLoginView.IsEmailSent))]"
|
||||
layoutpolicy_horizontal = expanding
|
||||
margin = { 20 10 }
|
||||
|
||||
background = {
|
||||
using = Background_Area
|
||||
}
|
||||
|
||||
text_multi = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
text = "POPS_CREATE_ACCOUNT_CREARE_SUGGESTION"
|
||||
align = nobaseline
|
||||
}
|
||||
|
||||
expand = {}
|
||||
|
||||
button_standard = {
|
||||
text = "CREATE_ACCOUNT"
|
||||
onclick = "[OnCreateAccount]"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
name = "forgot_password"
|
||||
visible = "[POPSLoginView.IsRestoringPassword]"
|
||||
layoutpolicy_vertical = expanding
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
header_pattern = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
blockoverride "header_text"
|
||||
{
|
||||
text = "POPS_FORGOT_PASSWORD"
|
||||
}
|
||||
|
||||
blockoverride "button_close"
|
||||
{
|
||||
onclick = "[POPSLoginView.Hide]"
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
layoutpolicy_vertical = expanding
|
||||
layoutpolicy_horizontal = expanding
|
||||
margin = { 20 10 }
|
||||
spacing = 5
|
||||
|
||||
vbox = {
|
||||
layoutpolicy_vertical = expanding
|
||||
text_multi = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
autoresize = yes
|
||||
max_width = 500
|
||||
text = "POPS_LOGIN_RESET_PASSWORD_DESC"
|
||||
}
|
||||
|
||||
spacer = {
|
||||
size = { -1 20 }
|
||||
}
|
||||
|
||||
pops_textbox_entry = {
|
||||
name = "pops_login_entry_email"
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
blockoverride "title"
|
||||
{
|
||||
text = "EMAIL"
|
||||
}
|
||||
|
||||
blockoverride "editbox_properties"
|
||||
{
|
||||
name = "pops_editbox"
|
||||
text = "[POPSLoginView.GetEmail]"
|
||||
ontextchanged = "[POPSLoginView.SetEmail]"
|
||||
onreturnpressed = "[POPSLoginView.ResetPassword]"
|
||||
maxcharacters = 255
|
||||
}
|
||||
block "editbox_size"
|
||||
{
|
||||
size = { 100 0 }
|
||||
}
|
||||
}
|
||||
|
||||
expand = {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
hbox = {
|
||||
spacing = 10
|
||||
|
||||
button_standard = {
|
||||
text = "CANCEL"
|
||||
onclick = "[POPSLoginView.SetState( 'login' )]"
|
||||
}
|
||||
|
||||
|
||||
button_standard = {
|
||||
text = "POPS_LOGIN_RESET_PASSWORD_SEND"
|
||||
onclick = "[POPSLoginView.ResetPassword]"
|
||||
onclick = "[POPSLoginView.SetState( 'email_sent' )]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
name = "forgot_password_sent"
|
||||
visible = "[POPSLoginView.IsEmailSent]"
|
||||
layoutpolicy_vertical = expanding
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
header_pattern = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
blockoverride "header_text"
|
||||
{
|
||||
text = "POPS_FORGOT_PASSWORD"
|
||||
}
|
||||
|
||||
blockoverride "button_close"
|
||||
{
|
||||
onclick = "[POPSLoginView.Hide]"
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
layoutpolicy_vertical = expanding
|
||||
layoutpolicy_horizontal = expanding
|
||||
spacing = 5
|
||||
margin = { 20 10 }
|
||||
|
||||
text_multi = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
max_width = 500
|
||||
autoresize = yes
|
||||
text = "POPS_LOGIN_RESET_PASSWORD_EMAIL_SENT"
|
||||
}
|
||||
|
||||
expand = {}
|
||||
|
||||
button_standard_back = {
|
||||
text = "BACK_LABEL"
|
||||
layoutpolicy_horizontal = fixed
|
||||
onclick = "[POPSLoginView.SetState( 'login' )]"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
name = "account_info"
|
||||
visible = "[POPSLoginView.IsLoggedIn]"
|
||||
layoutpolicy_vertical = expanding
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
header_pattern = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
blockoverride "header_text"
|
||||
{
|
||||
text = "PARADOX_ACCOUNT"
|
||||
}
|
||||
|
||||
blockoverride "button_close"
|
||||
{
|
||||
onclick = "[POPSLoginView.Hide]"
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
margin = { 20 10 }
|
||||
|
||||
spacer = {
|
||||
size = { -1 20 }
|
||||
}
|
||||
|
||||
vbox = {
|
||||
layoutpolicy_vertical = expanding
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
vbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
maximumsize = { 350 0 }
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
spacing = 5
|
||||
|
||||
hbox = {
|
||||
text_single = {
|
||||
text = "EMAIL"
|
||||
align = nobaseline
|
||||
}
|
||||
|
||||
text_single = {
|
||||
raw_text = ":"
|
||||
align = nobaseline
|
||||
}
|
||||
}
|
||||
|
||||
text_single = {
|
||||
default_format = "#high"
|
||||
text = "[POPStatusGetUserEmailMasked]"
|
||||
align = nobaseline
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
spacing = 5
|
||||
minimumsize = { 0 33 }
|
||||
|
||||
hbox = {
|
||||
text_single = {
|
||||
text = "USER_NAME"
|
||||
align = nobaseline
|
||||
}
|
||||
|
||||
text_single = {
|
||||
raw_text = ":"
|
||||
align = nobaseline
|
||||
}
|
||||
}
|
||||
|
||||
hbox = {
|
||||
visible = "[Not( POPStatusIsUserNameEmpty )]"
|
||||
spacing = 5
|
||||
|
||||
text_single = {
|
||||
default_format = "#high"
|
||||
text = "[POPStatusGetUserName]"
|
||||
align = nobaseline
|
||||
}
|
||||
|
||||
button_change = {
|
||||
size = { 24 24 }
|
||||
onclick = "[POPSLoginView.SetState( 'change_username' )]"
|
||||
}
|
||||
}
|
||||
|
||||
hbox = {
|
||||
visible = "[POPStatusIsUserNameEmpty]"
|
||||
|
||||
button_standard = {
|
||||
text = "POPS_LOGIN_ADD_USER_NAME"
|
||||
onclick = "[POPSLoginView.SetState( 'change_username' )]"
|
||||
}
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
|
||||
spacer = {
|
||||
size = { 10 30 }
|
||||
}
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
spacing = 10
|
||||
visible = "[And( POPSStatusIsLoggedIn, POPSStatusIsSupportConnectedAccount )]"
|
||||
|
||||
button_checkbox = {
|
||||
visible = "[Not( POPSLoginView.IsConnectingAccount )]"
|
||||
size = { 24 24 }
|
||||
checked = "[POPSStatusIsAccountConnected]"
|
||||
onclick = "[POPSLoginView.ToggleConnected]"
|
||||
}
|
||||
|
||||
pops_load_indicator = {
|
||||
size = { 24 24 }
|
||||
visible = "[POPSLoginView.IsConnectingAccount]"
|
||||
blockoverride "load_indicator"
|
||||
{
|
||||
visible = yes
|
||||
}
|
||||
}
|
||||
|
||||
text_single = {
|
||||
text = "POPS_LOGIN_BIND_STEAM"
|
||||
align = nobaseline
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
|
||||
text_multi = {
|
||||
text = "[POPSLoginView.GetErrorMessage]"
|
||||
default_format = "#X"
|
||||
multiline = yes
|
||||
layoutpolicy_horizontal = expanding
|
||||
align = center
|
||||
autoresize = yes
|
||||
max_width = 500
|
||||
}
|
||||
}
|
||||
|
||||
expand = {}
|
||||
|
||||
hbox = {
|
||||
spacing = 10
|
||||
|
||||
button_standard = {
|
||||
text = "CLOSE_LABEL"
|
||||
layoutpolicy_horizontal = fixed
|
||||
onclick = "[POPSLoginView.Hide]"
|
||||
}
|
||||
|
||||
button_standard = {
|
||||
text = "LOGOUT"
|
||||
onclick = [POPSLoginView.Logout]
|
||||
onclick = "[POPSLoginView.SetState( 'login' )]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
name = "change_username"
|
||||
layoutpolicy_vertical = expanding
|
||||
layoutpolicy_horizontal = expanding
|
||||
visible = "[POPSLoginView.IsChangingUserName]"
|
||||
|
||||
header_pattern = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
blockoverride "header_text"
|
||||
{
|
||||
text = "PDX_USERNAME"
|
||||
}
|
||||
|
||||
blockoverride "button_close"
|
||||
{
|
||||
onclick = "[POPSLoginView.Hide]"
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
layoutpolicy_vertical = expanding
|
||||
layoutpolicy_horizontal = expanding
|
||||
margin = { 20 10 }
|
||||
|
||||
text_multi = {
|
||||
text = "POPS_LOGIN_CHANGE_USER_NAME_DESC"
|
||||
max_width = 500
|
||||
autoresize = yes
|
||||
}
|
||||
|
||||
spacer = {
|
||||
size = { -1 20 }
|
||||
}
|
||||
|
||||
hbox = {
|
||||
spacing = 10
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
vbox = {
|
||||
spacing = 2
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
editbox_standard_with_label = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
blockoverride "editbox_label"
|
||||
{
|
||||
text = "USERNAME"
|
||||
}
|
||||
size = { 320 30 }
|
||||
blockoverride "editbox_properties"
|
||||
{
|
||||
name = "edit_username"
|
||||
text = "[POPStatusGetUserName]"
|
||||
onreturnpressed = "[POPSLoginView.SetUserName]"
|
||||
ontextedited = "[POPSLoginView.OnUserNameChange]"
|
||||
maxcharacters = 255
|
||||
}
|
||||
}
|
||||
|
||||
hbox = {
|
||||
visible = "[POPSLoginView.IsEmptyUserNamePrompt]"
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
text_single = {
|
||||
text = "POPS_LOGIN_EMPTY_USERNAME"
|
||||
default_format = "#negative_value;italic"
|
||||
}
|
||||
}
|
||||
|
||||
text_multi = {
|
||||
text = "[POPSLoginView.GetErrorMessage]"
|
||||
default_format = "#X"
|
||||
multiline = yes
|
||||
layoutpolicy_horizontal = expanding
|
||||
align = center
|
||||
autoresize = yes
|
||||
}
|
||||
|
||||
text_single = {
|
||||
visible = "[POPSLoginView.IsSuccessfulSetName]"
|
||||
text = "POPS_LOGIN_CHANGE_USERNAME_SUCCESS"
|
||||
align = left
|
||||
layoutpolicy_horizontal = expanding
|
||||
}
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
|
||||
|
||||
expand = {}
|
||||
|
||||
hbox = {
|
||||
spacing = 10
|
||||
|
||||
button_standard_back = {
|
||||
text = "BACK_LABEL"
|
||||
layoutpolicy_horizontal = fixed
|
||||
onclick = "[POPSLoginView.SetState( 'logged_in' )]"
|
||||
}
|
||||
|
||||
button_standard = {
|
||||
text = "UPDATE_USERNAME"
|
||||
layoutpolicy_horizontal = fixed
|
||||
onclick = "[POPSLoginView.SetUserName]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
type pops_login_accountwidget = button_account {
|
||||
name = "account"
|
||||
tooltip = "[SelectLocalization( POPSStatusIsLoggedIn, 'FRONTEND_LOGGED_IN', 'FRONTEND_LOGIN_FOR_MUTLIPLAYER_TT' )]"
|
||||
|
||||
block "properties" {
|
||||
onclick = "[POPSStatusWidget.ToggleLoginWindow]"
|
||||
}
|
||||
enabled = "[Not(POPSStatusIsLoggingIn)]"
|
||||
|
||||
pops_load_indicator = {
|
||||
blockoverride "load_indicator"
|
||||
{
|
||||
visible = "[POPSStatusIsLoggingIn]"
|
||||
size = { 15 15 }
|
||||
parentanchor = right|top
|
||||
widgetanchor = left
|
||||
}
|
||||
}
|
||||
|
||||
icon_circle_green = {
|
||||
name = "online"
|
||||
visible = "[POPSStatusIsLoggedIn]"
|
||||
parentanchor = right|top
|
||||
widgetanchor = left
|
||||
}
|
||||
|
||||
icon_ring = {
|
||||
name = "offline"
|
||||
visible = "[Not(POPSStatusIsLoggedIn)]"
|
||||
size = { 15 15 }
|
||||
alpha = 0.5
|
||||
parentanchor = right|top
|
||||
widgetanchor = left
|
||||
}
|
||||
|
||||
block "text" {}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
pops_login_window = {
|
||||
visible_at_creation = no
|
||||
}
|
||||
|
|
@ -1,161 +0,0 @@
|
|||
types Achievements
|
||||
{
|
||||
type vbox_achievement_group = vbox {
|
||||
layoutpolicy_horizontal = expanding
|
||||
margin = { 10 0 }
|
||||
margin_top = 10
|
||||
|
||||
button_normal = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
size = { 0 25 }
|
||||
onclick = "[Group.ToggleCollapsed]"
|
||||
|
||||
hbox = {
|
||||
margin = { 10 0 }
|
||||
spacing = 10
|
||||
|
||||
background = {
|
||||
using = Background_Area
|
||||
margin = { 0 5 }
|
||||
}
|
||||
|
||||
button_expand = {
|
||||
onclick = "[Group.ToggleCollapsed]"
|
||||
frame = "[Select_int32( Group.IsCollapsed, '(int32)1', '(int32)2' )]"
|
||||
}
|
||||
|
||||
text_single = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
text = "ACHIEVEMENT_GROUP_TITLE"
|
||||
default_format = "#low"
|
||||
align = nobaseline
|
||||
tooltip = "ACHIEVEMENT_GROUP_TOOLTIP"
|
||||
alwaystransparent = yes
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
}
|
||||
|
||||
spacer = {
|
||||
size = { 5 5 }
|
||||
}
|
||||
|
||||
vbox = {
|
||||
datamodel = "[Group.AccessVisibleAchievements]"
|
||||
visible = "[Not(Group.IsCollapsed)]"
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
item = {
|
||||
widget_achievement_list_entry = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
type widget_achievement_list_entry = widget {
|
||||
minimumsize = { 0 80 }
|
||||
|
||||
hbox = {
|
||||
set_parent_size_to_minimum = yes
|
||||
spacing = 10
|
||||
margin = { 0 5 }
|
||||
|
||||
vbox = {
|
||||
layoutpolicy_vertical = expanding
|
||||
|
||||
### IMAGE ####
|
||||
widget = {
|
||||
layoutpolicy_vertical = expanding
|
||||
size = { 70 70 }
|
||||
|
||||
icon = {
|
||||
visible = "[GUIAchievement.GetAchievement.IsUnlocked]"
|
||||
texture = "[GUIAchievement.AccessTexture]"
|
||||
size = { 64 64 }
|
||||
alpha = "[Select_float(GUIAchievement.GetAchievement.IsUnlocked,'(float)1.0','(float)0.5')]"
|
||||
tooltip = "ACHIEVEMENT_UNLOCKED"
|
||||
|
||||
block "achievement_icon" {}
|
||||
}
|
||||
|
||||
#### LOCKED
|
||||
highlight_icon = {
|
||||
visible = "[Not(GUIAchievement.GetAchievement.IsUnlocked)]"
|
||||
texture = "[GUIAchievement.AccessTexture]"
|
||||
size = { 64 64 }
|
||||
alpha = "[Select_float(GUIAchievement.GetAchievement.IsUnlocked,'(float)1.0','(float)0.5')]"
|
||||
tooltip = "ACHIEVEMENT_LOCKED"
|
||||
|
||||
effectname = "GreyedOut"
|
||||
|
||||
highlight_icon = {
|
||||
size = { 96% 97% }
|
||||
parentanchor = center
|
||||
texture = "gfx/interface/component_masks/mask_frame_horizontal.dds"
|
||||
tintcolor = { 0 0 0 0.6 }
|
||||
}
|
||||
}
|
||||
|
||||
##### IS NOT POSSIBLE
|
||||
highlight_icon = {
|
||||
visible = "[Not(GUIAchievement.IsPossible)]"
|
||||
texture = "[GUIAchievement.AccessTexture]"
|
||||
size = { 64 64 }
|
||||
alpha = "[Select_float(GUIAchievement.GetAchievement.IsUnlocked,'(float)1.0','(float)0.5')]"
|
||||
tooltip = "ACHIEVEMENT_NOT_POSSIBLE"
|
||||
|
||||
effectname = "GreyedOut"
|
||||
}
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
|
||||
##TEXT###
|
||||
vbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
margin_bottom = 4
|
||||
|
||||
text_single = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
text = "[GUIAchievement.GetName]"
|
||||
alpha = "[Select_float(GUIAchievement.GetAchievement.IsUnlocked,'(float)1.0','(float)0.5')]"
|
||||
tooltip = "[GUIAchievement.GetHappenedDescription]"
|
||||
default_format = "#high"
|
||||
max_width = 470
|
||||
using = Font_Size_Medium
|
||||
align = nobaseline
|
||||
|
||||
block "achievement_name" {}
|
||||
}
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
text_multi = {
|
||||
text = "[GUIAchievement.GetDescription]"
|
||||
align = nobaseline
|
||||
autoresize = yes
|
||||
max_width = 470
|
||||
alpha = "[Select_float(GUIAchievement.GetAchievement.IsUnlocked,'(float)1.0','(float)0.5')]"
|
||||
tooltip = "[GUIAchievement.GetHappenedDescription]"
|
||||
|
||||
block "achievement_description" {}
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
divider_light = {
|
||||
parentanchor = bottom|hcenter
|
||||
size = { 100% 3 }
|
||||
position = { 0 -2 }
|
||||
alpha = 0.5
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,129 +0,0 @@
|
|||
window = {
|
||||
name = "achievements_window"
|
||||
size = { 100% 100% }
|
||||
movable = no
|
||||
layer = confirmation
|
||||
|
||||
using = Animation_ShowHide_Quick
|
||||
using = Background_Full_Dim
|
||||
|
||||
button_normal = {
|
||||
size = { 100% 100% }
|
||||
onclick = "[AchievementWindow.Hide]"
|
||||
}
|
||||
|
||||
widget = {
|
||||
parentanchor = center
|
||||
size = { 700 880 }
|
||||
alwaystransparent = no
|
||||
|
||||
using = Window_Background
|
||||
using = Window_Decoration_Frontend_Spike
|
||||
|
||||
vbox = {
|
||||
alwaystransparent = yes
|
||||
using = Window_Margins
|
||||
datacontext = "[GetGameRules]"
|
||||
spacing = 10
|
||||
|
||||
header_pattern = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
blockoverride "header_text" {
|
||||
text = "ACHIEVEMENTS"
|
||||
}
|
||||
|
||||
blockoverride "button_close"
|
||||
{
|
||||
onclick = "[AchievementWindow.Hide]"
|
||||
shortcut = "close_window"
|
||||
}
|
||||
}
|
||||
|
||||
hbox_achievements_info = {
|
||||
name = "ironman_and_achievements_info"
|
||||
visible = "[AchievementWindow.HasGameStarted]"
|
||||
}
|
||||
|
||||
hbox = {
|
||||
block "filter_locked_hbox" {}
|
||||
margin = { 0 10 }
|
||||
spacing = 5
|
||||
|
||||
text_single = {
|
||||
text = "ACHIEVEMENT_FILTER_SHOW"
|
||||
align = nobaseline
|
||||
margin_right = 5
|
||||
}
|
||||
|
||||
button_standard_list = {
|
||||
size = { 80 25 }
|
||||
text = "ACHIEVEMENT_FILTER_BUTTON_ALL"
|
||||
tooltip = "ACHIEVEMENT_FILTER_ALL_TOOLTIP"
|
||||
|
||||
down = "[AchievementWindow.ShouldShowAll]"
|
||||
onclick = "[AchievementWindow.ShowAll]"
|
||||
alwaystransparent = "[AchievementWindow.ShouldShowAll]"
|
||||
}
|
||||
|
||||
button_standard_list = {
|
||||
visible = "[AchievementWindow.HasGameStarted]"
|
||||
size = { 80 25 }
|
||||
text = "ACHIEVEMENT_FILTER_BUTTON_POSSIBLE"
|
||||
tooltip = "ACHIEVEMENT_FILTER_POSSIBLE_TOOLTIP"
|
||||
|
||||
down = "[AchievementWindow.ShouldShowPossible]"
|
||||
onclick = "[AchievementWindow.ShowPossible]"
|
||||
}
|
||||
|
||||
button_standard_list = {
|
||||
size = { 80 25 }
|
||||
text = "ACHIEVEMENT_FILTER_BUTTON_UNLOCKED"
|
||||
tooltip = "ACHIEVEMENT_FILTER_UNLOCKED_TOOLTIP"
|
||||
|
||||
down = "[AchievementWindow.ShouldShowUnlocked]"
|
||||
onclick = "[AchievementWindow.ShowUnlocked]"
|
||||
}
|
||||
|
||||
button_standard_list = {
|
||||
visible = "[Not( AchievementWindow.HasGameStarted )]"
|
||||
size = { 80 25 }
|
||||
text = "ACHIEVEMENT_FILTER_BUTTON_LOCKED"
|
||||
tooltip = "ACHIEVEMENT_FILTER_LOCKED_TOOLTIP"
|
||||
|
||||
down = "[AchievementWindow.ShouldShowLocked]"
|
||||
onclick = "[AchievementWindow.ShowLocked]"
|
||||
}
|
||||
}
|
||||
|
||||
### CONTENT ###
|
||||
scrollbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
|
||||
blockoverride "scrollbox_content" {
|
||||
vbox = {
|
||||
datamodel = "[AchievementWindow.AccessGroups]"
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
item = {
|
||||
vbox_achievement_group = {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
hbox = {
|
||||
margin = { 0 10 }
|
||||
margin_top = 5
|
||||
|
||||
button_primary = {
|
||||
text = "CLOSE_LABEL"
|
||||
onclick = "[AchievementWindow.Hide]"
|
||||
shortcut = "close_window"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,103 +0,0 @@
|
|||
types Achievements
|
||||
{
|
||||
type achievement_spacer_horizontal = widget {
|
||||
size = { 5 0 }
|
||||
}
|
||||
type achievement_spacer_vertical = widget {
|
||||
size = { 0 3 }
|
||||
}
|
||||
}
|
||||
|
||||
window = {
|
||||
name = "achievement_popup_window"
|
||||
alwaystransparent = yes
|
||||
scissor = no
|
||||
movable = no
|
||||
size = { 300 500 }
|
||||
widgetanchor = top|left
|
||||
focuspolicy = all
|
||||
block "popup_window"
|
||||
{}
|
||||
|
||||
|
||||
vbox = {
|
||||
restrictparent_min = yes
|
||||
block "popup_window_layout"
|
||||
{}
|
||||
|
||||
dynamicgridbox = {
|
||||
alwaystransparent = yes
|
||||
datamodel = "[AchievementPopup.AccessJustUnlockedAchievements]"
|
||||
layoutpolicy_vertical = expanding
|
||||
block "popups_gridbox"
|
||||
{}
|
||||
|
||||
item = {
|
||||
button = {
|
||||
size = { 300 64 }
|
||||
maximumsize = { 300 64 }
|
||||
visible = yes
|
||||
focuspolicy = click
|
||||
onclick = "[GUIAchievement.OnClick]"
|
||||
block "achievement_unlock_popup"
|
||||
{}
|
||||
hbox = {
|
||||
margin = { 5 5 }
|
||||
|
||||
using = Window_Background_Subwindow
|
||||
|
||||
icon = {
|
||||
texture = "[GUIAchievement.AccessTexture]"
|
||||
size = { 64 64 }
|
||||
}
|
||||
|
||||
spacer = {
|
||||
size = { 5 5 }
|
||||
}
|
||||
|
||||
state = {
|
||||
name = on_create
|
||||
duration = 0.5
|
||||
trigger_on_create = yes
|
||||
alpha = 0
|
||||
delay = 5
|
||||
on_finish = "[GUIAchievement.Remove]"
|
||||
block "popup_on_create_state"
|
||||
{}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
margin = { 0 3 }
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
|
||||
text_single = {
|
||||
text = "ACHIEVEMENT_UNLOCKED"
|
||||
margin_right = 3
|
||||
autoresize = no
|
||||
layoutpolicy_horizontal = expanding
|
||||
default_format = "#low"
|
||||
minimumsize = { -1 10 }
|
||||
block "achievement_unlocked_text"
|
||||
{}
|
||||
}
|
||||
|
||||
text_single = {
|
||||
text = "[GUIAchievement.GetName]"
|
||||
layoutpolicy_horizontal = expanding
|
||||
minimumsize = { -1 16 }
|
||||
default_format = "#high"
|
||||
autoresize = no
|
||||
using = Font_Size_Medium
|
||||
align = nobaseline
|
||||
margin_right = 3
|
||||
block "achievement_name"
|
||||
{}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,41 +0,0 @@
|
|||
activity_locale_widget = {
|
||||
name = "locale_artisan_armorsmith_west"
|
||||
|
||||
blockoverride "locale_texture"
|
||||
{
|
||||
size = { 27.1% 29.6% }
|
||||
position = { 67% 27.6% }
|
||||
texture = "gfx/interface/illustrations/activity_locales/locale_armorsmith_west_1.dds"
|
||||
intersectionmask_texture = "gfx/interface/illustrations/activity_locales/locale_armorsmith_west_1_interaction_mask.png"
|
||||
}
|
||||
|
||||
blockoverride "locale_vfx"
|
||||
{
|
||||
activity_locale_vfx = {
|
||||
size = { 80% 80% }
|
||||
position = { 16.5% -35% }
|
||||
entity_instance = "ui_tavern_smoke_small_entity"
|
||||
}
|
||||
|
||||
activity_locale_vfx = {
|
||||
size = { 80% 80% }
|
||||
position = { -3.5% -24% }
|
||||
entity_instance = "ui_tavern_smoke_large_entity"
|
||||
}
|
||||
}
|
||||
|
||||
widget = {
|
||||
widgetid = "locale_artisan_armorsmith_west"
|
||||
position = { -10% 25% }
|
||||
}
|
||||
}
|
||||
|
||||
## Locale Banner
|
||||
widget_locale_banner = {
|
||||
name = "locale_artisan_armorsmith_west_banner"
|
||||
widgetid = "locale_artisan_armorsmith_west_banner"
|
||||
|
||||
attachto = {
|
||||
widgetid = locale_artisan_armorsmith_west
|
||||
}
|
||||
}
|
||||
|
|
@ -1,34 +0,0 @@
|
|||
activity_locale_widget = {
|
||||
name = "locale_artisan_farrier_west"
|
||||
|
||||
blockoverride "locale_texture"
|
||||
{
|
||||
size = { 27.1% 29.6% }
|
||||
position = { 67% 27.6% }
|
||||
texture = "gfx/interface/illustrations/activity_locales/locale_farrier_west_1.dds"
|
||||
intersectionmask_texture = "gfx/interface/illustrations/activity_locales/locale_farrier_west_1_interaction_mask.png"
|
||||
}
|
||||
|
||||
#blockoverride "locale_vfx"
|
||||
#{
|
||||
#activity_locale_vfx = {
|
||||
# size = { 30% 30% }
|
||||
# position = { 1000 1000 }
|
||||
# entity_instance = "ui_tavern_smoke_entity"
|
||||
#}
|
||||
#}
|
||||
|
||||
widget = {
|
||||
widgetid = "locale_artisan_farrier_west"
|
||||
position = { -10% 25% }
|
||||
}
|
||||
}
|
||||
|
||||
## Locale Banner
|
||||
widget_locale_banner = {
|
||||
name = "locale_artisan_farrier_west_banner"
|
||||
|
||||
attachto = {
|
||||
widgetid = locale_artisan_farrier_west
|
||||
}
|
||||
}
|
||||
|
|
@ -1,34 +0,0 @@
|
|||
activity_locale_widget = {
|
||||
name = "locale_artisan_fletcher_west"
|
||||
|
||||
blockoverride "locale_texture"
|
||||
{
|
||||
size = { 27.1% 29.6% }
|
||||
position = { 67% 27.6% }
|
||||
texture = "gfx/interface/illustrations/activity_locales/locale_fletcher_west_1.dds"
|
||||
intersectionmask_texture = "gfx/interface/illustrations/activity_locales/locale_fletcher_west_1_interaction_mask.png"
|
||||
}
|
||||
|
||||
#blockoverride "locale_vfx"
|
||||
#{
|
||||
#activity_locale_vfx = {
|
||||
# size = { 30% 30% }
|
||||
# position = { 1000 1000 }
|
||||
# entity_instance = "ui_tavern_smoke_entity"
|
||||
#}
|
||||
#}
|
||||
|
||||
widget = {
|
||||
widgetid = "locale_artisan_fletcher_west"
|
||||
position = { -10% 25% }
|
||||
}
|
||||
}
|
||||
|
||||
## Locale Banner
|
||||
widget_locale_banner = {
|
||||
name = "locale_artisan_fletcher_west_banner"
|
||||
|
||||
attachto = {
|
||||
widgetid = locale_artisan_fletcher_west
|
||||
}
|
||||
}
|
||||
|
|
@ -1,38 +0,0 @@
|
|||
activity_locale_widget = {
|
||||
name = "locale_artisan_india"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Artisan
|
||||
|
||||
blockoverride "locale_texture"
|
||||
{
|
||||
size = { 27.1% 29.6% }
|
||||
position = { 67% 27.6% }
|
||||
texture = "gfx/interface/illustrations/activity_locales/locale_artisan_india.dds"
|
||||
intersectionmask_texture = "gfx/interface/illustrations/activity_locales/locale_artisan_india_interaction_mask.png"
|
||||
}
|
||||
|
||||
#blockoverride "locale_vfx"
|
||||
# {
|
||||
# activity_locale_vfx = {
|
||||
# size = { 100% 100% }
|
||||
# position = { 8% -50% }
|
||||
# entity_instance = "ui_tavern_smoke_large_entity"
|
||||
# }
|
||||
# }
|
||||
|
||||
widget = {
|
||||
widgetid = "locale_artisan_india"
|
||||
position = { 0% 80% }
|
||||
}
|
||||
}
|
||||
|
||||
## Locale Banner
|
||||
widget_locale_banner = {
|
||||
name = "locale_artisan_india_banner"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Artisan
|
||||
|
||||
attachto = {
|
||||
widgetid = locale_artisan_india
|
||||
}
|
||||
}
|
||||
|
|
@ -1,38 +0,0 @@
|
|||
activity_locale_widget = {
|
||||
name = "locale_artisan_mena"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Artisan
|
||||
|
||||
blockoverride "locale_texture"
|
||||
{
|
||||
size = { 27.1% 29.6% }
|
||||
position = { 67% 27.6% }
|
||||
texture = "gfx/interface/illustrations/activity_locales/locale_artisan_mena.dds"
|
||||
intersectionmask_texture = "gfx/interface/illustrations/activity_locales/locale_artisan_mena_interaction_mask.png"
|
||||
}
|
||||
|
||||
blockoverride "locale_vfx"
|
||||
{
|
||||
# activity_locale_vfx = {
|
||||
# size = { 100% 100% }
|
||||
# position = { 8% -50% }
|
||||
# entity_instance = "ui_tavern_smoke_large_entity"
|
||||
# }
|
||||
}
|
||||
|
||||
widget = {
|
||||
widgetid = "locale_artisan_mena"
|
||||
position = { -10% 25% }
|
||||
}
|
||||
}
|
||||
|
||||
## Locale Banner
|
||||
widget_locale_banner = {
|
||||
name = "locale_artisan_mena_banner"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Artisan
|
||||
|
||||
attachto = {
|
||||
widgetid = locale_artisan_mena
|
||||
}
|
||||
}
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
activity_locale_widget = {
|
||||
name = "locale_artisan_tailor_west"
|
||||
|
||||
blockoverride "locale_texture"
|
||||
{
|
||||
size = { 27.1% 29.6% }
|
||||
position = { 67% 27.6% }
|
||||
texture = "gfx/interface/illustrations/activity_locales/locale_tailor_west_1.dds"
|
||||
intersectionmask_texture = "gfx/interface/illustrations/activity_locales/locale_tailor_west_1_interaction_mask.png"
|
||||
}
|
||||
|
||||
#blockoverride "locale_vfx"
|
||||
#{
|
||||
#activity_locale_vfx = {
|
||||
# size = { 30% 30% }
|
||||
# position = { 1000 1000 }
|
||||
# entity_instance = "ui_tavern_smoke_entity"
|
||||
#}
|
||||
#}
|
||||
widget = {
|
||||
widgetid = "locale_artisan_tailor_west"
|
||||
position = { -10% 25% }
|
||||
}
|
||||
}
|
||||
|
||||
## Locale Banner
|
||||
widget_locale_banner = {
|
||||
name = "locale_artisan_tailor_west_banner"
|
||||
|
||||
attachto = {
|
||||
widgetid = locale_artisan_tailor_west
|
||||
}
|
||||
}
|
||||
|
|
@ -1,39 +0,0 @@
|
|||
activity_locale_widget = {
|
||||
name = "locale_artisan_weaponsmith_west"
|
||||
|
||||
blockoverride "locale_texture"
|
||||
{
|
||||
size = { 27.1% 29.6% }
|
||||
position = { 67% 27.6% }
|
||||
texture = "gfx/interface/illustrations/activity_locales/locale_weaponsmith_west_1.dds"
|
||||
intersectionmask_texture = "gfx/interface/illustrations/activity_locales/locale_weaponsmith_west_1_interaction_mask.png"
|
||||
}
|
||||
|
||||
blockoverride "locale_vfx"
|
||||
{
|
||||
activity_locale_vfx = {
|
||||
size = { 60% 60% }
|
||||
position = { 31.0% -4% }
|
||||
entity_instance = "ui_tavern_smoke_large_entity"
|
||||
}
|
||||
activity_locale_vfx = {
|
||||
size = { 25% 25% }
|
||||
position = { 39.4% 48.8% }
|
||||
entity_instance = "ui_smithy_entity"
|
||||
}
|
||||
}
|
||||
|
||||
widget = {
|
||||
widgetid = "locale_artisan_weaponsmith_west"
|
||||
position = { -10% 25% }
|
||||
}
|
||||
}
|
||||
|
||||
## Locale Banner
|
||||
widget_locale_banner = {
|
||||
name = "locale_artisan_weaponsmith_west_banner"
|
||||
|
||||
attachto = {
|
||||
widgetid = locale_artisan_weaponsmith_west
|
||||
}
|
||||
}
|
||||
|
|
@ -1,38 +0,0 @@
|
|||
activity_locale_widget = {
|
||||
name = "locale_artisan_west"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Artisan
|
||||
|
||||
blockoverride "locale_texture"
|
||||
{
|
||||
size = { 27.1% 29.6% }
|
||||
position = { 67% 27.6% }
|
||||
texture = "gfx/interface/illustrations/activity_locales/locale_armorsmith_west_1.dds"
|
||||
intersectionmask_texture = "gfx/interface/illustrations/activity_locales/locale_armorsmith_west_1_interaction_mask.png"
|
||||
}
|
||||
|
||||
blockoverride "locale_vfx"
|
||||
{
|
||||
activity_locale_vfx = {
|
||||
size = { 100% 100% }
|
||||
position = { 8% -50% }
|
||||
entity_instance = "ui_tavern_smoke_large_entity"
|
||||
}
|
||||
}
|
||||
|
||||
widget = {
|
||||
widgetid = "locale_artisan_west"
|
||||
position = { -10% 25% }
|
||||
}
|
||||
}
|
||||
|
||||
## Locale Banner
|
||||
widget_locale_banner = {
|
||||
name = "locale_artisan_west_banner"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Artisan
|
||||
|
||||
attachto = {
|
||||
widgetid = locale_artisan_west
|
||||
}
|
||||
}
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
activity_locale_widget = {
|
||||
name = "locale_camp_india"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Camp
|
||||
|
||||
blockoverride "locale_texture"
|
||||
{
|
||||
parentanchor = top|right
|
||||
size = { 38% 38% }
|
||||
position = { 0% 0% }
|
||||
texture = "gfx/interface/illustrations/activity_locales/locale_camp_india.dds"
|
||||
intersectionmask_texture = "gfx/interface/illustrations/activity_locales/locale_camp_india_interaction_mask.png"
|
||||
}
|
||||
|
||||
widget = {
|
||||
widgetid = "locale_camp_india"
|
||||
position = { 10% 40% }
|
||||
}
|
||||
}
|
||||
|
||||
## Locale Banner
|
||||
widget_locale_banner = {
|
||||
name = "locale_camp_india_banner"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Camp
|
||||
|
||||
attachto = {
|
||||
widgetid = locale_camp_india
|
||||
}
|
||||
}
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
activity_locale_widget = {
|
||||
name = "locale_camp_mena"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Camp
|
||||
|
||||
blockoverride "locale_texture"
|
||||
{
|
||||
parentanchor = top|right
|
||||
size = { 38% 38% }
|
||||
position = { 0% 0% }
|
||||
texture = "gfx/interface/illustrations/activity_locales/locale_camp_mena.dds"
|
||||
intersectionmask_texture = "gfx/interface/illustrations/activity_locales/locale_camp_mena_interaction_mask.png"
|
||||
}
|
||||
|
||||
widget = {
|
||||
widgetid = "locale_camp_mena"
|
||||
position = { 10% 40% }
|
||||
}
|
||||
}
|
||||
|
||||
## Locale Banner
|
||||
widget_locale_banner = {
|
||||
name = "locale_camp_mena_banner"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Camp
|
||||
|
||||
attachto = {
|
||||
widgetid = locale_camp_mena
|
||||
}
|
||||
}
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
activity_locale_widget = {
|
||||
name = "locale_camp_west"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Camp
|
||||
|
||||
blockoverride "locale_texture"
|
||||
{
|
||||
parentanchor = top|right
|
||||
size = { 38% 38% }
|
||||
position = { 0% 0% }
|
||||
texture = "gfx/interface/illustrations/activity_locales/locale_camp_west.dds"
|
||||
intersectionmask_texture = "gfx/interface/illustrations/activity_locales/locale_camp_west_interaction_mask.png"
|
||||
}
|
||||
|
||||
widget = {
|
||||
widgetid = "locale_camp_west"
|
||||
position = { 10% 40% }
|
||||
}
|
||||
}
|
||||
|
||||
## Locale Banner
|
||||
widget_locale_banner = {
|
||||
name = "locale_camp_west_banner"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Camp
|
||||
|
||||
attachto = {
|
||||
widgetid = locale_camp_west
|
||||
}
|
||||
}
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
activity_locale_widget = {
|
||||
name = "locale_entertainment_india"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Tavern
|
||||
|
||||
blockoverride "locale_texture"
|
||||
{
|
||||
name = "pparent"
|
||||
size = { 27.6% 33.3% }
|
||||
position = { 16.4% 46.2% }
|
||||
texture = "gfx/interface/illustrations/activity_locales/locale_entertainment_india.dds"
|
||||
intersectionmask_texture = "gfx/interface/illustrations/activity_locales/locale_entertainment_india_interaction_mask.png"
|
||||
}
|
||||
|
||||
widget = {
|
||||
widgetid = "locale_entertainment_india"
|
||||
position = { 20% 10% }
|
||||
}
|
||||
}
|
||||
|
||||
## Locale Banner
|
||||
widget_locale_banner = {
|
||||
name = "locale_entertainment_india_banner"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Tavern
|
||||
|
||||
attachto = {
|
||||
widgetid = locale_entertainment_india
|
||||
}
|
||||
}
|
||||
|
|
@ -1,45 +0,0 @@
|
|||
activity_locale_widget = {
|
||||
name = "locale_entertainment_mena"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Tavern
|
||||
|
||||
blockoverride "locale_texture"
|
||||
{
|
||||
name = "pparent"
|
||||
size = { 27.6% 33.3% }
|
||||
position = { 16.4% 46.2% }
|
||||
texture = "gfx/interface/illustrations/activity_locales/locale_entertainment_mena.dds"
|
||||
intersectionmask_texture = "gfx/interface/illustrations/activity_locales/locale_entertainment_mena_interaction_mask.png"
|
||||
}
|
||||
|
||||
blockoverride "locale_vfx"
|
||||
{
|
||||
# activity_locale_vfx = {
|
||||
# size = { 50% 100% }
|
||||
# position = { 21% -55% }
|
||||
# entity_instance = "ui_tavern_smoke_large_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 50% 100% }
|
||||
# position = { 37% -61% }
|
||||
# entity_instance = "ui_tavern_smoke_small_entity"
|
||||
# }
|
||||
}
|
||||
|
||||
widget = {
|
||||
widgetid = "locale_entertainment_mena"
|
||||
position = { 20% 0% }
|
||||
}
|
||||
}
|
||||
|
||||
## Locale Banner
|
||||
widget_locale_banner = {
|
||||
name = "locale_entertainment_mena_banner"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Tavern
|
||||
|
||||
attachto = {
|
||||
widgetid = locale_entertainment_mena
|
||||
}
|
||||
}
|
||||
|
|
@ -1,45 +0,0 @@
|
|||
activity_locale_widget = {
|
||||
name = "locale_entertainment_west"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Tavern
|
||||
|
||||
blockoverride "locale_texture"
|
||||
{
|
||||
name = "pparent"
|
||||
size = { 27.6% 33.3% }
|
||||
position = { 16.4% 46.2% }
|
||||
texture = "gfx/interface/illustrations/activity_locales/locale_entertainment_west.dds"
|
||||
intersectionmask_texture = "gfx/interface/illustrations/activity_locales/locale_entertainment_west_interaction_mask.png"
|
||||
}
|
||||
|
||||
blockoverride "locale_vfx"
|
||||
{
|
||||
activity_locale_vfx = {
|
||||
size = { 50% 100% }
|
||||
position = { 20.5% -58% }
|
||||
entity_instance = "ui_tavern_smoke_large_entity"
|
||||
}
|
||||
|
||||
activity_locale_vfx = {
|
||||
size = { 50% 100% }
|
||||
position = { 37% -61% }
|
||||
entity_instance = "ui_tavern_smoke_small_entity"
|
||||
}
|
||||
}
|
||||
|
||||
widget = {
|
||||
widgetid = "locale_entertainment_west"
|
||||
position = { 20% 0% }
|
||||
}
|
||||
}
|
||||
|
||||
## Locale Banner
|
||||
widget_locale_banner = {
|
||||
name = "locale_entertainment_west_banner"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Tavern
|
||||
|
||||
attachto = {
|
||||
widgetid = locale_entertainment_west
|
||||
}
|
||||
}
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
activity_locale_widget = {
|
||||
name = "locale_temple_india"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Temple
|
||||
|
||||
blockoverride "locale_texture"
|
||||
{
|
||||
size = { 21.9% 30.5% }
|
||||
position = { 26.5% 0% }
|
||||
texture = "gfx/interface/illustrations/activity_locales/locale_temple_india.dds"
|
||||
intersectionmask_texture = "gfx/interface/illustrations/activity_locales/locale_temple_india_interaction_mask.png"
|
||||
}
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 100% 100% }
|
||||
# position = { 10.5% -11.0% }
|
||||
# entity_instance = "ui_bird_01_entity"
|
||||
# }
|
||||
|
||||
widget = {
|
||||
widgetid = "locale_temple_india"
|
||||
position = { 10% 80% }
|
||||
}
|
||||
}
|
||||
|
||||
## Locale Banner
|
||||
widget_locale_banner = {
|
||||
name = "locale_temple_india_banner"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Temple
|
||||
|
||||
attachto = {
|
||||
widgetid = locale_temple_india
|
||||
}
|
||||
}
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
activity_locale_widget = {
|
||||
name = "locale_temple_mena"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Temple
|
||||
|
||||
blockoverride "locale_texture"
|
||||
{
|
||||
size = { 21.9% 30.5% }
|
||||
position = { 26.5% 0% }
|
||||
texture = "gfx/interface/illustrations/activity_locales/locale_temple_mena.dds"
|
||||
intersectionmask_texture = "gfx/interface/illustrations/activity_locales/locale_temple_mena_interaction_mask.png"
|
||||
}
|
||||
|
||||
activity_locale_vfx = {
|
||||
size = { 100% 100% }
|
||||
position = { 10.5% -11.0% }
|
||||
entity_instance = "ui_bird_01_entity"
|
||||
}
|
||||
|
||||
widget = {
|
||||
widgetid = "locale_temple_mena"
|
||||
position = { 10% 80% }
|
||||
}
|
||||
}
|
||||
|
||||
## Locale Banner
|
||||
widget_locale_banner = {
|
||||
name = "locale_temple_mena_banner"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Temple
|
||||
|
||||
attachto = {
|
||||
widgetid = locale_temple_mena
|
||||
}
|
||||
}
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
activity_locale_widget = {
|
||||
name = "locale_temple_west"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Temple
|
||||
|
||||
blockoverride "locale_texture"
|
||||
{
|
||||
size = { 21.9% 30.5% }
|
||||
position = { 26.5% 0% }
|
||||
texture = "gfx/interface/illustrations/activity_locales/locale_temple_west.dds"
|
||||
intersectionmask_texture = "gfx/interface/illustrations/activity_locales/locale_temple_west_interaction_mask.png"
|
||||
}
|
||||
|
||||
activity_locale_vfx = {
|
||||
size = { 100% 100% }
|
||||
position = { 10.5% -11.0% }
|
||||
entity_instance = "ui_bird_01_entity"
|
||||
}
|
||||
|
||||
widget = {
|
||||
widgetid = "locale_temple_west"
|
||||
position = { 10% 80% }
|
||||
}
|
||||
}
|
||||
|
||||
## Locale Banner
|
||||
widget_locale_banner = {
|
||||
name = "locale_temple_west_banner"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Temple
|
||||
|
||||
attachto = {
|
||||
widgetid = locale_temple_west
|
||||
}
|
||||
}
|
||||
|
|
@ -1,66 +0,0 @@
|
|||
activity_locale_widget = {
|
||||
name = "locale_tournament1_india"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Grounds
|
||||
|
||||
blockoverride "locale_texture"
|
||||
{
|
||||
name = "pparent"
|
||||
size = { 40.5% 44.5% }
|
||||
position = { 29.8% 21.5% }
|
||||
texture = "gfx/interface/illustrations/activity_locales/locale_tournament1_india.dds"
|
||||
intersectionmask_texture = "gfx/interface/illustrations/activity_locales/locale_tournament1_india_interaction_mask.png"
|
||||
}
|
||||
|
||||
# blockoverride "locale_vfx"
|
||||
# {
|
||||
# activity_locale_vfx = {
|
||||
# size = { 5% 5% }
|
||||
# position = { 32.0% 36% }
|
||||
# entity_instance = "ui_flag_red_entity"
|
||||
# }
|
||||
# activity_locale_vfx = {
|
||||
# size = { 5% 5% }
|
||||
# position = { 36.7% 26.5% }
|
||||
|
||||
# entity_instance = "ui_flag_red_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 5% 5% }
|
||||
# position = { 67.8% 33.9% }
|
||||
|
||||
# entity_instance = "ui_flag_red_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 5% 5% }
|
||||
# position = { 64.0% 43.9% }
|
||||
|
||||
# entity_instance = "ui_flag_red_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 5% 4% }
|
||||
# position = { 61.8% 23.5% }
|
||||
|
||||
# entity_instance = "ui_flag_blue_entity"
|
||||
# }
|
||||
# }
|
||||
|
||||
widget = {
|
||||
widgetid = "locale_tournament1_india"
|
||||
position = { 33% 75% }
|
||||
}
|
||||
}
|
||||
|
||||
## Locale Banner
|
||||
widget_locale_banner = {
|
||||
name = "locale_tournament1_india_banner"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Grounds
|
||||
|
||||
attachto = {
|
||||
widgetid = locale_tournament1_india
|
||||
}
|
||||
}
|
||||
|
|
@ -1,66 +0,0 @@
|
|||
activity_locale_widget = {
|
||||
name = "locale_tournament1_mena"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Grounds
|
||||
|
||||
blockoverride "locale_texture"
|
||||
{
|
||||
name = "pparent"
|
||||
size = { 40.5% 44.5% }
|
||||
position = { 29.8% 21.5% }
|
||||
texture = "gfx/interface/illustrations/activity_locales/locale_tournament1_mena.dds"
|
||||
intersectionmask_texture = "gfx/interface/illustrations/activity_locales/locale_tournament1_mena_interaction_mask.png"
|
||||
}
|
||||
|
||||
blockoverride "locale_vfx"
|
||||
{
|
||||
# activity_locale_vfx = {
|
||||
# size = { 5% 5% }
|
||||
# position = { 32.0% 36% }
|
||||
# entity_instance = "ui_flag_red_entity"
|
||||
# }
|
||||
# activity_locale_vfx = {
|
||||
# size = { 5% 5% }
|
||||
# position = { 36.7% 26.5% }
|
||||
|
||||
# entity_instance = "ui_flag_red_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 5% 5% }
|
||||
# position = { 67.8% 33.9% }
|
||||
|
||||
# entity_instance = "ui_flag_red_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 5% 5% }
|
||||
# position = { 64.0% 43.9% }
|
||||
|
||||
# entity_instance = "ui_flag_red_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 5% 4% }
|
||||
# position = { 61.8% 23.5% }
|
||||
|
||||
# entity_instance = "ui_flag_blue_entity"
|
||||
# }
|
||||
}
|
||||
|
||||
widget = {
|
||||
widgetid = "locale_tournament1_mena"
|
||||
position = { 33% 75% }
|
||||
}
|
||||
}
|
||||
|
||||
## Locale Banner
|
||||
widget_locale_banner = {
|
||||
name = "locale_tournament1_mena_banner"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Grounds
|
||||
|
||||
attachto = {
|
||||
widgetid = locale_tournament1_mena
|
||||
}
|
||||
}
|
||||
|
|
@ -1,66 +0,0 @@
|
|||
activity_locale_widget = {
|
||||
name = "locale_tournament1_west"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Grounds
|
||||
|
||||
blockoverride "locale_texture"
|
||||
{
|
||||
name = "pparent"
|
||||
size = { 40.5% 44.5% }
|
||||
position = { 29.8% 21.5% }
|
||||
texture = "gfx/interface/illustrations/activity_locales/locale_tournament1_west.dds"
|
||||
intersectionmask_texture = "gfx/interface/illustrations/activity_locales/locale_tournament1_west_interaction_mask.png"
|
||||
}
|
||||
|
||||
blockoverride "locale_vfx"
|
||||
{
|
||||
activity_locale_vfx = {
|
||||
size = { 5% 5% }
|
||||
position = { 32.0% 36% }
|
||||
entity_instance = "ui_flag_red_entity"
|
||||
}
|
||||
activity_locale_vfx = {
|
||||
size = { 5% 5% }
|
||||
position = { 36.7% 26.5% }
|
||||
|
||||
entity_instance = "ui_flag_red_entity"
|
||||
}
|
||||
|
||||
activity_locale_vfx = {
|
||||
size = { 5% 5% }
|
||||
position = { 67.8% 33.9% }
|
||||
|
||||
entity_instance = "ui_flag_red_entity"
|
||||
}
|
||||
|
||||
activity_locale_vfx = {
|
||||
size = { 5% 5% }
|
||||
position = { 64.0% 43.9% }
|
||||
|
||||
entity_instance = "ui_flag_red_entity"
|
||||
}
|
||||
|
||||
activity_locale_vfx = {
|
||||
size = { 5% 4% }
|
||||
position = { 61.8% 23.5% }
|
||||
|
||||
entity_instance = "ui_flag_blue_entity"
|
||||
}
|
||||
}
|
||||
|
||||
widget = {
|
||||
widgetid = "locale_tournament1_west"
|
||||
position = { 33% 75% }
|
||||
}
|
||||
}
|
||||
|
||||
## Locale Banner
|
||||
widget_locale_banner = {
|
||||
name = "locale_tournament1_west_banner"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Grounds
|
||||
|
||||
attachto = {
|
||||
widgetid = locale_tournament1_west
|
||||
}
|
||||
}
|
||||
|
|
@ -1,165 +0,0 @@
|
|||
activity_locale_widget = {
|
||||
name = "locale_tournament3_india"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Grounds
|
||||
|
||||
blockoverride "locale_texture"
|
||||
{
|
||||
name = "pparent"
|
||||
size = { 40.5% 44.5% }
|
||||
position = { 29.8% 21.5% }
|
||||
texture = "gfx/interface/illustrations/activity_locales/locale_tournament3_india.dds"
|
||||
intersectionmask_texture = "gfx/interface/illustrations/activity_locales/locale_tournament3_india_interaction_mask.png"
|
||||
}
|
||||
|
||||
# blockoverride "locale_vfx"
|
||||
# {
|
||||
# activity_locale_vfx = {
|
||||
# size = { 5% 5% }
|
||||
# position = { 21.8% 37% }
|
||||
|
||||
# entity_instance = "ui_flag_blue_entity"
|
||||
# }
|
||||
# activity_locale_vfx = {
|
||||
# size = { 5% 5% }
|
||||
# position = { 23.6% 34% }
|
||||
|
||||
# entity_instance = "ui_flag_blue_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 5% 5% }
|
||||
# position = { 25.4% 31% }
|
||||
|
||||
# entity_instance = "ui_flag_blue_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 5% 5% }
|
||||
# position = { 29.4% 22.6% }
|
||||
|
||||
# entity_instance = "ui_flag_blue_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 5% 5% }
|
||||
# position = { 31.0% 19.6% }
|
||||
|
||||
# entity_instance = "ui_flag_blue_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 6% 6% }
|
||||
# position = { 27.0% 22.9% }
|
||||
|
||||
# entity_instance = "ui_flag_red_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 4% 4% }
|
||||
# position = { 41.9% 16.0% }
|
||||
|
||||
# entity_instance = "ui_flag_red_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 4% 4% }
|
||||
# position = { 46.5% 17.0% }
|
||||
|
||||
# entity_instance = "ui_flag_blue_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 4% 4% }
|
||||
# position = { 48.9% 17.4% }
|
||||
|
||||
# entity_instance = "ui_flag_blue_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 4% 4% }
|
||||
# position = { 53.9% 17.4% }
|
||||
|
||||
# entity_instance = "ui_flag_blue_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 4% 4% }
|
||||
# position = { 56.7% 15.4% }
|
||||
|
||||
# entity_instance = "ui_flag_red_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 4% 4% }
|
||||
# position = { 61.9% 16.4% }
|
||||
|
||||
# entity_instance = "ui_flag_red_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 4% 4% }
|
||||
# position = { 64.4% 19.8% }
|
||||
|
||||
# entity_instance = "ui_flag_blue_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 4% 4% }
|
||||
# position = { 75.6% 23.6% }
|
||||
|
||||
# entity_instance = "ui_flag_blue_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 4% 4% }
|
||||
# position = { 81.0% 30.8% }
|
||||
|
||||
# entity_instance = "ui_flag_blue_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 5% 5% }
|
||||
# position = { 74.4% 49.6% }
|
||||
|
||||
# entity_instance = "ui_flag_blue_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 5% 5% }
|
||||
# position = { 75.6% 46.6% }
|
||||
|
||||
# entity_instance = "ui_flag_blue_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 5% 5% }
|
||||
# position = { 76.8% 43.1% }
|
||||
|
||||
# entity_instance = "ui_flag_blue_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 5% 5% }
|
||||
# position = { 78.4% 37.8% }
|
||||
|
||||
# entity_instance = "ui_flag_red_entity"
|
||||
# }
|
||||
# }
|
||||
|
||||
widget = {
|
||||
widgetid = "locale_tournament3_india"
|
||||
position = { 33% 75% }
|
||||
}
|
||||
}
|
||||
|
||||
## Locale Banner
|
||||
widget_locale_banner = {
|
||||
name = "locale_tournament3_india_banner"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Grounds
|
||||
|
||||
attachto = {
|
||||
widgetid = locale_tournament3_india
|
||||
}
|
||||
}
|
||||
|
|
@ -1,165 +0,0 @@
|
|||
activity_locale_widget = {
|
||||
name = "locale_tournament3_mena"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Grounds
|
||||
|
||||
blockoverride "locale_texture"
|
||||
{
|
||||
name = "pparent"
|
||||
size = { 40.5% 44.5% }
|
||||
position = { 29.8% 21.5% }
|
||||
texture = "gfx/interface/illustrations/activity_locales/locale_tournament3_mena.dds"
|
||||
intersectionmask_texture = "gfx/interface/illustrations/activity_locales/locale_tournament3_mena_interaction_mask.png"
|
||||
}
|
||||
|
||||
blockoverride "locale_vfx"
|
||||
{
|
||||
# activity_locale_vfx = {
|
||||
# size = { 5% 5% }
|
||||
# position = { 21.8% 37% }
|
||||
|
||||
# entity_instance = "ui_flag_blue_entity"
|
||||
# }
|
||||
# activity_locale_vfx = {
|
||||
# size = { 5% 5% }
|
||||
# position = { 23.6% 34% }
|
||||
|
||||
# entity_instance = "ui_flag_blue_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 5% 5% }
|
||||
# position = { 25.4% 31% }
|
||||
|
||||
# entity_instance = "ui_flag_blue_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 5% 5% }
|
||||
# position = { 29.4% 22.6% }
|
||||
|
||||
# entity_instance = "ui_flag_blue_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 5% 5% }
|
||||
# position = { 31.0% 19.6% }
|
||||
|
||||
# entity_instance = "ui_flag_blue_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 6% 6% }
|
||||
# position = { 27.0% 22.9% }
|
||||
|
||||
# entity_instance = "ui_flag_red_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 4% 4% }
|
||||
# position = { 41.9% 16.0% }
|
||||
|
||||
# entity_instance = "ui_flag_red_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 4% 4% }
|
||||
# position = { 46.5% 17.0% }
|
||||
|
||||
# entity_instance = "ui_flag_blue_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 4% 4% }
|
||||
# position = { 48.9% 17.4% }
|
||||
|
||||
# entity_instance = "ui_flag_blue_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 4% 4% }
|
||||
# position = { 53.9% 17.4% }
|
||||
|
||||
# entity_instance = "ui_flag_blue_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 4% 4% }
|
||||
# position = { 56.7% 15.4% }
|
||||
|
||||
# entity_instance = "ui_flag_red_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 4% 4% }
|
||||
# position = { 61.9% 16.4% }
|
||||
|
||||
# entity_instance = "ui_flag_red_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 4% 4% }
|
||||
# position = { 64.4% 19.8% }
|
||||
|
||||
# entity_instance = "ui_flag_blue_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 4% 4% }
|
||||
# position = { 75.6% 23.6% }
|
||||
|
||||
# entity_instance = "ui_flag_blue_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 4% 4% }
|
||||
# position = { 81.0% 30.8% }
|
||||
|
||||
# entity_instance = "ui_flag_blue_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 5% 5% }
|
||||
# position = { 74.4% 49.6% }
|
||||
|
||||
# entity_instance = "ui_flag_blue_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 5% 5% }
|
||||
# position = { 75.6% 46.6% }
|
||||
|
||||
# entity_instance = "ui_flag_blue_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 5% 5% }
|
||||
# position = { 76.8% 43.1% }
|
||||
|
||||
# entity_instance = "ui_flag_blue_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 5% 5% }
|
||||
# position = { 78.4% 37.8% }
|
||||
|
||||
# entity_instance = "ui_flag_red_entity"
|
||||
# }
|
||||
}
|
||||
|
||||
widget = {
|
||||
widgetid = "locale_tournament3_mena"
|
||||
position = { 33% 75% }
|
||||
}
|
||||
}
|
||||
|
||||
## Locale Banner
|
||||
widget_locale_banner = {
|
||||
name = "locale_tournament3_mena_banner"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Grounds
|
||||
|
||||
attachto = {
|
||||
widgetid = locale_tournament3_mena
|
||||
}
|
||||
}
|
||||
|
|
@ -1,165 +0,0 @@
|
|||
activity_locale_widget = {
|
||||
name = "locale_tournament3_west"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Grounds
|
||||
|
||||
blockoverride "locale_texture"
|
||||
{
|
||||
name = "pparent"
|
||||
size = { 40.5% 44.5% }
|
||||
position = { 29.8% 21.5% }
|
||||
texture = "gfx/interface/illustrations/activity_locales/locale_tournament3_west.dds"
|
||||
intersectionmask_texture = "gfx/interface/illustrations/activity_locales/locale_tournament3_west_interaction_mask.png"
|
||||
}
|
||||
|
||||
blockoverride "locale_vfx"
|
||||
{
|
||||
activity_locale_vfx = {
|
||||
size = { 5% 5% }
|
||||
position = { 21.8% 37% }
|
||||
|
||||
entity_instance = "ui_flag_blue_entity"
|
||||
}
|
||||
activity_locale_vfx = {
|
||||
size = { 5% 5% }
|
||||
position = { 23.6% 34% }
|
||||
|
||||
entity_instance = "ui_flag_blue_entity"
|
||||
}
|
||||
|
||||
activity_locale_vfx = {
|
||||
size = { 5% 5% }
|
||||
position = { 25.4% 31% }
|
||||
|
||||
entity_instance = "ui_flag_blue_entity"
|
||||
}
|
||||
|
||||
activity_locale_vfx = {
|
||||
size = { 5% 5% }
|
||||
position = { 29.4% 22.6% }
|
||||
|
||||
entity_instance = "ui_flag_blue_entity"
|
||||
}
|
||||
|
||||
activity_locale_vfx = {
|
||||
size = { 5% 5% }
|
||||
position = { 31.0% 19.6% }
|
||||
|
||||
entity_instance = "ui_flag_blue_entity"
|
||||
}
|
||||
|
||||
activity_locale_vfx = {
|
||||
size = { 6% 6% }
|
||||
position = { 27.0% 22.9% }
|
||||
|
||||
entity_instance = "ui_flag_red_entity"
|
||||
}
|
||||
|
||||
activity_locale_vfx = {
|
||||
size = { 4% 4% }
|
||||
position = { 41.9% 16.0% }
|
||||
|
||||
entity_instance = "ui_flag_red_entity"
|
||||
}
|
||||
|
||||
activity_locale_vfx = {
|
||||
size = { 4% 4% }
|
||||
position = { 46.5% 17.0% }
|
||||
|
||||
entity_instance = "ui_flag_blue_entity"
|
||||
}
|
||||
|
||||
activity_locale_vfx = {
|
||||
size = { 4% 4% }
|
||||
position = { 48.9% 17.4% }
|
||||
|
||||
entity_instance = "ui_flag_blue_entity"
|
||||
}
|
||||
|
||||
activity_locale_vfx = {
|
||||
size = { 4% 4% }
|
||||
position = { 53.9% 17.4% }
|
||||
|
||||
entity_instance = "ui_flag_blue_entity"
|
||||
}
|
||||
|
||||
activity_locale_vfx = {
|
||||
size = { 4% 4% }
|
||||
position = { 56.7% 15.4% }
|
||||
|
||||
entity_instance = "ui_flag_red_entity"
|
||||
}
|
||||
|
||||
activity_locale_vfx = {
|
||||
size = { 4% 4% }
|
||||
position = { 61.9% 16.4% }
|
||||
|
||||
entity_instance = "ui_flag_red_entity"
|
||||
}
|
||||
|
||||
activity_locale_vfx = {
|
||||
size = { 4% 4% }
|
||||
position = { 64.4% 19.8% }
|
||||
|
||||
entity_instance = "ui_flag_blue_entity"
|
||||
}
|
||||
|
||||
activity_locale_vfx = {
|
||||
size = { 4% 4% }
|
||||
position = { 75.6% 23.6% }
|
||||
|
||||
entity_instance = "ui_flag_blue_entity"
|
||||
}
|
||||
|
||||
activity_locale_vfx = {
|
||||
size = { 4% 4% }
|
||||
position = { 81.0% 30.8% }
|
||||
|
||||
entity_instance = "ui_flag_blue_entity"
|
||||
}
|
||||
|
||||
activity_locale_vfx = {
|
||||
size = { 5% 5% }
|
||||
position = { 74.4% 49.6% }
|
||||
|
||||
entity_instance = "ui_flag_blue_entity"
|
||||
}
|
||||
|
||||
activity_locale_vfx = {
|
||||
size = { 5% 5% }
|
||||
position = { 75.6% 46.6% }
|
||||
|
||||
entity_instance = "ui_flag_blue_entity"
|
||||
}
|
||||
|
||||
activity_locale_vfx = {
|
||||
size = { 5% 5% }
|
||||
position = { 76.8% 43.1% }
|
||||
|
||||
entity_instance = "ui_flag_blue_entity"
|
||||
}
|
||||
|
||||
activity_locale_vfx = {
|
||||
size = { 5% 5% }
|
||||
position = { 78.4% 37.8% }
|
||||
|
||||
entity_instance = "ui_flag_red_entity"
|
||||
}
|
||||
}
|
||||
|
||||
widget = {
|
||||
widgetid = "locale_tournament3_west"
|
||||
position = { 33% 75% }
|
||||
}
|
||||
}
|
||||
|
||||
## Locale Banner
|
||||
widget_locale_banner = {
|
||||
name = "locale_tournament3_west_banner"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Grounds
|
||||
|
||||
attachto = {
|
||||
widgetid = locale_tournament3_west
|
||||
}
|
||||
}
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
activity_locale_widget = {
|
||||
name = "locale_town_india"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Settlement
|
||||
|
||||
blockoverride "locale_texture"
|
||||
{
|
||||
size = { 41.1% 63% }
|
||||
texture = "gfx/interface/illustrations/activity_locales/locale_town_india.dds"
|
||||
intersectionmask_texture = "gfx/interface/illustrations/activity_locales/locale_town_india_interaction_mask.png"
|
||||
}
|
||||
|
||||
widget = {
|
||||
widgetid = "locale_town_india"
|
||||
position = { 25% 58% }
|
||||
}
|
||||
}
|
||||
|
||||
## Locale Banner
|
||||
widget_locale_banner = {
|
||||
name = "locale_town_india_banner"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Settlement
|
||||
|
||||
attachto = {
|
||||
widgetid = locale_town_india
|
||||
}
|
||||
}
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
activity_locale_widget = {
|
||||
name = "locale_town_mena"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Settlement
|
||||
|
||||
blockoverride "locale_texture"
|
||||
{
|
||||
size = { 41.1% 63% }
|
||||
texture = "gfx/interface/illustrations/activity_locales/locale_town_mena.dds"
|
||||
intersectionmask_texture = "gfx/interface/illustrations/activity_locales/locale_town_mena_interaction_mask.png"
|
||||
}
|
||||
|
||||
widget = {
|
||||
widgetid = "locale_town_mena"
|
||||
position = { 25% 58% }
|
||||
}
|
||||
}
|
||||
|
||||
## Locale Banner
|
||||
widget_locale_banner = {
|
||||
name = "locale_town_mena_banner"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Settlement
|
||||
|
||||
attachto = {
|
||||
widgetid = locale_town_mena
|
||||
}
|
||||
}
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
activity_locale_widget = {
|
||||
name = "locale_town_west"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Settlement
|
||||
|
||||
blockoverride "locale_texture"
|
||||
{
|
||||
size = { 41.1% 63% }
|
||||
texture = "gfx/interface/illustrations/activity_locales/locale_town_west.dds"
|
||||
intersectionmask_texture = "gfx/interface/illustrations/activity_locales/locale_town_west_interaction_mask.png"
|
||||
}
|
||||
|
||||
widget = {
|
||||
widgetid = "locale_town_west"
|
||||
position = { 25% 58% }
|
||||
}
|
||||
}
|
||||
|
||||
## Locale Banner
|
||||
widget_locale_banner = {
|
||||
name = "locale_town_west_banner"
|
||||
|
||||
using = Sound_EP2_Tournament_Locale_Button_Settlement
|
||||
|
||||
attachto = {
|
||||
widgetid = locale_town_west
|
||||
}
|
||||
}
|
||||
|
|
@ -1,96 +0,0 @@
|
|||
types LocaleWidgetTypes
|
||||
{
|
||||
type activity_locale_vfx = cameracontrolwidget
|
||||
{
|
||||
#parentanchor = center
|
||||
alwaystransparent = yes
|
||||
gfxtype = jomini_entitygfx
|
||||
|
||||
# entity_instance = "[ActivityLocale.GetEntity( Activity.Self )]"
|
||||
}
|
||||
|
||||
type widget_locale_banner = button {
|
||||
allow_outside = yes
|
||||
|
||||
enabled = "[ActivityLocaleWindow.IsOnEnterLocaleAvailable( ActivityLocale.Self )]"
|
||||
|
||||
tooltip_offset = { 20% 110% }
|
||||
|
||||
tooltipwidget = {
|
||||
container = {
|
||||
alwaystransparent = no
|
||||
name = "ActivityLocaleTooltip"
|
||||
using = activity_locale_tooltip
|
||||
}
|
||||
}
|
||||
|
||||
button = {
|
||||
size = { 256 52 }
|
||||
position = { 36 8 }
|
||||
|
||||
onclick = "[ActivityLocaleWindow.ExecuteOnEnterLocale( ActivityLocale.Self )]"
|
||||
|
||||
highlight_icon = {
|
||||
size = { 220 80 }
|
||||
position = { 0 -16 }
|
||||
|
||||
texture = "gfx/interface/icons/activity_locales/locale_building_banner_bg.dds"
|
||||
}
|
||||
|
||||
text_single = {
|
||||
position = { 36 -2 }
|
||||
parentanchor = left|vcenter
|
||||
max_width = 160
|
||||
|
||||
|
||||
text = "[ActivityLocale.GetName]"
|
||||
|
||||
using = Font_Type_Flavor
|
||||
using = Font_Size_Medium
|
||||
}
|
||||
|
||||
text_single = {
|
||||
position = { 36 24 }
|
||||
parentanchor = left|vcenter
|
||||
visible = "[AIWatchWindowsEnabled]"
|
||||
|
||||
raw_text = "AI Weight: [ActivityLocaleWindow.GetAIWillDoForLocale(ActivityLocale.Self)]"
|
||||
|
||||
using = Text_Placeholder
|
||||
}
|
||||
}
|
||||
|
||||
highlight_icon = {
|
||||
size = { 72 72 }
|
||||
framesize = { 180 180 }
|
||||
texture = "gfx/interface/icons/activity_locales/locale_building_icon_bg.dds"
|
||||
frame = 2
|
||||
}
|
||||
|
||||
highlight_icon = {
|
||||
texture = "[ActivityLocale.GetIcon]"
|
||||
size = { 72 72 }
|
||||
}
|
||||
}
|
||||
|
||||
type activity_locale_widget = button
|
||||
{
|
||||
allow_outside = yes
|
||||
effectname = "NoDisabled"
|
||||
|
||||
block "locale_texture"
|
||||
{
|
||||
}
|
||||
|
||||
onclick = "[ActivityLocaleWindow.ExecuteOnEnterLocale( ActivityLocale.Self )]"
|
||||
enabled = "[ActivityLocaleWindow.IsOnEnterLocaleAvailable( ActivityLocale.Self )]"
|
||||
|
||||
tooltip_offset = { 60 -55 }
|
||||
using = tooltip_sw
|
||||
|
||||
|
||||
block "locale_vfx"
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
widget = {
|
||||
name = "tournament_terrain_europe_farmland"
|
||||
size = { 100% 100% }
|
||||
|
||||
background = {
|
||||
texture = "gfx/interface/illustrations/activity_backgrounds/tournament_terrain_europe_farmland.dds"
|
||||
}
|
||||
|
||||
|
||||
|
||||
activity_locale_vfx = {
|
||||
size = { 10% 20% }
|
||||
position = { 92% 44% }
|
||||
entity_instance = "ui_water_highlights_entity"
|
||||
}
|
||||
|
||||
widget = {
|
||||
name = "ambience_sound_effect"
|
||||
|
||||
state = {
|
||||
name = _show
|
||||
using = Sound_Window_Ambience_Tournament_Locale_West
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,34 +0,0 @@
|
|||
widget = {
|
||||
name = "tournament_terrain_europe_farmland_top_layer"
|
||||
size = { 100% 100% }
|
||||
|
||||
background = {
|
||||
texture = "gfx/interface/illustrations/activity_backgrounds/tournament_terrain_top_europe_farmland.dds"
|
||||
}
|
||||
|
||||
|
||||
# Terrian swaying
|
||||
icon_sway = {
|
||||
size = { 100% 100% }
|
||||
texture = "gfx/interface/illustrations/activity_backgrounds/terrain_top_europe_farmland_vegetation.dds"
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/illustrations/activity_backgrounds/terrain_top_europe_farmland_vegetation_mask.dds"
|
||||
blend_mode = normal
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
activity_locale_vfx = {
|
||||
size = { 100% 100% }
|
||||
entity_instance = "ui_cloud_shadows_entity"
|
||||
}
|
||||
|
||||
|
||||
activity_locale_vfx = {
|
||||
size = { 100% 100% }
|
||||
entity_instance = "ui_bird_flying_01_entity"
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -1,34 +0,0 @@
|
|||
widget = {
|
||||
name = "tournament_terrain_jungle"
|
||||
size = { 100% 100% }
|
||||
|
||||
background = {
|
||||
texture = "gfx/interface/illustrations/activity_backgrounds/tournament_terrain_jungle.dds"
|
||||
}
|
||||
|
||||
# Terrian swaying
|
||||
# icon_sway = {
|
||||
# size = { 100% 100% }
|
||||
# texture = "gfx/interface/illustrations/activity_locales/locale_terrain_lush.dds"
|
||||
#
|
||||
# modify_texture = {
|
||||
# texture = "gfx/interface/illustrations/activity_locales/locale_terrain_lush_mask.dds"
|
||||
# blend_mode = normal
|
||||
# }
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 100% 100% }
|
||||
# entity_instance = "ui_cloud_shadows_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 100% 100% }
|
||||
# entity_instance = "ui_bird_01_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 10% 10% }
|
||||
# entity_instance = "ui_bird_flying_01_entity"
|
||||
# }
|
||||
}
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
widget = {
|
||||
name = "tournament_terrain_jungle_top_layer"
|
||||
size = { 100% 100% }
|
||||
|
||||
background = {
|
||||
texture = "gfx/interface/illustrations/activity_backgrounds/tournament_terrain_top_jungle.dds"
|
||||
}
|
||||
|
||||
|
||||
# Terrain swaying
|
||||
icon_sway = {
|
||||
size = { 100% 100% }
|
||||
texture = "gfx/interface/illustrations/activity_backgrounds/tournament_terrain_top_jungle_vegetation.dds"
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/illustrations/activity_backgrounds/tournament_terrain_top_jungle_vegetation_mask.dds"
|
||||
blend_mode = normal
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
activity_locale_vfx = {
|
||||
size = { 100% 100% }
|
||||
entity_instance = "ui_cloud_shadows_entity"
|
||||
}
|
||||
|
||||
|
||||
activity_locale_vfx = {
|
||||
size = { 100% 100% }
|
||||
entity_instance = "ui_bird_flying_01_entity"
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -1,43 +0,0 @@
|
|||
widget = {
|
||||
name = "tournament_terrain_mena"
|
||||
size = { 100% 100% }
|
||||
|
||||
background = {
|
||||
texture = "gfx/interface/illustrations/activity_backgrounds/tournament_terrain_mena.dds"
|
||||
}
|
||||
|
||||
# Terrian swaying
|
||||
# icon_sway = {
|
||||
# size = { 100% 100% }
|
||||
# texture = "gfx/interface/illustrations/activity_locales/locale_terrain_lush.dds"
|
||||
#
|
||||
# modify_texture = {
|
||||
# texture = "gfx/interface/illustrations/activity_locales/locale_terrain_lush_mask.dds"
|
||||
# blend_mode = normal
|
||||
# }
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 100% 100% }
|
||||
# entity_instance = "ui_cloud_shadows_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 100% 100% }
|
||||
# entity_instance = "ui_bird_01_entity"
|
||||
# }
|
||||
|
||||
# activity_locale_vfx = {
|
||||
# size = { 10% 10% }
|
||||
# entity_instance = "ui_bird_flying_01_entity"
|
||||
# }
|
||||
|
||||
widget = {
|
||||
name = "ambience_sound_effect"
|
||||
|
||||
state = {
|
||||
name = _show
|
||||
using = Sound_Window_Ambience_Tournament_Locale_Mena
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
widget = {
|
||||
name = "tournament_terrain_mena_top_layer"
|
||||
size = { 100% 100% }
|
||||
|
||||
background = {
|
||||
texture = "gfx/interface/illustrations/activity_backgrounds/tournament_terrain_top_mena.dds"
|
||||
}
|
||||
|
||||
|
||||
# Terrain swaying
|
||||
icon_sway = {
|
||||
size = { 100% 100% }
|
||||
texture = "gfx/interface/illustrations/activity_backgrounds/tournament_terrain_top_mena_vegetation.dds"
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/illustrations/activity_backgrounds/tournament_terrain_top_mena_vegetation_mask.dds"
|
||||
blend_mode = normal
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
activity_locale_vfx = {
|
||||
size = { 100% 100% }
|
||||
entity_instance = "ui_cloud_shadows_entity"
|
||||
}
|
||||
|
||||
|
||||
activity_locale_vfx = {
|
||||
size = { 100% 100% }
|
||||
entity_instance = "ui_bird_flying_01_entity"
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -1,60 +0,0 @@
|
|||
hbox = {
|
||||
name = "activity_special_type_progression" #Needs to match the name of the GUI file
|
||||
spacing = 10
|
||||
|
||||
datacontext = "[ActivityWindow.GetActivity]"
|
||||
|
||||
text_single = {
|
||||
text = "activity_special_type"
|
||||
align = nobaseline
|
||||
max_width = 120
|
||||
|
||||
tooltip = activity_special_type_desc
|
||||
}
|
||||
|
||||
widget = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
size = { 250 20 }
|
||||
allow_outside = yes
|
||||
|
||||
datacontext = "[ActivityWindow.AccessSpecialTypeComplexBar( 'activity_special_type_progression' )]"
|
||||
|
||||
hbox_complex_bar_progress_next = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
tooltip = "ACTIVITY_WINDOW_SPECIAL_PROGRESS_TOOLTIP"
|
||||
using = tooltip_se
|
||||
}
|
||||
|
||||
hbox_complex_bar_levels = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
blockoverride "marker"
|
||||
{
|
||||
widget_level_marker = {
|
||||
visible = "[GreaterThan_int32( PdxGuiWidget.GetIndexInDataModel, '(int32)0')]"
|
||||
|
||||
blockoverride "visible_active"
|
||||
{
|
||||
visible = "[ActivityWindow.IsActiveSpecialProgressLevel( ComplexBarItem.GetValue )]"
|
||||
}
|
||||
|
||||
blockoverride "visible_inactive"
|
||||
{
|
||||
visible = "[Not( ActivityWindow.IsActiveSpecialProgressLevel( ComplexBarItem.GetValue ) )]"
|
||||
}
|
||||
|
||||
blockoverride "marker_text"
|
||||
{
|
||||
text = "[PdxGuiWidget.GetIndexInDataModel]"
|
||||
}
|
||||
|
||||
blockoverride "marker_tooltip"
|
||||
{
|
||||
tooltip = "[ActivityWindow.GetSpecialTypeComplexBarSegmentDescription( Subtract_int32( PdxGuiWidget.GetIndexInDataModel, '(int32)1' ) )]"
|
||||
using = tooltip_se
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
hbox = {
|
||||
name = "artifact_rewards"
|
||||
margin = { 16 16 }
|
||||
spacing = 4
|
||||
|
||||
datacontext = "[ActivityWindow.GetActivity]"
|
||||
|
||||
hbox = {
|
||||
datamodel = "[Activity.MakeScope.GetList( 'artifact_rewards' )]"
|
||||
|
||||
item = {
|
||||
icon_artifact = {
|
||||
datacontext = "[Scope.Artifact]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
widget_pivotal_moment_event_window_small = {
|
||||
name = "chariot_race_pivotal_moment_widget"
|
||||
size = { 100% 100% }
|
||||
parentanchor = hcenter|top
|
||||
}
|
||||
|
|
@ -1,142 +0,0 @@
|
|||
widget = {
|
||||
name = "chariot_race_progress_to_victory_widget"
|
||||
datacontext = "[Activity.GetCurrentPhase]"
|
||||
datacontext = "[Activity.GetCurrentPhase.GetPhase]"
|
||||
visible = "[And( Not( VariableSystem.Exists('activity_charioteers_view') ), DataModelHasItems( ActivityWindow.GetCurrentPhaseGuestSubset( 'charioteers' ) ) )]"
|
||||
visible_at_creation = no # required to make sure we trigger the '_show' state
|
||||
size = { 250 630 }
|
||||
|
||||
state = {
|
||||
name = _show
|
||||
using = Animation_FadeIn_Quick
|
||||
}
|
||||
|
||||
state = {
|
||||
name = _hide
|
||||
using = Animation_FadeOut_Quick
|
||||
}
|
||||
|
||||
vbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
spacing = 5
|
||||
|
||||
background = {
|
||||
texture = "gfx/interface/component_tiles/tile_window_background_subwindow.dds"
|
||||
spriteType = Corneredtiled
|
||||
spriteborder = { 18 18 }
|
||||
margin = { 16 16 }
|
||||
texture_density = 2
|
||||
|
||||
modify_texture = {
|
||||
name = "overlay"
|
||||
texture = "gfx/interface/component_overlay/overlay_effect.dds"
|
||||
spriteType = Corneredstretched
|
||||
spriteborder = { 0 0 }
|
||||
blend_mode = overlay
|
||||
}
|
||||
}
|
||||
|
||||
text_label_center = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
text = "CHARIOTEERS_WINDOW_LABEL"
|
||||
default_format = "#high;glow_color:{0.1,0.1,0.1,1.0}"
|
||||
fontsize = 22
|
||||
fontsize_min = 16
|
||||
using = Font_Type_Flavor
|
||||
}
|
||||
|
||||
text_single = {
|
||||
visible = "[And( EqualTo_string( ActivityPhase.GetKey, 'chariot_race_gambling' ), DataModelHasItems( ActivityWindow.GetCurrentPhaseGuestSubset( 'charioteers' ) ) )]"
|
||||
text = "CHARIOTEER_SORT_METHOD_APTITUDE"
|
||||
default_format = "#weak"
|
||||
using = Font_Size_Small
|
||||
align = nobaseline
|
||||
}
|
||||
|
||||
text_single = {
|
||||
visible = "[And( EqualTo_string( ActivityPhase.GetKey, 'chariot_race_phase' ), DataModelHasItems( ActivityWindow.GetCurrentPhaseGuestSubset( 'charioteers' ) ) )]"
|
||||
text = "CHARIOTEER_SORT_METHOD_PLACE"
|
||||
default_format = "#weak"
|
||||
using = Font_Size_Small
|
||||
align = nobaseline
|
||||
}
|
||||
|
||||
vbox_chariot_race_contestants = {
|
||||
name = "chariot_race_contestant_passive_phase"
|
||||
visible = "[And( EqualTo_string( ActivityPhase.GetKey, 'chariot_race_gambling' ), DataModelHasItems( ActivityWindow.GetCurrentPhaseGuestSubset( 'charioteers' ) ) )]"
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
state = {
|
||||
name = _show
|
||||
trigger_when = "[And( Not( GetVariableSystem.Exists( 'activity_charioteers_view' ) ), DataModelHasItems( ActivityWindow.GetCurrentPhaseGuestSubset( 'charioteers' ) ) )]"
|
||||
on_start = "[ActivityWindow.SetAllPhasesGuestSubsetSortingDescending( 'charioteers', 'charioteer_passive_phase_gui_sort_value' )]"
|
||||
}
|
||||
|
||||
blockoverride "first_place_datacontext"
|
||||
{
|
||||
# Uses a bit of a hack to ensure the datacontext is updated
|
||||
# when the underlying datamodel is sorted.
|
||||
datamodel = "[DataModelFirst( ActivityWindow.GetCurrentPhaseGuestSubset( 'charioteers' ), '(int32)1' )]"
|
||||
}
|
||||
blockoverride "second_place_datacontext"
|
||||
{
|
||||
# Uses a bit of a hack to ensure the datacontext is updated
|
||||
# when the underlying datamodel is sorted.
|
||||
datamodel = "[DataModelFirst( ActivityWindow.GetCurrentPhaseGuestSubset( 'charioteers' ), '(int32)2' )]"
|
||||
}
|
||||
blockoverride "third_place_datacontext"
|
||||
{
|
||||
# Uses a bit of a hack to ensure the datacontext is updated
|
||||
# when the underlying datamodel is sorted.
|
||||
datamodel = "[DataModelFirst( ActivityWindow.GetCurrentPhaseGuestSubset( 'charioteers' ), '(int32)3' )]"
|
||||
}
|
||||
|
||||
blockoverride "contestants_attributes"
|
||||
{
|
||||
datamodel = "[DataModelSkipFirst( DataModelFirst( ActivityWindow.GetCurrentPhaseGuestSubset( 'charioteers' ), '(int32)12' ), '(int32)3' )]"
|
||||
}
|
||||
}
|
||||
|
||||
vbox_chariot_race_contestants = {
|
||||
name = "chariot_race_contestant_active_phase"
|
||||
visible = "[And( Or( EqualTo_string( ActivityPhase.GetKey, 'chariot_race_phase' ), EqualTo_string( ActivityPhase.GetKey, 'chariot_race_phase_ceremony' ) ), DataModelHasItems( ActivityWindow.GetCurrentPhaseGuestSubset( 'charioteers' ) ) )]"
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
state = {
|
||||
name = _show
|
||||
on_start = "[ActivityWindow.SetAllPhasesGuestSubsetSortingDescending('charioteers', 'charioteer_victory_score_value')]"
|
||||
}
|
||||
|
||||
blockoverride "first_place_datacontext"
|
||||
{
|
||||
# Uses a bit of a hack to ensure the datacontext is updated
|
||||
# when the underlying datamodel is sorted.
|
||||
datamodel = "[DataModelFirst( ActivityWindow.GetCurrentPhaseGuestSubset( 'charioteers' ), '(int32)1' )]"
|
||||
}
|
||||
blockoverride "second_place_datacontext"
|
||||
{
|
||||
# Uses a bit of a hack to ensure the datacontext is updated
|
||||
# when the underlying datamodel is sorted.
|
||||
datamodel = "[DataModelFirst( ActivityWindow.GetCurrentPhaseGuestSubset( 'charioteers' ), '(int32)2' )]"
|
||||
}
|
||||
blockoverride "third_place_datacontext"
|
||||
{
|
||||
# Uses a bit of a hack to ensure the datacontext is updated
|
||||
# when the underlying datamodel is sorted.
|
||||
datamodel = "[DataModelFirst( ActivityWindow.GetCurrentPhaseGuestSubset( 'charioteers' ), '(int32)3' )]"
|
||||
}
|
||||
|
||||
blockoverride "contestants_attributes"
|
||||
{
|
||||
datamodel = "[DataModelSkipFirst( DataModelFirst( ActivityWindow.GetCurrentPhaseGuestSubset( 'charioteers' ), '(int32)12' ), '(int32)3' )]"
|
||||
}
|
||||
|
||||
blockoverride "dead_contestants"
|
||||
{
|
||||
datamodel = "[ActivityWindow.GetActivity.MakeScope.GetList( 'dead_charioteers' )]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,728 +0,0 @@
|
|||
types ChariotRaceWidgetTypes
|
||||
{
|
||||
type vbox_chariot_race_contestants = vbox {
|
||||
layoutpolicy_vertical = expanding
|
||||
alwaystransparent = no
|
||||
|
||||
widget_charioteer_item = {
|
||||
datacontext_from_model = {
|
||||
block "first_place_datacontext" {}
|
||||
index = 0
|
||||
}
|
||||
}
|
||||
|
||||
widget_charioteer_item = {
|
||||
datacontext_from_model = {
|
||||
block "second_place_datacontext" {}
|
||||
index = 1
|
||||
}
|
||||
}
|
||||
|
||||
widget_charioteer_item = {
|
||||
datacontext_from_model = {
|
||||
block "third_place_datacontext" {}
|
||||
index = 2
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
block "contestants_attributes" {}
|
||||
|
||||
item = {
|
||||
button_tertiary = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
onclick = "[DefaultOnCharacterClick(Character.GetID)]"
|
||||
|
||||
hbox = {
|
||||
alwaystransparent = yes
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
alwaystransparent = yes
|
||||
margin_left = 10
|
||||
|
||||
text_single = {
|
||||
name = "character_place"
|
||||
visible = "[And( Or( EqualTo_string( ActivityPhase.GetKey, 'chariot_race_phase' ), EqualTo_string( ActivityPhase.GetKey, 'chariot_race_phase_ceremony' ) ), Not( Activity.IsComplete ) )]"
|
||||
size = { 20 20 }
|
||||
alwaystransparent = yes
|
||||
autoresize = no
|
||||
|
||||
align = nobaseline
|
||||
default_format = "#high"
|
||||
using = Font_Size_Small
|
||||
|
||||
text = "[Character.MakeScope.Var('current_place_in_race').GetValue|0]"
|
||||
}
|
||||
|
||||
text_single = {
|
||||
name = "character_name"
|
||||
layoutpolicy_horizontal = expanding
|
||||
alwaystransparent = yes
|
||||
|
||||
using = Font_Size_Small
|
||||
default_format = "#high"
|
||||
fontsize_min = 10
|
||||
align = nobaseline
|
||||
|
||||
text = "[Character.GetTitledFirstNameNoTooltip]"
|
||||
|
||||
tooltip = "[Character.GetUINameNotMeNoTooltip]"
|
||||
using = tooltip_se
|
||||
|
||||
tooltipwidget = {
|
||||
cooltip_type = {}
|
||||
}
|
||||
}
|
||||
|
||||
# Icons
|
||||
hbox = {
|
||||
alwaystransparent = yes
|
||||
margin_right = 10
|
||||
|
||||
icon = {
|
||||
visible = "[ObjectsEqual( GetPlayer.MakeScope.Var('wager_target').Char, Character.Self )]"
|
||||
size = { 20 20 }
|
||||
texture = "gfx/interface/icons/court_position_types/bookmaker_court_position.dds"
|
||||
|
||||
tooltip = chariot_wager_tooltip
|
||||
using = tooltip_se
|
||||
}
|
||||
|
||||
icon = {
|
||||
visible = "[Character.IsEmployedInPositionBy( GetPlayer, GetCourtPositionType( 'charioteer_court_position' ) )]"
|
||||
size = { 20 20 }
|
||||
texture = "gfx/interface/icons/court_position_types/charioteer_court_position.dds"
|
||||
|
||||
tooltip = YOUR_CHARIOTEER_TOOLTIP
|
||||
using = tooltip_se
|
||||
}
|
||||
|
||||
|
||||
# Icons only visible when the player has placed a wager on a TEAM and NOT a specific CHARACTER
|
||||
icon = {
|
||||
visible = "[And( ObjectsEqual( GetPlayer.MakeScope.Var('wager_target').Char, GetPlayer.Self ), And( Character.HasTrait( GetTrait('charioteer_blue') ), ObjectsEqual( GetPlayer.MakeScope.Var('wager_team').GetFlagName, 'blues' ) ) )]"
|
||||
size = { 20 20 }
|
||||
texture = "gfx/interface/icons/court_position_types/bookmaker_court_position.dds"
|
||||
|
||||
raw_tooltip = "[GetPlayer.Custom('BuildChariotRaceWagerTooltip')]"
|
||||
using = tooltip_se
|
||||
}
|
||||
|
||||
icon = {
|
||||
visible = "[And( ObjectsEqual( GetPlayer.MakeScope.Var('wager_target').Char, GetPlayer.Self ), And( Character.HasTrait( GetTrait('charioteer_green') ), ObjectsEqual( GetPlayer.MakeScope.Var('wager_team').GetFlagName, 'greens' ) ) )]"
|
||||
size = { 20 20 }
|
||||
texture = "gfx/interface/icons/court_position_types/bookmaker_court_position.dds"
|
||||
|
||||
raw_tooltip = "[GetPlayer.Custom('BuildChariotRaceWagerTooltip')]"
|
||||
using = tooltip_se
|
||||
}
|
||||
|
||||
icon = {
|
||||
visible = "[And( ObjectsEqual( GetPlayer.MakeScope.Var('wager_target').Char, GetPlayer.Self ), And( Character.HasTrait( GetTrait('charioteer_white') ), ObjectsEqual( GetPlayer.MakeScope.Var('wager_team').GetFlagName, 'whites' ) ) )]"
|
||||
size = { 20 20 }
|
||||
texture = "gfx/interface/icons/court_position_types/bookmaker_court_position.dds"
|
||||
|
||||
raw_tooltip = "[GetPlayer.Custom('BuildChariotRaceWagerTooltip')]"
|
||||
using = tooltip_se
|
||||
}
|
||||
|
||||
icon = {
|
||||
visible = "[And( ObjectsEqual( GetPlayer.MakeScope.Var('wager_target').Char, GetPlayer.Self ), And( Character.HasTrait( GetTrait('charioteer_red') ), ObjectsEqual( GetPlayer.MakeScope.Var('wager_team').GetFlagName, 'reds' ) ) )]"
|
||||
size = { 20 20 }
|
||||
texture = "gfx/interface/icons/court_position_types/bookmaker_court_position.dds"
|
||||
|
||||
raw_tooltip = "[GetPlayer.Custom('BuildChariotRaceWagerTooltip')]"
|
||||
using = tooltip_se
|
||||
}
|
||||
}
|
||||
|
||||
background = {
|
||||
using = Mask_Rough_Edges
|
||||
alpha = 0.8
|
||||
margin = { 4 4 }
|
||||
|
||||
texture = "gfx/interface/component_tiles/tile_title_bg_01.dds"
|
||||
spriteType = Corneredtiled
|
||||
spriteborder = { 40 8 }
|
||||
texture_density = 2
|
||||
|
||||
modify_texture = {
|
||||
name = "mask"
|
||||
texture = "gfx/interface/component_masks/mask_fade_horizontal.dds"
|
||||
spriteType = Corneredstretched
|
||||
spriteborder = { 0 0 }
|
||||
blend_mode = alphamultiply
|
||||
mirror = horizontal
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Colored background based on charioteer's team
|
||||
background = {
|
||||
visible = "[Character.HasTrait( GetTrait( 'charioteer_blue' ) )]"
|
||||
tintcolor = { 0.7 0.8 1 0.8 }
|
||||
texture = "gfx/interface/colors/blue.dds"
|
||||
|
||||
using = Mask_Rough_Edges
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/component_masks/mask_fade_horizontal_short.dds"
|
||||
blend_mode = alphaMultiply
|
||||
alpha = 0.5
|
||||
}
|
||||
}
|
||||
|
||||
background = {
|
||||
visible = "[Character.HasTrait( GetTrait( 'charioteer_green' ) )]"
|
||||
tintcolor = { 0.8 0.9 0.5 0.6 }
|
||||
texture = "gfx/interface/colors/green.dds"
|
||||
|
||||
using = Mask_Rough_Edges
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/component_masks/mask_fade_horizontal_short.dds"
|
||||
blend_mode = alphaMultiply
|
||||
alpha = 0.5
|
||||
}
|
||||
}
|
||||
|
||||
background = {
|
||||
visible = "[Character.HasTrait( GetTrait( 'charioteer_white' ) )]"
|
||||
tintcolor = { 0.6 0.6 0.6 0.7 }
|
||||
texture = "gfx/interface/colors/white.dds"
|
||||
|
||||
using = Mask_Rough_Edges
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/component_masks/mask_fade_horizontal_short.dds"
|
||||
blend_mode = alphaMultiply
|
||||
alpha = 0.5
|
||||
}
|
||||
}
|
||||
|
||||
background = {
|
||||
visible = "[Character.HasTrait( GetTrait( 'charioteer_red' ) )]"
|
||||
tintcolor = { 0.9 0.7 0.8 0.6 }
|
||||
texture = "gfx/interface/colors/red.dds"
|
||||
|
||||
using = Mask_Rough_Edges
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/component_masks/mask_fade_horizontal_short.dds"
|
||||
blend_mode = alphaMultiply
|
||||
alpha = 0.5
|
||||
}
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
spacing = 1
|
||||
|
||||
block "dead_contestants" {}
|
||||
|
||||
item = {
|
||||
button_tertiary = {
|
||||
datacontext = "[Scope.Char]"
|
||||
layoutpolicy_horizontal = expanding
|
||||
onclick = "[DefaultOnCharacterClick(Character.GetID)]"
|
||||
|
||||
hbox = {
|
||||
alwaystransparent = yes
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
alwaystransparent = yes
|
||||
margin_left = 3
|
||||
|
||||
icon = {
|
||||
size = { 25 25 }
|
||||
texture = "gfx/interface/icons/icon_dead.dds"
|
||||
}
|
||||
|
||||
text_single = {
|
||||
name = "character_name"
|
||||
text = "[Character.GetUINameNotMeNoTooltip]"
|
||||
layoutpolicy_horizontal = expanding
|
||||
alwaystransparent = yes
|
||||
margin_left = 2
|
||||
|
||||
using = Font_Size_Small
|
||||
align = nobaseline
|
||||
|
||||
tooltip = "[Character.GetUINameNotMeNoTooltip]"
|
||||
using = tooltip_se
|
||||
|
||||
tooltipwidget = {
|
||||
cooltip_type = {}
|
||||
}
|
||||
}
|
||||
|
||||
hbox = {
|
||||
alwaystransparent = yes
|
||||
margin_right = 10
|
||||
|
||||
icon = {
|
||||
visible = "[ObjectsEqual( GetPlayer.MakeScope.Var('wager_target').Char, Character.Self )]"
|
||||
size = { 20 20 }
|
||||
texture = "gfx/interface/icons/court_position_types/bookmaker_court_position.dds"
|
||||
|
||||
tooltip = chariot_wager_tooltip
|
||||
using = tooltip_se
|
||||
}
|
||||
|
||||
icon = {
|
||||
visible = "[Character.IsEmployedInPositionBy( GetPlayer, GetCourtPositionType( 'charioteer_court_position' ) )]"
|
||||
size = { 20 20 }
|
||||
texture = "gfx/interface/icons/court_position_types/charioteer_court_position.dds"
|
||||
|
||||
tooltip = YOUR_CHARIOTEER_TOOLTIP
|
||||
using = tooltip_se
|
||||
}
|
||||
|
||||
icon = {
|
||||
visible = "[ObjectsEqual( GetPlayer.MakeScope.Var('wager_target').Char, Character.Self )]"
|
||||
size = { 25 25 }
|
||||
texture = "gfx/interface/icons/court_position_types/bookmaker_court_position.dds"
|
||||
|
||||
raw_tooltip = "[GetPlayer.Custom('BuildChariotRaceWagerTooltip')]"
|
||||
using = tooltip_se
|
||||
}
|
||||
|
||||
# Icons only visible when the player has placed a wager on a TEAM and NOT a specific CHARACTER
|
||||
# BLUES
|
||||
icon = {
|
||||
visible = "[And( ObjectsEqual( GetPlayer.MakeScope.Var('wager_target').Char, GetPlayer.Self ), And( Character.HasTrait( GetTrait('charioteer_blue') ), ObjectsEqual( GetPlayer.MakeScope.Var('wager_team').GetFlagName, 'blues' ) ) )]"
|
||||
size = { 20 20 }
|
||||
texture = "gfx/interface/icons/court_position_types/bookmaker_court_position.dds"
|
||||
|
||||
raw_tooltip = "[GetPlayer.Custom('BuildChariotRaceWagerTooltip')]"
|
||||
using = tooltip_se
|
||||
}
|
||||
|
||||
# GREENS
|
||||
icon = {
|
||||
visible = "[And( ObjectsEqual( GetPlayer.MakeScope.Var('wager_target').Char, GetPlayer.Self ), And( Character.HasTrait( GetTrait('charioteer_green') ), ObjectsEqual( GetPlayer.MakeScope.Var('wager_team').GetFlagName, 'greens' ) ) )]"
|
||||
size = { 20 20 }
|
||||
texture = "gfx/interface/icons/court_position_types/bookmaker_court_position.dds"
|
||||
|
||||
raw_tooltip = "[GetPlayer.Custom('BuildChariotRaceWagerTooltip')]"
|
||||
using = tooltip_se
|
||||
}
|
||||
|
||||
# WHITES
|
||||
icon = {
|
||||
visible = "[And( ObjectsEqual( GetPlayer.MakeScope.Var('wager_target').Char, GetPlayer.Self ), And( Character.HasTrait( GetTrait('charioteer_white') ), ObjectsEqual( GetPlayer.MakeScope.Var('wager_team').GetFlagName, 'whites' ) ) )]"
|
||||
size = { 20 20 }
|
||||
texture = "gfx/interface/icons/court_position_types/bookmaker_court_position.dds"
|
||||
|
||||
raw_tooltip = "[GetPlayer.Custom('BuildChariotRaceWagerTooltip')]"
|
||||
using = tooltip_se
|
||||
}
|
||||
|
||||
# REDS
|
||||
icon = {
|
||||
visible = "[And( ObjectsEqual( GetPlayer.MakeScope.Var('wager_target').Char, GetPlayer.Self ), And( Character.HasTrait( GetTrait('charioteer_red') ), ObjectsEqual( GetPlayer.MakeScope.Var('wager_team').GetFlagName, 'reds' ) ) )]"
|
||||
size = { 20 20 }
|
||||
texture = "gfx/interface/icons/court_position_types/bookmaker_court_position.dds"
|
||||
|
||||
raw_tooltip = "[GetPlayer.Custom('BuildChariotRaceWagerTooltip')]"
|
||||
using = tooltip_se
|
||||
}
|
||||
}
|
||||
|
||||
background = {
|
||||
using = Mask_Rough_Edges
|
||||
alpha = 0.8
|
||||
margin = { 4 4 }
|
||||
|
||||
texture = "gfx/interface/component_tiles/tile_title_bg_01.dds"
|
||||
spriteType = Corneredtiled
|
||||
spriteborder = { 40 8 }
|
||||
texture_density = 2
|
||||
|
||||
modify_texture = {
|
||||
name = "mask"
|
||||
texture = "gfx/interface/component_masks/mask_fade_horizontal.dds"
|
||||
spriteType = Corneredstretched
|
||||
spriteborder = { 0 0 }
|
||||
blend_mode = alphamultiply
|
||||
mirror = horizontal
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
background = {
|
||||
visible = "[Character.HasTrait( GetTrait( 'charioteer_blue' ) )]"
|
||||
tintcolor = { 0.7 0.8 1 0.8 }
|
||||
texture = "gfx/interface/colors/blue.dds"
|
||||
|
||||
using = Mask_Rough_Edges
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/component_masks/mask_fade_horizontal_short.dds"
|
||||
blend_mode = alphaMultiply
|
||||
alpha = 0.5
|
||||
}
|
||||
}
|
||||
|
||||
background = {
|
||||
visible = "[Character.HasTrait( GetTrait( 'charioteer_green' ) )]"
|
||||
tintcolor = { 0.8 0.9 0.5 0.6 }
|
||||
texture = "gfx/interface/colors/green.dds"
|
||||
|
||||
using = Mask_Rough_Edges
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/component_masks/mask_fade_horizontal_short.dds"
|
||||
blend_mode = alphaMultiply
|
||||
alpha = 0.5
|
||||
}
|
||||
}
|
||||
|
||||
background = {
|
||||
visible = "[Character.HasTrait( GetTrait( 'charioteer_white' ) )]"
|
||||
tintcolor = { 0.6 0.6 0.6 0.7 }
|
||||
texture = "gfx/interface/colors/white.dds"
|
||||
|
||||
using = Mask_Rough_Edges
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/component_masks/mask_fade_horizontal_short.dds"
|
||||
blend_mode = alphaMultiply
|
||||
alpha = 0.5
|
||||
}
|
||||
}
|
||||
|
||||
background = {
|
||||
visible = "[Character.HasTrait( GetTrait( 'charioteer_red' ) )]"
|
||||
tintcolor = { 0.9 0.7 0.8 0.6 }
|
||||
texture = "gfx/interface/colors/red.dds"
|
||||
|
||||
using = Mask_Rough_Edges
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/component_masks/mask_fade_horizontal_short.dds"
|
||||
blend_mode = alphaMultiply
|
||||
alpha = 0.5
|
||||
}
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
|
||||
|
||||
type widget_charioteer_item = vbox {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
spacing = 5
|
||||
|
||||
background = {
|
||||
using = Background_Area_Dark
|
||||
alpha = 0.5
|
||||
}
|
||||
|
||||
# NAME AND PLACE
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
margin = { 0 5 }
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
# PLACE
|
||||
text_single = {
|
||||
name = "place"
|
||||
margin_left = 10
|
||||
using = Font_Size_Medium
|
||||
default_format = "#high"
|
||||
align = nobaseline
|
||||
visible = "[And( Or( EqualTo_string( ActivityPhase.GetKey, 'chariot_race_phase' ), EqualTo_string( ActivityPhase.GetKey, 'chariot_race_phase_ceremony' ) ), Not( Activity.IsComplete ) )]"
|
||||
raw_text = "[Character.MakeScope.Var('current_place_in_race').GetValue|0)]"
|
||||
}
|
||||
|
||||
# NAME
|
||||
text_single = {
|
||||
name = "name"
|
||||
layoutpolicy_horizontal = expanding
|
||||
text = "[Character.GetTitledFirstNameNoTooltip]"
|
||||
using = Font_Size_Medium
|
||||
fontsize_min = 8
|
||||
default_format = "#high"
|
||||
autoresize = yes
|
||||
align = nobaseline
|
||||
margin_left = 10
|
||||
}
|
||||
|
||||
hbox = {
|
||||
margin_right = 15
|
||||
|
||||
icon = {
|
||||
visible = "[ObjectsEqual( GetPlayer.MakeScope.Var('wager_target').Char, Character.Self )]"
|
||||
size = { 20 20 }
|
||||
texture = "gfx/interface/icons/court_position_types/bookmaker_court_position.dds"
|
||||
|
||||
tooltip = chariot_wager_tooltip
|
||||
using = tooltip_se
|
||||
}
|
||||
|
||||
icon = {
|
||||
visible = "[Character.IsEmployedInPositionBy( GetPlayer, GetCourtPositionType( 'charioteer_court_position' ) )]"
|
||||
size = { 20 20 }
|
||||
texture = "gfx/interface/icons/court_position_types/charioteer_court_position.dds"
|
||||
|
||||
tooltip = YOUR_CHARIOTEER_TOOLTIP
|
||||
using = tooltip_se
|
||||
}
|
||||
|
||||
# Icons only visible when the player has placed a wager on a TEAM and NOT a specific CHARACTER
|
||||
icon = {
|
||||
visible = "[And( ObjectsEqual( GetPlayer.MakeScope.Var('wager_target').Char, GetPlayer.Self ), And( Character.HasTrait( GetTrait('charioteer_blue') ), ObjectsEqual( GetPlayer.MakeScope.Var('wager_team').GetFlagName, 'blues' ) ) )]"
|
||||
size = { 25 25 }
|
||||
texture = "gfx/interface/icons/court_position_types/bookmaker_court_position.dds"
|
||||
|
||||
raw_tooltip = "[GetPlayer.Custom('BuildChariotRaceWagerTooltip')]"
|
||||
using = tooltip_se
|
||||
}
|
||||
|
||||
icon = {
|
||||
visible = "[And( ObjectsEqual( GetPlayer.MakeScope.Var('wager_target').Char, GetPlayer.Self ), And( Character.HasTrait( GetTrait('charioteer_green') ), ObjectsEqual( GetPlayer.MakeScope.Var('wager_team').GetFlagName, 'greens' ) ) )]"
|
||||
size = { 25 25 }
|
||||
texture = "gfx/interface/icons/court_position_types/bookmaker_court_position.dds"
|
||||
|
||||
raw_tooltip = "[GetPlayer.Custom('BuildChariotRaceWagerTooltip')]"
|
||||
using = tooltip_se
|
||||
}
|
||||
|
||||
icon = {
|
||||
visible = "[And( ObjectsEqual( GetPlayer.MakeScope.Var('wager_target').Char, GetPlayer.Self ), And( Character.HasTrait( GetTrait('charioteer_white') ), ObjectsEqual( GetPlayer.MakeScope.Var('wager_team').GetFlagName, 'whites' ) ) )]"
|
||||
size = { 25 25 }
|
||||
texture = "gfx/interface/icons/court_position_types/bookmaker_court_position.dds"
|
||||
|
||||
raw_tooltip = "[GetPlayer.Custom('BuildChariotRaceWagerTooltip')]"
|
||||
using = tooltip_se
|
||||
}
|
||||
|
||||
icon = {
|
||||
visible = "[And( ObjectsEqual( GetPlayer.MakeScope.Var('wager_target').Char, GetPlayer.Self ), And( Character.HasTrait( GetTrait('charioteer_red') ), ObjectsEqual( GetPlayer.MakeScope.Var('wager_team').GetFlagName, 'reds' ) ) )]"
|
||||
size = { 25 25 }
|
||||
texture = "gfx/interface/icons/court_position_types/bookmaker_court_position.dds"
|
||||
|
||||
raw_tooltip = "[GetPlayer.Custom('BuildChariotRaceWagerTooltip')]"
|
||||
using = tooltip_se
|
||||
}
|
||||
}
|
||||
|
||||
background = {
|
||||
using = Mask_Rough_Edges
|
||||
alpha = 0.8
|
||||
margin = { 2 5 }
|
||||
|
||||
texture = "gfx/interface/component_tiles/tile_title_bg_01.dds"
|
||||
spriteType = Corneredtiled
|
||||
spriteborder = { 40 8 }
|
||||
texture_density = 2
|
||||
|
||||
modify_texture = {
|
||||
name = "mask"
|
||||
texture = "gfx/interface/component_masks/mask_fade_horizontal.dds"
|
||||
spriteType = Corneredstretched
|
||||
spriteborder = { 0 0 }
|
||||
blend_mode = alphamultiply
|
||||
mirror = horizontal
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
background = {
|
||||
visible = "[Character.HasTrait( GetTrait( 'charioteer_blue' ) )]"
|
||||
tintcolor = { 0.7 0.8 1 0.8 }
|
||||
texture = "gfx/interface/colors/blue.dds"
|
||||
|
||||
using = Mask_Rough_Edges
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/component_masks/mask_fade_horizontal_short.dds"
|
||||
blend_mode = alphaMultiply
|
||||
alpha = 0.5
|
||||
}
|
||||
}
|
||||
|
||||
background = {
|
||||
visible = "[Character.HasTrait( GetTrait( 'charioteer_green' ) )]"
|
||||
tintcolor = { 0.8 0.9 0.5 0.6 }
|
||||
texture = "gfx/interface/colors/green.dds"
|
||||
|
||||
margin = { 0 2 }
|
||||
|
||||
using = Mask_Rough_Edges
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/component_masks/mask_fade_horizontal_short.dds"
|
||||
blend_mode = alphaMultiply
|
||||
alpha = 0.5
|
||||
}
|
||||
}
|
||||
|
||||
background = {
|
||||
visible = "[Character.HasTrait( GetTrait( 'charioteer_white' ) )]"
|
||||
tintcolor = { 0.6 0.6 0.6 0.7 }
|
||||
texture = "gfx/interface/colors/white.dds"
|
||||
|
||||
margin = { 0 2 }
|
||||
|
||||
using = Mask_Rough_Edges
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/component_masks/mask_fade_horizontal_short.dds"
|
||||
blend_mode = alphaMultiply
|
||||
alpha = 0.5
|
||||
}
|
||||
}
|
||||
|
||||
background = {
|
||||
visible = "[Character.HasTrait( GetTrait( 'charioteer_red' ) )]"
|
||||
tintcolor = { 0.9 0.7 0.8 0.6 }
|
||||
texture = "gfx/interface/colors/red.dds"
|
||||
|
||||
margin = { 0 2 }
|
||||
|
||||
using = Mask_Rough_Edges
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/component_masks/mask_fade_horizontal_short.dds"
|
||||
blend_mode = alphaMultiply
|
||||
alpha = 0.5
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
margin_bottom = 5
|
||||
|
||||
portrait_head_small = {}
|
||||
|
||||
expand = {}
|
||||
|
||||
vbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
|
||||
# APTITUDE
|
||||
text_single = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
text = "[aptitude|E]: [Character.GetCourtPositionAptitude( GetCourtPositionType( 'charioteer_court_position' ) )]"
|
||||
align = nobaseline
|
||||
max_width = 160
|
||||
margin_right = 5
|
||||
|
||||
tooltip = CHARIOTEER_APTITUDE_GUI_TOOLTIP
|
||||
}
|
||||
|
||||
expand = {}
|
||||
|
||||
# CHARIOTEER TRAIT
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
icon_trait = {
|
||||
datacontext = "[GetTrait( 'charioteer_blue' )]"
|
||||
visible = "[Character.HasTrait( GetTrait( 'charioteer_blue' ) )]"
|
||||
|
||||
blockoverride "icon_size"
|
||||
{
|
||||
size = { 50 50 }
|
||||
}
|
||||
}
|
||||
|
||||
icon_trait = {
|
||||
datacontext = "[GetTrait( 'charioteer_green' )]"
|
||||
visible = "[Character.HasTrait( GetTrait( 'charioteer_green' ) )]"
|
||||
|
||||
blockoverride "icon_size"
|
||||
{
|
||||
size = { 50 50 }
|
||||
}
|
||||
}
|
||||
|
||||
icon_trait = {
|
||||
datacontext = "[GetTrait( 'charioteer_white' )]"
|
||||
visible = "[Character.HasTrait( GetTrait( 'charioteer_white' ) )]"
|
||||
|
||||
blockoverride "icon_size"
|
||||
{
|
||||
size = { 50 50 }
|
||||
}
|
||||
}
|
||||
|
||||
icon_trait = {
|
||||
datacontext = "[GetTrait( 'charioteer_red' )]"
|
||||
visible = "[Character.HasTrait( GetTrait( 'charioteer_red' ) )]"
|
||||
|
||||
blockoverride "icon_size"
|
||||
{
|
||||
size = { 50 50 }
|
||||
}
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
### Brief: widget_pivotal_moment_event_window_small
|
||||
type widget_pivotal_moment_event_window_small = activity_event_widget {
|
||||
datacontext = "[ActivityWindow.GetEventWindowInsert( PdxGuiWidget.AccessSelf )]"
|
||||
datacontext = "[EventWindowViewInsert.GetOpenEvent]"
|
||||
visible = "[EventWindowViewInsert.HasOpenEvent]"
|
||||
|
||||
state = {
|
||||
name = activity_new_event_shown
|
||||
on_start = "[PdxGuiWidget.FindChild( 'event_video' ).GfxVideoControl.Restart]"
|
||||
on_start = "[PdxGuiTriggerAllAnimations( 'activity_event_appear' )]"
|
||||
}
|
||||
|
||||
blockoverride "event_transition_picture_properties"
|
||||
{
|
||||
parentanchor = center
|
||||
using = PivotalMomentTransitionAnimation
|
||||
|
||||
state = {
|
||||
name = activity_event_appear
|
||||
alpha = 1
|
||||
scale = 1.25
|
||||
next = transition_still
|
||||
}
|
||||
}
|
||||
|
||||
blockoverride "event_transition_video_properties"
|
||||
{
|
||||
parentanchor = center
|
||||
loop = no
|
||||
restart_on_show = yes
|
||||
}
|
||||
|
||||
video_icon = {
|
||||
name = "shrouded_event_effect"
|
||||
video = "gfx/interface/component_masks/animated_masks/contest_reveal_fin.bk2"
|
||||
size = { 95.5% 99% }
|
||||
parentanchor = top|hcenter
|
||||
loop = no
|
||||
restart_on_show = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,59 +0,0 @@
|
|||
hbox = {
|
||||
name = "coronation_special_type_progression" #Needs to match the name of the GUI file
|
||||
spacing = 10
|
||||
|
||||
datacontext = "[ActivityWindow.GetActivity]"
|
||||
|
||||
text_single = {
|
||||
text = "activity_coronation_special_type_title"
|
||||
align = nobaseline
|
||||
max_width = 120
|
||||
|
||||
tooltip = activity_coronation_special_type_desc
|
||||
}
|
||||
|
||||
hbox = {
|
||||
margin_right = 10
|
||||
}
|
||||
|
||||
widget = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
size = { 350 20 }
|
||||
allow_outside = yes
|
||||
|
||||
datacontext = "[ActivityWindow.AccessSpecialTypeComplexBar( 'activity_special_type_progression' )]"
|
||||
|
||||
hbox_complex_bar_progress_next = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
tooltip = "CORONATION_WINDOW_SPECIAL_PROGRESS_TOOLTIP"
|
||||
using = tooltip_se
|
||||
}
|
||||
|
||||
hbox_complex_bar_levels = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
blockoverride "marker"
|
||||
{
|
||||
widget_level_marker = {
|
||||
visible = "[GreaterThan_int32( PdxGuiWidget.GetIndexInDataModel, '(int32)-1')]"
|
||||
|
||||
blockoverride "visible_active"
|
||||
{
|
||||
visible = "[ActivityWindow.IsActiveSpecialProgressLevel( ComplexBarItem.GetValue )]"
|
||||
}
|
||||
|
||||
blockoverride "visible_inactive"
|
||||
{
|
||||
visible = "[Not( ActivityWindow.IsActiveSpecialProgressLevel( ComplexBarItem.GetValue ) )]"
|
||||
}
|
||||
|
||||
blockoverride "marker_tooltip"
|
||||
{
|
||||
tooltip = "[ActivityWindow.GetSpecialTypeComplexBarSegmentDescription( Subtract_int32( PdxGuiWidget.GetIndexInDataModel, '(int32)0' ) )]"
|
||||
using = tooltip_se
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,233 +0,0 @@
|
|||
widget = {
|
||||
name = "coronation_supporter_detractor_widget"
|
||||
datacontext = "[Activity.GetCurrentPhase]"
|
||||
datacontext = "[Activity.GetCurrentPhase.GetPhase]"
|
||||
visible = "[Or( DataModelHasItems( ActivityWindow.GetCurrentPhaseGuestSubset( 'supporter' ) ), DataModelHasItems( ActivityWindow.GetCurrentPhaseGuestSubset( 'detractor' ) ) )]"
|
||||
visible_at_creation = no # required to make sure we trigger the '_show' state
|
||||
size = { 275 690 }
|
||||
|
||||
state = {
|
||||
name = _show
|
||||
using = Animation_FadeIn_Quick
|
||||
}
|
||||
|
||||
state = {
|
||||
name = _hide
|
||||
using = Animation_FadeOut_Quick
|
||||
}
|
||||
|
||||
vbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
|
||||
background = {
|
||||
texture = "gfx/interface/component_tiles/tile_window_background_subwindow.dds"
|
||||
spriteType = Corneredtiled
|
||||
spriteborder = { 18 18 }
|
||||
margin = { 16 16 }
|
||||
texture_density = 2
|
||||
|
||||
modify_texture = {
|
||||
name = "overlay"
|
||||
texture = "gfx/interface/component_overlay/overlay_effect.dds"
|
||||
spriteType = Corneredstretched
|
||||
spriteborder = { 0 0 }
|
||||
blend_mode = overlay
|
||||
}
|
||||
}
|
||||
|
||||
text_label_center = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
text = "SUPPORTER_WINDOW_LABEL"
|
||||
default_format = "#high;glow_color:{0.1,0.1,0.1,1.0}"
|
||||
fontsize = 22
|
||||
fontsize_min = 16
|
||||
using = Font_Type_Flavor
|
||||
tooltip = "SUPPORTER_WINDOW_LABEL_HOVER"
|
||||
}
|
||||
|
||||
# 3 Supporters or More
|
||||
coronation_widget_types_3 = {
|
||||
name = "coronation_supporter_view_3"
|
||||
visible = "[GreaterThan_int32( GetDataModelSize( ActivityWindow.GetCurrentPhaseGuestSubset( 'supporter' ) ), '(int32)2' )]"
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
state = {
|
||||
name = _show
|
||||
trigger_when = "[DataModelHasItems( ActivityWindow.GetCurrentPhaseGuestSubset( 'supporter' ) )]"
|
||||
on_start = "[ActivityWindow.SetAllPhasesGuestSubsetSortingDescending( 'supporter', 'coronation_supporter_sort_value' )]"
|
||||
}
|
||||
|
||||
blockoverride "first_place_datacontext"
|
||||
{
|
||||
# Uses a bit of a hack to ensure the datacontext is updated
|
||||
# when the underlying datamodel is sorted.
|
||||
datamodel = "[DataModelFirst( ActivityWindow.GetCurrentPhaseGuestSubset( 'supporter' ), '(int32)1' )]"
|
||||
}
|
||||
blockoverride "second_place_datacontext"
|
||||
{
|
||||
## Uses a bit of a hack to ensure the datacontext is updated
|
||||
## when the underlying datamodel is sorted.
|
||||
datamodel = "[DataModelFirst( ActivityWindow.GetCurrentPhaseGuestSubset( 'supporter' ), '(int32)2' )]"
|
||||
}
|
||||
blockoverride "third_place_datacontext"
|
||||
{
|
||||
## Uses a bit of a hack to ensure the datacontext is updated
|
||||
## when the underlying datamodel is sorted.
|
||||
datamodel = "[DataModelFirst( ActivityWindow.GetCurrentPhaseGuestSubset( 'supporter' ), '(int32)3' )]"
|
||||
}
|
||||
}
|
||||
|
||||
# 2 Supporters
|
||||
coronation_widget_types_2 = {
|
||||
name = "coronation_supporter_view_2"
|
||||
visible = "[EqualTo_int32( GetDataModelSize( ActivityWindow.GetCurrentPhaseGuestSubset( 'supporter' ) ), '(int32)2' )]"
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
state = {
|
||||
name = _show
|
||||
trigger_when = "[DataModelHasItems( ActivityWindow.GetCurrentPhaseGuestSubset( 'supporter' ) )]"
|
||||
on_start = "[ActivityWindow.SetAllPhasesGuestSubsetSortingDescending( 'supporter', 'coronation_supporter_sort_value' )]"
|
||||
}
|
||||
|
||||
blockoverride "first_place_datacontext"
|
||||
{
|
||||
# Uses a bit of a hack to ensure the datacontext is updated
|
||||
# when the underlying datamodel is sorted.
|
||||
datamodel = "[DataModelFirst( ActivityWindow.GetCurrentPhaseGuestSubset( 'supporter' ), '(int32)1' )]"
|
||||
}
|
||||
blockoverride "second_place_datacontext"
|
||||
{
|
||||
## Uses a bit of a hack to ensure the datacontext is updated
|
||||
## when the underlying datamodel is sorted.
|
||||
datamodel = "[DataModelFirst( ActivityWindow.GetCurrentPhaseGuestSubset( 'supporter' ), '(int32)2' )]"
|
||||
}
|
||||
}
|
||||
|
||||
# 1 Supporter
|
||||
coronation_widget_types_1 = {
|
||||
name = "coronation_supporter_view_1"
|
||||
visible = "[EqualTo_int32( GetDataModelSize( ActivityWindow.GetCurrentPhaseGuestSubset( 'supporter' ) ), '(int32)1' )]"
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
state = {
|
||||
name = _show
|
||||
trigger_when = "[DataModelHasItems( ActivityWindow.GetCurrentPhaseGuestSubset( 'supporter' ) )]"
|
||||
on_start = "[ActivityWindow.SetAllPhasesGuestSubsetSortingDescending( 'supporter', 'coronation_supporter_sort_value' )]"
|
||||
}
|
||||
|
||||
blockoverride "first_place_datacontext"
|
||||
{
|
||||
# Uses a bit of a hack to ensure the datacontext is updated
|
||||
# when the underlying datamodel is sorted.
|
||||
datamodel = "[DataModelFirst( ActivityWindow.GetCurrentPhaseGuestSubset( 'supporter' ), '(int32)1' )]"
|
||||
}
|
||||
}
|
||||
|
||||
# 0 Supporters
|
||||
coronation_widget_types_0 = {
|
||||
name = "coronation_supporter_view_0"
|
||||
visible = "[EqualTo_int32( GetDataModelSize( ActivityWindow.GetCurrentPhaseGuestSubset( 'supporter' ) ), '(int32)0' )]"
|
||||
layoutpolicy_horizontal = expanding
|
||||
}
|
||||
|
||||
expand = {}
|
||||
|
||||
text_label_center = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
text = "DETRACTOR_WINDOW_LABEL"
|
||||
default_format = "#high;glow_color:{0.1,0.1,0.1,1.0}"
|
||||
fontsize = 22
|
||||
fontsize_min = 16
|
||||
using = Font_Type_Flavor
|
||||
tooltip = "DETRACTOR_WINDOW_LABEL_HOVER"
|
||||
}
|
||||
|
||||
# 3 Detractors or More
|
||||
coronation_widget_types_3 = {
|
||||
name = "coronation_detractor_view_3"
|
||||
visible = "[GreaterThan_int32( GetDataModelSize( ActivityWindow.GetCurrentPhaseGuestSubset( 'detractor' ) ), '(int32)2' )]"
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
state = {
|
||||
name = _show
|
||||
trigger_when = "[DataModelHasItems( ActivityWindow.GetCurrentPhaseGuestSubset( 'detractor' ) )]"
|
||||
on_start = "[ActivityWindow.SetAllPhasesGuestSubsetSortingDescending( 'detractor', 'coronation_detractor_sort_value' )]"
|
||||
}
|
||||
|
||||
blockoverride "first_place_datacontext"
|
||||
{
|
||||
# Uses a bit of a hack to ensure the datacontext is updated
|
||||
# when the underlying datamodel is sorted.
|
||||
datamodel = "[DataModelFirst( ActivityWindow.GetCurrentPhaseGuestSubset( 'detractor' ), '(int32)1' )]"
|
||||
}
|
||||
blockoverride "second_place_datacontext"
|
||||
{
|
||||
## Uses a bit of a hack to ensure the datacontext is updated
|
||||
## when the underlying datamodel is sorted.
|
||||
datamodel = "[DataModelFirst( ActivityWindow.GetCurrentPhaseGuestSubset( 'detractor' ), '(int32)2' )]"
|
||||
}
|
||||
blockoverride "third_place_datacontext"
|
||||
{
|
||||
## Uses a bit of a hack to ensure the datacontext is updated
|
||||
## when the underlying datamodel is sorted.
|
||||
datamodel = "[DataModelFirst( ActivityWindow.GetCurrentPhaseGuestSubset( 'detractor' ), '(int32)3' )]"
|
||||
}
|
||||
}
|
||||
|
||||
# 2 Detractors
|
||||
coronation_widget_types_2 = {
|
||||
name = "coronation_detractor_view_2"
|
||||
visible = "[EqualTo_int32( GetDataModelSize( ActivityWindow.GetCurrentPhaseGuestSubset( 'detractor' ) ), '(int32)2' )]"
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
state = {
|
||||
name = _show
|
||||
trigger_when = "[DataModelHasItems( ActivityWindow.GetCurrentPhaseGuestSubset( 'detractor' ) )]"
|
||||
on_start = "[ActivityWindow.SetAllPhasesGuestSubsetSortingDescending( 'detractor', 'coronation_detractor_sort_value' )]"
|
||||
}
|
||||
|
||||
blockoverride "first_place_datacontext"
|
||||
{
|
||||
# Uses a bit of a hack to ensure the datacontext is updated
|
||||
# when the underlying datamodel is sorted.
|
||||
datamodel = "[DataModelFirst( ActivityWindow.GetCurrentPhaseGuestSubset( 'detractor' ), '(int32)1' )]"
|
||||
}
|
||||
blockoverride "second_place_datacontext"
|
||||
{
|
||||
## Uses a bit of a hack to ensure the datacontext is updated
|
||||
## when the underlying datamodel is sorted.
|
||||
datamodel = "[DataModelFirst( ActivityWindow.GetCurrentPhaseGuestSubset( 'detractor' ), '(int32)2' )]"
|
||||
}
|
||||
}
|
||||
|
||||
# 1 Detractor
|
||||
coronation_widget_types_1 = {
|
||||
name = "coronation_detractor_view_1"
|
||||
visible = "[EqualTo_int32( GetDataModelSize( ActivityWindow.GetCurrentPhaseGuestSubset( 'detractor' ) ), '(int32)1' )]"
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
state = {
|
||||
name = _show
|
||||
trigger_when = "[DataModelHasItems( ActivityWindow.GetCurrentPhaseGuestSubset( 'detractor' ) )]"
|
||||
on_start = "[ActivityWindow.SetAllPhasesGuestSubsetSortingDescending( 'detractor', 'coronation_detractor_sort_value' )]"
|
||||
}
|
||||
|
||||
blockoverride "first_place_datacontext"
|
||||
{
|
||||
# Uses a bit of a hack to ensure the datacontext is updated
|
||||
# when the underlying datamodel is sorted.
|
||||
datamodel = "[DataModelFirst( ActivityWindow.GetCurrentPhaseGuestSubset( 'detractor' ), '(int32)1' )]"
|
||||
}
|
||||
}
|
||||
|
||||
# 0 Detractors
|
||||
coronation_widget_types_0 = {
|
||||
name = "coronation_detractor_view_0"
|
||||
visible = "[EqualTo_int32( GetDataModelSize( ActivityWindow.GetCurrentPhaseGuestSubset( 'detractor' ) ), '(int32)0' )]"
|
||||
layoutpolicy_horizontal = expanding
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,243 +0,0 @@
|
|||
types CoronationWidgetTypes
|
||||
{
|
||||
type coronation_widget_types_3 = vbox {
|
||||
layoutpolicy_vertical = expanding
|
||||
alwaystransparent = no
|
||||
|
||||
widget_coronation_character_item = {
|
||||
datacontext_from_model = {
|
||||
block "first_place_datacontext" {}
|
||||
index = 0
|
||||
}
|
||||
}
|
||||
|
||||
widget_coronation_character_item = {
|
||||
datacontext_from_model = {
|
||||
block "second_place_datacontext" {}
|
||||
index = 1
|
||||
}
|
||||
}
|
||||
|
||||
widget_coronation_character_item = {
|
||||
datacontext_from_model = {
|
||||
block "third_place_datacontext" {}
|
||||
index = 2
|
||||
}
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
|
||||
type coronation_widget_types_2 = vbox {
|
||||
layoutpolicy_vertical = expanding
|
||||
alwaystransparent = no
|
||||
|
||||
widget_coronation_character_item = {
|
||||
datacontext_from_model = {
|
||||
block "first_place_datacontext" {}
|
||||
index = 0
|
||||
}
|
||||
}
|
||||
|
||||
widget_coronation_character_item = {
|
||||
datacontext_from_model = {
|
||||
block "second_place_datacontext" {}
|
||||
index = 1
|
||||
}
|
||||
}
|
||||
|
||||
widget_coronation_character_item_empty = {}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
|
||||
type coronation_widget_types_1 = vbox {
|
||||
layoutpolicy_vertical = expanding
|
||||
alwaystransparent = no
|
||||
|
||||
widget_coronation_character_item = {
|
||||
datacontext_from_model = {
|
||||
block "first_place_datacontext" {}
|
||||
index = 0
|
||||
}
|
||||
}
|
||||
|
||||
widget_coronation_character_item_empty = {}
|
||||
|
||||
widget_coronation_character_item_empty = {}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
|
||||
type coronation_widget_types_0 = vbox {
|
||||
layoutpolicy_vertical = expanding
|
||||
alwaystransparent = no
|
||||
|
||||
widget_coronation_character_item_empty = {}
|
||||
|
||||
widget_coronation_character_item_empty = {}
|
||||
|
||||
widget_coronation_character_item_empty = {}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
|
||||
type widget_coronation_character_item = vbox {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
spacing = 5
|
||||
|
||||
background = {
|
||||
using = Background_Area_Dark
|
||||
alpha = 0.5
|
||||
}
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
margin_bottom = 5
|
||||
|
||||
portrait_head_small = {}
|
||||
|
||||
expand = {}
|
||||
|
||||
vbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
|
||||
# NAME AND PLACE
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
margin = { 0 5 }
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
# NAME
|
||||
text_single = {
|
||||
name = "name"
|
||||
layoutpolicy_horizontal = expanding
|
||||
text = "[Character.GetTitledFirstNameNoTooltip]"
|
||||
using = Font_Size_Medium
|
||||
fontsize_min = 8
|
||||
default_format = "#high"
|
||||
autoresize = yes
|
||||
align = nobaseline
|
||||
margin_left = 10
|
||||
}
|
||||
|
||||
background = {
|
||||
using = Mask_Rough_Edges
|
||||
alpha = 0.8
|
||||
margin = { 2 5 }
|
||||
|
||||
texture = "gfx/interface/component_tiles/tile_title_bg_01.dds"
|
||||
spriteType = Corneredtiled
|
||||
spriteborder = { 40 8 }
|
||||
texture_density = 2
|
||||
|
||||
modify_texture = {
|
||||
name = "mask"
|
||||
texture = "gfx/interface/component_masks/mask_fade_horizontal.dds"
|
||||
spriteType = Corneredstretched
|
||||
spriteborder = { 0 0 }
|
||||
blend_mode = alphamultiply
|
||||
mirror = horizontal
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
background = {
|
||||
visible = "[Character.GetInvolvedActivity.GetCurrentPhase.IsCharacterInGuestSubset( Character.Self, 'supporter' )]"
|
||||
tintcolor = { 0.7 0.8 1 0.8 }
|
||||
texture = "gfx/interface/colors/blue.dds"
|
||||
|
||||
using = Mask_Rough_Edges
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/component_masks/mask_fade_horizontal_short.dds"
|
||||
blend_mode = alphaMultiply
|
||||
alpha = 0.5
|
||||
}
|
||||
}
|
||||
|
||||
background = {
|
||||
visible = "[Character.GetInvolvedActivity.GetCurrentPhase.IsCharacterInGuestSubset( Character.Self, 'detractor' )]"
|
||||
tintcolor = { 0.9 0.7 0.8 0.6 }
|
||||
texture = "gfx/interface/colors/red.dds"
|
||||
|
||||
margin = { 0 2 }
|
||||
|
||||
using = Mask_Rough_Edges
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/component_masks/mask_fade_horizontal_short.dds"
|
||||
blend_mode = alphaMultiply
|
||||
alpha = 0.5
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
margin = { 0 5 }
|
||||
|
||||
vbox = {
|
||||
name = "current_intent"
|
||||
datacontext = "[Character.GetInvolvedActivityIntent]"
|
||||
visible = "[Not( Activity.IsComplete )]"
|
||||
margin_left = 15
|
||||
tooltip = "CORONATION_ACTIVITY_INTENT_TOOLTIP"
|
||||
|
||||
icon = {
|
||||
size = { 30 30 }
|
||||
texture = "[ActivityIntent.GetIcon]"
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/colors/colors_textured.dds"
|
||||
blend_mode = add
|
||||
framesize = { 96 96 }
|
||||
|
||||
block "master_color_frame" {
|
||||
frame = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
text_single = {
|
||||
text = "CORONATION_ACTIVITY_INTENT_NAME"
|
||||
align = left|nobaseline
|
||||
max_width = 230
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
type widget_coronation_character_item_empty = vbox {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
spacing = 5
|
||||
|
||||
background = {
|
||||
using = Background_Area_Dark
|
||||
alpha = 0.5
|
||||
}
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
margin_bottom = 5
|
||||
|
||||
icon = {
|
||||
name = "portrait_unknown_head_small_glow"
|
||||
texture = "gfx/portraits/unknown_portraits/button_unknown_head.dds"
|
||||
size = { 80 100 }
|
||||
framesize = { 384 480 }
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,258 +0,0 @@
|
|||
widget = {
|
||||
name = "debate_success_chance"
|
||||
|
||||
datacontext = "[ActivityWindow.GetActivity]"
|
||||
datacontext = "[GuiScope.SetRoot( Activity.MakeScope ).GetScriptValueBreakdown( 'debate_outcome_value' )]"
|
||||
tooltip_visible = "[ValueBreakdown.HasTooltip]"
|
||||
datacontext = "[Activity.GetCurrentPhase]"
|
||||
datacontext = "[Activity.GetCurrentPhase.GetPhase]"
|
||||
|
||||
tooltipwidget = {
|
||||
widget_value_breakdown_tooltip = {
|
||||
datacontext = "[GuiScope.SetRoot( Activity.MakeScope ).GetScriptValueBreakdown( 'debate_outcome_value' )]"
|
||||
}
|
||||
}
|
||||
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
|
||||
vbox = {
|
||||
visible = "[And( Activity.IsCurrentPhaseActive, Not(Activity.IsComplete))]"
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
margin_left = 15
|
||||
|
||||
widget = {
|
||||
name = "progressbar_outer"
|
||||
size = { 340 45 }
|
||||
widget = {
|
||||
name = "progressbar_outer"
|
||||
size = { 340 10 }
|
||||
parentanchor = center
|
||||
widgetanchor = center
|
||||
|
||||
background = {
|
||||
texture = "gfx/interface/component_overlay/overlay_stone.dds"
|
||||
texture_density = 2
|
||||
spritetype = corneredtiled
|
||||
color = { 0.2 0.2 0.2 1 }
|
||||
alpha = 0.9
|
||||
}
|
||||
|
||||
# PROGRESS BAR
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
arrow_progressbar_icon = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
layoutstretchfactor_horizontal = 50
|
||||
|
||||
blockoverride "color"
|
||||
{
|
||||
using = Color_Green
|
||||
mirror = horizontal
|
||||
}
|
||||
}
|
||||
widget = {
|
||||
layoutstretchfactor_horizontal = 50
|
||||
layoutpolicy_horizontal = expanding
|
||||
}
|
||||
}
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
widget = {
|
||||
layoutstretchfactor_horizontal = 50
|
||||
layoutpolicy_horizontal = expanding
|
||||
}
|
||||
arrow_progressbar_icon = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
|
||||
layoutstretchfactor_horizontal = 50
|
||||
|
||||
blockoverride "color"
|
||||
{
|
||||
using = Color_Red
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# SIDE/CENTRAL MARKERS
|
||||
icon = {
|
||||
name = "marker_icon_left"
|
||||
texture = "gfx/interface/window_regency/regency_level_bg.dds"
|
||||
size = { 45 45 }
|
||||
|
||||
widgetanchor = center
|
||||
parentanchor = left|vcenter
|
||||
|
||||
tooltip = "DEBATE_PROGRESS_YOU_TT"
|
||||
using = tooltip_above
|
||||
alwaystransparent = no
|
||||
|
||||
icon = {
|
||||
name = "marker_icon_middle_overlay"
|
||||
texture = "gfx/interface/icons/symbols/arrow_most_favored.dds"
|
||||
size = { 25 25 }
|
||||
position = { 10 10 }
|
||||
alwaystransparent = yes
|
||||
}
|
||||
}
|
||||
|
||||
icon = {
|
||||
name = "marker_icon_middle"
|
||||
texture = "gfx/interface/window_regency/regency_level_bg.dds"
|
||||
size = { 30 30 }
|
||||
|
||||
widgetanchor = center
|
||||
parentanchor = center
|
||||
|
||||
alwaystransparent = yes
|
||||
}
|
||||
|
||||
icon = {
|
||||
name = "marker_icon_right"
|
||||
texture = "gfx/interface/window_regency/regency_level_bg.dds"
|
||||
size = { 45 45 }
|
||||
widgetanchor = center
|
||||
parentanchor = right|vcenter
|
||||
tooltip = "DEBATE_PROGRESS_OPPONENT_TT"
|
||||
using = tooltip_above
|
||||
alwaystransparent = no
|
||||
|
||||
icon = {
|
||||
name = "marker_icon_middle_overlay"
|
||||
texture = "gfx/interface/icons/symbols/arrow_unfavored.dds"
|
||||
size = { 25 25 }
|
||||
position = { 10 10 }
|
||||
alwaystransparent = yes
|
||||
}
|
||||
}
|
||||
|
||||
# PROGRESS MARKERS
|
||||
icon = {
|
||||
name = "marker_icon_progress_1"
|
||||
visible = "[EqualTo_CFixedPoint( Activity.MakeScope.ScriptValue( 'debate_outcome_value' ), '(CFixedPoint)3' )]"
|
||||
texture = "gfx/interface/window_regency/regency_level_bg.dds"
|
||||
size = { 45 45 }
|
||||
position = { 10 0 }
|
||||
tooltip = "DEBATE_PROGRESS_MARKER_1_TT"
|
||||
using = tooltip_above
|
||||
|
||||
icon = {
|
||||
name = "marker_icon_middle_overlay"
|
||||
texture = "gfx/interface/icons/character_interactions/debug_chars.dds"
|
||||
size = { 25 25 }
|
||||
position = { 10 10 }
|
||||
alwaystransparent = yes
|
||||
}
|
||||
}
|
||||
|
||||
icon = {
|
||||
name = "marker_icon_progress_2"
|
||||
visible = "[EqualTo_CFixedPoint( Activity.MakeScope.ScriptValue( 'debate_outcome_value' ), '(CFixedPoint)2' )]"
|
||||
texture = "gfx/interface/window_regency/regency_level_bg.dds"
|
||||
size = { 45 45 }
|
||||
position = { 50 0 }
|
||||
tooltip = "DEBATE_PROGRESS_MARKER_2_TT"
|
||||
using = tooltip_above
|
||||
|
||||
icon = {
|
||||
name = "marker_icon_middle_overlay"
|
||||
texture = "gfx/interface/icons/character_interactions/debug_chars.dds"
|
||||
size = { 25 25 }
|
||||
position = { 10 10 }
|
||||
alwaystransparent = yes
|
||||
}
|
||||
}
|
||||
icon = {
|
||||
name = "marker_icon_progress_3"
|
||||
visible = "[EqualTo_CFixedPoint( Activity.MakeScope.ScriptValue( 'debate_outcome_value' ), '(CFixedPoint)1' )]"
|
||||
texture = "gfx/interface/window_regency/regency_level_bg.dds"
|
||||
size = { 45 45 }
|
||||
position = { 99 0 }
|
||||
tooltip = "DEBATE_PROGRESS_MARKER_3_TT"
|
||||
using = tooltip_above
|
||||
|
||||
icon = {
|
||||
name = "marker_icon_middle_overlay"
|
||||
texture = "gfx/interface/icons/character_interactions/debug_chars.dds"
|
||||
size = { 25 25 }
|
||||
position = { 10 10 }
|
||||
alwaystransparent = yes
|
||||
}
|
||||
}
|
||||
icon = {
|
||||
name = "marker_icon_progress_4"
|
||||
visible = "[EqualTo_CFixedPoint( Activity.MakeScope.ScriptValue( 'debate_outcome_value' ), '(CFixedPoint)0' )]"
|
||||
texture = "gfx/interface/window_regency/regency_level_bg.dds"
|
||||
size = { 45 45 }
|
||||
widgetanchor = center
|
||||
parentanchor = center
|
||||
tooltip = "DEBATE_PROGRESS_MARKER_4_TT"
|
||||
using = tooltip_above
|
||||
|
||||
icon = {
|
||||
name = "marker_icon_middle_overlay"
|
||||
texture = "gfx/interface/icons/character_interactions/debug_chars.dds"
|
||||
size = { 25 25 }
|
||||
position = { 10 10 }
|
||||
alwaystransparent = yes
|
||||
}
|
||||
}
|
||||
icon = {
|
||||
name = "marker_icon_progress_5"
|
||||
visible = "[EqualTo_CFixedPoint( Activity.MakeScope.ScriptValue( 'debate_outcome_value' ), '(CFixedPoint)-1' )]"
|
||||
texture = "gfx/interface/window_regency/regency_level_bg.dds"
|
||||
size = { 45 45 }
|
||||
position = { 197 0 }
|
||||
tooltip = "DEBATE_PROGRESS_MARKER_5_TT"
|
||||
using = tooltip_above
|
||||
|
||||
icon = {
|
||||
name = "marker_icon_middle_overlay"
|
||||
texture = "gfx/interface/icons/character_interactions/debug_chars.dds"
|
||||
size = { 25 25 }
|
||||
position = { 10 10 }
|
||||
alwaystransparent = yes
|
||||
}
|
||||
}
|
||||
icon = {
|
||||
name = "marker_icon_progress_6"
|
||||
visible = "[EqualTo_CFixedPoint( Activity.MakeScope.ScriptValue( 'debate_outcome_value' ), '(CFixedPoint)-2' )]"
|
||||
texture = "gfx/interface/window_regency/regency_level_bg.dds"
|
||||
size = { 45 45 }
|
||||
position = { 246 0 }
|
||||
tooltip = "DEBATE_PROGRESS_MARKER_6_TT"
|
||||
using = tooltip_above
|
||||
|
||||
icon = {
|
||||
name = "marker_icon_middle_overlay"
|
||||
texture = "gfx/interface/icons/character_interactions/debug_chars.dds"
|
||||
size = { 25 25 }
|
||||
position = { 10 10 }
|
||||
alwaystransparent = yes
|
||||
}
|
||||
}
|
||||
icon = {
|
||||
name = "marker_icon_progress_7"
|
||||
visible = "[EqualTo_CFixedPoint( Activity.MakeScope.ScriptValue( 'debate_outcome_value' ), '(CFixedPoint)-3' )]"
|
||||
texture = "gfx/interface/window_regency/regency_level_bg.dds"
|
||||
size = { 45 45 }
|
||||
position = { 285 0 }
|
||||
tooltip = "DEBATE_PROGRESS_MARKER_7_TT"
|
||||
using = tooltip_above
|
||||
|
||||
icon = {
|
||||
name = "marker_icon_middle_overlay"
|
||||
texture = "gfx/interface/icons/character_interactions/debug_chars.dds"
|
||||
size = { 25 25 }
|
||||
position = { 10 10 }
|
||||
alwaystransparent = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
widget = {
|
||||
name = "funeral_deceased_portrait"
|
||||
datacontext = "[Activity.MakeScope().Var( 'body_to_bury' ).Char]"
|
||||
|
||||
size = { 120 170 }
|
||||
parentanchor = top|right
|
||||
position = { -50 60 }
|
||||
|
||||
vbox = {
|
||||
margin = { 5 5 }
|
||||
|
||||
text_label_center = {
|
||||
text = "body_to_bury_for_host"
|
||||
}
|
||||
|
||||
portrait_head = { }
|
||||
|
||||
text_label_center = {
|
||||
text = "[Character.GetShortUINameNoTooltip]"
|
||||
align = center
|
||||
max_width = 130
|
||||
multiline = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1,77 +0,0 @@
|
|||
|
||||
hbox = {
|
||||
name = "funeral_deceased_selection_button"
|
||||
datacontext = "[GetFuneralDeceasedToHonorPlannerContext]"
|
||||
layoutpolicy_vertical = expanding
|
||||
|
||||
vbox = {
|
||||
margin = { 16 0 }
|
||||
margin_top = 8
|
||||
margin_bottom = 16
|
||||
spacing = 7
|
||||
layoutpolicy_vertical = expanding
|
||||
|
||||
hbox = {
|
||||
spacing = 10
|
||||
|
||||
tooltip = "body_to_bury_desc_for_host"
|
||||
using = tooltip_ne
|
||||
|
||||
text_label_center = {
|
||||
text = "body_to_bury_for_host"
|
||||
}
|
||||
|
||||
button_change ={
|
||||
button_ignore = none
|
||||
|
||||
onclick = "[GetScriptedGui('funeral_fill_available_targets_gui').Execute( GuiScope.SetRoot( GetPlayer.MakeScope ).End )]"
|
||||
onclick = "[ToggleFuneralDeceasedSelection]"
|
||||
onrightclick = "[ActivityPlanner.ClearOnCreateObject( 'body_to_bury' )]"
|
||||
|
||||
tooltip = "ACTIVITY_PLANNER_CHANGE_SPECIAL_GUEST_TT"
|
||||
}
|
||||
|
||||
warning_icon = {
|
||||
visible = "[Not( Character.IsValid )]"
|
||||
size = { 30 30 }
|
||||
|
||||
tooltip = "body_to_bury_desc_for_host_required_tt"
|
||||
}
|
||||
}
|
||||
|
||||
expand = {}
|
||||
|
||||
selectable_target_portrait_widget = {
|
||||
|
||||
block "selectable_target_portrait_properties"
|
||||
{
|
||||
}
|
||||
|
||||
blockoverride "empty_slot"
|
||||
{
|
||||
onclick = "[GetScriptedGui('funeral_fill_available_targets_gui').Execute( GuiScope.SetRoot( GetPlayer.MakeScope ).End )]"
|
||||
onclick = "[ToggleFuneralDeceasedSelection]"
|
||||
}
|
||||
}
|
||||
|
||||
expand = {}
|
||||
|
||||
button_standard = {
|
||||
onclick = "[GetScriptedGui('funeral_fill_available_targets_gui').Execute( GuiScope.SetRoot( GetPlayer.MakeScope ).End )]"
|
||||
onclick = "[ToggleFuneralDeceasedSelection]"
|
||||
text = "SELECT"
|
||||
size = { 210 44 }
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
layoutpolicy_vertical = expanding
|
||||
|
||||
margin_top = 8
|
||||
margin_bottom = 16
|
||||
|
||||
divider = {
|
||||
layoutpolicy_vertical = expanding
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,98 +0,0 @@
|
|||
widget = {
|
||||
name = "funeral_deceased_selection_widget"
|
||||
visible = "[IsShowingFuneralDeceasedSelection]"
|
||||
size = { 600 90% }
|
||||
layer = middle
|
||||
|
||||
allow_outside = yes
|
||||
|
||||
using = Window_Background
|
||||
using = Window_Decoration
|
||||
|
||||
state = {
|
||||
name = _show
|
||||
using = Animation_FadeIn_Quick
|
||||
}
|
||||
|
||||
state = {
|
||||
name = _hide
|
||||
using = Animation_FadeOut_Quick
|
||||
}
|
||||
|
||||
vbox = {
|
||||
using = Window_Margins
|
||||
|
||||
header_pattern = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
blockoverride "header_text"
|
||||
{
|
||||
text = "deceased_selection_widget_header"
|
||||
}
|
||||
blockoverride "button_close"
|
||||
{
|
||||
onclick = "[ToggleFuneralDeceasedSelection]"
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
name = "contents"
|
||||
layoutpolicy_vertical = expanding
|
||||
layoutpolicy_horizontal = expanding
|
||||
spacing = 3
|
||||
|
||||
text_label_center = {
|
||||
name = "guest_list_instruction_text"
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
text = "body_to_bury_selection_info"
|
||||
default_format = "#I"
|
||||
align = center|nobaseline
|
||||
|
||||
margin = {4 4}
|
||||
}
|
||||
|
||||
scrollbox = {
|
||||
layoutpolicy_vertical = expanding
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
blockoverride "scrollbox_content" {
|
||||
vbox = {
|
||||
name = "character_grid"
|
||||
datamodel = "[GetPlayer.MakeScope.GetList('funeral_activity_targets')]"
|
||||
|
||||
item = {
|
||||
potential_selectable_target_portrait_widget = {
|
||||
datacontext = "[Scope.Char]"
|
||||
|
||||
size = { 475 100 }
|
||||
visible = "[FuneralIsBodyAvailable]"
|
||||
|
||||
blockoverride "onclick"
|
||||
{
|
||||
onclick = "[ActivityPlanner.AddOrSetOnCreationObject( 'body_to_bury', Character.MakeScope )]"
|
||||
|
||||
onclick = "[ToggleFuneralDeceasedSelection]"
|
||||
down = "[ObjectsEqual( GetFuneralDeceasedToHonorPlannerContext, Character.Self )]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
margin = { 16 16 }
|
||||
|
||||
background = {
|
||||
using = Background_Area
|
||||
}
|
||||
button_primary = {
|
||||
text = "CLOSE_LABEL"
|
||||
onclick = "[ToggleFuneralDeceasedSelection]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,45 +0,0 @@
|
|||
hbox = {
|
||||
name = "hunt_success_chance"
|
||||
spacing = 5
|
||||
|
||||
datacontext = "[ActivityWindow.GetActivity]"
|
||||
|
||||
visible = "[And( EqualTo_string( ActivityType.GetKey(), 'activity_hunt'), Not( GreaterThan_CFixedPoint( Activity.MakeScope.Var('nerge_activity').GetValue, '(CFixedPoint)0' ) ) )]"
|
||||
|
||||
text_single = {
|
||||
text = "hunt_success_bar"
|
||||
align = nobaseline
|
||||
max_width = 200
|
||||
}
|
||||
|
||||
progressbar_standard = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
size = { 200 30 }
|
||||
value = "[Activity.MakeScope.Var( 'hunt_success_chance' ).GetValue]"
|
||||
max = 100
|
||||
min = 0
|
||||
|
||||
using = Progressbar_Changed_Animation
|
||||
|
||||
datacontext = "[GuiScope.SetRoot( Activity.MakeScope ).GetScriptValueBreakdown( 'hunt_success_chance_value' )]"
|
||||
tooltip_visible = "[ValueBreakdown.HasTooltip]"
|
||||
|
||||
tooltipwidget = {
|
||||
widget_value_breakdown_tooltip = {
|
||||
datacontext = "[GuiScope.SetRoot( Activity.MakeScope ).GetScriptValueBreakdown( 'hunt_success_chance_value' )]"
|
||||
}
|
||||
}
|
||||
|
||||
marker = {
|
||||
name = "current_value"
|
||||
widget = {
|
||||
icon = {
|
||||
size = { 25 25 }
|
||||
position = { -20 2 }
|
||||
texture = "gfx/interface/progressbars/progressbar_center_glow.dds"
|
||||
color = { 0.80 0.90 1 0.9 }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,57 +0,0 @@
|
|||
widget = {
|
||||
name = "imperial_examination_progress_widget"
|
||||
datacontext = "[Activity.GetCurrentPhase]"
|
||||
datacontext = "[Activity.GetCurrentPhase.GetPhase]"
|
||||
visible_at_creation = no # required to make sure we trigger the '_show' state
|
||||
visible = "[And(Or(NotZero_CFixedPoint( Character.MakeScope().Var('has_exam_advantage').GetValue ), NotZero_CFixedPoint( Character.MakeScope().ScriptValue( 'exam_cheats_count' ) ) ),Or(EqualTo_string( ActivityType.GetKey(), 'activity_local_examination'),EqualTo_string( ActivityType.GetKey(), 'activity_imperial_examination')))]"
|
||||
|
||||
layoutpolicy_vertical = expanding
|
||||
max_width = 200
|
||||
|
||||
state = {
|
||||
name = _show
|
||||
using = Animation_FadeIn_Quick
|
||||
}
|
||||
|
||||
state = {
|
||||
name = _hide
|
||||
using = Animation_FadeOut_Quick
|
||||
}
|
||||
|
||||
background = {
|
||||
using = Background_Area
|
||||
margin = { 10 3 }
|
||||
}
|
||||
|
||||
expand = {}
|
||||
hbox = {
|
||||
expand = {}
|
||||
|
||||
icon = {
|
||||
texture = "[Activity.GetType.GetIcon]"
|
||||
size = { 40 40 }
|
||||
}
|
||||
|
||||
vbox = {
|
||||
margin_left = 10
|
||||
|
||||
text_single = {
|
||||
text = "[exam_cheat|E]: [Character.MakeScope().ScriptValue( 'exam_cheats_count' )]"
|
||||
visible = "[NotZero_CFixedPoint( Character.MakeScope().ScriptValue( 'exam_cheats_count' ) )]"
|
||||
|
||||
align = nobaseline
|
||||
min_width = 200
|
||||
}
|
||||
|
||||
text_single = {
|
||||
text = "[exam_advantage|E]: [Character.MakeScope().Var('has_exam_advantage').GetValue]"
|
||||
visible = "[NotZero_CFixedPoint( Character.MakeScope().Var('has_exam_advantage').GetValue )]"
|
||||
|
||||
align = nobaseline
|
||||
min_width = 200
|
||||
}
|
||||
}
|
||||
expand = {}
|
||||
}
|
||||
expand = {}
|
||||
}
|
||||
|
|
@ -1,171 +0,0 @@
|
|||
widget = {
|
||||
name = "imperial_examination_scoreboard_widget"
|
||||
datacontext = "[Activity.GetCurrentPhase]"
|
||||
datacontext = "[Activity.GetCurrentPhase.GetPhase]"
|
||||
visible = "[And( Not( VariableSystem.Exists('activity_scoreboard_view') ), And( GreaterThanOrEqualTo_int32( GetDataModelSize( ActivityWindow.GetCurrentPhaseGuestSubset( 'entrants' ) ), '(int32)3' ), GreaterThanOrEqualTo_int32( GetDataModelSize( ActivityWindow.GetCurrentPhaseGuestSubset( 'scoreboard' ) ), '(int32)3' ) ) )]"
|
||||
visible_at_creation = no # required to make sure we trigger the '_show' state
|
||||
size = { 250 700 }
|
||||
|
||||
state = {
|
||||
name = _show
|
||||
using = Animation_FadeIn_Quick
|
||||
}
|
||||
|
||||
state = {
|
||||
name = _hide
|
||||
using = Animation_FadeOut_Quick
|
||||
}
|
||||
|
||||
vbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
spacing = 5
|
||||
|
||||
background = {
|
||||
texture = "gfx/interface/component_tiles/tile_window_background_subwindow.dds"
|
||||
spriteType = Corneredtiled
|
||||
spriteborder = { 18 18 }
|
||||
margin = { 16 16 }
|
||||
texture_density = 2
|
||||
|
||||
modify_texture = {
|
||||
name = "overlay"
|
||||
texture = "gfx/interface/component_overlay/overlay_effect.dds"
|
||||
spriteType = Corneredstretched
|
||||
spriteborder = { 0 0 }
|
||||
blend_mode = overlay
|
||||
}
|
||||
}
|
||||
|
||||
#Name of the window
|
||||
text_label_center = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
text = "ENTRANTS_WINDOW_LABEL"
|
||||
default_format = "#high;glow_color:{0.1,0.1,0.1,1.0}"
|
||||
fontsize = 22
|
||||
fontsize_min = 16
|
||||
using = Font_Type_Flavor
|
||||
}
|
||||
|
||||
#Sorting method: Predicted Excellence
|
||||
text_single = {
|
||||
visible = "[And( EqualTo_string( ActivityPhase.GetKey, 'imperial_examination_phase_assembly' ), DataModelHasItems( ActivityWindow.GetCurrentPhaseGuestSubset( 'scoreboard' ) ) )]"
|
||||
text = "ENTRANTS_SORT_METHOD_PREDICTION"
|
||||
default_format = "#weak"
|
||||
using = Font_Size_Small
|
||||
align = nobaseline
|
||||
}
|
||||
|
||||
#Sorting method: Score
|
||||
text_single = {
|
||||
visible = "[And( Not( EqualTo_string( ActivityPhase.GetKey, 'imperial_examination_phase_assembly' ) ), DataModelHasItems( ActivityWindow.GetCurrentPhaseGuestSubset( 'scoreboard' ) ) )]"
|
||||
text = "ENTRANTS_SORT_METHOD_SCORE"
|
||||
default_format = "#weak"
|
||||
using = Font_Size_Small
|
||||
align = nobaseline
|
||||
}
|
||||
|
||||
#The predicted score based on the entrant's skill going into the exams
|
||||
vbox_examination_scoreboard = {
|
||||
name = "imperial_examination_excelling_entrants"
|
||||
visible = "[And( Or( EqualTo_string( ActivityPhase.GetKey, 'imperial_examination_phase_assembly' ), EqualTo_string( ActivityPhase.GetKey, 'imperial_examination_phase_palace_examination' ) ), DataModelHasItems( ActivityWindow.GetCurrentPhaseGuestSubset( 'scoreboard' ) ) )]"
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
state = {
|
||||
name = _show
|
||||
trigger_when = "[And( Not( GetVariableSystem.Exists( 'activity_scoreboard_view' ) ), DataModelHasItems( ActivityWindow.GetCurrentPhaseGuestSubset( 'scoreboard' ) ) )]"
|
||||
on_start = "[ActivityWindow.SetAllPhasesGuestSubsetSortingDescending( 'scoreboard', 'imperial_examination_score_value' )]"
|
||||
}
|
||||
|
||||
blockoverride "first_place_datacontext"
|
||||
{
|
||||
# Uses a bit of a hack to ensure the datacontext is updated
|
||||
# when the underlying datamodel is sorted.
|
||||
datamodel = "[DataModelFirst( ActivityWindow.GetCurrentPhaseGuestSubset( 'scoreboard' ), '(int32)1' )]"
|
||||
}
|
||||
blockoverride "second_place_datacontext"
|
||||
{
|
||||
# Uses a bit of a hack to ensure the datacontext is updated
|
||||
# when the underlying datamodel is sorted.
|
||||
datamodel = "[DataModelFirst( ActivityWindow.GetCurrentPhaseGuestSubset( 'scoreboard' ), '(int32)2' )]"
|
||||
}
|
||||
blockoverride "third_place_datacontext"
|
||||
{
|
||||
# Uses a bit of a hack to ensure the datacontext is updated
|
||||
# when the underlying datamodel is sorted.
|
||||
datamodel = "[DataModelFirst( ActivityWindow.GetCurrentPhaseGuestSubset( 'scoreboard' ), '(int32)3' )]"
|
||||
}
|
||||
|
||||
blockoverride "contestants_attributes"
|
||||
{
|
||||
datamodel = "[DataModelSubSpan( ActivityWindow.GetCurrentPhaseGuestSubset( 'scoreboard' ), '(int32)3', Min_int32( Subtract_int32( GetDataModelSize( ActivityWindow.GetCurrentPhaseGuestSubset( 'scoreboard' ) ), '(int32)3' ), '(int32)7' ) )]"
|
||||
}
|
||||
|
||||
blockoverride "contestant_not_in_list"
|
||||
{
|
||||
datacontext = "[GetPlayer]"
|
||||
visible = "[And( ActivityWindow.IsCharacterInCurrentPhaseGuestSubset( 'entrants', GetPlayer.Self), Not( ActivityWindow.IsCharacterInCurrentPhaseGuestSubset( 'scoreboard', GetPlayer.Self) ) )]"
|
||||
}
|
||||
|
||||
blockoverride "contestant_button"
|
||||
{
|
||||
size = "[Select_CVector2f( And( ActivityWindow.IsCharacterInCurrentPhaseGuestSubset( 'entrants', GetPlayer.Self), Not( ActivityWindow.IsCharacterInCurrentPhaseGuestSubset( 'scoreboard', GetPlayer.Self) ) ), '(CVector2f)200,26', '(CVector2f)200,33' )]"
|
||||
}
|
||||
}
|
||||
|
||||
# The actual score once we've passed a round of exams
|
||||
vbox_examination_scoreboard = {
|
||||
name = "imperial_examination_current_score"
|
||||
visible = "[And( Not( Or( EqualTo_string( ActivityPhase.GetKey, 'imperial_examination_phase_assembly' ), EqualTo_string( ActivityPhase.GetKey, 'imperial_examination_phase_palace_examination' ) ) ), DataModelHasItems( ActivityWindow.GetCurrentPhaseGuestSubset( 'entrants' ) ) )]"
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
state = {
|
||||
name = _show
|
||||
trigger_when = "[And( Not( GetVariableSystem.Exists( 'activity_scoreboard_view' ) ), DataModelHasItems( ActivityWindow.GetCurrentPhaseGuestSubset( 'entrants' ) ) )]"
|
||||
on_start = "[ActivityWindow.SetAllPhasesGuestSubsetSortingDescending('entrants', 'imperial_examination_score_value')]"
|
||||
}
|
||||
|
||||
blockoverride "first_place_datacontext"
|
||||
{
|
||||
# Uses a bit of a hack to ensure the datacontext is updated
|
||||
# when the underlying datamodel is sorted.
|
||||
datamodel = "[DataModelFirst( ActivityWindow.GetCurrentPhaseGuestSubset( 'entrants' ), '(int32)1' )]"
|
||||
}
|
||||
blockoverride "second_place_datacontext"
|
||||
{
|
||||
# Uses a bit of a hack to ensure the datacontext is updated
|
||||
# when the underlying datamodel is sorted.
|
||||
datamodel = "[DataModelFirst( ActivityWindow.GetCurrentPhaseGuestSubset( 'entrants' ), '(int32)2' )]"
|
||||
}
|
||||
blockoverride "third_place_datacontext"
|
||||
{
|
||||
# Uses a bit of a hack to ensure the datacontext is updated
|
||||
# when the underlying datamodel is sorted.
|
||||
datamodel = "[DataModelFirst( ActivityWindow.GetCurrentPhaseGuestSubset( 'entrants' ), '(int32)3' )]"
|
||||
}
|
||||
|
||||
blockoverride "contestants_attributes"
|
||||
{
|
||||
visible = "[GreaterThanOrEqualTo_int32( GetDataModelSize( ActivityWindow.GetCurrentPhaseGuestSubset( 'entrants' ) ), '(int32)3' )]"
|
||||
datamodel = "[DataModelSubSpan( ActivityWindow.GetCurrentPhaseGuestSubset( 'entrants' ), '(int32)3', Min_int32( Subtract_int32( GetDataModelSize( ActivityWindow.GetCurrentPhaseGuestSubset( 'entrants' ) ), '(int32)3' ), '(int32)7' ) )]"
|
||||
}
|
||||
|
||||
blockoverride "dead_contestants"
|
||||
{
|
||||
datamodel = "[ActivityWindow.GetActivity.MakeScope.GetList( 'dead_charioteers' )]"
|
||||
}
|
||||
|
||||
blockoverride "contestant_not_in_list"
|
||||
{
|
||||
datacontext = "[GetPlayer]"
|
||||
visible = "[And( ActivityWindow.IsCharacterInCurrentPhaseGuestSubset( 'entrants', GetPlayer.Self), GreaterThan_int32( ActivityWindow.GetCharacterIndexInCurrentPhaseGuestSubset( 'entrants', GetPlayer.Self ), '(int32)9' ) )]"
|
||||
}
|
||||
|
||||
blockoverride "contestant_button"
|
||||
{
|
||||
size = "[Select_CVector2f( And( ActivityWindow.IsCharacterInCurrentPhaseGuestSubset( 'entrants', GetPlayer.Self), GreaterThan_int32( ActivityWindow.GetCharacterIndexInCurrentPhaseGuestSubset( 'entrants', GetPlayer.Self ), '(int32)9' ) ), '(CVector2f)200,26', '(CVector2f)200,33' )]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,453 +0,0 @@
|
|||
types ImperialExaminationWidgetTypes
|
||||
{
|
||||
type vbox_examination_scoreboard = vbox {
|
||||
layoutpolicy_vertical = expanding
|
||||
alwaystransparent = no
|
||||
|
||||
widget_scoreboard_item = {
|
||||
datacontext_from_model = {
|
||||
block "first_place_datacontext" {}
|
||||
index = 0
|
||||
}
|
||||
}
|
||||
|
||||
widget_scoreboard_item = {
|
||||
datacontext_from_model = {
|
||||
block "second_place_datacontext" {}
|
||||
index = 1
|
||||
}
|
||||
}
|
||||
|
||||
widget_scoreboard_item = {
|
||||
datacontext_from_model = {
|
||||
block "third_place_datacontext" {}
|
||||
index = 2
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
block "contestants_attributes" {}
|
||||
|
||||
item = {
|
||||
button_tertiary = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
onclick = "[DefaultOnCharacterClick(Character.GetID)]"
|
||||
|
||||
block "contestant_button" {}
|
||||
|
||||
hbox = {
|
||||
alwaystransparent = yes
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
alwaystransparent = yes
|
||||
margin_left = 10
|
||||
|
||||
text_single = {
|
||||
name = "character_place"
|
||||
visible = "[Not( Activity.IsComplete )]"
|
||||
size = { 20 20 }
|
||||
alwaystransparent = yes
|
||||
autoresize = yes
|
||||
|
||||
align = nobaseline
|
||||
default_format = "#high"
|
||||
using = Font_Size_Small
|
||||
|
||||
text = "[Character.MakeScope.Var('imperial_examination_score').GetValue|0]"
|
||||
}
|
||||
|
||||
text_single = {
|
||||
name = "character_name"
|
||||
layoutpolicy_horizontal = expanding
|
||||
alwaystransparent = yes
|
||||
margin_left = 5
|
||||
margin_right = 5
|
||||
max_width = 200
|
||||
fontsize_min = 10
|
||||
|
||||
align = nobaseline
|
||||
default_format = "#high"
|
||||
using = Font_Size_Small
|
||||
|
||||
text = "[Character.GetTitledFirstNameNoTooltip]"
|
||||
|
||||
tooltip = "[Character.GetUINameNotMeNoTooltip]"
|
||||
using = tooltip_se
|
||||
|
||||
tooltipwidget = {
|
||||
cooltip_type = {}
|
||||
}
|
||||
}
|
||||
|
||||
# Icons
|
||||
#hbox = {
|
||||
# alwaystransparent = yes
|
||||
# margin_right = 10
|
||||
|
||||
# icon = {
|
||||
# visible = "[Character.IsEmployedInPositionBy( GetPlayer, GetCourtPositionType( #'charioteer_court_position' ) )]"
|
||||
# size = { 20 20 }
|
||||
# texture = "gfx/interface/icons/court_position_types/charioteer_court_position.dds"
|
||||
|
||||
# tooltip = YOUR_CHARIOTEER_TOOLTIP
|
||||
# using = tooltip_se
|
||||
# }
|
||||
|
||||
#background = {
|
||||
# using = Mask_Rough_Edges
|
||||
# alpha = 0.8
|
||||
# margin = { 4 4 }
|
||||
|
||||
# texture = "gfx/interface/component_tiles/tile_title_bg_01.dds"
|
||||
# spriteType = Corneredtiled
|
||||
# spriteborder = { 40 8 }
|
||||
# texture_density = 2
|
||||
|
||||
# modify_texture = {
|
||||
# name = "mask"
|
||||
# texture = "gfx/interface/component_masks/mask_fade_horizontal.dds"
|
||||
# spriteType = Corneredstretched
|
||||
# spriteborder = { 0 0 }
|
||||
# blend_mode = alphamultiply
|
||||
# mirror = horizontal
|
||||
# }
|
||||
#}
|
||||
}
|
||||
|
||||
# Colored background
|
||||
background = {
|
||||
visible = "[Character.IsPlayer]"
|
||||
tintcolor = { 0.7 0.8 1 0.8 }
|
||||
texture = "gfx/interface/colors/blue.dds"
|
||||
|
||||
using = Mask_Rough_Edges
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/component_masks/mask_fade_horizontal_short.dds"
|
||||
blend_mode = alphaMultiply
|
||||
alpha = 0.5
|
||||
}
|
||||
}
|
||||
|
||||
background = {
|
||||
visible = "[And( Not( Character.IsPlayer ), Character.HasTrait( GetTrait( 'confucian_education' ) ) )]"
|
||||
tintcolor = { 0.7 0.8 1 0.8 }
|
||||
texture = "gfx/interface/colors/gold_darker.dds"
|
||||
|
||||
using = Mask_Rough_Edges
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/component_masks/mask_fade_horizontal_short.dds"
|
||||
blend_mode = alphaMultiply
|
||||
alpha = 0.5
|
||||
}
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Not in-list
|
||||
vbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
block "contestant_not_in_list" {
|
||||
visible = no
|
||||
datamodel = "[GetPlayer]"
|
||||
}
|
||||
|
||||
expand = {
|
||||
min_height = 5
|
||||
}
|
||||
|
||||
divider_light = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
}
|
||||
|
||||
expand = {
|
||||
min_height = 5
|
||||
}
|
||||
|
||||
button_tertiary = {
|
||||
|
||||
margin_top = 5
|
||||
|
||||
layoutpolicy_horizontal = expanding
|
||||
onclick = "[DefaultOnCharacterClick(Character.GetID)]"
|
||||
|
||||
|
||||
hbox = {
|
||||
alwaystransparent = yes
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
alwaystransparent = yes
|
||||
margin_left = 10
|
||||
|
||||
text_single = {
|
||||
name = "character_place"
|
||||
visible = "[Not( Activity.IsComplete )]"
|
||||
size = { 20 20 }
|
||||
alwaystransparent = yes
|
||||
autoresize = yes
|
||||
|
||||
align = nobaseline
|
||||
default_format = "#high"
|
||||
using = Font_Size_Small
|
||||
|
||||
text = "[Character.MakeScope.Var('imperial_examination_score').GetValue|0]"
|
||||
}
|
||||
|
||||
text_single = {
|
||||
name = "character_name"
|
||||
layoutpolicy_horizontal = expanding
|
||||
alwaystransparent = yes
|
||||
margin_left = 5
|
||||
margin_right = 5
|
||||
max_width = 200
|
||||
fontsize_min = 10
|
||||
|
||||
align = nobaseline
|
||||
default_format = "#high"
|
||||
using = Font_Size_Small
|
||||
|
||||
text = "[Character.GetTitledFirstNameNoTooltip]"
|
||||
|
||||
tooltip = "[Character.GetUINameNotMeNoTooltip]"
|
||||
using = tooltip_se
|
||||
|
||||
tooltipwidget = {
|
||||
cooltip_type = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Colored background
|
||||
background = {
|
||||
visible = "[Character.IsPlayer]"
|
||||
tintcolor = { 0.7 0.8 1 0.8 }
|
||||
texture = "gfx/interface/colors/blue.dds"
|
||||
|
||||
using = Mask_Rough_Edges
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/component_masks/mask_fade_horizontal_short.dds"
|
||||
blend_mode = alphaMultiply
|
||||
alpha = 0.5
|
||||
}
|
||||
}
|
||||
|
||||
background = {
|
||||
visible = "[And( Not( Character.IsPlayer ), Character.HasTrait( GetTrait( 'confucian_education' ) ) )]"
|
||||
tintcolor = { 0.7 0.8 1 0.8 }
|
||||
texture = "gfx/interface/colors/gold_darker.dds"
|
||||
|
||||
using = Mask_Rough_Edges
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/component_masks/mask_fade_horizontal_short.dds"
|
||||
blend_mode = alphaMultiply
|
||||
alpha = 0.5
|
||||
}
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
vbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
spacing = 1
|
||||
|
||||
block "dead_contestants" {}
|
||||
|
||||
item = {
|
||||
button_tertiary = {
|
||||
datacontext = "[Scope.Char]"
|
||||
layoutpolicy_horizontal = expanding
|
||||
onclick = "[DefaultOnCharacterClick(Character.GetID)]"
|
||||
|
||||
hbox = {
|
||||
alwaystransparent = yes
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
alwaystransparent = yes
|
||||
margin_left = 3
|
||||
|
||||
icon = {
|
||||
size = { 25 25 }
|
||||
texture = "gfx/interface/icons/icon_dead.dds"
|
||||
}
|
||||
|
||||
text_single = {
|
||||
name = "character_name"
|
||||
text = "[Character.GetUINameNotMeNoTooltip]"
|
||||
layoutpolicy_horizontal = expanding
|
||||
alwaystransparent = yes
|
||||
margin_left = 2
|
||||
|
||||
using = Font_Size_Small
|
||||
align = nobaseline
|
||||
|
||||
tooltip = "[Character.GetUINameNotMeNoTooltip]"
|
||||
using = tooltip_se
|
||||
|
||||
tooltipwidget = {
|
||||
cooltip_type = {}
|
||||
}
|
||||
}
|
||||
|
||||
hbox = {
|
||||
alwaystransparent = yes
|
||||
margin_right = 10
|
||||
}
|
||||
|
||||
background = {
|
||||
using = Mask_Rough_Edges
|
||||
alpha = 0.8
|
||||
margin = { 4 4 }
|
||||
|
||||
texture = "gfx/interface/component_tiles/tile_title_bg_01.dds"
|
||||
spriteType = Corneredtiled
|
||||
spriteborder = { 40 8 }
|
||||
texture_density = 2
|
||||
|
||||
modify_texture = {
|
||||
name = "mask"
|
||||
texture = "gfx/interface/component_masks/mask_fade_horizontal.dds"
|
||||
spriteType = Corneredstretched
|
||||
spriteborder = { 0 0 }
|
||||
blend_mode = alphamultiply
|
||||
mirror = horizontal
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
|
||||
|
||||
type widget_scoreboard_item = vbox {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
spacing = 5
|
||||
|
||||
background = {
|
||||
using = Background_Area_Dark
|
||||
alpha = 0.5
|
||||
}
|
||||
|
||||
# NAME AND SCORE
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
margin = { 0 5 }
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
# SCORE
|
||||
text_single = {
|
||||
name = "score"
|
||||
margin_left = 10
|
||||
using = Font_Size_Medium
|
||||
default_format = "#high"
|
||||
align = nobaseline
|
||||
visible = "[Or( Not( EqualTo_string( ActivityPhase.GetKey, 'imperial_examination_phase_assembly' ) ), Not( Activity.IsComplete ) )]"
|
||||
raw_text = "[Character.MakeScope.Var('imperial_examination_score').GetValue|0]"
|
||||
}
|
||||
|
||||
# NAME
|
||||
text_single = {
|
||||
name = "name"
|
||||
margin_left = 5
|
||||
margin_right = 10
|
||||
using = Font_Size_Medium
|
||||
default_format = "#high"
|
||||
align = nobaseline
|
||||
layoutpolicy_horizontal = expanding
|
||||
autoresize = yes
|
||||
max_width = 200
|
||||
fontsize_min = 8
|
||||
text = "[Character.GetTitledFirstNameNoTooltip]"
|
||||
}
|
||||
}
|
||||
|
||||
background = {
|
||||
visible = "[Character.IsPlayer]"
|
||||
tintcolor = { 0.7 0.8 1 0.8 }
|
||||
texture = "gfx/interface/colors/blue.dds"
|
||||
|
||||
using = Mask_Rough_Edges
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/component_masks/mask_fade_horizontal_short.dds"
|
||||
blend_mode = alphaMultiply
|
||||
alpha = 0.5
|
||||
}
|
||||
}
|
||||
|
||||
background = {
|
||||
visible = "[And( Not( Character.IsPlayer ), Character.HasTrait( GetTrait( 'confucian_education' ) ) )]"
|
||||
tintcolor = { 0.7 0.8 1 0.8 }
|
||||
texture = "gfx/interface/colors/gold_darker.dds"
|
||||
|
||||
using = Mask_Rough_Edges
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/component_masks/mask_fade_horizontal_short.dds"
|
||||
blend_mode = alphaMultiply
|
||||
alpha = 0.5
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
margin_bottom = 5
|
||||
|
||||
portrait_head_small = {}
|
||||
|
||||
expand = {}
|
||||
|
||||
vbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
|
||||
expand = {}
|
||||
|
||||
# RELEVANT TRAITS
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
icon_trait = {
|
||||
datacontext = "[GetTrait( 'confucian_education' )]"
|
||||
visible = "[Character.HasTrait( GetTrait( 'confucian_education' ) )]"
|
||||
|
||||
blockoverride "icon_size"
|
||||
{
|
||||
size = { 50 50 }
|
||||
}
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -1,42 +0,0 @@
|
|||
vbox = {
|
||||
name = "inspection_success_chance"
|
||||
margin = { 16 0 }
|
||||
spacing = 4
|
||||
|
||||
datacontext = "[ActivityWindow.GetActivity]"
|
||||
|
||||
text_label_center = {
|
||||
text = "inspection_success_bar"
|
||||
}
|
||||
|
||||
progressbar_standard = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
size = { 300 30 }
|
||||
value = "[Activity.MakeScope.Var( 'inspection_success_chance' ).GetValue]"
|
||||
max = 100
|
||||
min = 0
|
||||
|
||||
using = Progressbar_Changed_Animation
|
||||
|
||||
datacontext = "[GuiScope.SetRoot( Activity.MakeScope ).GetScriptValueBreakdown( 'inspection_success_chance_value' )]"
|
||||
tooltip_visible = "[ValueBreakdown.HasTooltip]"
|
||||
|
||||
tooltipwidget = {
|
||||
widget_value_breakdown_tooltip = {
|
||||
datacontext = "[GuiScope.SetRoot( Activity.MakeScope ).GetScriptValueBreakdown( 'inspection_success_chance_value' )]"
|
||||
}
|
||||
}
|
||||
|
||||
marker = {
|
||||
name = "current_value"
|
||||
widget = {
|
||||
icon = {
|
||||
size = { 25 25 }
|
||||
position = { -20 2 }
|
||||
texture = "gfx/interface/progressbars/progressbar_center_glow.dds"
|
||||
color = { 0.80 0.90 1 0.9 }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,61 +0,0 @@
|
|||
hbox = {
|
||||
name = "nerge_special_type_progression" #Needs to match the name of the GUI file
|
||||
spacing = 10
|
||||
|
||||
datacontext = "[ActivityWindow.GetActivity]"
|
||||
|
||||
visible = "[GreaterThan_CFixedPoint( Activity.MakeScope.Var('nerge_activity').GetValue, '(CFixedPoint)0' )]"
|
||||
|
||||
text_single = {
|
||||
text = "activity_hunt_special_type_title"
|
||||
align = nobaseline
|
||||
max_width = 120
|
||||
|
||||
tooltip = activity_hunt_special_type_desc
|
||||
}
|
||||
|
||||
hbox = {
|
||||
margin_right = 10
|
||||
}
|
||||
|
||||
widget = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
size = { 350 20 }
|
||||
allow_outside = yes
|
||||
|
||||
datacontext = "[ActivityWindow.AccessSpecialTypeComplexBar( 'activity_special_type_progression' )]"
|
||||
|
||||
hbox_complex_bar_progress_next = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
tooltip = "NERGE_WINDOW_SPECIAL_PROGRESS_TOOLTIP"
|
||||
using = tooltip_se
|
||||
}
|
||||
|
||||
hbox_complex_bar_levels = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
blockoverride "marker"
|
||||
{
|
||||
widget_level_marker = {
|
||||
visible = "[GreaterThan_int32( PdxGuiWidget.GetIndexInDataModel, '(int32)-1')]"
|
||||
|
||||
blockoverride "visible_active"
|
||||
{
|
||||
visible = "[ActivityWindow.IsActiveSpecialProgressLevel( ComplexBarItem.GetValue )]"
|
||||
}
|
||||
|
||||
blockoverride "visible_inactive"
|
||||
{
|
||||
visible = "[Not( ActivityWindow.IsActiveSpecialProgressLevel( ComplexBarItem.GetValue ) )]"
|
||||
}
|
||||
|
||||
blockoverride "marker_tooltip"
|
||||
{
|
||||
tooltip = "[ActivityWindow.GetSpecialTypeComplexBarSegmentDescription( Subtract_int32( PdxGuiWidget.GetIndexInDataModel, '(int32)0' ) )]"
|
||||
using = tooltip_se
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,55 +0,0 @@
|
|||
vbox = {
|
||||
name = "tour_conclusion_stops"
|
||||
spacing = 10
|
||||
|
||||
text_label_center = {
|
||||
text = "activity_tour_conclusion_characters_header"
|
||||
default_format = "#T"
|
||||
}
|
||||
|
||||
fixedgridbox = {
|
||||
name = "tour_stops"
|
||||
|
||||
# Last phase is the return home, so we skip that one
|
||||
datamodel = "[DataModelSkipLast( Activity.GetPlannedPhases, '(int32)1' )]"
|
||||
|
||||
addrow = 130
|
||||
addcolumn = 125
|
||||
|
||||
flipdirection = yes
|
||||
datamodel_wrap = 3
|
||||
|
||||
item = {
|
||||
widget = {
|
||||
size = { 125 130 }
|
||||
|
||||
portrait_head = {
|
||||
datacontext = "[PlannedActivityPhase.GetLocation.GetTitle.GetHolder]"
|
||||
parentanchor = center
|
||||
}
|
||||
|
||||
widget = {
|
||||
parentanchor = top|left
|
||||
position = { 10 6 }
|
||||
size = { 40 40 }
|
||||
|
||||
background = {
|
||||
using = Background_Area_Dark
|
||||
alpha = 0.8
|
||||
}
|
||||
|
||||
icon_flat_standard = {
|
||||
datacontext = "[PlannedActivityPhase.GetPhase]"
|
||||
parentanchor = center
|
||||
size = { 40 40 }
|
||||
|
||||
texture = "[ActivityPhase.GetIcon]"
|
||||
|
||||
tooltip = "ACTIVITY_PHASE_TOOLTIP"
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,60 +0,0 @@
|
|||
hbox = {
|
||||
name = "tour_success_bar" #Needs to match the name of the GUI file
|
||||
spacing = 10
|
||||
|
||||
datacontext = "[ActivityWindow.GetActivity]"
|
||||
|
||||
text_single = {
|
||||
text = "activity_tour_special_type_title"
|
||||
align = nobaseline
|
||||
max_width = 200
|
||||
|
||||
tooltip = "activity_tour_special_type_desc"
|
||||
}
|
||||
|
||||
widget = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
size = { 250 20 }
|
||||
allow_outside = yes
|
||||
|
||||
datacontext = "[ActivityWindow.AccessSpecialTypeComplexBar( 'tour_success_var' )]"
|
||||
|
||||
hbox_complex_bar_progress_next = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
tooltip = "ACTIVITY_WINDOW_SPECIAL_PROGRESS_TOOLTIP"
|
||||
using = tooltip_se
|
||||
}
|
||||
|
||||
hbox_complex_bar_levels = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
blockoverride "marker"
|
||||
{
|
||||
widget_level_marker = {
|
||||
visible = "[GreaterThan_int32( PdxGuiWidget.GetIndexInDataModel, '(int32)0')]"
|
||||
|
||||
blockoverride "visible_active"
|
||||
{
|
||||
visible = "[ActivityWindow.IsActiveSpecialProgressLevel( ComplexBarItem.GetValue )]"
|
||||
}
|
||||
|
||||
blockoverride "visible_inactive"
|
||||
{
|
||||
visible = "[Not( ActivityWindow.IsActiveSpecialProgressLevel( ComplexBarItem.GetValue ) )]"
|
||||
}
|
||||
|
||||
blockoverride "marker_text"
|
||||
{
|
||||
text = "[PdxGuiWidget.GetIndexInDataModel]"
|
||||
}
|
||||
|
||||
blockoverride "marker_tooltip"
|
||||
{
|
||||
tooltip = "[ActivityWindow.GetSpecialTypeComplexBarSegmentDescription( Subtract_int32( PdxGuiWidget.GetIndexInDataModel, '(int32)1' ) )]"
|
||||
using = tooltip_se
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,51 +0,0 @@
|
|||
widget = {
|
||||
name = "tournament_active_phase_background"
|
||||
size = { 100% 100% }
|
||||
alwaystransparent = no
|
||||
|
||||
visible = "[And( Activity.IsCurrentPhaseActive, Not( IsContestType( 'tournament_phase_ceremony' ) ) )]"
|
||||
|
||||
datacontext = "[Activity.GetCurrentPhase]"
|
||||
datacontext = "[Activity.GetCurrentPhase.GetPhase]"
|
||||
|
||||
## If this shows up, we're missing handling for a contest type
|
||||
background = {
|
||||
using = Placeholder_Pink_Checkered_Texture
|
||||
}
|
||||
|
||||
background = {
|
||||
texture = "gfx/interface/illustrations/activity_backgrounds/contest_bg_archery.dds"
|
||||
|
||||
visible = "[IsBowContest]"
|
||||
}
|
||||
|
||||
background = {
|
||||
texture = "gfx/interface/illustrations/activity_backgrounds/contest_bg_boardgames.dds"
|
||||
|
||||
visible = "[IsWitContest]"
|
||||
}
|
||||
|
||||
background = {
|
||||
texture = "gfx/interface/illustrations/activity_backgrounds/contest_bg_melee.dds"
|
||||
|
||||
visible = "[IsFootContest]"
|
||||
}
|
||||
|
||||
background = {
|
||||
texture = "gfx/interface/illustrations/event_scenes/genericcamp.dds"
|
||||
|
||||
visible = "[IsContestType( 'tournament_phase_melee' )]"
|
||||
}
|
||||
|
||||
background = {
|
||||
texture = "gfx/interface/illustrations/activity_backgrounds/contest_bg_horseracing.dds"
|
||||
|
||||
visible = "[Or( IsContestType( 'tournament_phase_horse_race' ), IsContestType( 'tournament_phase_joust' ) )]"
|
||||
}
|
||||
|
||||
background = {
|
||||
#texture = "gfx/interface/illustrations/activity_backgrounds/contest_bg_ceremony.dds"
|
||||
|
||||
visible = "[IsContestType( 'tournament_phase_ceremony' )]"
|
||||
}
|
||||
}
|
||||
|
|
@ -1,49 +0,0 @@
|
|||
widget = {
|
||||
name = "tournament_active_phase_contest_info_button"
|
||||
datacontext = "[Activity.GetCurrentPhase]"
|
||||
datacontext = "[Activity.GetCurrentPhase.GetPhase]"
|
||||
visible = "[And( And( Not( Activity.IsComplete ), Activity.IsCurrentPhaseActive ), Not( IsContestType( 'tournament_phase_ceremony' ) ) )]"
|
||||
|
||||
size = { 138 84 }
|
||||
|
||||
icon = {
|
||||
parentanchor = center
|
||||
size = { 134 80 }
|
||||
|
||||
texture = "[PlannedActivityPhase.GetPhase.GetIllustrationSmall]"
|
||||
}
|
||||
|
||||
icon = {
|
||||
parentanchor = center
|
||||
size = { 134 80}
|
||||
|
||||
texture = "gfx/interface/component_tiles/tile_vignette_3px.dds"
|
||||
spriteType = Corneredtiled
|
||||
spriteborder = { 5 5 }
|
||||
}
|
||||
|
||||
button_planned_phase_button = {
|
||||
size = { 138 84 }
|
||||
allow_outside = yes
|
||||
|
||||
onclick = "[SetContestInfoTab( 'overview' )]"
|
||||
|
||||
widget = {
|
||||
parentanchor = right|top
|
||||
layoutpolicy_vertical = expanding
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
size = { 40 -1 }
|
||||
|
||||
allow_outside = yes
|
||||
|
||||
vbox_contest_type_affinities_container = {
|
||||
datacontext = "[PlannedActivityPhase.GetPhase]"
|
||||
parentanchor = right|top
|
||||
position = { -4 4 }
|
||||
|
||||
allow_outside = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,744 +0,0 @@
|
|||
widget = {
|
||||
name = "tournament_bottom_middle_widget"
|
||||
size = { 864 262 }
|
||||
|
||||
datacontext = "[GetPlayer]"
|
||||
datacontext = "[Activity.GetCurrentPhase]"
|
||||
datacontext = "[Activity.GetCurrentPhase.GetPhase]"
|
||||
|
||||
parentanchor = bottom|hcenter
|
||||
|
||||
widget_active_phase = {
|
||||
visible = "[And( And( Not( Activity.IsComplete ), Activity.IsCurrentPhaseActive ), Not( IsContestType( 'tournament_phase_ceremony' ) ) )]"
|
||||
size = { 100% 100% }
|
||||
}
|
||||
|
||||
widget_passive_phase = {
|
||||
visible = "[Or( Or( Activity.IsComplete, Not( Activity.IsCurrentPhaseActive ) ), IsContestType( 'tournament_phase_ceremony' ) )]"
|
||||
parentanchor = bottom
|
||||
size = { 100% 90% }
|
||||
allow_outside = yes
|
||||
}
|
||||
}
|
||||
|
||||
types TournamentMiddleWidgetTypes
|
||||
{
|
||||
type widget_active_phase = widget {
|
||||
|
||||
icon = {
|
||||
name = "top_shape"
|
||||
texture = "gfx/interface/window_activities/tournament/tournament_window_top_shape.dds"
|
||||
position = { 0 -8}
|
||||
size = { 864 80 }
|
||||
|
||||
allow_outside = yes
|
||||
}
|
||||
|
||||
widget = {
|
||||
parentanchor = top|hcenter
|
||||
position = { 0 -12}
|
||||
size = { 864 80}
|
||||
|
||||
allow_outside = yes
|
||||
|
||||
background = {
|
||||
using = Background_Area
|
||||
|
||||
margin_top = -20
|
||||
margin_bottom = -19
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/component_masks/mask_fade_horizontal_middle_thick.dds"
|
||||
blend_mode = alphamultiply
|
||||
}
|
||||
}
|
||||
|
||||
background = {
|
||||
texture = "gfx/interface/skinned/mask_pattern.dds"
|
||||
texture_density = 3
|
||||
spriteType = Corneredtiled
|
||||
alpha = 0.05
|
||||
|
||||
margin_top = -24
|
||||
margin_bottom = -22
|
||||
|
||||
using = Mask_Rough_Edges
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/component_masks/mask_fade_horizontal_middle.dds"
|
||||
blend_mode = alphamultiply
|
||||
}
|
||||
}
|
||||
|
||||
widget = {
|
||||
position = { 0 48 }
|
||||
size = { 864 20 }
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
divider = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/component_masks/mask_fade_horizontal_middle.dds"
|
||||
blend_mode = alphamultiply
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
widget = {
|
||||
parentanchor = hcenter
|
||||
position = { -30 26 }
|
||||
size = { 864 30 }
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
spacing = 8
|
||||
|
||||
expand = {}
|
||||
|
||||
widget = {
|
||||
size = { 30 30 }
|
||||
|
||||
icon_flat_standard = {
|
||||
parentanchor = center
|
||||
size = { 60 60 }
|
||||
texture = "[PlannedActivityPhase.GetPhase.GetIcon]"
|
||||
}
|
||||
}
|
||||
|
||||
text_single = {
|
||||
name = "contest_name"
|
||||
text = [Activity.GetCurrentPhase.GetPhase.GetName]
|
||||
align = nobaseline
|
||||
default_format = "#high;weak_glow"
|
||||
|
||||
using = Font_Size_Big
|
||||
using = Font_Type_Flavor
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
widget = {
|
||||
parentanchor = hcenter
|
||||
position = { 0 54 }
|
||||
size = { 480 30 }
|
||||
|
||||
hbox_activity_progress = {
|
||||
name = "activity_progress"
|
||||
layoutpolicy_vertical = expanding
|
||||
maximumsize = { 480 40 }
|
||||
parentanchor = bottom
|
||||
spacing = 4
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
name = "ptv"
|
||||
|
||||
parentanchor = hcenter|top
|
||||
position = { 0 94 }
|
||||
maximumsize = { 650 100 }
|
||||
|
||||
margin_bottom = 8
|
||||
|
||||
enabled = "[And( CharacterHasPtV, IsCharacterQualified )]"
|
||||
tooltip = locale_window_widget_progress_to_victory_active_tooltip
|
||||
|
||||
background = {
|
||||
using = Background_Area
|
||||
|
||||
margin = { 0 4 }
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/component_masks/mask_fade_horizontal_middle_thick.dds"
|
||||
blend_mode = alphamultiply
|
||||
}
|
||||
}
|
||||
|
||||
text_single = {
|
||||
maximumsize = { 332 -1 }
|
||||
|
||||
text = locale_window_widget_progress_to_victory_header
|
||||
default_format = "#high"
|
||||
using = Font_Size_Medium
|
||||
}
|
||||
|
||||
widget = {
|
||||
size = { 530 64 }
|
||||
|
||||
widget_active_phase_progress_to_victory = {
|
||||
|
||||
parentanchor = center
|
||||
|
||||
blockoverride "widget_size" {
|
||||
size = { 424 40 }
|
||||
}
|
||||
}
|
||||
|
||||
widget = {
|
||||
parentanchor = left|vcenter
|
||||
size = { 64 64 }
|
||||
|
||||
allow_outside = yes
|
||||
|
||||
icon = {
|
||||
texture = "gfx/interface/window_activities/tournament/icon_chance_of_victory_bg.dds"
|
||||
parentanchor = center
|
||||
size = { 64 64 }
|
||||
|
||||
allow_outside = yes
|
||||
}
|
||||
|
||||
icon_flat_standard = {
|
||||
parentanchor = center
|
||||
size = { 35 35 }
|
||||
texture = "gfx/interface/icons/flat_icons/war_outcome_victory.dds"
|
||||
}
|
||||
}
|
||||
|
||||
widget = {
|
||||
position = { 4 2 }
|
||||
size = { 50 36 }
|
||||
parentanchor = right|vcenter
|
||||
|
||||
text_single = {
|
||||
raw_text = "[Multiply_CFixedPoint( Character.MakeScope().ScriptValue( 'character_chance_of_victory' ), '(CFixedPoint)100' )|v0] %"
|
||||
align = nobaseline
|
||||
|
||||
using = Font_Size_Big
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
hbox = {
|
||||
name = "contestants"
|
||||
parentanchor = hcenter|bottom
|
||||
spacing = 8
|
||||
maximumsize = { 450 50 }
|
||||
minimumsize = { 450 50 }
|
||||
|
||||
expand = {}
|
||||
|
||||
background = {
|
||||
using = Background_Area
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/window_activities/tournament/mask_contestants.dds"
|
||||
blend_mode = alphamultiply
|
||||
}
|
||||
}
|
||||
|
||||
icon = {
|
||||
size = { 40 40 }
|
||||
texture = "gfx/interface/window_activities/tournament/icon_tournament_participants.dds"
|
||||
}
|
||||
|
||||
text_single = {
|
||||
datacontext = "[GetPlayer]"
|
||||
text = locale_window_contestants_remaining
|
||||
default_format = "#weak;high"
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
}
|
||||
|
||||
type tournament_phase_timeline_icon = icon
|
||||
{
|
||||
size = { 50 50 }
|
||||
texture = "gfx/interface/icons/activity_phases/button_activity_base.dds"
|
||||
|
||||
block "label"
|
||||
{
|
||||
raw_tooltip = "#D Fill me in#!"
|
||||
}
|
||||
|
||||
using = tooltip_se
|
||||
|
||||
icon_flat_standard = {
|
||||
parentanchor = center
|
||||
size = { 40 40 }
|
||||
|
||||
block "texture"
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
type widget_passive_phase = widget {
|
||||
size = { 864 262 }
|
||||
|
||||
allow_outside = yes
|
||||
|
||||
icon = {
|
||||
name = "top_shape"
|
||||
texture = "gfx/interface/window_activities/tournament/tournament_window_top_shape.dds"
|
||||
position = { 0 -34}
|
||||
size = { 864 80 }
|
||||
|
||||
allow_outside = yes
|
||||
}
|
||||
|
||||
widget = {
|
||||
parentanchor = top|hcenter
|
||||
position = { 0 -40}
|
||||
size = { 864 80}
|
||||
|
||||
allow_outside = yes
|
||||
|
||||
background = {
|
||||
using = Background_Area
|
||||
|
||||
margin_top = -20
|
||||
margin_bottom = -19
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/component_masks/mask_fade_horizontal_middle_thick.dds"
|
||||
blend_mode = alphamultiply
|
||||
}
|
||||
}
|
||||
|
||||
background = {
|
||||
texture = "gfx/interface/skinned/mask_pattern.dds"
|
||||
texture_density = 3
|
||||
spriteType = Corneredtiled
|
||||
alpha = 0.05
|
||||
|
||||
margin_top = -24
|
||||
margin_bottom = -22
|
||||
|
||||
using = Mask_Rough_Edges
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/component_masks/mask_fade_horizontal_middle.dds"
|
||||
blend_mode = alphamultiply
|
||||
}
|
||||
}
|
||||
|
||||
widget = {
|
||||
position = { 0 48 }
|
||||
size = { 864 20 }
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
divider = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/component_masks/mask_fade_horizontal_middle.dds"
|
||||
blend_mode = alphamultiply
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
spacing = 4
|
||||
|
||||
allow_outside = yes
|
||||
|
||||
expand = {}
|
||||
|
||||
hbox = {
|
||||
margin_top = 2
|
||||
|
||||
icon = {
|
||||
size = { 30 30 }
|
||||
texture = "gfx/interface/icons/icon_time.dds"
|
||||
}
|
||||
|
||||
hbox_activity_progress = {
|
||||
name = "activity_progress"
|
||||
spacing = 4
|
||||
|
||||
allow_outside = yes
|
||||
}
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
}
|
||||
|
||||
hbox = {
|
||||
spacing = 8
|
||||
visible = no
|
||||
|
||||
allow_outside = yes
|
||||
|
||||
icon_placeholder = {
|
||||
size = { 30 30 }
|
||||
}
|
||||
|
||||
text_single = {
|
||||
text = locale_window_widget_current_phase_header
|
||||
align = nobaseline
|
||||
}
|
||||
}
|
||||
|
||||
widget = {
|
||||
name = "phase_progres_timeline"
|
||||
position = { 0 84 }
|
||||
size = { 864 90 }
|
||||
|
||||
widget = {
|
||||
position = { 0 -30 }
|
||||
size = { 864 20 }
|
||||
|
||||
alpha = 0.8
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
divider = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/component_masks/mask_fade_horizontal_middle.dds"
|
||||
blend_mode = alphamultiply
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
widget = {
|
||||
position = { 0 96 }
|
||||
size = { 864 20 }
|
||||
|
||||
alpha = 0.8
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
divider = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/component_masks/mask_fade_horizontal_middle.dds"
|
||||
blend_mode = alphamultiply
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
spacing = 16
|
||||
|
||||
expand = {}
|
||||
|
||||
background = {
|
||||
|
||||
margin_top = -34
|
||||
margin_bottom = -34
|
||||
|
||||
using = Background_Area_Dark
|
||||
using = Mask_Rough_Edges
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/component_masks/mask_fade_horizontal_middle.dds"
|
||||
blend_mode = alphamultiply
|
||||
}
|
||||
}
|
||||
|
||||
background = {
|
||||
|
||||
margin_top = 24
|
||||
margin_bottom = 20
|
||||
|
||||
using = Background_Area
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/component_masks/mask_fade_horizontal_middle.dds"
|
||||
blend_mode = alphamultiply
|
||||
}
|
||||
}
|
||||
|
||||
hbox = {
|
||||
name = "starting_phase"
|
||||
|
||||
tournament_phase_timeline_icon = {
|
||||
name = "starting_phase_icon"
|
||||
|
||||
blockoverride "label"
|
||||
{
|
||||
tooltip = "ACTIVITY_TIMELINE_START"
|
||||
}
|
||||
blockoverride "texture"
|
||||
{
|
||||
texture = "gfx/interface/icons/activity_phases/phase_planning.dds"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
hbox = {
|
||||
name = "planned_phases"
|
||||
datamodel = "[Activity.GetPlannedPhases]"
|
||||
spacing = 10
|
||||
|
||||
allow_outside = yes
|
||||
|
||||
item = {
|
||||
widget = {
|
||||
name = "phase_item"
|
||||
size = { 138 84 }
|
||||
|
||||
allow_outside = yes
|
||||
|
||||
# icon = {
|
||||
# visible = "[EqualTo_int32( Activity.GetPhaseIndexOf( PlannedActivityPhase.Self ), Activity.GetCurrentPhaseIndex )]"
|
||||
# texture = "gfx/interface/illustrations/activity_phases/planned_phase_button_glow_01.dds"
|
||||
# parentanchor = center
|
||||
# position = { 1 -9 }
|
||||
# size = { 149 112 }
|
||||
# tintcolor = { 1 0.8 0.6 1 }
|
||||
|
||||
# state = {
|
||||
# name = max_glow
|
||||
# next = min_glow
|
||||
# trigger_on_create = yes
|
||||
# duration = 1
|
||||
# using = Animation_Curve_Default
|
||||
# alpha = 1
|
||||
# }
|
||||
|
||||
# state = {
|
||||
# name = min_glow
|
||||
# next = max_glow
|
||||
# duration = 1.6
|
||||
# using = Animation_Curve_Default
|
||||
# alpha = 0.7
|
||||
# }
|
||||
# }
|
||||
|
||||
icon = {
|
||||
size = { 134 80 }
|
||||
parentanchor = center
|
||||
texture = "[PlannedActivityPhase.GetPhase.GetIllustrationSmall]"
|
||||
}
|
||||
|
||||
icon = {
|
||||
parentanchor = center
|
||||
size = { 134 80}
|
||||
|
||||
texture = "gfx/interface/component_tiles/tile_vignette_3px.dds"
|
||||
spriteType = Corneredtiled
|
||||
spriteborder = { 5 5 }
|
||||
}
|
||||
|
||||
widget = {
|
||||
visible = "[Not( EqualTo_int32( Activity.GetPhaseIndexOf( PlannedActivityPhase.Self ), Activity.GetCurrentPhaseIndex ) )]"
|
||||
size = { 138 84 }
|
||||
|
||||
background = {
|
||||
using = Background_Area_Dark
|
||||
alpha = 0.8
|
||||
}
|
||||
}
|
||||
|
||||
button_planned_phase_button = {
|
||||
name = "phase_non_ceremony"
|
||||
datacontext = "[PlannedActivityPhase.GetPhase]"
|
||||
visible = "[Not( IsContestType( 'tournament_phase_ceremony' ) )]"
|
||||
size = { 138 84 }
|
||||
|
||||
onclick = "[SetContestInfoTab( 'overview' )]"
|
||||
|
||||
allow_outside = yes
|
||||
|
||||
widget = {
|
||||
name = "phase_info"
|
||||
layoutpolicy_vertical = expanding
|
||||
layoutpolicy_horizontal = expanding
|
||||
parentanchor = right|top
|
||||
position = { -4 4 }
|
||||
size = { 40 -1 }
|
||||
|
||||
allow_outside = yes
|
||||
|
||||
vbox_contest_type_affinities_container = {
|
||||
datacontext = "[PlannedActivityPhase.GetPhase]"
|
||||
parentanchor = right|top
|
||||
|
||||
allow_outside = yes
|
||||
}
|
||||
}
|
||||
|
||||
widget = {
|
||||
name = "contest_involvement"
|
||||
visible = "[Not( EqualTo_string( PlannedActivityPhase.GetPhase.GetKey, 'tournament_phase_ceremony' ) )]"
|
||||
parentanchor = top|hcenter
|
||||
|
||||
allow_outside = yes
|
||||
|
||||
highlight_icon = {
|
||||
size = { 40 40 }
|
||||
texture = "gfx/interface/window_activities/tournament/contest_selection_inactive_icon_bg.dds"
|
||||
parentanchor = center
|
||||
|
||||
allow_outside = yes
|
||||
|
||||
modify_texture = {
|
||||
color = { 0.3 0.3 0.4 1 }
|
||||
blend_mode = multiply
|
||||
alpha = 0.5
|
||||
}
|
||||
}
|
||||
|
||||
icon_flat_standard = {
|
||||
size = { 30 30 }
|
||||
visible = "[IsPlayerCompetingInPhase]"
|
||||
parentanchor = center
|
||||
|
||||
texture = "gfx/interface/window_activities/tournament/icon_tournament_phase_participating.dds"
|
||||
|
||||
allow_outside = yes
|
||||
|
||||
modify_texture = {
|
||||
visible = "[EqualTo_int32( Activity.GetPhaseIndexOf( PlannedActivityPhase.Self ), Activity.GetCurrentPhaseIndex )]"
|
||||
color = { 0.3 0.3 0.4 1 }
|
||||
blend_mode = multiply
|
||||
alpha = 0.2
|
||||
}
|
||||
|
||||
modify_texture = {
|
||||
visible = "[Not( EqualTo_int32( Activity.GetPhaseIndexOf( PlannedActivityPhase.Self ), Activity.GetCurrentPhaseIndex ) )]"
|
||||
color = { 0.3 0.3 0.4 1 }
|
||||
blend_mode = multiply
|
||||
alpha = 0.5
|
||||
}
|
||||
|
||||
blockoverride "master_color_frame" {
|
||||
frame = 1
|
||||
}
|
||||
}
|
||||
|
||||
icon_flat_standard = {
|
||||
size = { 30 30 }
|
||||
visible = "[Not(IsPlayerCompetingInPhase)]"
|
||||
parentanchor = center
|
||||
|
||||
texture = "gfx/interface/window_activities/tournament/icon_tournament_phase_spectating.dds"
|
||||
|
||||
allow_outside = yes
|
||||
|
||||
modify_texture = {
|
||||
visible = "[EqualTo_int32( Activity.GetPhaseIndexOf( PlannedActivityPhase.Self ), Activity.GetCurrentPhaseIndex )]"
|
||||
color = { 0.3 0.3 0.4 1 }
|
||||
blend_mode = multiply
|
||||
alpha = 0.2
|
||||
}
|
||||
|
||||
modify_texture = {
|
||||
visible = "[Not( EqualTo_int32( Activity.GetPhaseIndexOf( PlannedActivityPhase.Self ), Activity.GetCurrentPhaseIndex ) )]"
|
||||
color = { 0.3 0.3 0.4 1 }
|
||||
blend_mode = multiply
|
||||
alpha = 0.5
|
||||
}
|
||||
|
||||
blockoverride "master_color_frame" {
|
||||
frame = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
widget = {
|
||||
name = "ceremony_item"
|
||||
datacontext = "[PlannedActivityPhase.GetPhase]"
|
||||
visible = "[IsContestType( 'tournament_phase_ceremony' )]"
|
||||
size = { 138 84 }
|
||||
parentanchor = center
|
||||
|
||||
background = {
|
||||
texture = "gfx/interface/illustrations/activity_phases/tournament_phase_ceremony_small.dds"
|
||||
using = Mask_Rough_Edges
|
||||
}
|
||||
|
||||
# icon = {
|
||||
# visible = "[EqualTo_int32( Activity.GetPhaseIndexOf( PlannedActivityPhase.Self ), Activity.GetCurrentPhaseIndex )]"
|
||||
# texture = "gfx/interface/illustrations/activity_phases/planned_phase_button_glow_02.dds"
|
||||
# size = { 146 94 }
|
||||
# parentanchor = center
|
||||
# tintcolor = { 1 0.8 0.6 1 }
|
||||
|
||||
# state = {
|
||||
# name = max_glow
|
||||
# next = min_glow
|
||||
# trigger_on_create = yes
|
||||
# duration = 1
|
||||
# using = Animation_Curve_Default
|
||||
# alpha = 1
|
||||
# }
|
||||
|
||||
# state = {
|
||||
# name = min_glow
|
||||
# next = max_glow
|
||||
# duration = 1.6
|
||||
# using = Animation_Curve_Default
|
||||
# alpha = 0.7
|
||||
# }
|
||||
# }
|
||||
|
||||
widget = {
|
||||
visible = "[Not( EqualTo_int32( Activity.GetPhaseIndexOf( PlannedActivityPhase.Self ), Activity.GetCurrentPhaseIndex ) )]"
|
||||
size = { 138 84 }
|
||||
|
||||
background = {
|
||||
using = Background_Area_Dark
|
||||
alpha = 0.8
|
||||
}
|
||||
}
|
||||
|
||||
background = {
|
||||
name = "ceremony_item_frame"
|
||||
visible = "[IsContestType( 'tournament_phase_ceremony' )]"
|
||||
|
||||
margin = { 2 2 }
|
||||
|
||||
using = Background_Frame
|
||||
|
||||
}
|
||||
|
||||
text_label_center = {
|
||||
parentanchor = bottom|hcenter
|
||||
position = { 0 -2 }
|
||||
text = "[PlannedActivityPhase.GetPhase.GetName]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
hbox = {
|
||||
name = "conclusion_phase"
|
||||
|
||||
tournament_phase_timeline_icon = {
|
||||
name = "conclusion_phase_icon"
|
||||
|
||||
blockoverride "label"
|
||||
{
|
||||
tooltip = "ACTIVITY_TIMELINE_CONCLUSION"
|
||||
}
|
||||
blockoverride "texture"
|
||||
{
|
||||
texture = "gfx/interface/icons/activity_phases/phase_conclusion.dds"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -1 +0,0 @@
|
|||
# Intentionally left blank
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
widget_pivotal_moment_event_window = {
|
||||
name = "tournament_fullscreen_pivotal_event_widget"
|
||||
size = { 100% 100% }
|
||||
parentanchor = hcenter|top
|
||||
}
|
||||
|
|
@ -1,45 +0,0 @@
|
|||
widget = {
|
||||
name = "tournament_my_aptitudes"
|
||||
datacontext = "[GetPlayer]"
|
||||
parentanchor = bottom|right
|
||||
|
||||
position = { -6 -6 }
|
||||
size = { 300 120 }
|
||||
|
||||
vbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
spacing = 8
|
||||
|
||||
blockoverride "contest_aptitude_level_size"
|
||||
{
|
||||
size = { 12 12 }
|
||||
}
|
||||
|
||||
vbox = {
|
||||
vbox_character_archery_contest_aptitude = {
|
||||
margin = { 4 4 }
|
||||
}
|
||||
|
||||
vbox_character_foot_contest_aptitude = {
|
||||
margin = { 4 4 }
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
vbox_character_horse_contest_aptitude = {
|
||||
margin = { 4 4 }
|
||||
}
|
||||
|
||||
vbox_character_wit_contest_aptitude = {
|
||||
margin = { 4 4 }
|
||||
}
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,195 +0,0 @@
|
|||
widget = {
|
||||
name = "tournament_my_attending_knights_view"
|
||||
datacontext = "[ActivityLocaleWindow.GetActivity]"
|
||||
visible = "[CanDisplayLocaleView('my_knights_window')]"
|
||||
parentanchor = top|right
|
||||
position = { -8 0 }
|
||||
size = { 510 740 }
|
||||
|
||||
state = {
|
||||
name = _show
|
||||
using = Animation_FadeIn_Quick
|
||||
|
||||
position_y = 100
|
||||
}
|
||||
|
||||
state = {
|
||||
name = _hide
|
||||
using = Animation_FadeOut_Quick
|
||||
|
||||
position_y = 200
|
||||
}
|
||||
|
||||
vbox = {
|
||||
layoutpolicy_vertical = expanding
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
using = Window_Background_Subwindow
|
||||
|
||||
header_pattern = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
blockoverride "header_text"
|
||||
{
|
||||
text = locale_window_your_attending_knights_header
|
||||
}
|
||||
|
||||
blockoverride "button_close"
|
||||
{
|
||||
onclick = "[VariableSystem.Clear( 'activity_locale_view' )]"
|
||||
}
|
||||
}
|
||||
|
||||
scrollbox = {
|
||||
name = "tournament_my_attending_knights"
|
||||
visible = "[DataModelHasItems( GetPlayer.GetKnights )]"
|
||||
layoutpolicy_vertical = expanding
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
blockoverride "scrollbox_content"
|
||||
{
|
||||
name = "attedning_characters_list"
|
||||
datamodel = "[GetPlayer.GetKnights]"
|
||||
|
||||
spacing = 8
|
||||
ignoreinvisible = yes
|
||||
|
||||
|
||||
item = {
|
||||
widget = {
|
||||
visible = "[ObjectsEqual(Character.GetInvolvedActivity, Activity.Self)]"
|
||||
layoutpolicy_horizontal = expanding
|
||||
size = { 0 130 }
|
||||
|
||||
vbox = {
|
||||
spacing = 8
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
|
||||
spacing = 8
|
||||
|
||||
portrait_head = {
|
||||
alpha = "[Select_float( Character.IsKnight, '(float)1.0', '(float)0.6' )]"
|
||||
}
|
||||
|
||||
vbox = {
|
||||
layoutpolicy_vertical = expanding
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
background = {
|
||||
using = Background_Area_Dark
|
||||
alpha = 0.8
|
||||
|
||||
margin_top = 2
|
||||
margin_bottom = 4
|
||||
margin_left = 14
|
||||
}
|
||||
|
||||
icon = {
|
||||
visible = "[Character.IsKnight]"
|
||||
size = { 40 40 }
|
||||
texture = "gfx/interface/icons/icon_knight_small.dds"
|
||||
}
|
||||
|
||||
vbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
text_single = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
text = "[Character.GetNameNoTooltip]"
|
||||
using = Font_Size_Medium
|
||||
}
|
||||
|
||||
text_single = {
|
||||
visible = "[AIWatchWindowsEnabled]"
|
||||
raw_text = "#D PTV:[Character.MakeScope.Var('progress_to_victory').GetValue|0]#!"
|
||||
default_format = "#high;D"
|
||||
|
||||
raw_tooltip = "#D [Character.GetNamePossessiveNoTooltip] progress towards victory in the upcoming contest.#!"
|
||||
}
|
||||
}
|
||||
|
||||
text_single = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
text = "[Character.GetRelationToString( GetPlayer )]"
|
||||
tooltip = "EXTENDED_RELATIONS_TOOLTIP"
|
||||
default_format = "#low"
|
||||
autoresize = no
|
||||
align = nobaseline
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
spacing = 8
|
||||
|
||||
blockoverride "contest_aptitude_level_size"
|
||||
{
|
||||
size = { 8 8 }
|
||||
}
|
||||
|
||||
hbox_character_archery_contest_aptitude = {
|
||||
margin = { 2 2 }
|
||||
}
|
||||
|
||||
hbox_character_foot_contest_aptitude = {
|
||||
margin = { 2 2 }
|
||||
}
|
||||
|
||||
hbox_character_horse_contest_aptitude = {
|
||||
margin = { 2 2 }
|
||||
}
|
||||
|
||||
hbox_character_wit_contest_aptitude = {
|
||||
margin = { 2 2 }
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
button_contest_spectate = {
|
||||
size = { 90 30 }
|
||||
|
||||
enabled = "[Not(Activity.GetCurrentPhase.IsCharacterInGuestSubset(Character.Self, 'spectator'))]"
|
||||
onclick = "[Activity.AddCharacterToSubset(Character.Self, 'spectator')]"
|
||||
tooltip = locale_window_button_my_knights_force_spectate_tooltip
|
||||
}
|
||||
|
||||
button_contest_participate = {
|
||||
size = { 90 30 }
|
||||
|
||||
enabled = "[Activity.GetCurrentPhase.IsCharacterInGuestSubset(Character.Self, 'spectator')]"
|
||||
onclick = "[Activity.RemoveCharacterFromSubset(Character.Self, 'spectator')]"
|
||||
tooltip = locale_window_button_my_knights_allow_participate_tooltip
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
divider_light = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
alpha = 0.4
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1 +0,0 @@
|
|||
# Intentionally left blank
|
||||
|
|
@ -1,58 +0,0 @@
|
|||
hbox = {
|
||||
name = "tournament_planning_selected_contests"
|
||||
visible = "[And(ActivityType.IsSingleLocation, ActivityType.HasPickablePhases)]"
|
||||
|
||||
margin = { 16 0 }
|
||||
margin_bottom = 4
|
||||
|
||||
spacing = 8
|
||||
|
||||
expand = {}
|
||||
|
||||
hbox = {
|
||||
datamodel = "[ActivityPlanner.AccessPlayerPickedPhases]"
|
||||
|
||||
spacing = 8
|
||||
|
||||
text_single = {
|
||||
text = "ACTIVITY_PLANNER_CONTEST_HEADER"
|
||||
align = nobaseline
|
||||
}
|
||||
|
||||
item = {
|
||||
hbox = {
|
||||
spacing = 4
|
||||
|
||||
widget = {
|
||||
size = { 30 30 }
|
||||
|
||||
icon_flat_standard = {
|
||||
parentanchor = center
|
||||
size = { 60 60 }
|
||||
texture = "[PlannedActivityPhase.GetPhase.GetIcon]"
|
||||
}
|
||||
}
|
||||
|
||||
text_single = {
|
||||
visible = "[PlannedActivityPhase.HasPhase]"
|
||||
text = "[PlannedActivityPhase.GetPhase.GetName]"
|
||||
align = nobaseline
|
||||
|
||||
margin_left = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
button_round = {
|
||||
onclick = "[ActivityPlanner.StartPhasePlanning]"
|
||||
|
||||
tooltip = "ACTIVITY_PLANNER_CHANGE_CONTEST_TT"
|
||||
|
||||
button_replace = {
|
||||
parentanchor = center
|
||||
alwaystransparent = yes
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,223 +0,0 @@
|
|||
vbox = {
|
||||
name = "tournament_progress_to_victory_widget"
|
||||
datacontext = "[Activity.GetCurrentPhase]"
|
||||
datacontext = "[Activity.GetCurrentPhase.GetPhase]"
|
||||
visible = "[And( And( Not(VariableSystem.Exists('activity_locale_view') ), DataModelHasItems( ActivityLocaleWindow.GetCurrentPhaseGuestSubset( 'contestant' ) ) ), Not( IsContestType( 'tournament_phase_ceremony' ) ) )]"
|
||||
visible_at_creation = no # required to make sure we trigger the '_show' state
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
alwaystransparent = no
|
||||
|
||||
minimumsize = { 300 -1 }
|
||||
maximumsize = { 300 -1 }
|
||||
spacing = 4
|
||||
|
||||
background = {
|
||||
texture = "gfx/interface/component_tiles/tile_window_background_subwindow.dds"
|
||||
spriteType = Corneredtiled
|
||||
spriteborder = { 18 18 }
|
||||
margin = { 16 16 }
|
||||
texture_density = 2
|
||||
|
||||
modify_texture = {
|
||||
name = "overlay"
|
||||
texture = "gfx/interface/component_overlay/overlay_effect.dds"
|
||||
spriteType = Corneredstretched
|
||||
spriteborder = { 0 0 }
|
||||
blend_mode = overlay
|
||||
}
|
||||
}
|
||||
|
||||
hbox = {
|
||||
margin = { 0 4 }
|
||||
visible = "[Not( Activity.IsCurrentPhaseActive )]"
|
||||
|
||||
|
||||
text_single = {
|
||||
text = locale_window_widget_progress_to_victory_next_contest
|
||||
max_width = 280
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
visible = "[Not( Activity.IsCurrentPhaseActive )]"
|
||||
|
||||
margin_bottom = 16
|
||||
spacing = 4
|
||||
|
||||
text_label_center = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
text = locale_window_widget_progress_to_victory_header
|
||||
using = Font_Size_Big
|
||||
using = Font_Type_Flavor
|
||||
}
|
||||
|
||||
text_single = {
|
||||
visible = "[Not( Activity.IsCurrentPhaseActive )]"
|
||||
max_width = 280
|
||||
text = locale_window_widget_leaderboard_qualification
|
||||
default_format = "#high;glow_color:{0.1,0.1,0.1,1.0}"
|
||||
fontsize = 14
|
||||
}
|
||||
|
||||
widget = {
|
||||
size = { 240 64 }
|
||||
allow_outside = yes
|
||||
|
||||
tooltip = locale_window_widget_progress_to_victory_tooltip
|
||||
|
||||
widget_passive_phase_progress_to_victory = {
|
||||
parentanchor = center
|
||||
|
||||
blockoverride "widget_size" {
|
||||
size = { 230 40 }
|
||||
}
|
||||
}
|
||||
|
||||
widget = {
|
||||
parentanchor = left|vcenter
|
||||
size = { 64 64 }
|
||||
position = { -22 0 }
|
||||
|
||||
allow_outside = yes
|
||||
|
||||
icon = {
|
||||
texture = "gfx/interface/window_activities/tournament/icon_chance_of_victory_bg.dds"
|
||||
parentanchor = center
|
||||
size = { 64 64 }
|
||||
|
||||
allow_outside = yes
|
||||
}
|
||||
|
||||
icon_flat_standard = {
|
||||
parentanchor = center
|
||||
size = { 35 35 }
|
||||
texture = "gfx/interface/icons/flat_icons/war_outcome_victory.dds"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
text_single = {
|
||||
text = locale_window_widget_progress_to_victory_label
|
||||
max_width = 280
|
||||
}
|
||||
}
|
||||
|
||||
button_standard = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
size = { 296 30 }
|
||||
|
||||
visible = "[Not( GetVariableSystem.Exists( 'expand_tournament_leaderboard' ) )]"
|
||||
|
||||
onclick = "[GetVariableSystem.Toggle( 'expand_tournament_leaderboard' )]"
|
||||
|
||||
tooltip = locale_window_widget_show_leaderboard_tt
|
||||
|
||||
button_expand = {
|
||||
parentanchor = center
|
||||
frame = 2
|
||||
onclick = "[GetVariableSystem.Toggle( 'expand_tournament_leaderboard' )]"
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
visible = "[GetVariableSystem.Exists( 'expand_tournament_leaderboard' )]"
|
||||
|
||||
background = {
|
||||
using = Background_Area
|
||||
}
|
||||
|
||||
text_label_center = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
max_width = 280
|
||||
|
||||
text = locale_window_widget_leaderboard
|
||||
default_format = "#high;glow_color:{0.1,0.1,0.1,1.0}"
|
||||
fontsize = 22
|
||||
fontsize_min = 16
|
||||
using = Font_Type_Flavor
|
||||
}
|
||||
|
||||
vbox_tournament_favoured_contestants = {
|
||||
name = "tournament_contestant_passive_phase"
|
||||
visible = "[And( Not( Activity.IsCurrentPhaseActive ), DataModelHasItems( ActivityLocaleWindow.GetCurrentPhaseGuestSubset( 'contestant' ) ) )]"
|
||||
|
||||
state = {
|
||||
name = _show
|
||||
on_start = "[ActivityLocaleWindow.SetAllPhasesGuestSubsetSortingDescending('contestant', 'progress_to_victory_current')]"
|
||||
}
|
||||
|
||||
blockoverride "most_favoured_datacontext"
|
||||
{
|
||||
# Uses a bit of a hack to ensure the datacontext is updated
|
||||
# when the underlying datamodel is sorted.
|
||||
datamodel = "[DataModelFirst( ActivityLocaleWindow.GetCurrentPhaseGuestSubset( 'contestant' ), '(int32)1' )]"
|
||||
}
|
||||
|
||||
blockoverride "contestants_attributes"
|
||||
{
|
||||
datamodel = "[DataModelSkipFirst( DataModelFirst( ActivityLocaleWindow.GetCurrentPhaseGuestSubset( 'contestant' ), '(int32)8' ), '(int32)1' )]"
|
||||
}
|
||||
|
||||
blockoverride "visible_bottom_bar"
|
||||
{
|
||||
visible = "[GreaterThan_int32( GetDataModelSize( ActivityLocaleWindow.GetCurrentPhaseGuestSubset( 'contestant' ) ), '(int32)8' )]"
|
||||
}
|
||||
|
||||
blockoverride "bottom_bar_text"
|
||||
{
|
||||
text = "locale_window_widget_leaderboard_remaining_contestants"
|
||||
}
|
||||
}
|
||||
|
||||
vbox_tournament_favoured_contestants = {
|
||||
name = "tournament_contestant_active_phase"
|
||||
visible = "[And( Activity.IsCurrentPhaseActive, DataModelHasItems( ActivityLocaleWindow.GetCurrentPhaseGuestSubset( 'qualified' ) ) )]"
|
||||
|
||||
state = {
|
||||
name = _show
|
||||
on_start = "[ActivityLocaleWindow.SetAllPhasesGuestSubsetSortingDescending('qualified', 'progress_to_victory_current')]"
|
||||
}
|
||||
|
||||
blockoverride "most_favoured_datacontext"
|
||||
{
|
||||
# Uses a bit of a hack to ensure the datacontext is updated
|
||||
# when the underlying datamodel is sorted.
|
||||
datamodel = "[DataModelFirst( ActivityLocaleWindow.GetCurrentPhaseGuestSubset( 'qualified' ), '(int32)1' )]"
|
||||
}
|
||||
|
||||
blockoverride "contestants_attributes"
|
||||
{
|
||||
datamodel = "[DataModelSkipFirst( DataModelFirst( ActivityLocaleWindow.GetCurrentPhaseGuestSubset( 'qualified' ), '(int32)8' ), '(int32)1' )]"
|
||||
}
|
||||
|
||||
blockoverride "visible_bottom_bar"
|
||||
{
|
||||
visible = "[GreaterThan_int32( GetDataModelSize( ActivityLocaleWindow.GetCurrentPhaseGuestSubset( 'qualified' ) ), '(int32)8' )]"
|
||||
}
|
||||
|
||||
blockoverride "bottom_bar_text"
|
||||
{
|
||||
text = "locale_window_widget_leaderboard_other_qualified"
|
||||
}
|
||||
}
|
||||
|
||||
button_standard = {
|
||||
size = { 296 30 }
|
||||
|
||||
onclick = "[GetVariableSystem.Toggle( 'expand_tournament_leaderboard' )]"
|
||||
|
||||
tooltip = locale_window_widget_hide_leaderboard_tt
|
||||
|
||||
button_expand = {
|
||||
parentanchor = center
|
||||
frame = 2
|
||||
mirror = vertical
|
||||
alwaystransparent = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
button_standard = {
|
||||
name = "tournament_toggle_my_knights_button"
|
||||
size = { 200 32 }
|
||||
|
||||
text = locale_window_button_my_knights
|
||||
tooltip = locale_window_button_my_knights_tooltip
|
||||
|
||||
onclick = "[SetOrToggleLocaleView( 'my_knights_window' )]"
|
||||
enabled = "[Not(ActivityLocaleWindow.HasActiveEvent)]"
|
||||
down = "[IsShowingLocaleView( 'my_knights_window' )]"
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,23 +0,0 @@
|
|||
hbox = {
|
||||
name = "trait_rewards"
|
||||
margin = { 16 16 }
|
||||
spacing = 4
|
||||
|
||||
datacontext = "[ActivityWindow.GetActivity]"
|
||||
datacontext = "[GetPlayer]"
|
||||
|
||||
hbox = {
|
||||
datamodel = "[Activity.MakeScope.GetList( 'trait_rewards' )]"
|
||||
|
||||
item = {
|
||||
icon_trait = {
|
||||
datacontext = "[Scope.Trait]"
|
||||
|
||||
blockoverride "icon_size"
|
||||
{
|
||||
size = { 90 90 }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,37 +0,0 @@
|
|||
vbox = {
|
||||
name = "screenshotutils_window"
|
||||
layer = confirmation
|
||||
|
||||
widget = {
|
||||
layoutpolicy_horizontal = Expanding
|
||||
layoutpolicy_vertical = Expanding
|
||||
layoutstretchfactor_vertical = 20
|
||||
|
||||
text_label_center = {
|
||||
name = "screenshot_text"
|
||||
text = "SCREENSHOT_TAKEN"
|
||||
parentanchor = center|hcenter
|
||||
position = { 0 -20 }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
name = "screenshot_map_window"
|
||||
layer = confirmation
|
||||
|
||||
widget = {
|
||||
layoutpolicy_horizontal = Expanding
|
||||
layoutpolicy_vertical = Expanding
|
||||
layoutstretchfactor_vertical = 20
|
||||
|
||||
text_label_center = {
|
||||
name = "screenshot_text"
|
||||
text = "MAP_SCREENSHOT_TAKEN"
|
||||
parentanchor = center|hcenter
|
||||
position = { 0 -20 }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,725 +0,0 @@
|
|||
textbox = {
|
||||
name = "console_output_item"
|
||||
maximumsize = { 389 -1 }
|
||||
align = left|top
|
||||
using = editor_font
|
||||
multiline = yes
|
||||
autoresize = yes
|
||||
alwaystransparent = no
|
||||
fontsize = 15
|
||||
pseudo_localization_enabled = no
|
||||
}
|
||||
|
||||
flowcontainer = {
|
||||
name = "console_window"
|
||||
parentanchor = left|vcenter
|
||||
position = { 20 0 }
|
||||
alwaystransparent = no
|
||||
filter_mouse = all
|
||||
layer = confirmation
|
||||
direction = vertical
|
||||
spacing = 2
|
||||
ignoreinvisible = yes
|
||||
allow_outside = yes
|
||||
|
||||
flowcontainer = {
|
||||
spacing = 3
|
||||
ignoreinvisible = yes
|
||||
allow_outside = yes
|
||||
|
||||
margin_widget = {
|
||||
size = { 400 510 }
|
||||
margin = { 10 5 }
|
||||
|
||||
using = dockable_background
|
||||
|
||||
scrollarea = {
|
||||
name = "console_output_scrollarea"
|
||||
size = { 389 500 }
|
||||
|
||||
scrollwidget = {
|
||||
flowcontainer = {
|
||||
name = "console_output"
|
||||
direction = "vertical"
|
||||
ignoreinvisible = no
|
||||
|
||||
# Help-text to be super-helpful
|
||||
editor_textbox = {
|
||||
maximumsize = { 389 -1 }
|
||||
align = left|top
|
||||
multiline = yes
|
||||
autoresize = yes
|
||||
alwaystransparent = no
|
||||
fontsize = 13
|
||||
pseudo_localization_enabled = no
|
||||
raw_text = "#weak;italic Use 'help <command_name>' for information, and <tab> or <pagedown> to autocomplete commands and arguments."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
scrollbar_vertical = {
|
||||
using = editor_vertical_scrollbar
|
||||
}
|
||||
|
||||
scrollbar_horizontal = {
|
||||
using = editor_horizontal_scrollbar
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dockable_button = {
|
||||
size = { 24 24 }
|
||||
raw_text = "M"
|
||||
onclick = "[ConsoleWindow.ToggleMenu]"
|
||||
}
|
||||
|
||||
flowcontainer = {
|
||||
name = "menu"
|
||||
visible = "[ConsoleWindow.IsMenuShown]"
|
||||
spacing = 3
|
||||
|
||||
scrollarea = {
|
||||
name = "menu_scroll_area"
|
||||
size = { 200 505 }
|
||||
scrollbarpolicy_horizontal = always_off
|
||||
|
||||
# background = {
|
||||
# using = Debug_Background_Dark
|
||||
# }
|
||||
|
||||
scrollbar_vertical = {
|
||||
using = editor_vertical_scrollbar
|
||||
}
|
||||
|
||||
scrollwidget = {
|
||||
fixedgridbox = {
|
||||
name = "menu_grid"
|
||||
addcolumn = 150
|
||||
addrow = 24
|
||||
|
||||
item = {
|
||||
container = {
|
||||
|
||||
icon = {
|
||||
visible = "[ConsoleMenuItem.IsCurrentGroup]"
|
||||
position = { 0 0 }
|
||||
size = { 106 28 }
|
||||
}
|
||||
|
||||
dockable_button = {
|
||||
position = { 3 3 }
|
||||
size = { 180 22 }
|
||||
onclick = "[ConsoleMenuItem.Select]"
|
||||
|
||||
text = "[ConsoleMenuItem.GetName]"
|
||||
|
||||
tooltip = "[ConsoleMenuItem.GetHelp]"
|
||||
using = tooltip_es
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
scrollarea = {
|
||||
name = "command_scroll_area"
|
||||
size = { 400 505 }
|
||||
scrollbarpolicy_horizontal = always_off
|
||||
|
||||
scrollbar_vertical = {
|
||||
using = editor_vertical_scrollbar
|
||||
}
|
||||
|
||||
scrollwidget = {
|
||||
fixedgridbox = {
|
||||
name = "command_grid"
|
||||
position = { 0 0 }
|
||||
addcolumn = 400
|
||||
addrow = 29
|
||||
|
||||
item = {
|
||||
dockable_button = {
|
||||
size = { 400 24 }
|
||||
onclick = "[ConsoleMenuItem.Select]"
|
||||
tooltip = "[ConsoleMenuItem.GetHelp]"
|
||||
text = "[ConsoleMenuItem.GetName]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
editor_textinput = {
|
||||
name = "console_edit"
|
||||
size = { 400 40 }
|
||||
margin = { 5 0 }
|
||||
alwaystransparent = no
|
||||
focuspolicy = all
|
||||
fontsize = 15
|
||||
}
|
||||
|
||||
spacer = {
|
||||
size = { 3 3 }
|
||||
}
|
||||
|
||||
window = {
|
||||
name = "toolbars_window"
|
||||
movable = no
|
||||
size = { 400 180 }
|
||||
|
||||
using = dockable_background
|
||||
|
||||
vbox = {
|
||||
margin = { 10 5 }
|
||||
margin_bottom = 10
|
||||
|
||||
restrictparent_min = yes
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
spacing = 5
|
||||
margin = { 0 5 }
|
||||
|
||||
expand = {}
|
||||
|
||||
dockable_button = {
|
||||
name = "run_file_button"
|
||||
onclick = "[ExecuteConsoleCommand('run run.txt')]"
|
||||
raw_tooltip = "Run file #weak (Edit Run.txt to change what this button does)#!"
|
||||
using = tooltip_ne
|
||||
|
||||
icon = {
|
||||
parentanchor = center
|
||||
position = { 1 1 }
|
||||
size = { 30 30 }
|
||||
texture = "gfx/interface/icons/character_interactions/send_poem_interaction.dds"
|
||||
}
|
||||
}
|
||||
|
||||
dockable_button = {
|
||||
name = "save_button"
|
||||
onclick = "[ExecuteConsoleCommand('save_every 5')]"
|
||||
onrightclick = "[ExecuteConsoleCommand('save_every 15')]"
|
||||
button_ignore = none
|
||||
|
||||
raw_tooltip = "Left-click: Create a Save every 5 years, Right-click: Create a Save every 15 years"
|
||||
using = tooltip_ne
|
||||
|
||||
icon = {
|
||||
parentanchor = center
|
||||
position = { 0 1 }
|
||||
size = { 25 25 }
|
||||
texture = "gfx/interface/icons/court_position_types/chronicler_court_position.dds"
|
||||
}
|
||||
}
|
||||
|
||||
dockable_button = {
|
||||
name = "ai_observe_button"
|
||||
onclick = "[ExecuteConsoleCommand('observe')]"
|
||||
raw_tooltip = "Go into Observe Mode"
|
||||
using = tooltip_ne
|
||||
|
||||
icon = {
|
||||
parentanchor = center
|
||||
position = { 1 1 }
|
||||
size = { 25 25 }
|
||||
texture = "gfx/interface/icons/icon_commander_trait.dds"
|
||||
}
|
||||
}
|
||||
|
||||
dockable_button = {
|
||||
name = "ai_console_button"
|
||||
onclick = "[ExecuteConsoleCommand('AI.ToggleAll')]"
|
||||
raw_tooltip = "Enable/Disable the AI for all characters"
|
||||
using = tooltip_ne
|
||||
|
||||
icon = {
|
||||
parentanchor = center
|
||||
position = { 1 1 }
|
||||
size = { 25 25 }
|
||||
texture = "gfx/interface/icons/icon_group_of_characters.dds"
|
||||
}
|
||||
}
|
||||
|
||||
dockable_button = {
|
||||
name = "yesmen_console_button"
|
||||
onclick = "[ExecuteConsoleCommand('yesmen')]"
|
||||
onrightclick = "[ExecuteConsoleCommand('yesmen_instant')]"
|
||||
button_ignore = none
|
||||
raw_tooltip = "Enable/Disable Yesmen. Right-click for instant interaction responses"
|
||||
using = tooltip_ne
|
||||
|
||||
icon = {
|
||||
parentanchor = center
|
||||
size = { 25 25 }
|
||||
texture = "gfx/interface/icons/icon_soldier.dds"
|
||||
|
||||
icon = {
|
||||
name = "gold_negative_console_button_minus"
|
||||
position = { 4 7 }
|
||||
size = { 23 23 }
|
||||
texture = "gfx/interface/icons/symbols/icon_check.dds"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dockable_button = {
|
||||
name = "renown_console_button"
|
||||
onclick = "[ExecuteConsoleCommand('effect dynasty = { add_dynasty_prestige = 1000 }')]"
|
||||
onrightclick = "[ExecuteConsoleCommand('effect dynasty = { add_dynasty_prestige = -1000 }')]"
|
||||
button_ignore = none
|
||||
raw_tooltip = "Left-click: Gain 1000 Renown, Right-click: Lose 1000 Renown"
|
||||
using = tooltip_ne
|
||||
|
||||
icon = {
|
||||
parentanchor = center
|
||||
size = { 30 30 }
|
||||
texture = "gfx/interface/icons/modifiers/icon_dynasty_prestige_03.dds"
|
||||
}
|
||||
}
|
||||
|
||||
dockable_button = {
|
||||
name = "legitimacy_console_button"
|
||||
onclick = "[ExecuteConsoleCommand('effect add_legitimacy = 100')]"
|
||||
onrightclick = "[ExecuteConsoleCommand('effect add_legitimacy = -100')]"
|
||||
button_ignore = none
|
||||
raw_tooltip = "Left-click: Gain 100 Legitimacy, Right-click: Lose 100 Legitimacy"
|
||||
using = tooltip_ne
|
||||
|
||||
icon = {
|
||||
parentanchor = center
|
||||
position = { 0 1 }
|
||||
size = { 30 30 }
|
||||
texture = "gfx/interface/icons/legitimacy_types/_default.dds"
|
||||
}
|
||||
}
|
||||
|
||||
dockable_button = {
|
||||
name = "prestige_console_button"
|
||||
onclick = "[ExecuteConsoleCommand('prestige 1000')]"
|
||||
onrightclick = "[ExecuteConsoleCommand('prestige -1000')]"
|
||||
button_ignore = none
|
||||
|
||||
raw_tooltip = "Left-click: Gain 1000 Prestige, Right-click: Lose 1000 Prestige"
|
||||
using = tooltip_ne
|
||||
|
||||
icon = {
|
||||
parentanchor = center
|
||||
position = { 0 1 }
|
||||
size = { 30 30 }
|
||||
texture = "gfx/interface/icons/modifiers/icon_prestige_04.dds"
|
||||
}
|
||||
}
|
||||
|
||||
dockable_button = {
|
||||
name = "piety_console_button"
|
||||
onclick = "[ExecuteConsoleCommand('piety 1000')]"
|
||||
onrightclick = "[ExecuteConsoleCommand('piety -1000')]"
|
||||
button_ignore = none
|
||||
raw_tooltip = "Left-click: Gain 1000 Piety, Right-click: Lose 1000 Piety"
|
||||
using = tooltip_ne
|
||||
|
||||
icon = {
|
||||
parentanchor = center
|
||||
size = { 30 30 }
|
||||
texture = "gfx/interface/icons/modifiers/icon_piety_christian_04.dds"
|
||||
}
|
||||
}
|
||||
|
||||
dockable_button = {
|
||||
name = "gold_console_button"
|
||||
onclick = "[ExecuteConsoleCommand('gold 5000')]"
|
||||
onrightclick = "[ExecuteConsoleCommand('gold -5000')]"
|
||||
button_ignore = none
|
||||
raw_tooltip = "Left-click: Gain 5000 Gold, Right-click: Lose 5000 Gold"
|
||||
using = tooltip_ne
|
||||
|
||||
icon = {
|
||||
parentanchor = center
|
||||
position = { 0 1 }
|
||||
size = { 30 30 }
|
||||
texture = "gfx/interface/icons/icon_gold.dds"
|
||||
}
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
spacing = 5
|
||||
margin = { 0 5 }
|
||||
|
||||
expand = {}
|
||||
|
||||
dockable_button = {
|
||||
name = "kill_console_button"
|
||||
onclick = "[ExecuteConsoleCommand('kill')]"
|
||||
raw_tooltip = "Kill Currently Played Character"
|
||||
using = tooltip_ne
|
||||
|
||||
icon = {
|
||||
parentanchor = center
|
||||
size = { 30 30 }
|
||||
texture = "gfx/interface/icons/icon_dead.dds"
|
||||
}
|
||||
}
|
||||
|
||||
dockable_button = {
|
||||
name = "instabuild_button"
|
||||
onclick = "[ExecuteConsoleCommand('instabuild')]"
|
||||
raw_tooltip = "Build buildings instantly, click again to turn off"
|
||||
using = tooltip_ne
|
||||
|
||||
icon = {
|
||||
parentanchor = center
|
||||
position = { 1 1 }
|
||||
size = { 35 35 }
|
||||
texture = "gfx/interface/icons/icon_holding_city.dds"
|
||||
}
|
||||
}
|
||||
|
||||
dockable_button = {
|
||||
name = "tech_button"
|
||||
onclick = "[ExecuteConsoleCommand('discover_all_eras')]"
|
||||
raw_tooltip = "Discover all Innovations"
|
||||
using = tooltip_ne
|
||||
|
||||
icon = {
|
||||
parentanchor = center
|
||||
position = { 1 1 }
|
||||
size = { 35 35 }
|
||||
texture = "gfx/interface/icons/message_feed/technology.dds"
|
||||
}
|
||||
}
|
||||
|
||||
dockable_button = {
|
||||
name = "perks_button"
|
||||
onclick = "[ExecuteConsoleCommand('gain_all_perks')]"
|
||||
raw_tooltip = "Gain all Lifestyle Perks"
|
||||
using = tooltip_ne
|
||||
|
||||
icon = {
|
||||
parentanchor = center
|
||||
position = { 1 1 }
|
||||
framesize = { 60 60 }
|
||||
frame = 2
|
||||
size = { 25 25 }
|
||||
texture = "gfx/interface/icons/lifestyles_perks/node_diplomacy.dds"
|
||||
}
|
||||
}
|
||||
|
||||
dockable_button = {
|
||||
name = "birth_button"
|
||||
onclick = "[ExecuteConsoleCommand('instant_birth')]"
|
||||
button_ignore = none
|
||||
raw_tooltip = "Instant Birth, click again to disable"
|
||||
using = tooltip_ne
|
||||
|
||||
icon = {
|
||||
parentanchor = center
|
||||
position = { 0 1 }
|
||||
size = { 30 30 }
|
||||
texture = "gfx/interface/icons/traits/born_in_the_purple.dds"
|
||||
}
|
||||
}
|
||||
|
||||
dockable_button = {
|
||||
name = "legacies_button"
|
||||
onclick = "[ExecuteConsoleCommand('gain_all_dynasty_perks')]"
|
||||
button_ignore = none
|
||||
raw_tooltip = "Gain all Dynasty Legacies"
|
||||
using = tooltip_ne
|
||||
|
||||
icon = {
|
||||
parentanchor = center
|
||||
position = { 0 1 }
|
||||
size = { 25 25 }
|
||||
texture = "gfx/interface/icons/modifiers/icon_dynasty_prestige_05.dds"
|
||||
}
|
||||
}
|
||||
|
||||
dockable_button = {
|
||||
name = "stress_button"
|
||||
onclick = "[ExecuteConsoleCommand('add_stress 50')]"
|
||||
onrightclick = "[ExecuteConsoleCommand('add_stress -50')]"
|
||||
button_ignore = none
|
||||
raw_tooltip = "Left-click: Gain 50 Stress, Right-click: Lose 50 Stress"
|
||||
using = tooltip_ne
|
||||
|
||||
icon = {
|
||||
parentanchor = center
|
||||
size = { 30 30 }
|
||||
texture = "gfx/interface/icons/stress/icon_stress.dds"
|
||||
}
|
||||
}
|
||||
|
||||
dockable_button = {
|
||||
name = "influence_console_button"
|
||||
onclick = "[ExecuteConsoleCommand('influence 1000')]"
|
||||
onrightclick = "[ExecuteConsoleCommand('influence -1000')]"
|
||||
button_ignore = none
|
||||
|
||||
raw_tooltip = "Left-click: Gain 1000 Influence, Right-click: Lose 1000 Influence"
|
||||
using = tooltip_ne
|
||||
|
||||
icon = {
|
||||
parentanchor = center
|
||||
position = { 0 1 }
|
||||
size = { 30 30 }
|
||||
texture = "gfx/interface/icons/modifiers/icon_influence_04.dds"
|
||||
}
|
||||
}
|
||||
|
||||
dockable_button = {
|
||||
name = "herd_console_button"
|
||||
onclick = "[ExecuteConsoleCommand('effect domicile = { change_herd = 1000 }')]"
|
||||
onrightclick = "[ExecuteConsoleCommand('effect domicile = { change_herd = -1000 }')]"
|
||||
button_ignore = none
|
||||
|
||||
raw_tooltip = "Left-click: Gain 1000 Herd, Right-click: Lose 1000 Herd"
|
||||
using = tooltip_ne
|
||||
|
||||
icon = {
|
||||
parentanchor = center
|
||||
position = { 0 1 }
|
||||
size = { 30 30 }
|
||||
texture = "gfx/interface/icons/icon_herd.dds"
|
||||
}
|
||||
}
|
||||
|
||||
dockable_button = {
|
||||
name = "barter_goods_console_button"
|
||||
onclick = "[ExecuteConsoleCommand('change_barter_goods 1000')]"
|
||||
onrightclick = "[ExecuteConsoleCommand('change_barter_goods -1000')]"
|
||||
button_ignore = none
|
||||
|
||||
raw_tooltip = "Left-click: Gain 1000 Barter Goods, Right-click: Lose 1000 Barter Goods"
|
||||
using = tooltip_ne
|
||||
|
||||
icon = {
|
||||
parentanchor = center
|
||||
position = { 0 1 }
|
||||
size = { 30 30 }
|
||||
texture = "gfx/interface/icons/icon_barter.dds"
|
||||
}
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
dockable_button = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
size = { 0 30 }
|
||||
raw_text = "Environment"
|
||||
onclick = "[ExecuteConsoleCommand('gui.CreateDockable gui/debug/debug_menus.gui environment_debug_window')]"
|
||||
tintcolor = { 200 20 0 0.8 }
|
||||
raw_tooltip = "Switch between environment lighting cubemaps"
|
||||
}
|
||||
|
||||
dockable_button = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
size = { 0 30 }
|
||||
raw_text = "Tweak"
|
||||
onclick = "[ExecuteConsoleCommand('gui.CreateDockable gui/debug/debug_menus.gui tweak_window')]"
|
||||
tintcolor = { 200 20 0 0.8 }
|
||||
raw_tooltip = "Show Tweakable Values"
|
||||
}
|
||||
|
||||
dockable_button = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
size = { 0 30 }
|
||||
raw_text = "Portrait Editor"
|
||||
onclick = "[ExecuteConsoleCommand('pe')]"
|
||||
tintcolor = { 200 20 0 0.8 }
|
||||
raw_tooltip = "Portrait Editor"
|
||||
}
|
||||
|
||||
dockable_button = {
|
||||
size = { 40 30 }
|
||||
raw_text = "Purge"
|
||||
onclick = "[ExecuteConsoleCommand('PurgePortraits')]"
|
||||
tintcolor = { 1 0.5 0.1 0.8 }
|
||||
raw_tooltip = "Purge Portrait cache"
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
dockable_button = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
size = { 0 30 }
|
||||
raw_text = "Language"
|
||||
onclick = "[ExecuteConsoleCommand('gui.CreateDockable gui/debug/debug_menus.gui language_window')]"
|
||||
tintcolor = { 200 20 0 0.8 }
|
||||
}
|
||||
|
||||
dockable_button = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
size = { 0 30 }
|
||||
raw_text = "Court"
|
||||
onclick = "[ExecuteConsoleCommand('gui.CreateDockable gui/debug/debug_menus.gui court_debug_menu')]"
|
||||
tintcolor = { 200 20 0 0.8 }
|
||||
raw_tooltip = "Court debug menu"
|
||||
}
|
||||
|
||||
dockable_button = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
size = { 0 30 }
|
||||
raw_text = "Map"
|
||||
onclick = "[ExecuteConsoleCommand('gui.CreateDockable gui/debug/debug_menus.gui map_debug_menu')]"
|
||||
tintcolor = { 200 20 0 0.8 }
|
||||
raw_tooltip = "Map Object debug menu"
|
||||
}
|
||||
|
||||
dockable_button = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
size = { 0 30 }
|
||||
raw_text = "Flag Preview"
|
||||
onclick = "[ExecuteConsoleCommand('gui.CreateDockable gui/debug/debug_menus.gui flag_preview_window')]"
|
||||
tintcolor = { 200 20 0 0.8 }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
dockable_button = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
size = { 0 30 }
|
||||
raw_text = "Watch Windows"
|
||||
onclick = "[ExecuteConsoleCommand('watch')]"
|
||||
tintcolor = { 1 0.5 0.1 0.8 }
|
||||
}
|
||||
|
||||
dockable_button = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
size = { 0 30 }
|
||||
raw_text = "Explore Objects"
|
||||
onclick = "[ExecuteConsoleCommand('explorer')]"
|
||||
tintcolor = { 1 0.5 0.1 0.8 }
|
||||
}
|
||||
}
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
dockable_button = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
size = { 0 30 }
|
||||
raw_text = "Reload Textures"
|
||||
onclick = "[ExecuteConsoleCommand('reload texture')]"
|
||||
tintcolor = { 0.9 0.9 0 0.8 }
|
||||
raw_tooltip = "Reload all game textures from disk"
|
||||
}
|
||||
|
||||
dockable_button = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
size = { 0 30 }
|
||||
raw_text = "Animation Info"
|
||||
onclick = "[ExecuteConsoleCommand('Portrait.Animation.Info')]"
|
||||
tintcolor = { 0.9 0.9 0 0.8 }
|
||||
raw_tooltip = "List what animations are playing in the character tooltip"
|
||||
}
|
||||
|
||||
dockable_button = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
size = { 0 30 }
|
||||
raw_text = "GUI Editor"
|
||||
onclick = "[ExecuteConsoleCommand('gui_editor')]"
|
||||
tintcolor = { 0.9 0.9 0 0.8 }
|
||||
raw_tooltip = "Visualize and edit GUI widgets"
|
||||
}
|
||||
|
||||
dockable_button = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
size = { 0 30 }
|
||||
raw_text = "Gui.Debug"
|
||||
onclick = "[ExecuteConsoleCommand('Gui.Debug')]"
|
||||
tintcolor = { 0.9 0.9 0 0.8 }
|
||||
raw_tooltip = "Visualize GUI widgets"
|
||||
}
|
||||
}
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
#dockable_button = {
|
||||
# layoutpolicy_horizontal = expanding
|
||||
# size = { 0 30 }
|
||||
# raw_text = "Test Window"
|
||||
# onclick = "[ExecuteConsoleCommand('gui.CreateWidget gui/debug/test_gui.gui test_window')]"
|
||||
# tintcolor = { 0.9 0.9 0 0.8 }
|
||||
# raw_tooltip = "Window for GUI testing (test_gui.gui)"
|
||||
#}
|
||||
|
||||
dockable_button = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
size = { 0 30 }
|
||||
raw_text = "Script Profiler"
|
||||
onclick = "[ExecuteConsoleCommand('Script.Profiling.Gui')]"
|
||||
tintcolor = { 0.9 0.9 0 0.8 }
|
||||
raw_tooltip = "Tool for profiling script performance"
|
||||
}
|
||||
|
||||
dockable_button = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
size = { 0 30 }
|
||||
raw_text = "UI Library"
|
||||
onclick = "[ExecuteConsoleCommand('GUI.CreateWidget gui/debug/window_component_library.gui component_library_window')]"
|
||||
tintcolor = { 0.9 0.9 0 0.8 }
|
||||
raw_tooltip = "Open UI Library"
|
||||
visible = "[Not(ReleaseMode)]"
|
||||
}
|
||||
}
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
dockable_button = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
size = { 0 30 }
|
||||
raw_text = "Debug Mode"
|
||||
onclick = "[ExecuteConsoleCommand('debug_mode')]"
|
||||
tintcolor = { 1.0 0.5 1.0 0.8 }
|
||||
raw_tooltip = "Enter/Exit Debug Mode"
|
||||
|
||||
editor_textbox = {
|
||||
visible = "[InDebugMode]"
|
||||
parentanchor = right|vcenter
|
||||
position = { -11 0 }
|
||||
align = right|nobaseline
|
||||
raw_text = "Active"
|
||||
default_format = "#low"
|
||||
autoresize = yes
|
||||
|
||||
background = {
|
||||
texture = "gfx/interface/_debug/pink_square_chill.png"
|
||||
spriteType = Corneredtiled
|
||||
spriteborder = { 1 1 }
|
||||
margin = { 6 1 }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dockable_button = {
|
||||
visible = "[IsDefaultGUIMode]"
|
||||
size = { 150 30 }
|
||||
raw_text = "Toggle Release Mode"
|
||||
onclick = "[ExecuteConsoleCommand('release_mode')]"
|
||||
tintcolor = { 0.5 0.5 0.5 0.8 }
|
||||
raw_tooltip = "Toggles build number, Error Horse, FPS Warning visibility in HUD"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,203 +0,0 @@
|
|||
margin_widget = {
|
||||
name = "JominiCreditsWindow"
|
||||
parentanchor = vcenter|hcenter
|
||||
size = { 100% 100% }
|
||||
allow_outside = yes
|
||||
alwaystransparent = yes
|
||||
margin = { 150 0 }
|
||||
|
||||
state = {
|
||||
name = _show
|
||||
on_start = "[CreditsWindow.OnSlower]"
|
||||
next = "auto_scrollbar"
|
||||
}
|
||||
|
||||
state = {
|
||||
name = "auto_scrollbar"
|
||||
delay = 1
|
||||
on_finish = "[CreditsWindow.OnTogglePause]"
|
||||
}
|
||||
|
||||
scrollarea = {
|
||||
name = "credits_scroll_area"
|
||||
parentanchor = center
|
||||
size = { 100% 100% }
|
||||
|
||||
scrollbarpolicy_horizontal = always_off
|
||||
|
||||
scrollbar_vertical = {
|
||||
scrollbar = {
|
||||
name = "vertical_scrollbar"
|
||||
wheelstep = 60
|
||||
direction = vertical
|
||||
|
||||
track = {
|
||||
button = {}
|
||||
}
|
||||
|
||||
slider = {
|
||||
button = {}
|
||||
}
|
||||
|
||||
dec_button = {
|
||||
button = {}
|
||||
}
|
||||
|
||||
inc_button = {
|
||||
button = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
scrollwidget = {
|
||||
container = {
|
||||
parentanchor = top|hcenter
|
||||
|
||||
state = {
|
||||
name = a
|
||||
next = b
|
||||
trigger_on_create = yes
|
||||
|
||||
alpha = 0
|
||||
}
|
||||
|
||||
state = {
|
||||
name = b
|
||||
|
||||
delay = 0
|
||||
duration = 2
|
||||
alpha = 1
|
||||
}
|
||||
|
||||
gridbox_credits_portraits = {
|
||||
position = { 100 400 }
|
||||
datamodel = "[GetCreditPortraitsForGroup( 'left' )]"
|
||||
|
||||
state = {
|
||||
name = a
|
||||
next = b
|
||||
trigger_on_create = yes
|
||||
|
||||
alpha = 0
|
||||
}
|
||||
|
||||
state = {
|
||||
name = b
|
||||
|
||||
delay = 0
|
||||
duration = 2
|
||||
alpha = 1
|
||||
}
|
||||
}
|
||||
|
||||
gridbox_credits_portraits = {
|
||||
position = { 850 700 }
|
||||
datamodel = "[GetCreditPortraitsForGroup( 'right' )]"
|
||||
|
||||
state = {
|
||||
name = a
|
||||
next = b
|
||||
trigger_on_create = yes
|
||||
|
||||
alpha = 0
|
||||
}
|
||||
|
||||
state = {
|
||||
name = b
|
||||
|
||||
delay = 0
|
||||
duration = 2
|
||||
alpha = 1
|
||||
}
|
||||
}
|
||||
|
||||
# The single textbox that contains the entire credits
|
||||
textbox = {
|
||||
parentanchor = top|hcenter
|
||||
position = { -0 100 }
|
||||
font = StandardGameFont
|
||||
default_format = "#credits_entries"
|
||||
align = center
|
||||
autoresize = yes
|
||||
multiline = yes
|
||||
max_width = 1400
|
||||
text = "[CreditsWindow.GetCredits]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
button_tertiary = {
|
||||
visible = "[Not( CreditsWindow.HasReachedEnd )]"
|
||||
name = "toggle_pause_button"
|
||||
parentanchor = bottom|left
|
||||
position = { 0 -20 }
|
||||
size = { 120 25 }
|
||||
text = "[SelectLocalization(CreditsWindow.IsPaused,'CREDITS_CONTINUE','CREDITS_PAUSE')]"
|
||||
|
||||
onclick = "[CreditsWindow.OnTogglePause]"
|
||||
}
|
||||
}
|
||||
|
||||
types FrontEndCreditsView
|
||||
{
|
||||
# This widget is the background, it's added by code magic
|
||||
type JominiFrontEndCreditsView = widget {
|
||||
name = "JominiFrontEndCreditsView"
|
||||
parentanchor = center
|
||||
size = { 1920 1200 }
|
||||
|
||||
state = {
|
||||
name = _show
|
||||
using = Animation_FadeIn_Quick
|
||||
}
|
||||
|
||||
state = {
|
||||
name = _hide
|
||||
using = Animation_FadeOut_Quick
|
||||
}
|
||||
|
||||
background = {
|
||||
texture = "gfx/interface/illustrations/frontend/credits.dds"
|
||||
fittype = centercrop
|
||||
}
|
||||
|
||||
button_primary = {
|
||||
name = "back_button"
|
||||
parentanchor = bottom|left
|
||||
position = { 20 -20 }
|
||||
size = { 120 25 }
|
||||
text = "CREDITS_BACK"
|
||||
shortcut = "close_window"
|
||||
onclick = "[FrontEndCreditsView.OnBack]"
|
||||
}
|
||||
}
|
||||
|
||||
type gridbox_credits_portraits = fixedgridbox {
|
||||
addcolumn = 500
|
||||
addrow = 500
|
||||
|
||||
item = {
|
||||
widget = {
|
||||
size = { 450 450 }
|
||||
|
||||
icon = {
|
||||
size = { 100% 95% }
|
||||
texture = "[CreditPortraitData.GetBookmarkPortrait.GetPortrait( 'environment_body', 'camera_body', PdxGetWidgetScreenSize(PdxGuiWidget.Self ) )]"
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/portraits/portrait_mask_event_letter.dds"
|
||||
blend_mode = alphamultiply
|
||||
}
|
||||
}
|
||||
|
||||
text_label_center = {
|
||||
parentanchor = bottom|hcenter
|
||||
position = { 0 -50 }
|
||||
text = "[CreditPortraitData.GetText]"
|
||||
default_format = "#credits_subheader"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,352 +0,0 @@
|
|||
window = {
|
||||
using = editor_window
|
||||
name = "ai_war_coordinator_watch_window"
|
||||
parentanchor = top|left
|
||||
size = { 50% 600 }
|
||||
position = { 50% 50% }
|
||||
widgetanchor = center
|
||||
layer = top
|
||||
|
||||
margin_widget = {
|
||||
size = { 100% 25 }
|
||||
margin = { 4 4 }
|
||||
widgetanchor = top
|
||||
|
||||
hbox = {
|
||||
spacing = 4
|
||||
|
||||
button = {
|
||||
using = editor_button
|
||||
size = { 150 25 }
|
||||
raw_text = "[SelectLocalization( AIWarCoordinatorWatchWindow.IsAllAttackersActive, 'Disable All Attackers', 'Enable All Attackers' )]"
|
||||
align = center|nobaseline
|
||||
onclick = "[AIWarCoordinatorWatchWindow.ToggleAllAttackers]"
|
||||
}
|
||||
|
||||
button = {
|
||||
using = editor_button
|
||||
size = { 150 25 }
|
||||
raw_text = "[SelectLocalization( AIWarCoordinatorWatchWindow.IsAllDefendersActive, 'Disable All Defenders', 'Enable All Defenders' )]"
|
||||
align = center|nobaseline
|
||||
onclick = "[AIWarCoordinatorWatchWindow.ToggleAllDefenders]"
|
||||
}
|
||||
|
||||
button = {
|
||||
using = editor_button
|
||||
size = { 150 25 }
|
||||
raw_text = "Reset All Shown Units"
|
||||
align = center|nobaseline
|
||||
onclick = "[AIWarCoordinatorWatchWindow.ResetAllShownUnits]"
|
||||
}
|
||||
|
||||
button = {
|
||||
using = editor_button
|
||||
size = { 150 25 }
|
||||
raw_text = "Rebuild List"
|
||||
align = center|nobaseline
|
||||
onclick = "[AIWarCoordinatorWatchWindow.RebuildWarInfos]"
|
||||
}
|
||||
|
||||
expand = { }
|
||||
}
|
||||
}
|
||||
|
||||
button = {
|
||||
using = editor_button
|
||||
name = "close_button"
|
||||
position = { -4 5 }
|
||||
size = { 20 20 }
|
||||
parentanchor = top|right
|
||||
raw_text = "x"
|
||||
align = center|nobaseline
|
||||
onclick = "[AIWarCoordinatorWatchWindow.Close]"
|
||||
shortcut = "close_window"
|
||||
}
|
||||
|
||||
button = {
|
||||
using = editor_button
|
||||
position = { -28 5 }
|
||||
size = { 20 20 }
|
||||
parentanchor = top|right
|
||||
raw_text = "-"
|
||||
align = center|nobaseline
|
||||
onclick = "[AIWarCoordinatorWatchWindow.Minimize]"
|
||||
}
|
||||
|
||||
scrollarea = {
|
||||
position = { 1% 60 }
|
||||
size = { 98% 535 }
|
||||
|
||||
scrollbarpolicy_horizontal = always_off
|
||||
|
||||
scrollbar_vertical = {
|
||||
using = editor_vertical_scrollbar
|
||||
}
|
||||
|
||||
scrollwidget = {
|
||||
vbox = {
|
||||
name = "war_grid"
|
||||
datamodel = "[AIWarCoordinatorWatchWindow.AccessWarInfoItems]"
|
||||
position = { 0 0 }
|
||||
|
||||
item = {
|
||||
vbox = {
|
||||
layoutpolicy_vertical = expanding
|
||||
layoutpolicy_horizontal = expanding
|
||||
spacing = 8
|
||||
|
||||
background = {
|
||||
using = Background_Frame
|
||||
}
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_vertical = expanding
|
||||
layoutpolicy_horizontal = expanding
|
||||
margin = { 12 12 }
|
||||
|
||||
background = {
|
||||
using = Background_Area
|
||||
}
|
||||
|
||||
text_single = {
|
||||
fontsize = 14
|
||||
align = left|top
|
||||
autoresize = yes
|
||||
text = "[WarInfo.GetWar.GetName]"
|
||||
}
|
||||
|
||||
expand = {}
|
||||
|
||||
button = {
|
||||
size = { 60 24 }
|
||||
raw_text = "Show"
|
||||
onclick = "[WarInfo.ToggleCollapsed]"
|
||||
visible = "[WarInfo.IsCollapsed]"
|
||||
|
||||
using = editor_button
|
||||
}
|
||||
|
||||
button = {
|
||||
size = { 60 24 }
|
||||
raw_text = "Hide"
|
||||
onclick = "[WarInfo.ToggleCollapsed]"
|
||||
visible = "[Not( WarInfo.IsCollapsed )]"
|
||||
|
||||
using = editor_button
|
||||
}
|
||||
}
|
||||
|
||||
hbox = {
|
||||
visible = "[Not( WarInfo.IsCollapsed )]"
|
||||
margin_bottom = 12
|
||||
spacing = 50
|
||||
|
||||
# Test info
|
||||
war_coordinator_info = {
|
||||
datacontext = "[WarInfo.AccessGuiAttackerAiWarCoordinator]"
|
||||
blockoverride "type" {
|
||||
raw_text = "Attacker:"
|
||||
}
|
||||
}
|
||||
|
||||
divider = {
|
||||
layoutpolicy_vertical = expanding
|
||||
}
|
||||
|
||||
war_coordinator_info = {
|
||||
datacontext = "[WarInfo.AccessGuiDefenderAiWarCoordinator]"
|
||||
blockoverride "type" {
|
||||
raw_text = "Defender:"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
window = {
|
||||
using = editor_window
|
||||
name = "unit_watch_window"
|
||||
parentanchor = top|left
|
||||
size = { 350 300 }
|
||||
position = { 50% 50% }
|
||||
widgetanchor = center
|
||||
layer = top
|
||||
|
||||
button = {
|
||||
using = editor_button
|
||||
name = "close_button"
|
||||
position = { -4 5 }
|
||||
size = { 20 20 }
|
||||
parentanchor = top|right
|
||||
raw_text = "x"
|
||||
align = center|nobaseline
|
||||
onclick = "[AIUnitWatchWindow.Close]"
|
||||
shortcut = "close_window"
|
||||
}
|
||||
|
||||
scrollarea = {
|
||||
position = { 5 30 }
|
||||
size = { 340 265 }
|
||||
|
||||
scrollbarpolicy_horizontal = always_off
|
||||
|
||||
scrollbar_vertical = {
|
||||
using = editor_vertical_scrollbar
|
||||
}
|
||||
|
||||
scrollwidget = {
|
||||
fixedgridbox = {
|
||||
datamodel = "[AIUnitWatchWindow.AccessUnits]"
|
||||
size = { 100% 100% }
|
||||
position = { 0 0 }
|
||||
addcolumn = 100%
|
||||
addrow = 50
|
||||
maxhorizontalslots = 1
|
||||
|
||||
item = {
|
||||
widget = {
|
||||
size = { 100% 50 }
|
||||
unit_info = { }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
types WarCoordinatorWatchWindow
|
||||
{
|
||||
type war_coordinator_info = vbox {
|
||||
layoutpolicy_vertical = expanding
|
||||
layoutpolicy_horizontal = expanding
|
||||
spacing = 10
|
||||
|
||||
visible = "[GuiAIWarCoordinator.IsValid]"
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_vertical = expanding
|
||||
layoutpolicy_horizontal = expanding
|
||||
spacing = 10
|
||||
|
||||
textbox = {
|
||||
fontsize = 14
|
||||
align = left|top
|
||||
autoresize = yes
|
||||
block "type" {
|
||||
}
|
||||
}
|
||||
|
||||
button = {
|
||||
using = editor_button
|
||||
size = { 80 25 }
|
||||
raw_text = "[SelectLocalization( GuiAIWarCoordinator.IsActive, 'Disable', 'Enable' )]"
|
||||
align = center|nobaseline
|
||||
onclick = "[GuiAIWarCoordinator.ToggleActivity]"
|
||||
}
|
||||
|
||||
button = {
|
||||
using = editor_button
|
||||
size = { 80 25 }
|
||||
raw_text = "[SelectLocalization( GuiAIWarCoordinator.IsShown, 'Hide', 'Show' )]"
|
||||
align = center|nobaseline
|
||||
onclick = "[GuiAIWarCoordinator.ToggleVisibility]"
|
||||
}
|
||||
|
||||
button = {
|
||||
using = editor_button
|
||||
size = { 80 25 }
|
||||
raw_text = "Show Units"
|
||||
align = center|nobaseline
|
||||
visible = "[GuiAIWarCoordinator.IsShown]"
|
||||
onclick = "[GuiAIWarCoordinator.ShowUnitsList]"
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
text_single = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
align = left|top
|
||||
raw_text = "AI War Stance: #bold [GuiAIWarCoordinator.GetStance]#!"
|
||||
using = Font_Size_Tiny
|
||||
}
|
||||
|
||||
text_single = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
align = left|top
|
||||
raw_text = "[SelectLocalization( GuiAIWarCoordinator.IsDesperate, 'Is Desperate', 'Is #bold NOT#! Desperate' )]"
|
||||
using = Font_Size_Tiny
|
||||
}
|
||||
|
||||
text_single = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
align = left|top
|
||||
raw_text = "Strength (Current/Max): [GuiAIWarCoordinator.GetCurrentStrength]/[GuiAIWarCoordinator.GetMaxStrength]"
|
||||
using = Font_Size_Tiny
|
||||
}
|
||||
|
||||
text_single = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
align = left|top
|
||||
raw_text = "Cached Strength (Allied/Enemy): [GuiAIWarCoordinator.GetCachedStrength]/[GuiAIWarCoordinator.GetCachedEnemyStrength]"
|
||||
using = Font_Size_Tiny
|
||||
}
|
||||
|
||||
text_single = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
align = left|top
|
||||
raw_text = "Power (Current/Max): [GuiAIWarCoordinator.GetCurrentPower|0]/[GuiAIWarCoordinator.GetMaxPower|0]"
|
||||
using = Font_Size_Tiny
|
||||
}
|
||||
|
||||
text_single = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
align = left|top
|
||||
raw_text = "Cached Power (Allied/Enemy): [GuiAIWarCoordinator.GetCachedPower|0]/[GuiAIWarCoordinator.GetCachedEnemyPower|0]"
|
||||
using = Font_Size_Tiny
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
types UnitWatchWindow
|
||||
{
|
||||
type unit_info = hbox {
|
||||
layoutpolicy_vertical = expanding
|
||||
layoutpolicy_horizontal = expanding
|
||||
spacing = 5
|
||||
|
||||
visible = "[GuiUnitInfo.IsValid]"
|
||||
|
||||
button = {
|
||||
using = editor_button
|
||||
tooltip = "[GuiUnitInfo.GetWarName]"
|
||||
size = { 100 25 }
|
||||
raw_text = "[GuiUnitInfo.GetId]"
|
||||
align = center|nobaseline
|
||||
onclick = "[GuiUnitInfo.PanToUnit]"
|
||||
}
|
||||
|
||||
textbox = {
|
||||
fontsize = 14
|
||||
align = left|top
|
||||
autoresize = yes
|
||||
raw_text = "[GuiUnitInfo.GetOwnerName]"
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,279 +0,0 @@
|
|||
template animation_test_portrait
|
||||
{
|
||||
using = pe_torso_button_template
|
||||
alwaystransparent = no
|
||||
size = { 330 330 }
|
||||
|
||||
background_texture = "gfx/portraits/portrait_transparent.dds"
|
||||
framesize = { 80 120 }
|
||||
mask = "gfx/portraits/portrait_editor_mask.dds"
|
||||
}
|
||||
|
||||
window = {
|
||||
name = "animation_test_window"
|
||||
size = { 1600 1050 }
|
||||
parentanchor = top|right
|
||||
position = { -80 130 }
|
||||
layer = middle
|
||||
|
||||
using = Window_Background
|
||||
using = Window_Decoration_Spike
|
||||
using = Animation_ShowHide_Standard
|
||||
|
||||
textbox = {
|
||||
size = { 80 25 }
|
||||
position = { 50 30 }
|
||||
fontsize = 16
|
||||
using = editor_font
|
||||
raw_text = "Animation"
|
||||
}
|
||||
|
||||
blockoverride "button_close"
|
||||
{
|
||||
parentanchor = top|right
|
||||
}
|
||||
|
||||
flowcontainer = {
|
||||
position = { 30 60 }
|
||||
direction = horizontal
|
||||
|
||||
dropDown = {
|
||||
alwaystransparent = no
|
||||
name = "animations_dropdown"
|
||||
size = { 250 20 }
|
||||
datamodel = "[AnimationTestWindow.GetAnimationGroupItems]"
|
||||
onselectionchanged = "[AnimationTestWindow.SetSelectedAnimationGroup]"
|
||||
selectedindex = "[AnimationTestWindow.GetSelectedAnimationGroupIndex]"
|
||||
|
||||
active_item = {
|
||||
widget = {
|
||||
alwaystransparent = no
|
||||
size = { 250 20 }
|
||||
|
||||
button = {
|
||||
size = { 200 20 }
|
||||
position = { 0 0 }
|
||||
texture = "gfx/editor_gui/editor_dropdown.dds"
|
||||
spriteType = CorneredStretched
|
||||
gfxtype = framedbuttongfx
|
||||
effectname = "NoHighlight"
|
||||
spriteborder = { 4 4 }
|
||||
spriteborder_right = 24
|
||||
button_trigger = none
|
||||
framesize = { 32 16 }
|
||||
upframe = 1
|
||||
downframe = 2
|
||||
overframe = 3
|
||||
disableframe = 4
|
||||
}
|
||||
|
||||
pe_text = {
|
||||
text = "[AnimationTestGroupItem.GetName]"
|
||||
position = { 0 0 }
|
||||
size = { 200 20 }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
item = {
|
||||
widget = {
|
||||
alwaystransparent = no
|
||||
size = { 180 20 }
|
||||
|
||||
button = {
|
||||
size = { 180 18 }
|
||||
texture = "gfx/editor_gui/editor_dropdown_item.dds"
|
||||
spriteType = CorneredTiled
|
||||
spriteborder = { 1 1 }
|
||||
gfxtype = framedbuttongfx
|
||||
framesize = { 8 8 }
|
||||
upframe = 1
|
||||
downframe = 2
|
||||
overframe = 2
|
||||
disableframe = 1
|
||||
button_trigger = none
|
||||
}
|
||||
|
||||
pe_text = {
|
||||
text = "[AnimationTestGroupItem.GetName]"
|
||||
position = { 16 0 }
|
||||
size = { 160 18 }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
list = {
|
||||
scrollarea = {
|
||||
position = { 15 20 }
|
||||
maximumsize = { 200 610 }
|
||||
autoresizescrollarea = yes
|
||||
|
||||
background = {
|
||||
margin = { 2 2 }
|
||||
margin_bottom = 6
|
||||
margin_right = 6
|
||||
texture = "gfx/editor_gui/editor_dropdown_list.dds"
|
||||
spriteType = CorneredStretched
|
||||
spriteborder = { 6 6 }
|
||||
spriteborder_right = 8
|
||||
spriteborder_bottom = 8
|
||||
shaderfile = "gfx/FX/pdxgui_default.shader"
|
||||
}
|
||||
|
||||
scrollwidget = {
|
||||
fixedgridbox = {
|
||||
alwaystransparent = no
|
||||
addcolumn = 175
|
||||
addrow = 18
|
||||
}
|
||||
}
|
||||
scrollbar_vertical = {
|
||||
using = editor_vertical_scrollbar
|
||||
}
|
||||
scrollbar_horizontal = {
|
||||
using = editor_horizontal_scrollbar
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
position = { -20 -40 }
|
||||
hbox = {
|
||||
vbox = {
|
||||
button = {
|
||||
using = animation_test_portrait
|
||||
portrait_texture = "[GetAnimatedBookmarkPortrait('bookmark_animation_test_female', AnimationTestWindow.GetSelectedAnimationGroup,'environment_body', 'camera_lifestyles', PdxGetWidgetScreenSize(PdxGuiWidget.Self) )]"
|
||||
}
|
||||
text_label_center = {
|
||||
raw_text = "Average Female"
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
button = {
|
||||
using = animation_test_portrait
|
||||
portrait_texture = "[GetAnimatedBookmarkPortrait('bookmark_animation_test_male', AnimationTestWindow.GetSelectedAnimationGroup,'environment_body', 'camera_lifestyles', PdxGetWidgetScreenSize(PdxGuiWidget.Self) )]"
|
||||
}
|
||||
text_label_center = {
|
||||
raw_text = "Average Male"
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
button = {
|
||||
using = animation_test_portrait
|
||||
portrait_texture = "[GetAnimatedBookmarkPortrait('bookmark_animation_test_dwarf_female', AnimationTestWindow.GetSelectedAnimationGroup,'environment_body', 'camera_lifestyles', PdxGetWidgetScreenSize(PdxGuiWidget.Self) )]"
|
||||
}
|
||||
text_label_center = {
|
||||
raw_text = "Dwarf Female"
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
button = {
|
||||
using = animation_test_portrait
|
||||
portrait_texture = "[GetAnimatedBookmarkPortrait('bookmark_animation_test_dwarf_male', AnimationTestWindow.GetSelectedAnimationGroup,'environment_body', 'camera_lifestyles', PdxGetWidgetScreenSize(PdxGuiWidget.Self) )]"
|
||||
}
|
||||
text_label_center = {
|
||||
raw_text = "Dwarf Male"
|
||||
}
|
||||
}
|
||||
}
|
||||
hbox = {#These can be removed if you add positions to the portraits
|
||||
vbox = {
|
||||
button = {
|
||||
using = animation_test_portrait
|
||||
portrait_texture = "[GetAnimatedBookmarkPortrait('bookmark_animation_test_fat_dwarf_female', AnimationTestWindow.GetSelectedAnimationGroup,'environment_body', 'camera_lifestyles', PdxGetWidgetScreenSize(PdxGuiWidget.Self) )]"
|
||||
}
|
||||
text_label_center = {
|
||||
raw_text = "Fat Dwarf Female"
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
button = {
|
||||
using = animation_test_portrait
|
||||
portrait_texture = "[GetAnimatedBookmarkPortrait('bookmark_animation_test_fat_dwarf_male', AnimationTestWindow.GetSelectedAnimationGroup,'environment_body', 'camera_lifestyles', PdxGetWidgetScreenSize(PdxGuiWidget.Self) )]"
|
||||
}
|
||||
text_label_center = {
|
||||
raw_text = "Fat Dwarf Male"
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
button = {
|
||||
using = animation_test_portrait
|
||||
portrait_texture = "[GetAnimatedBookmarkPortrait('bookmark_animation_test_female_pregnant', AnimationTestWindow.GetSelectedAnimationGroup,'environment_body', 'camera_lifestyles', PdxGetWidgetScreenSize(PdxGuiWidget.Self) )]"
|
||||
}
|
||||
text_label_center = {
|
||||
raw_text = "Pregnant Female(9 months)"
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
button = {
|
||||
using = animation_test_portrait
|
||||
portrait_texture = "[GetAnimatedBookmarkPortrait('bookmark_animation_test_muscular_female', AnimationTestWindow.GetSelectedAnimationGroup,'environment_body', 'camera_lifestyles', PdxGetWidgetScreenSize(PdxGuiWidget.Self) )]"
|
||||
}
|
||||
text_label_center = {
|
||||
raw_text = "Muscular Female"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
hbox = {#These can be removed if you add positions to the portraits
|
||||
vbox = {
|
||||
button = {
|
||||
using = animation_test_portrait
|
||||
portrait_texture = "[GetAnimatedBookmarkPortrait('bookmark_animation_test_muscular_male', AnimationTestWindow.GetSelectedAnimationGroup,'environment_body', 'camera_lifestyles', PdxGetWidgetScreenSize(PdxGuiWidget.Self) )]"
|
||||
}
|
||||
text_label_center = {
|
||||
raw_text = "Muscular Male"
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
button = {
|
||||
using = animation_test_portrait
|
||||
portrait_texture = "[GetAnimatedBookmarkPortrait('bookmark_animation_test_female_child', AnimationTestWindow.GetSelectedAnimationGroup,'environment_body', 'camera_lifestyles', PdxGetWidgetScreenSize(PdxGuiWidget.Self) )]"
|
||||
}
|
||||
text_label_center = {
|
||||
raw_text = "Children Female"
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
button = {
|
||||
using = animation_test_portrait
|
||||
portrait_texture = "[GetAnimatedBookmarkPortrait('bookmark_animation_test_male_child', AnimationTestWindow.GetSelectedAnimationGroup,'environment_body', 'camera_lifestyles', PdxGetWidgetScreenSize(PdxGuiWidget.Self) )]"
|
||||
}
|
||||
text_label_center = {
|
||||
raw_text = "Children Male"
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
button = {
|
||||
using = animation_test_portrait
|
||||
portrait_texture = "[GetAnimatedBookmarkPortrait('bookmark_animation_test_hunchbacked_female', AnimationTestWindow.GetSelectedAnimationGroup,'environment_body', 'camera_lifestyles', PdxGetWidgetScreenSize(PdxGuiWidget.Self) )]"
|
||||
}
|
||||
text_label_center = {
|
||||
raw_text = "Hunchbacked female"
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
button = {
|
||||
using = animation_test_portrait
|
||||
portrait_texture = "[GetAnimatedBookmarkPortrait('bookmark_animation_test_hunchbacked_male', AnimationTestWindow.GetSelectedAnimationGroup,'environment_body', 'camera_lifestyles', PdxGetWidgetScreenSize(PdxGuiWidget.Self) )]"
|
||||
}
|
||||
text_label_center = {
|
||||
raw_text = "Hunchbacked Male"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,316 +0,0 @@
|
|||
window = {
|
||||
using = editor_window
|
||||
name = "debug_tutorial_window"
|
||||
parentanchor = top|right
|
||||
position = { -10 105 }
|
||||
size = { 500 800 }
|
||||
resizable = yes
|
||||
layer = top
|
||||
|
||||
textbox = {
|
||||
position = { 7 0 }
|
||||
size = { 100% 30 }
|
||||
fontsize = 16
|
||||
raw_text = "Tutorial"
|
||||
align = left|nobaseline
|
||||
}
|
||||
button = {
|
||||
using = editor_button
|
||||
name = "close_button"
|
||||
position = { -4 4 }
|
||||
size = { 20 20 }
|
||||
parentanchor = top|right
|
||||
raw_text = "x"
|
||||
align = center|nobaseline
|
||||
onclick = "[DebugTutorialWindow.Close]"
|
||||
shortcut = "close_window"
|
||||
}
|
||||
|
||||
vbox = {
|
||||
margin = { 3 5 }
|
||||
margin_top = 29
|
||||
|
||||
hbox = {
|
||||
margin = { 6 5 }
|
||||
layoutpolicy_horizontal = expanding
|
||||
spacing = 6
|
||||
|
||||
button = {
|
||||
using = editor_button
|
||||
name = "button_toggle_enabled"
|
||||
size = { 100 20 }
|
||||
text = "[Select_CString( DebugTutorialWindow.IsTutorialEnabled, 'Disable', 'Enable' )]"
|
||||
onclick = "[DebugTutorialWindow.ToggleTutorialEnabled]"
|
||||
}
|
||||
button = {
|
||||
using = editor_button
|
||||
name = "button_reset"
|
||||
size = { 100 20 }
|
||||
raw_text = "Reset"
|
||||
onclick = "[DebugTutorialWindow.ResetTutorial]"
|
||||
}
|
||||
|
||||
expand = {}
|
||||
|
||||
icon = {
|
||||
datacontext = "[GetPlayer]"
|
||||
size = { 30 30 }
|
||||
texture = "gfx/interface/icons/icon_group_of_characters.dds"
|
||||
tooltip = "CHARACTER_AI_VALUES_DEBUG_TOOLTIP"
|
||||
}
|
||||
|
||||
textbox = {
|
||||
raw_text = "Delays"
|
||||
autoresize = yes
|
||||
}
|
||||
checkbutton = {
|
||||
using = editor_checkbutton
|
||||
checked = "[Not(DebugTutorialWindow.IsIgnoringDelays)]"
|
||||
onclick = "[DebugTutorialWindow.ToggleIgnoreDelays]"
|
||||
}
|
||||
}
|
||||
|
||||
scrollbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
|
||||
blockoverride "scrollbox_content"
|
||||
{
|
||||
vbox = {
|
||||
datamodel = "[DebugTutorialWindow.GetChains]"
|
||||
layoutpolicy_horizontal = expanding
|
||||
item = {
|
||||
debug_tutorial_chain_item = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
types DebugTutorialWindow
|
||||
{
|
||||
type debug_tutorial_chain_item = vbox
|
||||
{
|
||||
margin_top = 10
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
alpha = "[Select_float( DebugTutorialChainItem.IsCompleted,'(float)0.6','(float)1.0')]"
|
||||
|
||||
background = {
|
||||
visible = "[DebugTutorialChainItem.IsCurrent]"
|
||||
texture = "gfx/interface/colors/white.dds"
|
||||
alpha = 0.05
|
||||
}
|
||||
|
||||
text_single = {
|
||||
margin = { 5 0 }
|
||||
layoutpolicy_horizontal = expanding
|
||||
autoresize = no
|
||||
text = "[DebugTutorialChainItem.GetTitle]"
|
||||
tooltip = "[DebugTutorialChainItem.GetTitle]"
|
||||
using = tooltip_ne
|
||||
}
|
||||
|
||||
hbox = {
|
||||
spacing = 3
|
||||
textbox = {
|
||||
raw_text = "(Is Last)"
|
||||
autoresize = yes
|
||||
visible = "[And(Not(DebugTutorialChainItem.IsCurrent), DebugTutorialChainItem.IsLast)]"
|
||||
}
|
||||
textbox = {
|
||||
raw_text = "(Valid to Trigger)"
|
||||
autoresize = yes
|
||||
visible = "[And(Not(DebugTutorialChainItem.IsCompleted), And(Not(DebugTutorialChainItem.IsCurrent), DebugTutorialChainItem.IsValidToTrigger))]"
|
||||
}
|
||||
textbox = {
|
||||
raw_text = "(Finished)"
|
||||
autoresize = yes
|
||||
visible = "[DebugTutorialChainItem.IsCompleted]"
|
||||
}
|
||||
}
|
||||
|
||||
hbox = {
|
||||
spacing = 3
|
||||
|
||||
button = {
|
||||
using = editor_button
|
||||
name = "button_start"
|
||||
size = { 44 20 }
|
||||
raw_text = "Start"
|
||||
enabled = "[DebugTutorialChainItem.CanStart]"
|
||||
onclick = "[DebugTutorialChainItem.Start]"
|
||||
}
|
||||
button = {
|
||||
using = editor_button
|
||||
name = "button_complete"
|
||||
size = { 50 20 }
|
||||
raw_text = "Finish"
|
||||
enabled = "[DebugTutorialChainItem.CanComplete]"
|
||||
onclick = "[DebugTutorialChainItem.Complete]"
|
||||
}
|
||||
button = {
|
||||
using = editor_button
|
||||
name = "button_reset"
|
||||
size = { 45 20 }
|
||||
raw_text = "Reset"
|
||||
enabled = "[DebugTutorialChainItem.CanReset]"
|
||||
onclick = "[DebugTutorialChainItem.Reset]"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
datamodel = "[DebugTutorialChainItem.GetLessons]"
|
||||
item = {
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
debug_tutorial_list_indentation = {}
|
||||
debug_tutorial_lesson_item = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
type debug_tutorial_lesson_item = vbox
|
||||
{
|
||||
margin_top = 5
|
||||
|
||||
alpha = "[Select_float( DebugTutorialLessonItem.IsCompleted,'(float)0.6','(float)1.0')]"
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
background = {
|
||||
visible = "[DebugTutorialLessonItem.IsCurrent]"
|
||||
texture = "gfx/interface/colors/white.dds"
|
||||
alpha = 0.1
|
||||
}
|
||||
|
||||
text_single = {
|
||||
margin = { 5 0 }
|
||||
layoutpolicy_horizontal = expanding
|
||||
autoresize = no
|
||||
text = "[DebugTutorialLessonItem.GetTitle]"
|
||||
tooltip = "[DebugTutorialLessonItem.GetTitle]"
|
||||
using = tooltip_ne
|
||||
}
|
||||
|
||||
hbox = {
|
||||
spacing = 3
|
||||
textbox = {
|
||||
raw_text = "(Current)"
|
||||
visible = "[DebugTutorialLessonItem.IsCurrent]"
|
||||
autoresize = yes
|
||||
}
|
||||
textbox = {
|
||||
raw_text = "(Valid to Trigger)"
|
||||
autoresize = yes
|
||||
visible = "[And(Not(DebugTutorialLessonItem.IsCompleted), And(Not(DebugTutorialLessonItem.IsCurrent), DebugTutorialLessonItem.IsValidToTrigger))]"
|
||||
}
|
||||
textbox = {
|
||||
raw_text = "(Manual)"
|
||||
autoresize = yes
|
||||
visible = "[And(Not(DebugTutorialLessonItem.IsCompleted), And(Not(DebugTutorialLessonItem.IsCurrent), Not(DebugTutorialLessonItem.ShouldStartAutomatically)))]"
|
||||
}
|
||||
textbox = {
|
||||
raw_text = "(Delayed)"
|
||||
autoresize = yes
|
||||
visible = "[DebugTutorialLessonItem.IsDelayed]"
|
||||
}
|
||||
textbox = {
|
||||
raw_text = "(Finished)"
|
||||
autoresize = yes
|
||||
visible = "[DebugTutorialLessonItem.IsCompleted]"
|
||||
}
|
||||
}
|
||||
|
||||
hbox = {
|
||||
spacing = 3
|
||||
|
||||
button = {
|
||||
using = editor_button
|
||||
name = "button_start"
|
||||
size = { 44 20 }
|
||||
raw_text = "Start"
|
||||
enabled = "[DebugTutorialLessonItem.CanStart]"
|
||||
onclick = "[DebugTutorialLessonItem.Start]"
|
||||
}
|
||||
button = {
|
||||
using = editor_button
|
||||
name = "button_complete"
|
||||
size = { 50 20 }
|
||||
raw_text = "Finish"
|
||||
enabled = "[DebugTutorialLessonItem.CanComplete]"
|
||||
onclick = "[DebugTutorialLessonItem.Complete]"
|
||||
}
|
||||
button = {
|
||||
using = editor_button
|
||||
name = "button_reset"
|
||||
size = { 45 20 }
|
||||
raw_text = "Reset"
|
||||
enabled = "[DebugTutorialLessonItem.CanReset]"
|
||||
onclick = "[DebugTutorialLessonItem.Reset]"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
datamodel = "[DebugTutorialLessonItem.GetSteps]"
|
||||
item = {
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
debug_tutorial_list_indentation = {}
|
||||
debug_tutorial_step_item = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
type debug_tutorial_step_item = hbox
|
||||
{
|
||||
margin_top = 3
|
||||
|
||||
hbox = {
|
||||
tooltip = "[DebugTutorialStepItem.GetTooltip]"
|
||||
using = tooltip_ne
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
|
||||
background = {
|
||||
visible = "[DebugTutorialStepItem.IsCurrent]"
|
||||
texture = "gfx/interface/colors/white.dds"
|
||||
alpha = 0.2
|
||||
}
|
||||
|
||||
text_single = {
|
||||
text = "[DebugTutorialStepItem.GetTitle]"
|
||||
}
|
||||
|
||||
expand = {}
|
||||
|
||||
text_single = {
|
||||
text = "[DebugTutorialStepItem.GetKey]"
|
||||
default_format = "#weak"
|
||||
max_width = 120
|
||||
elide = left
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
type debug_tutorial_list_indentation = widget
|
||||
{
|
||||
size = { 15 0 }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,369 +0,0 @@
|
|||
##############################################################
|
||||
################ PLACEHOLDER TYPES & TEMPLATES ###############
|
||||
##############################################################
|
||||
|
||||
#######################
|
||||
######## TYPES ########
|
||||
#######################
|
||||
types Placeholders
|
||||
{
|
||||
type debug_square = icon {
|
||||
size = { 100 100 }
|
||||
texture = "gfx/interface/_debug/pink_square_chill.png"
|
||||
spriteType = Corneredtiled
|
||||
spriteborder = { 2 2 }
|
||||
}
|
||||
|
||||
type icon_placeholder = icon
|
||||
{
|
||||
size = { 30 30 }
|
||||
texture = "gfx/interface/_debug/icon_placeholder_02.dds"
|
||||
}
|
||||
|
||||
type icon_flat_standard_placeholder = icon
|
||||
{
|
||||
texture = "gfx/interface/_debug/icon_placeholder_01.dds"
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/_debug/colors_textured_placeholder.dds"
|
||||
blend_mode = add
|
||||
framesize = { 96 96 }
|
||||
|
||||
block "master_color_frame" {
|
||||
frame = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
type button_icon_placeholder = button {
|
||||
size = { 30 30 }
|
||||
texture = "gfx/interface/_debug/icon_placeholder_01.dds"
|
||||
|
||||
using = Placeholder_Button_Soundeffect
|
||||
|
||||
block "button_icon_modify_texture_placeholder"
|
||||
{
|
||||
using = Button_Modify_Texture_Placeholder
|
||||
}
|
||||
|
||||
block "button_frames"
|
||||
{
|
||||
gfxtype = togglepushbuttongfx
|
||||
effectname = "NoHighlight"
|
||||
|
||||
upframe = 1
|
||||
uphoverframe = 2
|
||||
uppressedframe = 3
|
||||
downframe = 2
|
||||
downhoverframe = 2
|
||||
downpressedframe = 3
|
||||
disableframe = 4
|
||||
}
|
||||
}
|
||||
|
||||
type button_round_placeholder = button_icon_placeholder {
|
||||
size = { 40 40 }
|
||||
texture = "gfx/interface/buttons/button_round_frame.dds"
|
||||
|
||||
using = Placeholder_Button_Soundeffect
|
||||
|
||||
blockoverride "button_icon_modify_texture_placeholder"
|
||||
{
|
||||
using = Button_Modify_Texture_Placeholder
|
||||
}
|
||||
|
||||
background = {
|
||||
texture = "gfx/interface/buttons/button_round_bg.dds"
|
||||
using = Color_Button_Background
|
||||
|
||||
block "button_bg_color" {}
|
||||
}
|
||||
}
|
||||
|
||||
type button_standard_placeholder = button_normal
|
||||
{
|
||||
texture = "gfx/interface/buttons/button_standard.dds"
|
||||
size = { 170 33 }
|
||||
|
||||
gfxtype = togglepushbuttongfx
|
||||
effectname = "NoHighlight"
|
||||
|
||||
upframe = 1
|
||||
uphoverframe = 2
|
||||
uppressedframe = 3
|
||||
downframe = 4
|
||||
downhoverframe = 4
|
||||
downpressedframe = 4
|
||||
disableframe = 7
|
||||
|
||||
spriteType = Corneredtiled
|
||||
spriteborder = { 4 4 }
|
||||
framesize = { 252 80 }
|
||||
|
||||
using = Placeholder_Button_Soundeffect
|
||||
|
||||
buttonText = {
|
||||
text_single = {
|
||||
alwaystransparent = yes
|
||||
size = { 100% 100% }
|
||||
|
||||
block "placeholder_text"
|
||||
{
|
||||
raw_text = "Placeholder"
|
||||
}
|
||||
align = center|nobaseline
|
||||
autoresize = no
|
||||
default_format = "#D"
|
||||
|
||||
margin = { 10 0 }
|
||||
}
|
||||
}
|
||||
|
||||
modify_texture = {
|
||||
name = "overlay"
|
||||
texture = "gfx/interface/buttons/button_standard_overlay.dds"
|
||||
spriteType = Corneredstretched
|
||||
spriteborder = { 3 3 }
|
||||
blend_mode = overlay
|
||||
alpha = 0.3
|
||||
}
|
||||
|
||||
block "disabled"
|
||||
{
|
||||
highlight_icon = {
|
||||
size = { 100% 100% }
|
||||
gfxtype = togglepushbuttongfx
|
||||
effectname = "NoHighlight"
|
||||
texture = "gfx/interface/buttons/button_disabled_stripes.dds"
|
||||
spriteType = Corneredtiled
|
||||
spriteborder = { 2 2 }
|
||||
framesize = { 238 63 }
|
||||
|
||||
upframe = 1
|
||||
uphoverframe = 1
|
||||
uppressedframe = 1
|
||||
downframe = 1
|
||||
downhoverframe = 1
|
||||
downpressedframe = 1
|
||||
disableframe = 2
|
||||
|
||||
alpha = 0.4
|
||||
|
||||
modify_texture = {
|
||||
name = "overlay"
|
||||
texture = "gfx/interface/buttons/button_standard_overlay.dds"
|
||||
spriteType = Corneredstretched
|
||||
spriteborder = { 3 3 }
|
||||
blend_mode = overlay
|
||||
}
|
||||
|
||||
block "button_standard_mouseover" {}
|
||||
}
|
||||
}
|
||||
|
||||
highlight_icon = {
|
||||
size = { 100% 100% }
|
||||
gfxtype = togglepushbuttongfx
|
||||
effectname = "NoHighlight"
|
||||
texture = "gfx/interface/buttons/button_mouseover.dds"
|
||||
spriteType = Corneredstretched
|
||||
spriteborder = { 20 20 }
|
||||
framesize = { 238 63 }
|
||||
|
||||
upframe = 1
|
||||
uphoverframe = 2
|
||||
uppressedframe = 1
|
||||
downframe = 1
|
||||
downhoverframe = 1
|
||||
downpressedframe = 1
|
||||
disableframe = 1
|
||||
|
||||
alpha = 0.5
|
||||
|
||||
block "button_standard_mouseover" {}
|
||||
}
|
||||
|
||||
margin_widget = {
|
||||
size = { 100% 100% }
|
||||
margin = { 3 3 }
|
||||
|
||||
block "vignette"
|
||||
{
|
||||
icon = {
|
||||
name = "vignette"
|
||||
size = { 100% 100% }
|
||||
alpha = 0.2
|
||||
texture = "gfx/interface/component_masks/mask_vignette.dds"
|
||||
color = { 0.15 0.15 0.15 1 }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
type button_standard_big_placeholder = button_standard_placeholder
|
||||
{
|
||||
size = { 250 42 }
|
||||
|
||||
buttonText = {
|
||||
text_single = {
|
||||
alwaystransparent = yes
|
||||
autoresize = no
|
||||
size = { 100% 100% }
|
||||
|
||||
raw_text = "Placeholder"
|
||||
align = center|nobaseline
|
||||
margin = { 10 0 }
|
||||
|
||||
using = Text_Placeholder
|
||||
using = Font_Size_Medium
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
type button_primary_placeholder = button_standard_placeholder
|
||||
{
|
||||
texture = "gfx/interface/buttons/button_verb_primary.dds"
|
||||
shortcut = confirm
|
||||
|
||||
buttonText = {
|
||||
text_single = {
|
||||
size = { 100% 100% }
|
||||
alwaystransparent = yes
|
||||
|
||||
|
||||
raw_text = "Placeholder"
|
||||
align = center|nobaseline
|
||||
autoresize = no
|
||||
default_format = "#D"
|
||||
|
||||
margin = { 10 0 }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
type button_primary_big_placeholder = button_standard_placeholder
|
||||
{
|
||||
texture = "gfx/interface/buttons/button_verb_primary.dds"
|
||||
shortcut = confirm
|
||||
|
||||
size = { 250 42 }
|
||||
|
||||
buttonText = {
|
||||
text_single = {
|
||||
size = { 100% 100% }
|
||||
alwaystransparent = yes
|
||||
|
||||
|
||||
raw_text = "Placeholder"
|
||||
align = center|nobaseline
|
||||
autoresize = no
|
||||
using = Font_Size_Medium
|
||||
using = Text_Placeholder
|
||||
|
||||
margin = { 10 0 }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
type button_tertiary_placeholder = button_frontend
|
||||
{
|
||||
size = { 170 33 }
|
||||
texture = "gfx/interface/buttons/button_tertiary.dds"
|
||||
|
||||
gfxtype = framedbuttongfx
|
||||
effectname = "NoHighlight"
|
||||
upframe = 1
|
||||
overframe = 2
|
||||
downframe = 3
|
||||
framesize = { 210 36 }
|
||||
|
||||
|
||||
spriteType = Corneredtiled
|
||||
spriteborder = { 22 20 }
|
||||
|
||||
using = Placeholder_Button_Soundeffect
|
||||
|
||||
buttonText = {
|
||||
text_single = {
|
||||
alwaystransparent = yes
|
||||
size = { 100% 100% }
|
||||
|
||||
raw_text = "Placeholder"
|
||||
align = center|nobaseline
|
||||
autoresize = no
|
||||
default_format = "#D"
|
||||
using = Font_Size_Small
|
||||
|
||||
margin = { 10 0 }
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#######################
|
||||
###### TEMPLATES ######
|
||||
#######################
|
||||
|
||||
template Background_Frame_Placeholder
|
||||
{
|
||||
texture = "gfx/interface/component_masks/mask_frame.dds"
|
||||
spriteType = Corneredtiled
|
||||
spriteborder = { 10 10 }
|
||||
color = { 0.9 0.2 0.7 0.8 }
|
||||
|
||||
margin = { 4 4 }
|
||||
}
|
||||
|
||||
template Texture_Placeholder
|
||||
{
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/_debug/pink_square.png"
|
||||
blend_mode = colordodge
|
||||
alpha = 0.3
|
||||
}
|
||||
}
|
||||
|
||||
template Placeholder_Pink_Checkered_Texture
|
||||
{
|
||||
texture = "gfx/interface/_debug/placeholder.dds"
|
||||
spriteType = Corneredtiled
|
||||
color = { 0.7 0.7 0.7 1 }
|
||||
}
|
||||
|
||||
template Text_Placeholder
|
||||
{
|
||||
default_format = "#D"
|
||||
}
|
||||
|
||||
template Placeholder_Inactive_Button
|
||||
{
|
||||
enabled = no
|
||||
default_format = "#X"
|
||||
raw_tooltip = "#X Not yet implemented button.#!"
|
||||
}
|
||||
|
||||
template Placeholder_Pink_Soundeffect
|
||||
{
|
||||
start_sound = {
|
||||
soundeffect = "event:/Error/placeholder_obnoxious_ui"
|
||||
}
|
||||
}
|
||||
|
||||
### Used on placeholder buttons. When placeholder tag is removed from the button this sound effect is removed with it since it's only part of the placeholder type.
|
||||
template Placeholder_Button_Soundeffect
|
||||
{
|
||||
clicksound = "event:/Error/placeholder_obnoxious_ui"
|
||||
}
|
||||
|
||||
texticon = {
|
||||
icon = placeholder_text_warning
|
||||
|
||||
iconsize = {
|
||||
texture = "gfx/interface/_debug/placeholder.dds"
|
||||
size = { 25 25 }
|
||||
offset = { 0 6 }
|
||||
fontsize = 16
|
||||
}
|
||||
}
|
||||
|
|
@ -1,38 +0,0 @@
|
|||
|
||||
|
||||
# This window is just for testing. You can spawn it from the console menu.
|
||||
window = {
|
||||
name = "test_window"
|
||||
parentanchor = center
|
||||
size = { 1000 800 }
|
||||
layer = top
|
||||
filter_mouse = all
|
||||
alwaystransparent = no
|
||||
|
||||
using = Window_Background
|
||||
using = Window_Decoration
|
||||
using = Window_Movable
|
||||
|
||||
vbox = {
|
||||
using = Window_Margins
|
||||
|
||||
header_pattern = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
blockoverride "header_text"
|
||||
{
|
||||
raw_text = "Test Window"
|
||||
}
|
||||
|
||||
blockoverride "button_close"
|
||||
{
|
||||
onclick = "[ExecuteConsoleCommand( 'gui.clearwidgets test_window')]"
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,383 +0,0 @@
|
|||
types WatchWindow {
|
||||
type watch_textbox = textbox {
|
||||
fontcolor = { 1.0 1.0 1.0 1.0 }
|
||||
}
|
||||
|
||||
type watch_window_button = button
|
||||
{
|
||||
name = "watch_button"
|
||||
using = editor_button
|
||||
raw_text = "watch"
|
||||
align = center|nobaseline
|
||||
visible = "[WatchWindowsEnabled]"
|
||||
fontcolor = { 1.0 1.0 1.0 1.0 }
|
||||
# Make your onclick AddWatchWindow( Something.MakeScope )
|
||||
}
|
||||
}
|
||||
|
||||
window = {
|
||||
using = editor_window
|
||||
name = "watch_window"
|
||||
parentanchor = top|left
|
||||
size = { 1100 420 }
|
||||
position = { 110 100 }
|
||||
widgetanchor = top|left
|
||||
layer = top
|
||||
|
||||
button = {
|
||||
using = editor_button
|
||||
name = "close_button"
|
||||
position = { -4 5 }
|
||||
size = { 20 20 }
|
||||
parentanchor = top|right
|
||||
raw_text = "x"
|
||||
align = center|nobaseline
|
||||
onclick = "[WatchWindow.Close]"
|
||||
shortcut = "close_window"
|
||||
}
|
||||
|
||||
checkbutton = {
|
||||
using = editor_checkbutton
|
||||
position = { -54 8 }
|
||||
parentanchor = top|right
|
||||
checked = "[WatchWindow.WillPauseOnChange]"
|
||||
onclick = "[WatchWindow.ToggleChangeOnPause]"
|
||||
}
|
||||
|
||||
watch_textbox = {
|
||||
position = { -94 4 }
|
||||
size = { 100 20 }
|
||||
fontsize = 14
|
||||
parentanchor = top|right
|
||||
widgetanchor = top|right
|
||||
raw_text = "Pause on Change:"
|
||||
align = left
|
||||
}
|
||||
|
||||
watch_textbox = {
|
||||
position = { 5 0 }
|
||||
size = { 400 30 }
|
||||
fontsize = 16
|
||||
text = "[WatchWindow.GetObjectName]"
|
||||
align = left
|
||||
}
|
||||
|
||||
watch_textbox = {
|
||||
position = { 5 30 }
|
||||
size = { 100 20 }
|
||||
fontsize = 16
|
||||
parentanchor = top|left
|
||||
raw_text = "Variables:"
|
||||
align = left
|
||||
}
|
||||
|
||||
scrollarea = {
|
||||
position = { 0 60 }
|
||||
size = { 400 350 }
|
||||
scrollbarpolicy_horizontal = always_off
|
||||
|
||||
scrollbar_vertical = {
|
||||
using = editor_vertical_scrollbar
|
||||
}
|
||||
|
||||
scrollwidget = {
|
||||
fixedgridbox = {
|
||||
name = "variables_grid"
|
||||
position = { 0 0 }
|
||||
size = { 200 320 }
|
||||
addcolumn = 400
|
||||
addrow = 70
|
||||
maxhorizontalslots = 1
|
||||
|
||||
item = {
|
||||
container = {
|
||||
watch_textbox = {
|
||||
position = { 20 0 }
|
||||
size = { 380 20 }
|
||||
fontsize = 14
|
||||
parentanchor = top|left
|
||||
align = left|top
|
||||
text = "[VariableInfo.GetName]"
|
||||
}
|
||||
|
||||
watch_textbox = {
|
||||
position = { 20 40 }
|
||||
size = { 380 20 }
|
||||
fontsize = 14
|
||||
parentanchor = top|left
|
||||
align = left|top
|
||||
text = "[VariableInfo.GetExpirationDate]"
|
||||
visible = "[VariableInfo.HasExpirationDate]"
|
||||
}
|
||||
|
||||
watch_textbox = {
|
||||
position = { 20 20 }
|
||||
size = { 380 20 }
|
||||
fontsize = 12
|
||||
parentanchor = top|left
|
||||
align = left|top
|
||||
text = "[VariableInfo.GetValue]"
|
||||
multiline = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
watch_textbox = {
|
||||
position = { 405 30 }
|
||||
size = { 100 20 }
|
||||
fontsize = 16
|
||||
parentanchor = top|left
|
||||
raw_text = "Events:"
|
||||
align = left
|
||||
}
|
||||
|
||||
scrollarea = {
|
||||
position = { 400 60 }
|
||||
size = { 200 350 }
|
||||
scrollbarpolicy_horizontal = always_off
|
||||
|
||||
scrollbar_vertical = {
|
||||
using = editor_vertical_scrollbar
|
||||
}
|
||||
|
||||
scrollwidget = {
|
||||
fixedgridbox = {
|
||||
name = "events_grid"
|
||||
position = { 0 0 }
|
||||
size = { 400 320 }
|
||||
addcolumn = 400
|
||||
addrow = 80
|
||||
maxhorizontalslots = 1
|
||||
|
||||
item = {
|
||||
container = {
|
||||
watch_textbox = {
|
||||
position = { 0 0 }
|
||||
size = { 100 20 }
|
||||
fontsize = 14
|
||||
parentanchor = top|left
|
||||
align = left|top
|
||||
text = "[EventInfo.GetName]"
|
||||
}
|
||||
|
||||
watch_textbox = {
|
||||
position = { 0 20 }
|
||||
size = { 100 20 }
|
||||
fontsize = 14
|
||||
parentanchor = top|left
|
||||
align = left|top
|
||||
text = "[EventInfo.GetAsWhoInfo]"
|
||||
}
|
||||
|
||||
watch_textbox = {
|
||||
position = { 0 40 }
|
||||
size = { 100 40 }
|
||||
fontsize = 14
|
||||
parentanchor = top|left
|
||||
align = left|top
|
||||
text = "[EventInfo.GetDate]"
|
||||
multiline = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
container = {
|
||||
position = { 600 30 }
|
||||
visible = "[WatchWindow.ShouldShowStories]"
|
||||
watch_textbox = {
|
||||
position = { 5 0 }
|
||||
size = { 100 20 }
|
||||
fontsize = 16
|
||||
parentanchor = top|left
|
||||
raw_text = "Stories:"
|
||||
align = left
|
||||
}
|
||||
scrollarea = {
|
||||
position = { 0 30 }
|
||||
size = { 200 350 }
|
||||
scrollbarpolicy_horizontal = always_off
|
||||
|
||||
scrollbar_vertical = {
|
||||
using = editor_vertical_scrollbar
|
||||
}
|
||||
|
||||
scrollwidget = {
|
||||
fixedgridbox = {
|
||||
name = "stories_grid"
|
||||
position = { 0 0 }
|
||||
size = { 400 320 }
|
||||
addcolumn = 400
|
||||
addrow = 120
|
||||
maxhorizontalslots = 1
|
||||
|
||||
item = {
|
||||
container = {
|
||||
watch_textbox = {
|
||||
position = { 0 0 }
|
||||
size = { 100 20 }
|
||||
fontsize = 14
|
||||
parentanchor = top|left
|
||||
align = left|top
|
||||
text = "[StoryInfo.GetName]"
|
||||
tooltip = [StoryInfo.GetScopesDebug]
|
||||
}
|
||||
|
||||
watch_textbox = {
|
||||
position = { 0 30 }
|
||||
size = { 100 20 }
|
||||
fontsize = 14
|
||||
parentanchor = top|left
|
||||
align = left|top
|
||||
text = "[StoryInfo.GetDate]"
|
||||
multiline = yes
|
||||
}
|
||||
watch_textbox = {
|
||||
position = { 0 60 }
|
||||
size = { 200 80 }
|
||||
fontsize = 14
|
||||
parentanchor = top|left
|
||||
align = left|top
|
||||
text = "[StoryInfo.GetAllDates]"
|
||||
multiline = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
container = {
|
||||
position = { 900 30 }
|
||||
visible = "[WatchWindow.ShouldShowMemories]"
|
||||
watch_textbox = {
|
||||
position = { 5 0 }
|
||||
size = { 100 20 }
|
||||
fontsize = 16
|
||||
parentanchor = top|left
|
||||
raw_text = "Memories:"
|
||||
align = left
|
||||
}
|
||||
scrollarea = {
|
||||
position = { 0 30 }
|
||||
size = { 200 350 }
|
||||
scrollbarpolicy_horizontal = always_off
|
||||
|
||||
scrollbar_vertical = {
|
||||
using = editor_vertical_scrollbar
|
||||
}
|
||||
|
||||
scrollwidget = {
|
||||
fixedgridbox = {
|
||||
name = "memories_grid"
|
||||
position = { 0 0 }
|
||||
size = { 200 350 }
|
||||
addcolumn = 100
|
||||
addrow = 20
|
||||
maxhorizontalslots = 1
|
||||
|
||||
item = {
|
||||
container = {
|
||||
watch_textbox = {
|
||||
position = { 0 0 }
|
||||
size = { 100 20 }
|
||||
fontsize = 14
|
||||
parentanchor = top|left
|
||||
align = left|top
|
||||
text = "[MemoryInfo.GetName]"
|
||||
tooltip = "[MemoryInfo.GetTooltip]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
watch_window_war_participants = {
|
||||
name = "attackers"
|
||||
position = { 380 30 }
|
||||
blockoverride "header" {
|
||||
raw_text = "Attackers:"
|
||||
}
|
||||
|
||||
blockoverride "data" {
|
||||
datamodel = "[WatchWindow.GetAttackerItems]"
|
||||
}
|
||||
}
|
||||
|
||||
watch_window_war_participants = {
|
||||
name = "defenders"
|
||||
position = { 550 30 }
|
||||
blockoverride "header" {
|
||||
raw_text = "Defenders:"
|
||||
}
|
||||
|
||||
blockoverride "data" {
|
||||
datamodel = "[WatchWindow.GetDefenderItems]"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Types WatchWindow {
|
||||
type watch_window_war_participants = container {
|
||||
visible = "[WatchWindow.ShouldShowParticipants]"
|
||||
watch_textbox = {
|
||||
position = { 5 0 }
|
||||
size = { 100 20 }
|
||||
fontsize = 16
|
||||
parentanchor = top|left
|
||||
block "header" {}
|
||||
align = left
|
||||
}
|
||||
scrollarea = {
|
||||
position = { 0 30 }
|
||||
size = { 200 350 }
|
||||
scrollbarpolicy_horizontal = always_off
|
||||
|
||||
scrollbar_vertical = {
|
||||
using = editor_vertical_scrollbar
|
||||
}
|
||||
|
||||
scrollwidget = {
|
||||
fixedgridbox = {
|
||||
name = "attackers_grid"
|
||||
position = { 0 0 }
|
||||
size = { 400 320 }
|
||||
addcolumn = 400
|
||||
addrow = 70
|
||||
maxhorizontalslots = 1
|
||||
block "data" {}
|
||||
|
||||
item = {
|
||||
container = {
|
||||
watch_textbox = {
|
||||
position = { 0 0 }
|
||||
size = { 150 40 }
|
||||
fontsize = 14
|
||||
parentanchor = top|left
|
||||
align = left|top
|
||||
text = "[ParticipantInfo.GetCharacter.GetUINameNotMe]"
|
||||
multiline = yes
|
||||
}
|
||||
watch_textbox = {
|
||||
position = { 0 40 }
|
||||
size = { 150 20 }
|
||||
fontsize = 14
|
||||
parentanchor = top|left
|
||||
align = left|top
|
||||
raw_text = "Contribution: [ParticipantInfo.GetContribution]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,127 +0,0 @@
|
|||
window = {
|
||||
using = editor_window
|
||||
name = "character_pool_watch_window"
|
||||
parentanchor = hcenter|vcenter
|
||||
size = { 350 500 }
|
||||
resizable = yes
|
||||
layer = top
|
||||
|
||||
watch_textbox = {
|
||||
position = { 5 0 }
|
||||
size = { 100% 30 }
|
||||
fontsize = 16
|
||||
text = "[CharacterPoolWatchWindow.GetTitle]"
|
||||
align = left|nobaseline
|
||||
}
|
||||
watch_textbox = {
|
||||
position = { -30 0 }
|
||||
parentanchor = right
|
||||
size = { 100% 30 }
|
||||
fontsize = 16
|
||||
text = "[GetDataModelSize(CharacterPoolWatchWindow.GetCharacters)]"
|
||||
align = right|nobaseline
|
||||
}
|
||||
button = {
|
||||
using = editor_button
|
||||
name = "close_button"
|
||||
position = { -4 4 }
|
||||
size = { 20 20 }
|
||||
parentanchor = top|right
|
||||
raw_text = "x"
|
||||
align = center|nobaseline
|
||||
onclick = "[CharacterPoolWatchWindow.Close]"
|
||||
shortcut = "close_window"
|
||||
}
|
||||
|
||||
margin_widget = {
|
||||
size = { 100% 100% }
|
||||
margin_top = 28
|
||||
margin_bottom = 4
|
||||
margin_left = 4
|
||||
margin_right = 4
|
||||
|
||||
scrollarea = {
|
||||
size = { 100% 100% }
|
||||
scrollbarpolicy_horizontal = always_off
|
||||
scrollbar_vertical = {
|
||||
using = editor_vertical_scrollbar
|
||||
}
|
||||
|
||||
scrollwidget = {
|
||||
fixedgridbox = {
|
||||
name = "characters"
|
||||
addcolumn = 500
|
||||
addrow = 115
|
||||
datamodel = "[CharacterPoolWatchWindow.GetCharacters]"
|
||||
|
||||
item = {
|
||||
widget = {
|
||||
size = { 500 115 }
|
||||
|
||||
portrait_head = {}
|
||||
|
||||
text_single = {
|
||||
position = { 110 5 }
|
||||
size = { 420 30 }
|
||||
text = "[Character.GetUINameNoTooltip]"
|
||||
}
|
||||
|
||||
text_single = {
|
||||
datacontext = "[Character.GetCulture]"
|
||||
position = { 110 30 }
|
||||
size = { 420 30 }
|
||||
text = "[Culture.GetName]"
|
||||
}
|
||||
button_religion_icon = {
|
||||
name = "faith_button"
|
||||
datacontext = "[Character.GetFaith]"
|
||||
position = { 230 35 }
|
||||
size = { 45 45 }
|
||||
}
|
||||
|
||||
coa_house_small = {
|
||||
datacontext = "[Character.GetHouse]"
|
||||
parentanchor = center
|
||||
scale = 0.7
|
||||
position = { 50 0 }
|
||||
}
|
||||
text_single = {
|
||||
datacontext = "[Character.GetHouse]"
|
||||
position = { 297 72 }
|
||||
size = { 420 30 }
|
||||
text = "[DynastyHouse.GetNumberOfMembers|V]"
|
||||
}
|
||||
|
||||
text_single = {
|
||||
position = { 110 65 }
|
||||
raw_text = "#D Join:#!"
|
||||
align = nobaseline
|
||||
}
|
||||
|
||||
container = {
|
||||
position = { 155 65 }
|
||||
tooltip = "[Character.GetDebugGuestArriveReasons]"
|
||||
|
||||
icon = {
|
||||
visible = "[Character.GetDebugGuestArriveStatus]"
|
||||
texture = "gfx/interface/icons/text_icons/trigger_pass.dds"
|
||||
}
|
||||
|
||||
icon = {
|
||||
visible = "[Not(Character.GetDebugGuestArriveStatus)]"
|
||||
texture = "gfx/interface/icons/text_icons/trigger_fail.dds"
|
||||
}
|
||||
}
|
||||
|
||||
text_single = {
|
||||
position = { 110 90 }
|
||||
raw_text = "#D Score: [Character.GetDebugGuestScore]#!"
|
||||
align = nobaseline
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,79 +0,0 @@
|
|||
# Required controller: decision_option_list_controller
|
||||
|
||||
vbox = {
|
||||
name = "decision_view_widget_activity_debug"
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
ignoreinvisible = yes
|
||||
|
||||
margin_top = 10
|
||||
spacing = 10
|
||||
|
||||
text_label_center = {
|
||||
text = "SELECT_ACTIVITY_DECISION_TITLE"
|
||||
}
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
|
||||
scrollbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
|
||||
blockoverride "scrollbox_content" {
|
||||
vbox = {
|
||||
datamodel = "[DecisionViewWidgetOptionList.GetEntries]"
|
||||
spacing = 6
|
||||
|
||||
item = {
|
||||
SelectActivityItem = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
blockoverride "scrollbox_background_fade" {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
types SelectActivityTypes
|
||||
{
|
||||
type SelectActivityItem = button_standard {
|
||||
size = { 500 60 }
|
||||
margin = { 10 10 }
|
||||
|
||||
onclick = "[DecisionViewWidgetOptionList.OnSelect(Entry.Self)]"
|
||||
enabled = "[Entry.IsEnabled]"
|
||||
tooltip = "[Entry.GetTooltip]"
|
||||
down = "[Entry.IsSelected]"
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
spacing = 10
|
||||
margin = { 5 0 }
|
||||
|
||||
icon = {
|
||||
name = "activity_icon"
|
||||
size = { 50 50 }
|
||||
texture = "[Entry.GetIcon]"
|
||||
framesize = { 238 240 }
|
||||
frame = 1
|
||||
}
|
||||
|
||||
vbox = {
|
||||
name = "activity_info"
|
||||
|
||||
text_single = {
|
||||
name = "activity_type"
|
||||
text = "[Entry.GetName]"
|
||||
align = nobaseline|left
|
||||
max_width = 250
|
||||
}
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,79 +0,0 @@
|
|||
# Required controller: decision_option_list_controller
|
||||
|
||||
vbox = {
|
||||
name = "decision_view_widget_commission_artifact"
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
ignoreinvisible = yes
|
||||
|
||||
margin_top = 10
|
||||
spacing = 10
|
||||
|
||||
text_label_center = {
|
||||
text = "COMMISSION_ARTIFACT_DECISION_SELECT_ARTIFACT_TITLE"
|
||||
}
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
|
||||
scrollbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
|
||||
blockoverride "scrollbox_content" {
|
||||
vbox = {
|
||||
datamodel = "[DecisionViewWidgetOptionList.GetEntries]"
|
||||
spacing = 6
|
||||
|
||||
item = {
|
||||
CommissionArtifactItem = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
blockoverride "scrollbox_background_fade" {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
types CommissionArtifactTypes
|
||||
{
|
||||
type CommissionArtifactItem = button_standard {
|
||||
size = { 500 60 }
|
||||
margin = { 10 10 }
|
||||
|
||||
onclick = "[DecisionViewWidgetOptionList.OnSelect(Entry.Self)]"
|
||||
enabled = "[Entry.IsEnabled]"
|
||||
tooltip = "[Entry.GetTooltip]"
|
||||
down = "[Entry.IsSelected]"
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
spacing = 10
|
||||
margin = { 5 0 }
|
||||
|
||||
icon = {
|
||||
name = "artifact_icon"
|
||||
size = { 50 50 }
|
||||
texture = "[Entry.GetIcon]"
|
||||
framesize = { 238 240 }
|
||||
frame = 1
|
||||
}
|
||||
|
||||
vbox = {
|
||||
name = "artifact_info"
|
||||
|
||||
text_single = {
|
||||
name = "artifact_type"
|
||||
text = "[Entry.GetName]"
|
||||
align = nobaseline|left
|
||||
max_width = 250
|
||||
}
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,81 +0,0 @@
|
|||
# Required controller: decision_option_list_controller
|
||||
|
||||
vbox = {
|
||||
name = "decision_view_widget_convert_to_mandala"
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
ignoreinvisible = yes
|
||||
|
||||
margin_top = 10
|
||||
spacing = 10
|
||||
|
||||
text_label_center = {
|
||||
text = "CONVERT_TO_MANDALA_DECISION_SELECT_DECREE_TITLE"
|
||||
}
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
|
||||
scrollbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
|
||||
blockoverride "scrollbox_content" {
|
||||
vbox = {
|
||||
datamodel = "[DecisionViewWidgetOptionList.GetEntries]"
|
||||
spacing = 6
|
||||
|
||||
item = {
|
||||
MandalaDecreeItem = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
blockoverride "scrollbox_background_fade" {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
types MandalaDecreeTypes
|
||||
{
|
||||
type MandalaDecreeItem = button_standard {
|
||||
size = { 450 60 }
|
||||
margin = { 10 10 }
|
||||
|
||||
onclick = "[DecisionViewWidgetOptionList.OnSelect(Entry.Self)]"
|
||||
enabled = "[Entry.IsEnabled]"
|
||||
tooltip = "[Entry.GetTooltip]"
|
||||
down = "[Entry.IsSelected]"
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
spacing = 10
|
||||
margin_left = 10
|
||||
|
||||
icon = {
|
||||
name = "tribute_icon"
|
||||
size = { 45 45 }
|
||||
texture = "[Entry.GetIcon]"
|
||||
}
|
||||
|
||||
vbox = {
|
||||
name = "tribute_info"
|
||||
|
||||
layoutpolicy_vertical = expanding
|
||||
#margin_left = 5
|
||||
margin_bottom = 5
|
||||
|
||||
text_single = {
|
||||
name = "tribute_type"
|
||||
text = "[Entry.GetName]"
|
||||
max_width = 250
|
||||
align = left
|
||||
}
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,89 +0,0 @@
|
|||
# Decision view widget to create a holy order
|
||||
# Required controller: create_holy_order
|
||||
|
||||
flowcontainer = {
|
||||
name = "decision_view_widget_create_holy_order"
|
||||
direction = vertical
|
||||
minimumsize = { 514 -1 }
|
||||
maximumsize = { 514 -1 }
|
||||
ignoreinvisible = yes
|
||||
margin_top = 15
|
||||
|
||||
flowcontainer = {
|
||||
direction = horizontal
|
||||
ignoreinvisible = yes
|
||||
parentanchor = hcenter
|
||||
|
||||
text_single = {
|
||||
visible = "[And(DecisionViewWidgetCreateHolyOrder.IsCreate, DecisionViewWidgetCreateHolyOrder.HasCurrentCapital)]"
|
||||
parentanchor = vcenter
|
||||
fontsize_min = 14
|
||||
text = "CREATE_HOLY_ORDER_DECISION_CAPITAL_LABEL"
|
||||
}
|
||||
|
||||
text_single = {
|
||||
visible = "[And(DecisionViewWidgetCreateHolyOrder.IsRevoke, DecisionViewWidgetCreateHolyOrder.HasCurrentCapital)]"
|
||||
parentanchor = vcenter
|
||||
fontsize_min = 14
|
||||
text = "REVOKE_HOLY_ORDER_DECISION_BARONY_LABEL"
|
||||
}
|
||||
|
||||
spacer = {
|
||||
size = { 5 5 }
|
||||
}
|
||||
|
||||
text_single = {
|
||||
visible = "[DecisionViewWidgetCreateHolyOrder.HasCurrentCapital]"
|
||||
parentanchor = vcenter
|
||||
fontsize_min = 14
|
||||
default_format = "#high"
|
||||
text = "[DecisionViewWidgetCreateHolyOrder.GetCurrentCapital.GetNameNoTier]"
|
||||
}
|
||||
|
||||
widget = { size = { 15 0 } }
|
||||
|
||||
button_standard = {
|
||||
name = "change_capital"
|
||||
minimumsize = { 200 0 }
|
||||
|
||||
onclick = "[DecisionViewWidgetCreateHolyOrder.OnSelectCapital]"
|
||||
clicksound = "event:/SFX/UI/Generic/sfx_ui_generic_select"
|
||||
enabled = "[DecisionViewWidgetCreateHolyOrder.HasValidBaronies]"
|
||||
tooltip = "LEASE_OUT_BARONIES_TOOLTIP"
|
||||
|
||||
text_single = {
|
||||
visible = "[And(DecisionViewWidgetCreateHolyOrder.IsCreate, DecisionViewWidgetCreateHolyOrder.HasCurrentCapital)]"
|
||||
text = "[SelectLocalization( DecisionViewWidgetCreateHolyOrder.HasCurrentCapital, 'CREATE_HOLY_ORDER_DECISION_CHANGE_CAPITAL', 'CREATE_HOLY_ORDER_DECISION_SELECT_CAPITAL' )]"
|
||||
parentanchor = left|vcenter
|
||||
align = nobaseline
|
||||
position = { 10 0 }
|
||||
fontsize_min = 14
|
||||
}
|
||||
|
||||
text_single = {
|
||||
visible = "[And(DecisionViewWidgetCreateHolyOrder.IsRevoke, DecisionViewWidgetCreateHolyOrder.HasCurrentCapital)]"
|
||||
text = "SELECT_HOLY_ORDER_LEASE_TO_REVOKE"
|
||||
parentanchor = left|vcenter
|
||||
align = nobaseline
|
||||
position = { 10 0 }
|
||||
fontsize_min = 14
|
||||
}
|
||||
|
||||
button_change = {
|
||||
visible = "[DecisionViewWidgetCreateHolyOrder.HasCurrentCapital]"
|
||||
parentanchor = right|vcenter
|
||||
position = { -5 0 }
|
||||
alwaystransparent = yes
|
||||
size = { 25 25 }
|
||||
}
|
||||
|
||||
button_select_arrow = {
|
||||
visible = "[Not(DecisionViewWidgetCreateHolyOrder.HasCurrentCapital)]"
|
||||
parentanchor = right|vcenter
|
||||
position = { -5 0 }
|
||||
alwaystransparent = yes
|
||||
size = { 25 25 }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,53 +0,0 @@
|
|||
# Required controller: decision_option_list_controller
|
||||
|
||||
flowcontainer = {
|
||||
name = "decision_view_widget_decision_option_list_controller"
|
||||
direction = vertical
|
||||
minimumsize = { 514 300 }
|
||||
maximumsize = { 514 300 }
|
||||
ignoreinvisible = yes
|
||||
|
||||
flowcontainer = {
|
||||
direction = horizontal
|
||||
ignoreinvisible = yes
|
||||
parentanchor = hcenter
|
||||
|
||||
scrollbox = {
|
||||
minimumsize = { 514 300 }
|
||||
maximumsize = { 514 300 }
|
||||
|
||||
blockoverride "scrollbox_content" {
|
||||
vbox = {
|
||||
datamodel = "[DecisionViewWidgetOptionList.GetEntries]"
|
||||
spacing = 6
|
||||
|
||||
item = {
|
||||
vbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
button_radio_label = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
size = { 450 30 }
|
||||
|
||||
onclick = "[DecisionViewWidgetOptionList.OnSelect(Entry.Self)]"
|
||||
enabled = "[Entry.IsEnabled]"
|
||||
tooltip = "[Entry.GetTooltip]"
|
||||
|
||||
blockoverride "radio"
|
||||
{
|
||||
frame = "[BoolTo1And2( Entry.IsSelected )]"
|
||||
}
|
||||
|
||||
blockoverride "text"
|
||||
{
|
||||
text = "[Entry.GetName]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1,82 +0,0 @@
|
|||
# Required controller: decision_option_list_controller
|
||||
# We should have one unified file for all the two-step decisions in the game,
|
||||
# which make the text in text_label_center something you can set in script. But alas, here we are
|
||||
|
||||
vbox = {
|
||||
name = "decision_view_widget_fp3_foundation_ending"
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
ignoreinvisible = yes
|
||||
|
||||
margin_top = 10
|
||||
spacing = 10
|
||||
|
||||
text_multi = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
text = "select_one_of_the_available_option_step_one_top_text"
|
||||
max_width = 520
|
||||
}
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
|
||||
scrollbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
|
||||
blockoverride "scrollbox_content" {
|
||||
vbox = {
|
||||
datamodel = "[DecisionViewWidgetOptionList.GetEntries]"
|
||||
spacing = 6
|
||||
|
||||
item = { FP3_Foundation_Ending_Item = {} }
|
||||
}
|
||||
}
|
||||
|
||||
blockoverride "scrollbox_background_fade" {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
types PetitionLiegeTypes
|
||||
{
|
||||
type FP3_Foundation_Ending_Item = button_standard {
|
||||
size = { 450 60 }
|
||||
margin = { 10 10 }
|
||||
|
||||
onclick = "[DecisionViewWidgetOptionList.OnSelect(Entry.Self)]"
|
||||
enabled = "[Entry.IsEnabled]"
|
||||
tooltip = "[Entry.GetTooltip]"
|
||||
down = "[Entry.IsSelected]"
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
spacing = 10
|
||||
margin_left = 10
|
||||
|
||||
icon = {
|
||||
name = "petition_icon"
|
||||
size = { 45 45 }
|
||||
texture = "[Entry.GetIcon]"
|
||||
}
|
||||
|
||||
vbox = {
|
||||
name = "petition_info"
|
||||
|
||||
layoutpolicy_vertical = expanding
|
||||
margin_bottom = 5
|
||||
|
||||
text_single = {
|
||||
name = "petition_type"
|
||||
text = "[Entry.GetName]"
|
||||
max_width = 250
|
||||
align = left
|
||||
}
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,131 +0,0 @@
|
|||
# Required controller: decision_option_list_controller
|
||||
|
||||
vbox = {
|
||||
name = "decision_view_widget_generic_multichoice_with_effects"
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
ignoreinvisible = yes
|
||||
|
||||
margin_top = 10
|
||||
spacing = 10
|
||||
|
||||
vbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
|
||||
vbox = {
|
||||
name = "effect"
|
||||
visible = "[DecisionDetailView.HasEffect]"
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
background = {
|
||||
name = "illustrations"
|
||||
texture = "gfx/interface/icons/lifestyle_tree_backgrounds/skulduggery.dds"
|
||||
tintcolor = { 0.6 0.8 0.8 0.8 }
|
||||
|
||||
margin = { 0 5 }
|
||||
using = Mask_Rough_Edges
|
||||
alpha = 0.8
|
||||
fittype = centercrop
|
||||
mirror = horizontal
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/component_masks/mask_fade_corners_bottom.dds"
|
||||
blend_mode = alphamultiply
|
||||
alpha = 0.6
|
||||
}
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/component_masks/mask_rough_edges.dds"
|
||||
blend_mode = overlay
|
||||
alpha = 0.4
|
||||
}
|
||||
}
|
||||
|
||||
text_label_center = {
|
||||
text = "DECISION_DETAIL_EFFECTS"
|
||||
}
|
||||
|
||||
text_multi = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
margin = { 5 5 }
|
||||
max_width = 515
|
||||
autoresize = yes
|
||||
text = "[DecisionDetailView.GetEffectDescription]"
|
||||
}
|
||||
}
|
||||
|
||||
text_label_center = {
|
||||
text = "GENERIC_CHOOSE_OPTION"
|
||||
}
|
||||
|
||||
scrollbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
|
||||
blockoverride "scrollbox_content" {
|
||||
vbox = {
|
||||
datamodel = "[DecisionViewWidgetOptionList.GetEntries]"
|
||||
spacing = 6
|
||||
|
||||
item = {
|
||||
GenericDecisionWithOptionsAndEffectItem = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
blockoverride "scrollbox_background_fade" {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
types GenericDecisionWithOptionsAndEffectTypes
|
||||
{
|
||||
type GenericDecisionWithOptionsAndEffectItem = button_standard {
|
||||
size = { 450 60 }
|
||||
margin = { 10 10 }
|
||||
|
||||
onclick = "[DecisionViewWidgetOptionList.OnSelect(Entry.Self)]"
|
||||
enabled = "[Entry.IsEnabled]"
|
||||
tooltip = "[Entry.GetTooltip]"
|
||||
down = "[Entry.IsSelected]"
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
spacing = 10
|
||||
margin_left = 10
|
||||
|
||||
icon = {
|
||||
name = "genericdecisionwithoptionsandeffects_icon"
|
||||
size = { 45 45 }
|
||||
texture = "[Entry.GetIcon]"
|
||||
visible = "[Not( Entry.IsFlatIcon )]"
|
||||
}
|
||||
|
||||
highlight_icon_building = {
|
||||
name = "genericdecisionwithoptionsandeffects_icon_flat"
|
||||
size = { 45 45 }
|
||||
texture = "[Entry.GetIcon]"
|
||||
visible = "[Entry.IsFlatIcon]"
|
||||
}
|
||||
|
||||
vbox = {
|
||||
name = "genericdecisionwithoptionsandeffects_info"
|
||||
|
||||
layoutpolicy_vertical = expanding
|
||||
#margin_left = 5
|
||||
margin_bottom = 5
|
||||
|
||||
text_single = {
|
||||
name = "genericdecisionwithoptionsandeffects_type"
|
||||
text = "[Entry.GetName]"
|
||||
max_width = 250
|
||||
align = left
|
||||
}
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,93 +0,0 @@
|
|||
# Required controller: decision_option_list_controller
|
||||
|
||||
vbox = {
|
||||
name = "decision_view_widget_option_list_generic"
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
ignoreinvisible = yes
|
||||
|
||||
text_multi = {
|
||||
name = "description"
|
||||
minimumsize = { 515 -1 }
|
||||
maximumsize = { 515 -1 }
|
||||
margin = { 15 15 }
|
||||
autoresize = yes
|
||||
text = "[DecisionDetailView.GetDescription]"
|
||||
using = Font_Size_Small
|
||||
}
|
||||
|
||||
text_label_center = {
|
||||
text = "SELECT_VALID_OPTION"
|
||||
}
|
||||
|
||||
scrollbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
|
||||
blockoverride "scrollbox_content" {
|
||||
vbox = {
|
||||
margin_top = 10
|
||||
datamodel = "[DecisionViewWidgetOptionList.GetEntries]"
|
||||
spacing = 6
|
||||
|
||||
item = {
|
||||
DecisionOptionItem = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
blockoverride "scrollbox_background_fade" {}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
types DecisionOptionTypes
|
||||
{
|
||||
type DecisionOptionItem = button_standard {
|
||||
size = { 450 60 }
|
||||
margin = { 10 10 }
|
||||
|
||||
onclick = "[DecisionViewWidgetOptionList.OnSelect(Entry.Self)]"
|
||||
enabled = "[Entry.IsEnabled]"
|
||||
tooltip = "[Entry.GetTooltip]"
|
||||
down = "[Entry.IsSelected]"
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
spacing = 10
|
||||
margin_left = 10
|
||||
|
||||
icon = {
|
||||
name = "option_icon"
|
||||
size = { 45 45 }
|
||||
texture = "[Entry.GetIcon]"
|
||||
visible = "[Not( Entry.IsFlatIcon )]"
|
||||
}
|
||||
|
||||
highlight_icon_building = {
|
||||
name = "flat_option_icon"
|
||||
size = { 45 45 }
|
||||
texture = "[Entry.GetIcon]"
|
||||
visible = "[Entry.IsFlatIcon]"
|
||||
}
|
||||
|
||||
vbox = {
|
||||
name = "option_info"
|
||||
|
||||
layoutpolicy_vertical = expanding
|
||||
#margin_left = 5
|
||||
margin_bottom = 5
|
||||
|
||||
text_single = {
|
||||
name = "option_type"
|
||||
text = "[Entry.GetName]"
|
||||
max_width = 250
|
||||
align = left
|
||||
}
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,80 +0,0 @@
|
|||
# Required controller: decision_option_list_controller
|
||||
|
||||
vbox = {
|
||||
name = "decision_view_widget_pay_homage"
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
ignoreinvisible = yes
|
||||
|
||||
margin_top = 10
|
||||
spacing = 10
|
||||
|
||||
text_label_center = {
|
||||
text = "PAY_HOMAGE_DECISION_SELECT_GIFT_TITLE"
|
||||
}
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
|
||||
scrollbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
|
||||
blockoverride "scrollbox_content" {
|
||||
vbox = {
|
||||
datamodel = "[DecisionViewWidgetOptionList.GetEntries]"
|
||||
spacing = 6
|
||||
|
||||
item = {
|
||||
PayHomageItem = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
blockoverride "scrollbox_background_fade" {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
types PayHomageTypes
|
||||
{
|
||||
type PayHomageItem = button_standard {
|
||||
size = { 450 60 }
|
||||
margin = { 10 10 }
|
||||
|
||||
onclick = "[DecisionViewWidgetOptionList.OnSelect(Entry.Self)]"
|
||||
enabled = "[Entry.IsEnabled]"
|
||||
tooltip = "[Entry.GetTooltip]"
|
||||
down = "[Entry.IsSelected]"
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
spacing = 10
|
||||
margin_left = 10
|
||||
|
||||
icon = {
|
||||
name = "homage_icon"
|
||||
size = { 45 45 }
|
||||
texture = "[Entry.GetIcon]"
|
||||
}
|
||||
|
||||
vbox = {
|
||||
name = "homage_info"
|
||||
|
||||
layoutpolicy_vertical = expanding
|
||||
margin_bottom = 5
|
||||
|
||||
text_single = {
|
||||
name = "homage_type"
|
||||
text = "[Entry.GetName]"
|
||||
max_width = 250
|
||||
align = left
|
||||
}
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,81 +0,0 @@
|
|||
# Required controller: decision_option_list_controller
|
||||
|
||||
vbox = {
|
||||
name = "decision_view_widget_pay_tribute"
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
ignoreinvisible = yes
|
||||
|
||||
margin_top = 10
|
||||
spacing = 10
|
||||
|
||||
text_label_center = {
|
||||
text = "PAY_TRIBUTE_DECISION_SELECT_TRIBUTE_TITLE"
|
||||
}
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
|
||||
scrollbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
|
||||
blockoverride "scrollbox_content" {
|
||||
vbox = {
|
||||
datamodel = "[DecisionViewWidgetOptionList.GetEntries]"
|
||||
spacing = 6
|
||||
|
||||
item = {
|
||||
PayTributeItem = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
blockoverride "scrollbox_background_fade" {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
types PayTributeTypes
|
||||
{
|
||||
type PayTributeItem = button_standard {
|
||||
size = { 450 60 }
|
||||
margin = { 10 10 }
|
||||
|
||||
onclick = "[DecisionViewWidgetOptionList.OnSelect(Entry.Self)]"
|
||||
enabled = "[Entry.IsEnabled]"
|
||||
tooltip = "[Entry.GetTooltip]"
|
||||
down = "[Entry.IsSelected]"
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
spacing = 10
|
||||
margin_left = 10
|
||||
|
||||
icon = {
|
||||
name = "tribute_icon"
|
||||
size = { 45 45 }
|
||||
texture = "[Entry.GetIcon]"
|
||||
}
|
||||
|
||||
vbox = {
|
||||
name = "tribute_info"
|
||||
|
||||
layoutpolicy_vertical = expanding
|
||||
#margin_left = 5
|
||||
margin_bottom = 5
|
||||
|
||||
text_single = {
|
||||
name = "tribute_type"
|
||||
text = "[Entry.GetName]"
|
||||
max_width = 250
|
||||
align = left
|
||||
}
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,81 +0,0 @@
|
|||
# Required controller: decision_option_list_controller
|
||||
|
||||
vbox = {
|
||||
name = "decision_view_widget_petition_liege"
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
ignoreinvisible = yes
|
||||
|
||||
margin_top = 10
|
||||
spacing = 10
|
||||
|
||||
text_label_center = {
|
||||
text = "PETITION_LIEGE_DECISION_SELECT_PETITION_TITLE"
|
||||
}
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
|
||||
scrollbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
|
||||
blockoverride "scrollbox_content" {
|
||||
vbox = {
|
||||
datamodel = "[DecisionViewWidgetOptionList.GetEntries]"
|
||||
spacing = 6
|
||||
|
||||
item = {
|
||||
PetitionLiegeItem = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
blockoverride "scrollbox_background_fade" {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
types PetitionLiegeTypes
|
||||
{
|
||||
type PetitionLiegeItem = button_standard {
|
||||
size = { 450 60 }
|
||||
margin = { 10 10 }
|
||||
|
||||
onclick = "[DecisionViewWidgetOptionList.OnSelect(Entry.Self)]"
|
||||
enabled = "[Entry.IsEnabled]"
|
||||
tooltip = "[Entry.GetTooltip]"
|
||||
down = "[Entry.IsSelected]"
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
spacing = 10
|
||||
margin_left = 10
|
||||
|
||||
icon = {
|
||||
name = "petition_icon"
|
||||
size = { 45 45 }
|
||||
texture = "[Entry.GetIcon]"
|
||||
}
|
||||
|
||||
vbox = {
|
||||
name = "petition_info"
|
||||
|
||||
layoutpolicy_vertical = expanding
|
||||
#margin_left = 5
|
||||
margin_bottom = 5
|
||||
|
||||
text_single = {
|
||||
name = "petition_type"
|
||||
text = "[Entry.GetName]"
|
||||
max_width = 250
|
||||
align = left
|
||||
}
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,122 +0,0 @@
|
|||
# Required controller: decision_option_list_controller
|
||||
|
||||
vbox = {
|
||||
name = "decision_view_widget_unity_steer_house_direction"
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
ignoreinvisible = yes
|
||||
|
||||
margin_top = 10
|
||||
spacing = 10
|
||||
|
||||
vbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
|
||||
vbox = {
|
||||
name = "effect"
|
||||
visible = "[DecisionDetailView.HasEffect]"
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
background = {
|
||||
name = "illustrations"
|
||||
texture = "gfx/interface/icons/lifestyle_tree_backgrounds/skulduggery.dds"
|
||||
tintcolor = { 0.6 0.8 0.8 0.8 }
|
||||
|
||||
margin = { 0 5 }
|
||||
using = Mask_Rough_Edges
|
||||
alpha = 0.8
|
||||
fittype = centercrop
|
||||
mirror = horizontal
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/component_masks/mask_fade_corners_bottom.dds"
|
||||
blend_mode = alphamultiply
|
||||
alpha = 0.6
|
||||
}
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/component_masks/mask_rough_edges.dds"
|
||||
blend_mode = overlay
|
||||
alpha = 0.4
|
||||
}
|
||||
}
|
||||
|
||||
text_label_center = {
|
||||
text = "DECISION_DETAIL_EFFECTS"
|
||||
}
|
||||
|
||||
text_multi = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
margin = { 15 15 }
|
||||
max_width = 515
|
||||
autoresize = yes
|
||||
text = "[DecisionDetailView.GetEffectDescription]"
|
||||
}
|
||||
}
|
||||
|
||||
text_label_center = {
|
||||
text = "STEER_HOUSE_UNITY_SELECT_DIRECTION_TITLE"
|
||||
}
|
||||
|
||||
scrollbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
|
||||
blockoverride "scrollbox_content" {
|
||||
vbox = {
|
||||
datamodel = "[DecisionViewWidgetOptionList.GetEntries]"
|
||||
spacing = 6
|
||||
|
||||
item = {
|
||||
UnityDirectionItem = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
blockoverride "scrollbox_background_fade" {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
types UnityDirectionTypes
|
||||
{
|
||||
type UnityDirectionItem = button_standard {
|
||||
size = { 450 60 }
|
||||
margin = { 10 10 }
|
||||
|
||||
onclick = "[DecisionViewWidgetOptionList.OnSelect(Entry.Self)]"
|
||||
enabled = "[Entry.IsEnabled]"
|
||||
tooltip = "[Entry.GetTooltip]"
|
||||
down = "[Entry.IsSelected]"
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
spacing = 10
|
||||
margin_left = 10
|
||||
|
||||
icon = {
|
||||
name = "unitydirection_icon"
|
||||
size = { 45 45 }
|
||||
texture = "[Entry.GetIcon]"
|
||||
}
|
||||
|
||||
vbox = {
|
||||
name = "unitydirection_info"
|
||||
layoutpolicy_vertical = expanding
|
||||
margin_bottom = 5
|
||||
|
||||
text_single = {
|
||||
name = "unitydirection_type"
|
||||
alwaystransparent = yes
|
||||
text = "[Entry.GetName]"
|
||||
max_width = 250
|
||||
align = left
|
||||
}
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,110 +0,0 @@
|
|||
window = {
|
||||
name = "dynasty_customization_window"
|
||||
size = { 100% 100% }
|
||||
movable = no
|
||||
layer = middle
|
||||
|
||||
using = Window_Background_No_Edge
|
||||
|
||||
state = {
|
||||
name = _show
|
||||
using = Animation_FadeIn_Standard
|
||||
using = Sound_WindowShow_Standard
|
||||
using = CoatOfArmsDesignerAnimationResetState
|
||||
}
|
||||
|
||||
state = {
|
||||
name = _hide
|
||||
using = Animation_FadeOut_Standard
|
||||
using = Sound_WindowHide_Standard
|
||||
}
|
||||
|
||||
vbox = {
|
||||
header_pattern = {
|
||||
datacontext = "[DynastyCustomizationWindow.GetDynasty]"
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
blockoverride "header_text"
|
||||
{
|
||||
text = "CUSTOMIZE_DYNASTY_HEADER"
|
||||
}
|
||||
|
||||
blockoverride "button_close"
|
||||
{
|
||||
onclick = "[DynastyCustomizationWindow.Close]"
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
margin = { 10 5 }
|
||||
spacing = 10
|
||||
|
||||
hbox = {
|
||||
name = "content"
|
||||
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
spacing = 10
|
||||
|
||||
vbox = {
|
||||
name = "details_input"
|
||||
|
||||
layoutpolicy_vertical = expanding
|
||||
minimumsize = { 300 -1 }
|
||||
spacing = 10
|
||||
|
||||
vbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
margin = { 10 5 }
|
||||
margin_bottom = 8
|
||||
spacing = 10
|
||||
|
||||
background = {
|
||||
using = Background_Area_With_Header
|
||||
}
|
||||
|
||||
text_single = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
text = "CUSTOMIZATION_NAMING_HEADER"
|
||||
}
|
||||
|
||||
editbox_standard_with_label = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
blockoverride "editbox_label"
|
||||
{
|
||||
text = "DYNASTY_CUSTOMIZATION_NAME_FIELD"
|
||||
}
|
||||
|
||||
blockoverride "editbox_properties"
|
||||
{
|
||||
text = "[DynastyCustomizationWindow.GetDynastyNameText]"
|
||||
ontextedited = "[DynastyCustomizationWindow.OnEditDynastyNameText]"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
expand = {}
|
||||
}
|
||||
|
||||
vbox_coa_designer = {
|
||||
datacontext = "[DynastyCustomizationWindow.GetCoatOfArmsDesigner]"
|
||||
datacontext = "[DynastyCustomizationWindow.GetDynasty.GetDynast]"
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
}
|
||||
}
|
||||
|
||||
button_primary = {
|
||||
name = "finish_button"
|
||||
|
||||
text = "FINISH"
|
||||
enabled = "[DynastyCustomizationWindow.CanClickFinish]"
|
||||
tooltip = "[DynastyCustomizationWindow.GetCanClickFinishText]"
|
||||
onclick = "[DynastyCustomizationWindow.OnClickFinish]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue