delectable
This commit is contained in:
parent
f935f5a615
commit
b358a492bc
443 changed files with 358171 additions and 111974 deletions
592
N3OW/gui/event_windows/anonymous_letter_event.gui
Normal file
592
N3OW/gui/event_windows/anonymous_letter_event.gui
Normal file
|
|
@ -0,0 +1,592 @@
|
|||
window = {
|
||||
name = "anonymous_letter_event"
|
||||
|
||||
parentanchor = center
|
||||
widgetanchor = center
|
||||
size = { 1300 750 }
|
||||
layer = events
|
||||
alpha = 1
|
||||
alwaystransparent = yes
|
||||
|
||||
datacontext = "[EventWindow.AccessEventWindowData]"
|
||||
|
||||
state = {
|
||||
name = _show
|
||||
trigger_on_create = yes
|
||||
|
||||
on_start = "[GetVariableSystem.Clear( 'event_window_mouse_leave')]"
|
||||
|
||||
on_start = "[PdxGuiWidget.AccessChild('letter_paper').TriggerAnimation('show')]"
|
||||
on_start = "[PdxGuiWidget.AccessChild('letter_content').TriggerAnimation('show')]"
|
||||
|
||||
start_sound = {
|
||||
soundeffect = "event:/SFX/Events/Panels/sfx_event_panel_letter"
|
||||
}
|
||||
}
|
||||
|
||||
state = {
|
||||
name = _hide
|
||||
duration = 1
|
||||
on_start = "[PdxGuiWidget.AccessChild('letter_paper').TriggerAnimation('hide')]"
|
||||
on_start = "[PdxGuiWidget.AccessChild('letter_content').TriggerAnimation('hide')]"
|
||||
}
|
||||
|
||||
state = {
|
||||
name = _mouse_hierarchy_leave
|
||||
on_start = "[GetVariableSystem.Set( 'event_window_mouse_leave', 'true' )]"
|
||||
}
|
||||
|
||||
### PAPER ###
|
||||
widget = {
|
||||
name = "letter_paper"
|
||||
size = { 675 45 }
|
||||
widgetanchor = center
|
||||
parentanchor = center
|
||||
alpha = 0
|
||||
alwaystransparent = no
|
||||
|
||||
using = Event_Window_Debug_OptionTooltips
|
||||
using = Event_Window_Debug_EventTools
|
||||
|
||||
using = Background_Letter
|
||||
|
||||
state = {
|
||||
name = show
|
||||
next = a
|
||||
delay = 0.3
|
||||
|
||||
using = Animation_FadeIn_Standard
|
||||
|
||||
animation = {
|
||||
alpha = 1
|
||||
bezier = { 0.7 0 0.7 1 }
|
||||
}
|
||||
}
|
||||
|
||||
state = {
|
||||
name = a
|
||||
duration = 0.25
|
||||
bezier = { 0.3 0 0.7 1 }
|
||||
|
||||
animation = {
|
||||
size = { 675 530 } ############ SIZES NEED TO MATCH
|
||||
bezier = { 0.8 0.3 0 1 }
|
||||
}
|
||||
|
||||
animation = {
|
||||
alpha = 1
|
||||
bezier = { 0.7 0 0.7 1 }
|
||||
}
|
||||
}
|
||||
|
||||
state = {
|
||||
name = hide
|
||||
using = Animation_FadeOut_Quick
|
||||
size = { 585 -1 }
|
||||
}
|
||||
|
||||
widget = {
|
||||
size = { 700 40 }
|
||||
widgetanchor = center
|
||||
parentanchor = top|hcenter
|
||||
position = { 0 8 }
|
||||
|
||||
background = {
|
||||
texture = "gfx/interface/skinned/window_letter/letter_event_edge_top.dds"
|
||||
spriteType = Corneredstretched
|
||||
spriteborder = { 35 5 }
|
||||
}
|
||||
}
|
||||
|
||||
widget = {
|
||||
size = { 700 40 }
|
||||
widgetanchor = center
|
||||
parentanchor = bottom|hcenter
|
||||
position = { 0 -8 }
|
||||
|
||||
background = {
|
||||
texture = "gfx/interface/skinned/window_letter/letter_event_edge_bottom.dds"
|
||||
spriteType = Corneredstretched
|
||||
spriteborder = { 35 5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
### CONTENT ###
|
||||
widget = {
|
||||
name = "letter_content"
|
||||
widgetanchor = center
|
||||
parentanchor = center
|
||||
size = { 675 530 } ############ SIZES NEED TO MATCH
|
||||
alpha = 0
|
||||
|
||||
state = {
|
||||
name = show
|
||||
delay = 0.8
|
||||
|
||||
using = Animation_FadeIn_Standard
|
||||
|
||||
animation = {
|
||||
size = { 675 530 } ############ SIZES NEED TO MATCH
|
||||
|
||||
bezier = { 0.8 0.3 0 1 }
|
||||
}
|
||||
|
||||
animation = {
|
||||
alpha = 1
|
||||
bezier = { 0.7 0 0.7 1 }
|
||||
}
|
||||
}
|
||||
|
||||
state = {
|
||||
name = hide
|
||||
using = Animation_FadeOut_Quick
|
||||
duration = 0.08
|
||||
}
|
||||
|
||||
flowcontainer = {
|
||||
name = "debug_stuff"
|
||||
visible = "[InDebugMode]"
|
||||
parentanchor = top|hcenter
|
||||
position = { 25 20 }
|
||||
ignoreinvisible = yes
|
||||
|
||||
using = Event_Window_Debug_Info
|
||||
}
|
||||
|
||||
widget = {
|
||||
size = { 322 544 }
|
||||
position = { 10 15 }
|
||||
scale = 0.8
|
||||
alpha = 0.8
|
||||
|
||||
background = {
|
||||
texture = "gfx/interface/skinned/window_letter/letter_event_pattern_big.dds"
|
||||
}
|
||||
}
|
||||
|
||||
widget = {
|
||||
parentanchor = bottom|right
|
||||
size = { 264 264 }
|
||||
position = { -10 -20 }
|
||||
scale = 0.6
|
||||
alpha = 0.8
|
||||
|
||||
background = {
|
||||
texture = "gfx/interface/skinned/window_letter/letter_event_pattern_small.dds"
|
||||
}
|
||||
}
|
||||
|
||||
widget = {
|
||||
parentanchor = top|right
|
||||
size = { 264 264 }
|
||||
position = { -10 15 }
|
||||
scale = 0.6
|
||||
alpha = 0.8
|
||||
|
||||
background = {
|
||||
texture = "gfx/interface/skinned/window_letter/letter_event_pattern_small.dds"
|
||||
mirror = vertical
|
||||
}
|
||||
}
|
||||
|
||||
widget = {
|
||||
parentanchor = bottom|left
|
||||
size = { 264 264 }
|
||||
position = { 10 -20 }
|
||||
scale = 0.6
|
||||
alpha = 0.8
|
||||
|
||||
background = {
|
||||
texture = "gfx/interface/skinned/window_letter/letter_event_pattern_small.dds"
|
||||
mirror = horizontal
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
margin = { 10 25 }
|
||||
margin_right = 0
|
||||
margin_bottom = 40
|
||||
|
||||
expand = {}
|
||||
|
||||
hbox = {
|
||||
name = "content"
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
### text
|
||||
vbox = {
|
||||
name = "text"
|
||||
layoutpolicy_vertical = expanding
|
||||
|
||||
text_multi = {
|
||||
name = "opening"
|
||||
visible = "[EventWindowData.HasOpening]"
|
||||
layoutpolicy_horizontal = expanding
|
||||
maximumsize = { 430 -1 }
|
||||
autoresize = yes
|
||||
margin_top = 10
|
||||
text = "[EventWindowData.GetOpening]"
|
||||
default_format = "#light_background"
|
||||
using = Font_Type_Flavor
|
||||
using = Font_Size_Big
|
||||
format_override = { high light_background }
|
||||
}
|
||||
|
||||
#### 1 option ####
|
||||
scrollarea = {
|
||||
visible = "[LessThanOrEqualTo_int32( GetDataModelSize(EventWindowData.GetOptions), '(int32)1')]"
|
||||
maximumsize = { -1 280 }
|
||||
minimumsize = { 430 0 }
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
autoresizescrollarea = yes
|
||||
scrollbarpolicy_horizontal = always_off
|
||||
|
||||
scrollbar_vertical = {
|
||||
using = Scrollbar_Vertical
|
||||
}
|
||||
|
||||
scrollwidget = {
|
||||
text_multi = {
|
||||
name = "description"
|
||||
maximumsize = { 430 -1 }
|
||||
autoresize = yes
|
||||
margin = { 0 10 }
|
||||
margin_right = 20
|
||||
alwaystransparent = yes
|
||||
text = "[EventWindowData.GetDescription]"
|
||||
default_format = "#light_background"
|
||||
using = Font_Size_Medium
|
||||
format_override = { high light_background }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#### 2 options ####
|
||||
scrollarea = {
|
||||
visible = "[EqualTo_int32( GetDataModelSize(EventWindowData.GetOptions), '(int32)2')]"
|
||||
maximumsize = { -1 240 }
|
||||
minimumsize = { 430 0 }
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
autoresizescrollarea = yes
|
||||
scrollbarpolicy_horizontal = always_off
|
||||
|
||||
scrollbar_vertical = {
|
||||
using = Scrollbar_Vertical
|
||||
}
|
||||
|
||||
scrollwidget = {
|
||||
text_multi = {
|
||||
name = "description"
|
||||
maximumsize = { 430 -1 }
|
||||
autoresize = yes
|
||||
margin = { 0 10 }
|
||||
margin_right = 20
|
||||
alwaystransparent = yes
|
||||
text = "[EventWindowData.GetDescription]"
|
||||
default_format = "#light_background"
|
||||
using = Font_Size_Medium
|
||||
format_override = { high light_background }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#### 3 options ####
|
||||
scrollarea = {
|
||||
visible = "[EqualTo_int32( GetDataModelSize(EventWindowData.GetOptions), '(int32)3')]"
|
||||
maximumsize = { -1 190 }
|
||||
minimumsize = { 430 0 }
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
autoresizescrollarea = yes
|
||||
scrollbarpolicy_horizontal = always_off
|
||||
|
||||
scrollbar_vertical = {
|
||||
using = Scrollbar_Vertical
|
||||
}
|
||||
|
||||
scrollwidget = {
|
||||
text_multi = {
|
||||
name = "description"
|
||||
maximumsize = { 430 -1 }
|
||||
autoresize = yes
|
||||
margin = { 0 10 }
|
||||
margin_right = 20
|
||||
alwaystransparent = yes
|
||||
text = "[EventWindowData.GetDescription]"
|
||||
default_format = "#light_background"
|
||||
using = Font_Size_Medium
|
||||
format_override = { high light_background }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#### 4 options ####
|
||||
scrollarea = {
|
||||
visible = "[GreaterThanOrEqualTo_int32( GetDataModelSize(EventWindowData.GetOptions), '(int32)4')]"
|
||||
minimumsize = { 430 0 }
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
scrollbarpolicy_horizontal = always_off
|
||||
|
||||
scrollbar_vertical = {
|
||||
using = Scrollbar_Vertical
|
||||
}
|
||||
|
||||
scrollwidget = {
|
||||
text_multi = {
|
||||
name = "description"
|
||||
maximumsize = { 430 -1 }
|
||||
autoresize = yes
|
||||
margin = { 0 10 }
|
||||
margin_right = 20
|
||||
alwaystransparent = yes
|
||||
text = "[EventWindowData.GetDescription]"
|
||||
default_format = "#light_background"
|
||||
using = Font_Size_Medium
|
||||
format_override = { high light_background }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
expand = {}
|
||||
|
||||
### Options
|
||||
fixedgridbox = {
|
||||
name = "option_grid"
|
||||
addcolumn = 654
|
||||
addrow = 46
|
||||
datamodel = "[EventWindowData.GetOptions]"
|
||||
|
||||
item = {
|
||||
button_event_letter = {
|
||||
name = "event_option_button"
|
||||
parentanchor = hcenter
|
||||
size = { 592 42 }
|
||||
|
||||
tooltip = "[EventOption.GetTooltip]"
|
||||
tooltip_visible = "[Not( StringIsEmpty( EventOption.GetTooltip ) )]"
|
||||
|
||||
onclick = "[EventOption.Select]"
|
||||
onmousehierarchyenter = "[EventOption.OnEnter]"
|
||||
onmousehierarchyleave = "[EventOption.OnLeave]"
|
||||
enabled = "[EventOption.IsValid]"
|
||||
|
||||
tooltipwidget = {
|
||||
using = DefaultTooltipWidget
|
||||
}
|
||||
using = tooltip_es
|
||||
|
||||
animation_glow_event = {
|
||||
name = "special_option"
|
||||
visible = "[And(EventOption.HasFlag('special'), Not(EventOption.HasFlag('dangerous')))]"
|
||||
}
|
||||
|
||||
animation_glow_event = {
|
||||
name = "dangerous_option"
|
||||
visible = "[EventOption.HasFlag('dangerous')]"
|
||||
using = Color_Red
|
||||
}
|
||||
|
||||
### BUTTON CONTENT ####
|
||||
widget = {
|
||||
size = { 102 34 }
|
||||
parentanchor = left|vcenter
|
||||
|
||||
hbox = {
|
||||
fixedgridbox = {
|
||||
name = "reason_icons"
|
||||
datamodel = "[EventOption.Reasons]"
|
||||
addcolumn = 34
|
||||
addrow = 34
|
||||
flipdirection = yes
|
||||
|
||||
item = {
|
||||
container = {
|
||||
icon = {
|
||||
name = "trait_icon"
|
||||
datacontext = "[ReasonItem.GetTrait]"
|
||||
|
||||
visible = "[ReasonItem.IsTrait]"
|
||||
alwaystransparent = yes
|
||||
|
||||
texture = "[Trait.GetIcon(GetPlayer)]"
|
||||
size = { 34 34 }
|
||||
|
||||
tooltip = "EVENT_WINDOW_OPTION_AVAILABLE_TRAIT"
|
||||
using = tooltip_nw
|
||||
}
|
||||
|
||||
icon = {
|
||||
name = "skill_icon"
|
||||
datacontext = "[ReasonItem.GetSkillItem]"
|
||||
|
||||
visible = "[ReasonItem.IsSkill]"
|
||||
alwaystransparent = yes
|
||||
|
||||
texture = "gfx/interface/icons/icon_skills.dds"
|
||||
size = { 34 34 }
|
||||
framesize = { 60 60 }
|
||||
frame = "[SkillItem.GetFrame]"
|
||||
|
||||
tooltip = "EVENT_WINDOW_OPTION_AVAILABLE_SKILL"
|
||||
using = tooltip_ws
|
||||
}
|
||||
|
||||
icon = {
|
||||
name = "dread_icon"
|
||||
visible = "[ReasonItem.IsFlag( 'dread' )]"
|
||||
size = { 34 34 }
|
||||
texture = "gfx/interface/icons/icon_dread.dds"
|
||||
tooltip = "EVENT_WINDOW_OPTION_AVAILABLE_DREAD"
|
||||
}
|
||||
|
||||
icon = {
|
||||
name = "activity_intent_icon"
|
||||
visible = "[ReasonItem.IsFlag( 'activity_intent' )]"
|
||||
size = { 34 34 }
|
||||
texture = "[GetPlayer.GetInvolvedActivity.GetType.GetIcon]"
|
||||
tooltip = "EVENT_WINDOW_OPTION_AVAILABLE_ACTIVITY_INTENT"
|
||||
}
|
||||
|
||||
icon = {
|
||||
name = "prestige_icon"
|
||||
visible = "[ReasonItem.IsFlag( 'prestige_level' )]"
|
||||
size = { 34 34 }
|
||||
texture = "[GetPlayer.GetPrestigeLevelTexture]"
|
||||
tooltip = "EVENT_WINDOW_OPTION_AVAILABLE_PRESTIGE_LEVEL"
|
||||
}
|
||||
|
||||
icon = {
|
||||
name = "piety_icon"
|
||||
visible = "[ReasonItem.IsFlag( 'piety_level' )]"
|
||||
size = { 34 34 }
|
||||
texture = "[GetPlayer.GetPietyLevelTexture]"
|
||||
tooltip = "EVENT_WINDOW_OPTION_AVAILABLE_PIETY_LEVEL"
|
||||
}
|
||||
|
||||
icon = {
|
||||
name = "faith_icon"
|
||||
visible = "[ReasonItem.IsFlag( 'faith' )]"
|
||||
size = { 34 34 }
|
||||
texture = "[GetPlayer.GetFaith.GetIcon]"
|
||||
tooltip = "EVENT_WINDOW_OPTION_AVAILABLE_FAITH"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
warning_icon = {
|
||||
name = "timeout_icon"
|
||||
size = { 34 34 }
|
||||
visible = "[And( EventOption.IsTimeoutOption, And( GameHasMultiplePlayers, LessThanOrEqualTo_int32( EventWindowData.GetDaysRemaining, '(int32)30' ) ) )]"
|
||||
tooltip = EVENT_WINDOW_DAYS_REMAINING
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
hbox = {
|
||||
|
||||
text_single = {
|
||||
text = "[EventOption.GetText]"
|
||||
|
||||
default_format = "#light_background"
|
||||
using = Font_Size_Medium
|
||||
align = center
|
||||
layoutpolicy_horizontal = expanding
|
||||
max_width = 420
|
||||
fontsize_min = 12
|
||||
}
|
||||
}
|
||||
|
||||
widget = {
|
||||
size = { 102 34 }
|
||||
parentanchor = right|vcenter
|
||||
|
||||
hbox = {
|
||||
name = "effects_grid"
|
||||
datamodel = "[EventOption.Effects]"
|
||||
|
||||
expand = {}
|
||||
|
||||
item = {
|
||||
container = {
|
||||
container = {
|
||||
alwaystransparent = yes
|
||||
visible = "[OptionEffectItem.IsTrait]"
|
||||
|
||||
highlight_icon = {
|
||||
datacontext = "[OptionEffectItem.GetTrait]"
|
||||
name = "trait_icon"
|
||||
size = { 34 34 }
|
||||
texture = "[Trait.GetIcon(GetPlayer)]"
|
||||
}
|
||||
|
||||
highlight_icon = {
|
||||
visible = "[OptionEffectItem.IsGain]"
|
||||
texture = "gfx/interface/icons/symbols/icon_plus_small.dds"
|
||||
name = "gain"
|
||||
size = { 20 20 }
|
||||
}
|
||||
|
||||
highlight_icon = {
|
||||
visible = "[OptionEffectItem.IsLoss]"
|
||||
texture = "gfx/interface/icons/symbols/icon_minus_small.dds"
|
||||
name = "loss"
|
||||
size = { 20 20 }
|
||||
}
|
||||
}
|
||||
|
||||
container = {
|
||||
alwaystransparent = yes
|
||||
visible = "[OptionEffectItem.IsStress]"
|
||||
|
||||
highlight_icon = {
|
||||
visible = "[And(OptionEffectItem.IsGain,Not(OptionEffectItem.IsCritical))]"
|
||||
texture = "gfx/interface/icons/stress/icon_stress_gain.dds"
|
||||
name = "stress_gain"
|
||||
size = { 34 34 }
|
||||
}
|
||||
|
||||
highlight_icon = {
|
||||
visible = "[OptionEffectItem.IsLoss]"
|
||||
texture = "gfx/interface/icons/stress/icon_stress_loss.dds"
|
||||
name = "stress_loss"
|
||||
size = { 34 34 }
|
||||
}
|
||||
|
||||
highlight_icon = {
|
||||
visible = "[OptionEffectItem.IsCritical]"
|
||||
texture = "gfx/interface/icons/stress/icon_stress_gain_critical.dds"
|
||||
name = "stress_critical"
|
||||
size = { 34 34 }
|
||||
}
|
||||
}
|
||||
|
||||
highlight_icon = {
|
||||
name = "death"
|
||||
visible = "[OptionEffectItem.IsDeath]"
|
||||
size = { 34 34 }
|
||||
texture = "gfx/interface/icons/icon_dead.dds"
|
||||
}
|
||||
|
||||
highlight_icon = {
|
||||
name = "scheme"
|
||||
visible = "[OptionEffectItem.IsScheme]"
|
||||
size = { 34 34 }
|
||||
texture = "gfx/interface/icons/icon_scheme.dds"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
1213
N3OW/gui/event_windows/big_event_window.gui
Normal file
1213
N3OW/gui/event_windows/big_event_window.gui
Normal file
File diff suppressed because it is too large
Load diff
1153
N3OW/gui/event_windows/character_event.gui
Normal file
1153
N3OW/gui/event_windows/character_event.gui
Normal file
File diff suppressed because it is too large
Load diff
615
N3OW/gui/event_windows/duel_event.gui
Normal file
615
N3OW/gui/event_windows/duel_event.gui
Normal file
|
|
@ -0,0 +1,615 @@
|
|||
window = {
|
||||
name = "duel_event"
|
||||
size = { 1240 650 }
|
||||
|
||||
parentanchor = center
|
||||
widgetanchor = center
|
||||
layer = events
|
||||
alpha = 0
|
||||
|
||||
datacontext = "[EventWindow.AccessEventWindowData]"
|
||||
|
||||
widget = {
|
||||
visible = "[Not(GameHasMultiplePlayers)]"
|
||||
size = { 100% 100% }
|
||||
|
||||
icon = {
|
||||
visible = "[Not(GetVariableSystem.Exists( 'event_window_mouse_leave'))]"
|
||||
parentanchor = center
|
||||
size = { 200% 200% }
|
||||
alwaystransparent = yes
|
||||
texture = "gfx/interface/component_masks/mask_fade_circle.dds"
|
||||
color = { 0.1 0.1 0.1 1 }
|
||||
alpha = 0
|
||||
|
||||
state = {
|
||||
name = appear
|
||||
trigger_on_create = yes
|
||||
delay = 0.2
|
||||
using = Animation_Curve_Default
|
||||
alpha = 0.6
|
||||
duration = 0.8
|
||||
}
|
||||
|
||||
state = {
|
||||
name = _hide
|
||||
using = Animation_Curve_Default
|
||||
duration = 3
|
||||
alpha = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
widget = {
|
||||
size = { 100% 83% }
|
||||
using = Window_Background
|
||||
using = Window_Decoration_Frontend_Flat_Bottom
|
||||
parentanchor = bottom
|
||||
}
|
||||
|
||||
state = {
|
||||
name = show
|
||||
trigger_on_create = yes
|
||||
using = Animation_FadeIn_Standard
|
||||
using = Sound_Panel_Popup_Snapshot
|
||||
duration = 0.7
|
||||
|
||||
on_start = "[GetVariableSystem.Clear( 'event_window_mouse_leave')]"
|
||||
|
||||
start_sound = {
|
||||
soundeffect = "event:/SFX/Events/Panels/sfx_event_panel_large"
|
||||
|
||||
soundparam = {
|
||||
name = StateChange
|
||||
value = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
state = {
|
||||
name = _hide
|
||||
using = Animation_FadeOut_Standard
|
||||
|
||||
start_sound = {
|
||||
soundeffect = "event:/MUSIC/Cues/Events/kill_mx_cue"
|
||||
}
|
||||
}
|
||||
|
||||
state = {
|
||||
name = _mouse_hierarchy_leave
|
||||
on_start = "[GetVariableSystem.Set( 'event_window_mouse_leave', 'true' )]"
|
||||
}
|
||||
|
||||
widget = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
size = { 1240 134 }
|
||||
|
||||
icon = {
|
||||
name = "theme_header"
|
||||
parentanchor = center
|
||||
size = { 1200 134 }
|
||||
texture = "gfx/interface/window_duel_event_window/header_duel.dds"
|
||||
|
||||
modify_texture = {
|
||||
name = overlay
|
||||
texture = "gfx/interface/component_effects/effect_header_blue_shine.dds"
|
||||
blend_mode = colordodge
|
||||
translate_uv = { 0.6 0 }
|
||||
}
|
||||
|
||||
state = {
|
||||
name = right
|
||||
next = left
|
||||
|
||||
duration = 8
|
||||
bezier = { 0.8 0.18 0.96 .05 }
|
||||
|
||||
modify_texture = {
|
||||
name = overlay
|
||||
translate_uv = { -0.6 0 }
|
||||
}
|
||||
}
|
||||
|
||||
state = {
|
||||
name = left
|
||||
next = right
|
||||
|
||||
duration = 0.0
|
||||
delay = 5
|
||||
|
||||
modify_texture = {
|
||||
name = overlay
|
||||
translate_uv = { 0.6 0 }
|
||||
}
|
||||
}
|
||||
|
||||
state = {
|
||||
trigger_on_create = yes
|
||||
name = start
|
||||
next = right
|
||||
|
||||
duration = 0.0
|
||||
|
||||
modify_texture = {
|
||||
name = overlay
|
||||
translate_uv = { 0.6 0 }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
icon = {
|
||||
name = "duel_window_decoration"
|
||||
size = { 1200 134 }
|
||||
parentanchor = center
|
||||
texture = "gfx/interface/window_duel_event_window/decoration_frame_top_duel.dds"
|
||||
}
|
||||
|
||||
text_single = {
|
||||
name = "title"
|
||||
parentanchor = center
|
||||
fontsize = 29
|
||||
fontsize_min = 16
|
||||
position = { 0 28 }
|
||||
text = "[EventWindowData.GetTitle]"
|
||||
default_format = "#high;glow_color:{0.1,0.1,0.1,1.0}"
|
||||
using = Font_Type_Flavor
|
||||
max_width = 950
|
||||
|
||||
alpha = 0
|
||||
|
||||
background = {
|
||||
using = Background_Area_Dark
|
||||
margin = { 180 0 }
|
||||
margin_top = 5
|
||||
margin_bottom = 20
|
||||
alpha = 0.6
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/component_masks/mask_fade_circle.dds"
|
||||
blend_mode = alphaMultiply
|
||||
}
|
||||
}
|
||||
|
||||
state = {
|
||||
name = start
|
||||
trigger_on_create = yes
|
||||
delay = 0.2
|
||||
using = Animation_Curve_Default
|
||||
alpha = 1
|
||||
duration = 0.5
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
widget = {
|
||||
name = "duel_event_content"
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
|
||||
event_window_background_widget = {
|
||||
margin = { 40 20 }
|
||||
margin_top = 130
|
||||
|
||||
blockoverride "event_mask" {
|
||||
modify_texture = {
|
||||
name = mask
|
||||
texture = "gfx/interface/component_masks/mask_fade_horizontal_middle_inverse.dds"
|
||||
blend_mode = alphamultiply
|
||||
}
|
||||
}
|
||||
|
||||
blockoverride "event_picture_properties"
|
||||
{
|
||||
using = Mask_Rough_Edges
|
||||
}
|
||||
}
|
||||
|
||||
icon = {
|
||||
name = "triangle_background"
|
||||
size = { 650 500 }
|
||||
parentanchor = center
|
||||
position = { 0 56 }
|
||||
alpha = 0.3
|
||||
texture = "gfx/interface/window_duel_event_window/background_duel.dds"
|
||||
|
||||
modify_texture = {
|
||||
name = mask
|
||||
texture = "gfx/interface/component_masks/mask_fade_vertical.dds"
|
||||
blend_mode = alphamultiply
|
||||
}
|
||||
}
|
||||
|
||||
### CHARACTERS
|
||||
widget = {
|
||||
name = "characters"
|
||||
parentanchor = bottom
|
||||
size = { 100% 100% }
|
||||
scissor = yes
|
||||
|
||||
alpha = 0
|
||||
|
||||
state = {
|
||||
name = appear
|
||||
trigger_on_create = yes
|
||||
delay = 0.5
|
||||
using = Animation_Curve_Default
|
||||
alpha = 1
|
||||
duration = 0.5
|
||||
}
|
||||
|
||||
### LEFT CHARACTER ###
|
||||
widget = {
|
||||
name = "portrait_left"
|
||||
parentanchor = bottom|left
|
||||
position = { 40 0 }
|
||||
size = { 300 500 }
|
||||
|
||||
allow_outside = no
|
||||
|
||||
portrait_event_duel = {
|
||||
name = "portrait_left"
|
||||
datacontext = "[EventWindowData.GetPortraitCharacter('left_portrait')]"
|
||||
visible = "[And(EventWindowData.HasPortraitCharacter('left_portrait'), EventWindowData.HasPortraitCharacter('right_portrait'))]"
|
||||
parentanchor = bottom|left
|
||||
position = { -60 -18 }
|
||||
size = { 930 500 }
|
||||
|
||||
blockoverride "portrait_button"
|
||||
{
|
||||
portrait_texture = "[EventWindowData.GetAnimatedEventPortraitTexture('left_portrait', 'camera_event_duel_left', PdxGetWidgetScreenSize(PdxGuiWidget.Self))]"
|
||||
alwaystransparent = "[Not(EventWindowData.ShouldShowPortraitInfo('left_portrait'))]"
|
||||
|
||||
tooltip_visible = "[EventWindowData.ShouldShowPortraitInfo('left_portrait')]"
|
||||
using = tooltip_ws
|
||||
tooltip_offset = { -150 0 }
|
||||
}
|
||||
|
||||
blockoverride "highlight_visible"
|
||||
{
|
||||
visible = "[Or(Character.IsHovered, EventWindowData.IsCharacterHighlighted( EventWindowData.GetPortraitCharacter('left_portrait') ))]"
|
||||
position = { -250 0 }
|
||||
}
|
||||
|
||||
blockoverride "grayscale" {}
|
||||
|
||||
highlight_icon = {
|
||||
name = "prison_bars"
|
||||
visible = "[And(Character.IsImprisoned, Not(EventWindowData.ShouldHideImprisonment('left_portrait')))]"
|
||||
visible_at_creation = no
|
||||
parentanchor = bottom|left
|
||||
size = { 285 500 }
|
||||
|
||||
texture = "gfx/portraits/portrait_prison_body.dds"
|
||||
effectname = "NoHighlight"
|
||||
spriteType = corneredTiled
|
||||
texture_density = 1.5
|
||||
|
||||
modify_texture = {
|
||||
name = "mask"
|
||||
texture = "gfx/portraits/portrait_mask_event.dds"
|
||||
spriteType = Corneredstretched
|
||||
blend_mode = alphamultiply
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
### RIGHT CHARACTER ###
|
||||
widget = {
|
||||
name = "portrait_right"
|
||||
parentanchor = bottom|right
|
||||
position = { -40 0 }
|
||||
size = { 300 500 }
|
||||
|
||||
allow_outside = no
|
||||
|
||||
portrait_event_duel = {
|
||||
name = "portrait_right"
|
||||
datacontext = "[EventWindowData.GetPortraitCharacter('right_portrait')]"
|
||||
visible = "[EventWindowData.HasPortraitCharacter('right_portrait')]"
|
||||
parentanchor = bottom|right
|
||||
position = { -0 -18 }
|
||||
size = { 930 500 }
|
||||
|
||||
blockoverride "portrait_button"
|
||||
{
|
||||
portrait_texture = "[EventWindowData.GetAnimatedEventPortraitTexture('right_portrait', 'camera_event_duel_right', PdxGetWidgetScreenSize(PdxGuiWidget.Self))]"
|
||||
alwaystransparent = "[Not(EventWindowData.ShouldShowPortraitInfo('right_portrait'))]"
|
||||
|
||||
tooltip_visible = "[EventWindowData.ShouldShowPortraitInfo('right_portrait')]"
|
||||
tooltip_offset = { -40 0 }
|
||||
using = tooltip_es
|
||||
}
|
||||
|
||||
blockoverride "highlight_visible"
|
||||
{
|
||||
visible = "[Or(Character.IsHovered, EventWindowData.IsCharacterHighlighted( EventWindowData.GetPortraitCharacter('right_portrait') ))]"
|
||||
position = { 280 0 }
|
||||
}
|
||||
|
||||
blockoverride "grayscale" {}
|
||||
|
||||
highlight_icon = {
|
||||
name = "prison_bars"
|
||||
visible = "[And(Character.IsImprisoned, Not(EventWindowData.ShouldHideImprisonment('right_portrait')))]"
|
||||
visible_at_creation = no
|
||||
parentanchor = bottom|right
|
||||
size = { 285 500 }
|
||||
|
||||
texture = "gfx/portraits/portrait_prison_body.dds"
|
||||
effectname = "NoHighlight"
|
||||
spriteType = corneredTiled
|
||||
texture_density = 1.5
|
||||
|
||||
modify_texture = {
|
||||
name = "mask"
|
||||
texture = "gfx/portraits/portrait_mask_event.dds"
|
||||
spriteType = Corneredstretched
|
||||
blend_mode = alphamultiply
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
### COA
|
||||
margin_widget = {
|
||||
name = "coa"
|
||||
parentanchor = bottom|hcenter
|
||||
size = { 100% 170 }
|
||||
margin_bottom = 30
|
||||
allow_outside = yes
|
||||
|
||||
flowcontainer = {
|
||||
spacing = 920
|
||||
parentanchor = bottom|hcenter
|
||||
|
||||
flowcontainer = {
|
||||
name = "coa_left"
|
||||
parentanchor = bottom
|
||||
direction = vertical
|
||||
ignoreinvisible = yes
|
||||
|
||||
event_portrait_status_icons_left = {
|
||||
datacontext = "[EventWindowData.GetPortraitCharacter('left_portrait')]"
|
||||
visible = "[EventWindowData.ShouldShowPortraitInfo('left_portrait')]"
|
||||
}
|
||||
|
||||
spacer = {
|
||||
size = { 140 0 }
|
||||
}
|
||||
|
||||
widget = {
|
||||
datacontext = "[EventWindowData.GetPortraitCharacter('lower_left_portrait')]"
|
||||
visible = "[EventWindowData.HasPortraitCharacter('lower_left_portrait')]"
|
||||
size = { 140 150 }
|
||||
|
||||
portrait_event_small = {
|
||||
name = "portrait_left_small_1"
|
||||
parentanchor = center
|
||||
position = { 0 -4 }
|
||||
|
||||
blockoverride "portrait_button"
|
||||
{
|
||||
portrait_texture = "[EventWindowData.GetStaticEventPortraitTexture('lower_left_portrait', 'camera_shoulders', PdxGetWidgetScreenSize(PdxGuiWidget.Self))]"
|
||||
alwaystransparent = "[Not(EventWindowData.ShouldShowPortraitInfo('lower_left_portrait'))]"
|
||||
tooltip_visible = "[EventWindowData.ShouldShowPortraitInfo('lower_left_portrait')]"
|
||||
}
|
||||
|
||||
blockoverride "highlight_visible"
|
||||
{
|
||||
visible = "[Or(Character.IsHovered, EventWindowData.IsCharacterHighlighted( EventWindowData.GetPortraitCharacter('lower_left_portrait') ))]"
|
||||
}
|
||||
|
||||
blockoverride "status_icons" {}
|
||||
blockoverride "opinion_box" {}
|
||||
blockoverride "grayscale" {}
|
||||
|
||||
blockoverride "coa"
|
||||
{
|
||||
event_portrait_status_icons_left = {
|
||||
visible = "[EventWindowData.ShouldShowPortraitInfo('lower_right_portrait')]"
|
||||
parentanchor = bottom|left
|
||||
position = { -15 -5 }
|
||||
scale = 0.8
|
||||
|
||||
background = {
|
||||
using = Background_Bottom_Fade
|
||||
margin = { 5 15 }
|
||||
using = Color_Black
|
||||
using = Mask_Rough_Edges
|
||||
alpha = 0.5
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/window_event/event_character_status_icons_bg_overlay.dds"
|
||||
spriteType = Corneredstretched
|
||||
spriteborder = { 0 0 }
|
||||
blend_mode = overlay
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
text_label_center = {
|
||||
parentanchor = bottom|hcenter
|
||||
position = { 20 -5 }
|
||||
alwaystransparent = yes
|
||||
text = "[Character.GetShortUINameNoTooltip]"
|
||||
max_width = 115
|
||||
align = center
|
||||
fontsize_min = 12
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
flowcontainer = {
|
||||
name = "coa_right"
|
||||
parentanchor = bottom
|
||||
direction = vertical
|
||||
ignoreinvisible = yes
|
||||
|
||||
event_portrait_status_icons_right = {
|
||||
datacontext = "[EventWindowData.GetPortraitCharacter('right_portrait')]"
|
||||
visible = "[EventWindowData.ShouldShowPortraitInfo('right_portrait')]"
|
||||
parentanchor = right
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
### EVENT
|
||||
hbox = {
|
||||
name = "event_text_box"
|
||||
margin_top = 120
|
||||
|
||||
widget = {
|
||||
name = "text"
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
|
||||
vbox = {
|
||||
name = "description_and_options"
|
||||
|
||||
state = {
|
||||
name = appear
|
||||
trigger_on_create = yes
|
||||
delay = 0.2
|
||||
using = Animation_Curve_Default
|
||||
alpha = 1
|
||||
duration = 1.5
|
||||
}
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
margin_top = 20
|
||||
|
||||
scrollarea = {
|
||||
name = "description_scrollarea"
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
minimumsize = { 470 -1 }
|
||||
maximumsize = { 470 -1 }
|
||||
|
||||
scrollbarpolicy_horizontal = always_off
|
||||
|
||||
scrollbar_vertical = {
|
||||
using = Scrollbar_Vertical
|
||||
}
|
||||
|
||||
scrollwidget = {
|
||||
text_multi = {
|
||||
name = "description"
|
||||
minimumsize = { 470 -1 }
|
||||
maximumsize = { 470 -1 }
|
||||
autoresize = yes
|
||||
margin = { 20 4 }
|
||||
text = "[EventWindowData.GetDescription]"
|
||||
align = left
|
||||
fontsize = 16
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
allow_outside = yes
|
||||
ignoreinvisible = yes
|
||||
spacing = 5
|
||||
margin_bottom = 25
|
||||
|
||||
fixedgridbox = {
|
||||
name = "option_grid"
|
||||
addcolumn = 500
|
||||
addrow = 42
|
||||
datamodel = "[EventWindowData.GetOptions]"
|
||||
|
||||
item = {
|
||||
button_eventoption = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
flowcontainer = {
|
||||
name = "debug_stuff"
|
||||
visible = "[InDebugMode]"
|
||||
parentanchor = top|right
|
||||
position = { -40 135 }
|
||||
ignoreinvisible = yes
|
||||
|
||||
button_round = {
|
||||
alwaystransparent = no
|
||||
tooltip = "REGENERATE_EVENT_CONTENTS"
|
||||
using = tooltip_below
|
||||
|
||||
using = Animation_ShowHide_Quick
|
||||
onclick = "[EventWindow.ResetContents]"
|
||||
|
||||
button_replace = {
|
||||
parentanchor = center
|
||||
alwaystransparent = yes
|
||||
}
|
||||
}
|
||||
|
||||
button_round = {
|
||||
size = { 40 40 }
|
||||
|
||||
button_icon = {
|
||||
size = { 100% 100% }
|
||||
texture = "gfx/interface/icons/flat_icons/data_system.dds"
|
||||
tooltip = "TOGGLE_DATA_SYSTEM"
|
||||
using = tooltip_below
|
||||
onclick = "[ExecuteConsoleCommand('Localization.ToggleSkipDataSystemInLocOutput')]"
|
||||
fontsize = 24
|
||||
}
|
||||
}
|
||||
|
||||
button_round = {
|
||||
size = { 40 40 }
|
||||
button_copy = {
|
||||
parentanchor = center
|
||||
onclick = "[EventWindowData.CopyToClipboard]"
|
||||
tooltip = "COPY_EVENT_CONTENTS"
|
||||
}
|
||||
}
|
||||
|
||||
container = {
|
||||
tooltip = "[EventWindowData.GetTriggerBreakdown]"
|
||||
using = tooltip_below
|
||||
icon = {
|
||||
visible = "[EventWindowData.IsTriggerFulfilled]"
|
||||
size = { 40 40 }
|
||||
texture = "gfx/interface/icons/symbols/icon_check.dds"
|
||||
}
|
||||
|
||||
icon = {
|
||||
visible = "[Not( EventWindowData.IsTriggerFulfilled )]"
|
||||
size = { 40 40 }
|
||||
texture = "gfx/interface/icons/symbols/icon_cross.dds"
|
||||
}
|
||||
}
|
||||
|
||||
button = {
|
||||
name = "debug_icon"
|
||||
size = { 40 40 }
|
||||
|
||||
button = {
|
||||
size = { 100% 100% }
|
||||
tooltip = "[EventWindowData.GetDebugInfo]"
|
||||
using = tooltip_below
|
||||
onclick = "[EventWindowData.CopyToClipboard]"
|
||||
onrightclick = "[EventWindowData.DebugOpen]"
|
||||
button_ignore = none
|
||||
raw_text = "?"
|
||||
fontsize = 24
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
344
N3OW/gui/event_windows/fullscreen_event.gui
Normal file
344
N3OW/gui/event_windows/fullscreen_event.gui
Normal file
|
|
@ -0,0 +1,344 @@
|
|||
window = {
|
||||
name = "fullscreen_event"
|
||||
size = { 100% 100% }
|
||||
#scale = "[ScaleToFitElementInside('(int32)1920', '(int32)1080')]"
|
||||
movable = no
|
||||
|
||||
layer = top
|
||||
|
||||
datacontext = "[EventWindow.AccessEventWindowData]"
|
||||
|
||||
widget = {
|
||||
size = { 110% 120% }
|
||||
alpha = 0
|
||||
|
||||
state = {
|
||||
name = start
|
||||
trigger_on_create = yes
|
||||
using = Animation_Curve_Default
|
||||
alpha = 1
|
||||
duration = 0.7
|
||||
}
|
||||
|
||||
background = {
|
||||
name = "event_backdrop_darken"
|
||||
using = Background_Area_Dark
|
||||
margin = { 10 10 }
|
||||
}
|
||||
}
|
||||
|
||||
state = {
|
||||
name = _show
|
||||
using = Animation_FadeIn_Standard
|
||||
using = Sound_Panel_Popup_Snapshot
|
||||
}
|
||||
|
||||
state = {
|
||||
name = _hide
|
||||
using = Animation_FadeOut_Standard
|
||||
|
||||
start_sound = {
|
||||
soundeffect = "event:/MUSIC/Cues/Events/kill_mx_cue"
|
||||
}
|
||||
}
|
||||
|
||||
widget = {
|
||||
name = "window_background"
|
||||
parentanchor = center
|
||||
widgetanchor = center
|
||||
size = { 115% 760 }
|
||||
|
||||
alpha = 0
|
||||
|
||||
background = {
|
||||
name = "event_background_dark"
|
||||
texture = "gfx/interface/window_struggle/end_struggle_background.dds"
|
||||
alpha = 0.95
|
||||
}
|
||||
|
||||
state = {
|
||||
name = start
|
||||
trigger_on_create = yes
|
||||
using = Animation_Curve_Default
|
||||
alpha = 1
|
||||
delay = 0.2
|
||||
duration = 0.7
|
||||
|
||||
start_sound = {
|
||||
soundeffect = "event:/SFX/Events/Panels/sfx_event_panel_large"
|
||||
|
||||
soundparam = {
|
||||
name = StateChange
|
||||
value = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
widget = {
|
||||
name = "event_image"
|
||||
parentanchor = center
|
||||
widgetanchor = center
|
||||
size = { 1920 626 }
|
||||
position = { 175 -5 }
|
||||
|
||||
alpha = 0
|
||||
|
||||
event_window_background_widget = {
|
||||
blockoverride "event_picture_properties"
|
||||
{
|
||||
modify_texture = {
|
||||
name = "event_picture_fade_left"
|
||||
texture = "gfx/interface/component_masks/mask_fade_struggle_illustration.dds"
|
||||
blend_mode = alphamultiply
|
||||
alpha = 0.9
|
||||
}
|
||||
|
||||
modify_texture = {
|
||||
name = "event_picture_fade_short_left"
|
||||
texture = "gfx/interface/component_masks/mask_fade_horizontal_short.dds"
|
||||
mirror = horizontal
|
||||
blend_mode = alphamultiply
|
||||
}
|
||||
|
||||
modify_texture = {
|
||||
name = "event_picture_fade_textured_up"
|
||||
texture = "gfx/interface/component_masks/mask_fade_textured_vertical_up.dds"
|
||||
translate_uv = { 0 -0.05 }
|
||||
blend_mode = alphamultiply
|
||||
}
|
||||
|
||||
modify_texture = {
|
||||
name = "event_picture_fade_textured_down"
|
||||
texture = "gfx/interface/component_masks/mask_fade_textured_vertical_down.dds"
|
||||
translate_uv = { 0 0.05 }
|
||||
blend_mode = alphamultiply
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
state = {
|
||||
name = start
|
||||
trigger_on_create = yes
|
||||
using = Animation_Curve_Default
|
||||
alpha = 1
|
||||
delay = 0.2
|
||||
duration = 0.7
|
||||
|
||||
start_sound = {
|
||||
soundeffect = "event:/SFX/Events/Panels/sfx_event_panel_large"
|
||||
|
||||
soundparam = {
|
||||
name = StateChange
|
||||
value = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
widget = {
|
||||
name = "window_content"
|
||||
parentanchor = left|vcenter
|
||||
size = { 500 600 }
|
||||
position = { 35 0 }
|
||||
|
||||
vbox = {
|
||||
name = "text"
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
margin = { 0 10 }
|
||||
alpha = 0
|
||||
|
||||
background = {
|
||||
using = Background_Area_Dark
|
||||
using = Mask_Rough_Edges
|
||||
|
||||
margin_top = -6
|
||||
margin_left = 15
|
||||
|
||||
modify_texture = {
|
||||
name = "event_picture_fade_left"
|
||||
texture = "gfx/interface/component_masks/mask_fade_horizontal_thick.dds"
|
||||
blend_mode = alphamultiply
|
||||
mirror = horizontal
|
||||
rotate_uv = 0.9
|
||||
}
|
||||
|
||||
modify_texture = {
|
||||
name = "event_picture_fade_left"
|
||||
texture = "gfx/interface/component_masks/mask_fade_horizontal_short.dds"
|
||||
blend_mode = alphamultiply
|
||||
mirror = horizontal
|
||||
}
|
||||
|
||||
modify_texture = {
|
||||
name = "event_picture_fade_left"
|
||||
texture = "gfx/interface/component_masks/mask_texture_01.dds"
|
||||
blend_mode = alphamultiply
|
||||
}
|
||||
|
||||
modify_texture = {
|
||||
name = "event_picture_fade_left"
|
||||
texture = "gfx/interface/component_masks/mask_texture_01.dds"
|
||||
blend_mode = alphamultiply
|
||||
mirror = vertical
|
||||
}
|
||||
}
|
||||
|
||||
text_single = {
|
||||
name = "title"
|
||||
layoutpolicy_horizontal = expanding
|
||||
fontsize = 29
|
||||
fontsize_min = 16
|
||||
text = "[EventWindowData.GetTitle]"
|
||||
using = Font_Type_Flavor
|
||||
max_width = 480
|
||||
align = left
|
||||
}
|
||||
|
||||
state = {
|
||||
name = start
|
||||
trigger_on_create = yes
|
||||
delay = 0.3
|
||||
using = Animation_Curve_Default
|
||||
alpha = 1
|
||||
duration = 0.7
|
||||
}
|
||||
}
|
||||
|
||||
hbox = {
|
||||
name = "description"
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
margin_left = 20
|
||||
|
||||
alpha = 0
|
||||
|
||||
scrollarea = {
|
||||
name = "description_scrollarea"
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
minimumsize = { 500 -1 }
|
||||
maximumsize = { 500 -1 }
|
||||
|
||||
scrollbarpolicy_horizontal = always_off
|
||||
|
||||
scrollbar_vertical = {
|
||||
using = Scrollbar_Vertical
|
||||
|
||||
blockoverride "alpha"{
|
||||
alpha = 0.6
|
||||
}
|
||||
}
|
||||
|
||||
scrollwidget = {
|
||||
text_multi = {
|
||||
name = "description"
|
||||
minimumsize = { 480 -1 }
|
||||
maximumsize = { 480 -1 }
|
||||
autoresize = yes
|
||||
margin_top = 5
|
||||
text = "[EventWindowData.GetDescription]"
|
||||
fontsize = 16
|
||||
align = left
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
state = {
|
||||
name = start
|
||||
trigger_on_create = yes
|
||||
delay = 0.4
|
||||
using = Animation_Curve_Default
|
||||
alpha = 1
|
||||
duration = 0.7
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
name = "dynamic_content_widget"
|
||||
|
||||
alpha = 0
|
||||
|
||||
state = {
|
||||
name = start
|
||||
trigger_on_create = yes
|
||||
delay = 0.5
|
||||
using = Animation_Curve_Default
|
||||
alpha = 1
|
||||
duration = 0.7
|
||||
}
|
||||
}
|
||||
|
||||
hbox = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
allow_outside = yes
|
||||
ignoreinvisible = yes
|
||||
margin_top = 15
|
||||
|
||||
alpha = 0
|
||||
|
||||
state = {
|
||||
name = start
|
||||
trigger_on_create = yes
|
||||
delay = 0.7
|
||||
using = Animation_Curve_Default
|
||||
alpha = 1
|
||||
duration = 0.7
|
||||
}
|
||||
|
||||
expand = {}
|
||||
|
||||
vbox = {
|
||||
name = "custom_widgets_container"
|
||||
|
||||
state = {
|
||||
trigger_on_create = yes
|
||||
name = appear_test
|
||||
delay = 0.8
|
||||
using = Animation_Curve_Default
|
||||
alpha = 1
|
||||
duration = 0.6
|
||||
}
|
||||
}
|
||||
|
||||
fixedgridbox = {
|
||||
name = "option_grid"
|
||||
addcolumn = 500
|
||||
addrow = 42
|
||||
datamodel = "[EventWindowData.GetOptions]"
|
||||
|
||||
item = {
|
||||
button_eventoption = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
flowcontainer = {
|
||||
name = "debug_stuff"
|
||||
visible = "[InDebugMode]"
|
||||
parentanchor = top|right
|
||||
position = { -100 220 }
|
||||
ignoreinvisible = yes
|
||||
|
||||
using = Event_Window_Debug_Info
|
||||
}
|
||||
|
||||
widget = {
|
||||
name = "event_transition"
|
||||
parentanchor = center
|
||||
widgetanchor = center
|
||||
size = { 2246 730 }
|
||||
position = { 45 -5 }
|
||||
|
||||
event_window_transition_widget = {
|
||||
using = Event_Window_Default_Transition_States
|
||||
}
|
||||
}
|
||||
}
|
||||
698
N3OW/gui/event_windows/letter_event.gui
Normal file
698
N3OW/gui/event_windows/letter_event.gui
Normal file
|
|
@ -0,0 +1,698 @@
|
|||
window = {
|
||||
name = "letter_event"
|
||||
gfxtype = windowgfx
|
||||
parentanchor = center
|
||||
layer = events
|
||||
allow_outside = yes
|
||||
size = { 675 530 } ############ SIZES NEED TO MATCH
|
||||
|
||||
using = Window_Movable
|
||||
|
||||
datacontext = "[EventWindow.AccessEventWindowData]"
|
||||
|
||||
state = {
|
||||
name = _show
|
||||
trigger_on_create = yes
|
||||
|
||||
on_start = "[GetVariableSystem.Clear( 'event_window_mouse_leave')]"
|
||||
|
||||
on_start = "[PdxGuiWidget.AccessChild('letter_paper').TriggerAnimation('show')]"
|
||||
on_start = "[PdxGuiWidget.AccessChild('letter_content').TriggerAnimation('show')]"
|
||||
|
||||
start_sound = {
|
||||
soundeffect = "event:/SFX/Events/Panels/sfx_event_panel_letter"
|
||||
}
|
||||
}
|
||||
|
||||
state = {
|
||||
name = _hide
|
||||
duration = 1
|
||||
on_start = "[PdxGuiWidget.AccessChild('letter_paper').TriggerAnimation('hide')]"
|
||||
on_start = "[PdxGuiWidget.AccessChild('letter_content').TriggerAnimation('hide')]"
|
||||
}
|
||||
|
||||
state = {
|
||||
name = _mouse_hierarchy_leave
|
||||
on_start = "[GetVariableSystem.Set( 'event_window_mouse_leave', 'true' )]"
|
||||
}
|
||||
|
||||
### PAPER ###
|
||||
widget = {
|
||||
name = "letter_paper"
|
||||
size = { 675 45 }
|
||||
widgetanchor = center
|
||||
parentanchor = center
|
||||
alpha = 0
|
||||
|
||||
using = Background_Letter
|
||||
|
||||
state = {
|
||||
name = show
|
||||
next = a
|
||||
delay = 0.3
|
||||
|
||||
using = Animation_FadeIn_Standard
|
||||
|
||||
animation = {
|
||||
alpha = 1
|
||||
bezier = { 0.7 0 0.7 1 }
|
||||
}
|
||||
}
|
||||
|
||||
state = {
|
||||
name = a
|
||||
duration = 0.25
|
||||
bezier = { 0.3 0 0.7 1 }
|
||||
|
||||
animation = {
|
||||
size = { 675 530 } ############ SIZES NEED TO MATCH
|
||||
bezier = { 0.8 0.3 0 1 }
|
||||
}
|
||||
|
||||
animation = {
|
||||
alpha = 1
|
||||
bezier = { 0.7 0 0.7 1 }
|
||||
}
|
||||
}
|
||||
|
||||
state = {
|
||||
name = hide
|
||||
using = Animation_FadeOut_Quick
|
||||
size = { 585 -1 }
|
||||
}
|
||||
|
||||
widget = {
|
||||
size = { 700 40 }
|
||||
widgetanchor = center
|
||||
parentanchor = top|hcenter
|
||||
position = { 0 8 }
|
||||
|
||||
background = {
|
||||
texture = "gfx/interface/skinned/window_letter/letter_event_edge_top.dds"
|
||||
spriteType = Corneredstretched
|
||||
spriteborder = { 35 5 }
|
||||
}
|
||||
}
|
||||
|
||||
widget = {
|
||||
size = { 700 40 }
|
||||
widgetanchor = center
|
||||
parentanchor = bottom|hcenter
|
||||
position = { 0 -8 }
|
||||
|
||||
background = {
|
||||
texture = "gfx/interface/skinned/window_letter/letter_event_edge_bottom.dds"
|
||||
spriteType = Corneredstretched
|
||||
spriteborder = { 35 5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
### CONTENT ###
|
||||
widget = {
|
||||
name = "letter_content"
|
||||
widgetanchor = center
|
||||
parentanchor = center
|
||||
size = { 675 530 } ############ SIZES NEED TO MATCH
|
||||
alpha = 0
|
||||
|
||||
state = {
|
||||
name = show
|
||||
delay = 0.8
|
||||
|
||||
using = Animation_FadeIn_Standard
|
||||
|
||||
animation = {
|
||||
size = { 675 530 } ############ SIZES NEED TO MATCH
|
||||
|
||||
bezier = { 0.8 0.3 0 1 }
|
||||
}
|
||||
|
||||
animation = {
|
||||
alpha = 1
|
||||
bezier = { 0.7 0 0.7 1 }
|
||||
}
|
||||
}
|
||||
|
||||
state = {
|
||||
name = hide
|
||||
using = Animation_FadeOut_Quick
|
||||
duration = 0.08
|
||||
}
|
||||
|
||||
flowcontainer = {
|
||||
name = "debug_stuff"
|
||||
visible = "[InDebugMode]"
|
||||
parentanchor = top|hcenter
|
||||
position = { 25 20 }
|
||||
ignoreinvisible = yes
|
||||
|
||||
using = Event_Window_Debug_Info
|
||||
}
|
||||
|
||||
icon = {
|
||||
size = { 256 432 }
|
||||
position = { 0 24 }
|
||||
alpha = 0.8
|
||||
|
||||
texture = "gfx/interface/window_legend_chronicle/marginalia_portrait_gold_bg.dds"
|
||||
|
||||
modify_texture = {
|
||||
texture = "gfx/interface/component_masks/mask_portrait.dds"
|
||||
blend_mode = alphamultiply
|
||||
}
|
||||
}
|
||||
|
||||
widget = {
|
||||
size = { 328 548 }
|
||||
position = { 10 15 }
|
||||
alpha = 0.8
|
||||
scale = 0.8
|
||||
|
||||
background = {
|
||||
texture = "gfx/interface/skinned/window_letter/letter_event_pattern_big.dds"
|
||||
}
|
||||
}
|
||||
|
||||
widget = {
|
||||
parentanchor = bottom|right
|
||||
size = { 264 264 }
|
||||
position = { -10 -20 }
|
||||
scale = 0.6
|
||||
alpha = 0.8
|
||||
|
||||
background = {
|
||||
texture = "gfx/interface/skinned/window_letter/letter_event_pattern_small.dds"
|
||||
}
|
||||
}
|
||||
|
||||
widget = {
|
||||
parentanchor = top|right
|
||||
size = { 264 264 }
|
||||
position = { -10 15 }
|
||||
scale = 0.6
|
||||
alpha = 0.8
|
||||
|
||||
background = {
|
||||
texture = "gfx/interface/skinned/window_letter/letter_event_pattern_small.dds"
|
||||
mirror = vertical
|
||||
}
|
||||
}
|
||||
|
||||
widget = {
|
||||
parentanchor = bottom|left
|
||||
size = { 264 264 }
|
||||
position = { 10 -20 }
|
||||
scale = 0.6
|
||||
alpha = 0.8
|
||||
|
||||
background = {
|
||||
texture = "gfx/interface/skinned/window_letter/letter_event_pattern_small.dds"
|
||||
mirror = horizontal
|
||||
}
|
||||
}
|
||||
|
||||
vbox = {
|
||||
margin = { 10 25 }
|
||||
margin_right = 0
|
||||
margin_bottom = 40
|
||||
|
||||
expand = {}
|
||||
|
||||
hbox = {
|
||||
name = "content"
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
vbox = {
|
||||
layoutpolicy_vertical = expanding
|
||||
minimumsize = { 180 0 }
|
||||
allow_outside = yes
|
||||
|
||||
widget = {
|
||||
size = { 180 300 }
|
||||
allow_outside = yes
|
||||
|
||||
portrait_body = {
|
||||
name = "portrait"
|
||||
parentanchor = center
|
||||
datacontext = "[EventWindowData.GetPortraitCharacter('sender')]"
|
||||
|
||||
blockoverride "portrait_button" {
|
||||
alwaystransparent = "[Not(EventWindowData.ShouldShowPortraitInfo('sender'))]"
|
||||
tooltip_visible = "[EventWindowData.ShouldShowPortraitInfo('sender')]"
|
||||
}
|
||||
|
||||
blockoverride "mask" {
|
||||
mask = "gfx/portraits/portrait_mask_event_letter.dds"
|
||||
}
|
||||
|
||||
blockoverride "prison" {}
|
||||
blockoverride "grayscale" {}
|
||||
blockoverride "status_icons" {}
|
||||
blockoverride "opinon_box" {}
|
||||
blockoverride "coa" {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
### text
|
||||
vbox = {
|
||||
name = "text"
|
||||
layoutpolicy_vertical = expanding
|
||||
|
||||
text_multi = {
|
||||
name = "opening"
|
||||
visible = "[EventWindowData.HasOpening]"
|
||||
layoutpolicy_horizontal = expanding
|
||||
maximumsize = { 430 -1 }
|
||||
autoresize = yes
|
||||
margin_top = 10
|
||||
margin_right = 20
|
||||
text = "[EventWindowData.GetOpening]"
|
||||
default_format = "#light_background"
|
||||
using = Font_Type_Flavor
|
||||
using = Font_Size_Big
|
||||
format_override = { high light_background }
|
||||
}
|
||||
|
||||
#### 1 option ####
|
||||
scrollarea = {
|
||||
visible = "[LessThanOrEqualTo_int32( GetDataModelSize(EventWindowData.GetOptions), '(int32)1')]"
|
||||
maximumsize = { -1 280 }
|
||||
minimumsize = { 430 0 }
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
autoresizescrollarea = yes
|
||||
scrollbarpolicy_horizontal = always_off
|
||||
|
||||
scrollbar_vertical = {
|
||||
using = Scrollbar_Vertical
|
||||
}
|
||||
|
||||
scrollwidget = {
|
||||
text_multi = {
|
||||
name = "description"
|
||||
maximumsize = { 430 -1 }
|
||||
autoresize = yes
|
||||
margin = { 0 10 }
|
||||
margin_right = 20
|
||||
alwaystransparent = yes
|
||||
text = "[EventWindowData.GetDescription]"
|
||||
default_format = "#light_background"
|
||||
using = Font_Size_Medium
|
||||
format_override = { high light_background }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#### 2 options ####
|
||||
scrollarea = {
|
||||
visible = "[EqualTo_int32( GetDataModelSize(EventWindowData.GetOptions), '(int32)2')]"
|
||||
maximumsize = { -1 240 }
|
||||
minimumsize = { 430 0 }
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
autoresizescrollarea = yes
|
||||
scrollbarpolicy_horizontal = always_off
|
||||
|
||||
scrollbar_vertical = {
|
||||
using = Scrollbar_Vertical
|
||||
}
|
||||
|
||||
scrollwidget = {
|
||||
text_multi = {
|
||||
name = "description"
|
||||
maximumsize = { 430 -1 }
|
||||
autoresize = yes
|
||||
margin = { 0 10 }
|
||||
margin_right = 20
|
||||
alwaystransparent = yes
|
||||
text = "[EventWindowData.GetDescription]"
|
||||
default_format = "#light_background"
|
||||
using = Font_Size_Medium
|
||||
format_override = { high light_background }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#### 3 options ####
|
||||
scrollarea = {
|
||||
visible = "[EqualTo_int32( GetDataModelSize(EventWindowData.GetOptions), '(int32)3')]"
|
||||
maximumsize = { -1 190 }
|
||||
minimumsize = { 430 0 }
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
autoresizescrollarea = yes
|
||||
scrollbarpolicy_horizontal = always_off
|
||||
|
||||
scrollbar_vertical = {
|
||||
using = Scrollbar_Vertical
|
||||
}
|
||||
|
||||
scrollwidget = {
|
||||
text_multi = {
|
||||
name = "description"
|
||||
maximumsize = { 430 -1 }
|
||||
autoresize = yes
|
||||
margin = { 0 10 }
|
||||
margin_right = 20
|
||||
alwaystransparent = yes
|
||||
text = "[EventWindowData.GetDescription]"
|
||||
default_format = "#light_background"
|
||||
using = Font_Size_Medium
|
||||
format_override = { high light_background }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#### 4 options ####
|
||||
scrollarea = {
|
||||
visible = "[GreaterThanOrEqualTo_int32( GetDataModelSize(EventWindowData.GetOptions), '(int32)4')]"
|
||||
minimumsize = { 430 0 }
|
||||
layoutpolicy_horizontal = expanding
|
||||
layoutpolicy_vertical = expanding
|
||||
scrollbarpolicy_horizontal = always_off
|
||||
|
||||
scrollbar_vertical = {
|
||||
using = Scrollbar_Vertical
|
||||
}
|
||||
|
||||
scrollwidget = {
|
||||
text_multi = {
|
||||
name = "description"
|
||||
maximumsize = { 430 -1 }
|
||||
autoresize = yes
|
||||
margin = { 0 10 }
|
||||
margin_right = 20
|
||||
alwaystransparent = yes
|
||||
text = "[EventWindowData.GetDescription]"
|
||||
default_format = "#light_background"
|
||||
using = Font_Size_Medium
|
||||
format_override = { high light_background }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
hbox = {
|
||||
name = "signed_text"
|
||||
layoutpolicy_horizontal = expanding
|
||||
spacing = 10
|
||||
margin_right = 15
|
||||
|
||||
expand = {}
|
||||
|
||||
vbox = {
|
||||
text_single = {
|
||||
name = "signed_text"
|
||||
align = right
|
||||
layoutpolicy_horizontal = expanding
|
||||
|
||||
text = "[EventWindowData.GetSigned]"
|
||||
default_format = "#light_background"
|
||||
using = Font_Size_Medium
|
||||
}
|
||||
|
||||
text_multi = {
|
||||
name = "signature"
|
||||
align = left
|
||||
|
||||
text = "[EventWindowData.GetSignature]"
|
||||
default_format = "#light_background"
|
||||
using = Font_Type_Flavor
|
||||
using = Font_Size_Medium
|
||||
format_override = { high light_background }
|
||||
autoresize = yes
|
||||
max_width = 350
|
||||
fontsize_min = 14
|
||||
using = Text_Light_Background_Overrides
|
||||
}
|
||||
}
|
||||
|
||||
coa_character_sigil = {
|
||||
datacontext = "[EventWindowData.GetPortraitCharacter('sender')]"
|
||||
visible = "[And( EventWindowData.ShouldShowPortraitInfo('sender'), EventWindowData.GetPortraitCharacter('sender').GetDynasty.IsValid )]"
|
||||
|
||||
blockoverride "size"
|
||||
{
|
||||
size = { 80 80 }
|
||||
}
|
||||
blockoverride "sigil_size"
|
||||
{
|
||||
size = { 56 56 }
|
||||
}
|
||||
}
|
||||
|
||||
spacer = {
|
||||
visible = "[And( EventWindowData.ShouldShowPortraitInfo('sender'), Not( EventWindowData.GetPortraitCharacter('sender').GetDynasty.IsValid ) )]"
|
||||
size = { 80 80 }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
expand = {}
|
||||
|
||||
### Options
|
||||
fixedgridbox = {
|
||||
name = "option_grid"
|
||||
addcolumn = 654
|
||||
addrow = 46
|
||||
datamodel = "[EventWindowData.GetOptions]"
|
||||
|
||||
item = {
|
||||
button_event_letter = {
|
||||
name = "event_option_button"
|
||||
parentanchor = hcenter
|
||||
size = { 592 42 }
|
||||
|
||||
tooltip = "[EventOption.GetTooltip]"
|
||||
tooltip_visible = "[Not( StringIsEmpty( EventOption.GetTooltip ) )]"
|
||||
|
||||
onclick = "[EventOption.Select]"
|
||||
onmousehierarchyenter = "[EventOption.OnEnter]"
|
||||
onmousehierarchyleave = "[EventOption.OnLeave]"
|
||||
enabled = "[EventOption.IsValid]"
|
||||
|
||||
tooltipwidget = {
|
||||
using = DefaultTooltipWidget
|
||||
}
|
||||
using = tooltip_es
|
||||
|
||||
animation_glow_event = {
|
||||
name = "special_option"
|
||||
visible = "[And(EventOption.HasFlag('special'), Not(EventOption.HasFlag('dangerous')))]"
|
||||
}
|
||||
|
||||
animation_glow_event = {
|
||||
name = "dangerous_option"
|
||||
visible = "[EventOption.HasFlag('dangerous')]"
|
||||
using = Color_Red
|
||||
}
|
||||
|
||||
### BUTTON CONTENT ####
|
||||
widget = {
|
||||
size = { 102 34 }
|
||||
parentanchor = left|vcenter
|
||||
|
||||
hbox = {
|
||||
fixedgridbox = {
|
||||
name = "reason_icons"
|
||||
datamodel = "[EventOption.Reasons]"
|
||||
addcolumn = 34
|
||||
addrow = 34
|
||||
flipdirection = yes
|
||||
|
||||
item = {
|
||||
container = {
|
||||
icon = {
|
||||
name = "trait_icon"
|
||||
datacontext = "[ReasonItem.GetTrait]"
|
||||
|
||||
visible = "[ReasonItem.IsTrait]"
|
||||
alwaystransparent = yes
|
||||
|
||||
texture = "[Trait.GetIcon(GetPlayer)]"
|
||||
size = { 34 34 }
|
||||
|
||||
tooltip = "EVENT_WINDOW_OPTION_AVAILABLE_TRAIT"
|
||||
using = tooltip_nw
|
||||
}
|
||||
|
||||
icon = {
|
||||
name = "skill_icon"
|
||||
datacontext = "[ReasonItem.GetSkillItem]"
|
||||
|
||||
visible = "[ReasonItem.IsSkill]"
|
||||
alwaystransparent = yes
|
||||
|
||||
texture = "gfx/interface/icons/icon_skills.dds"
|
||||
size = { 34 34 }
|
||||
framesize = { 60 60 }
|
||||
frame = "[SkillItem.GetFrame]"
|
||||
|
||||
tooltip = "EVENT_WINDOW_OPTION_AVAILABLE_SKILL"
|
||||
using = tooltip_ws
|
||||
}
|
||||
|
||||
icon = {
|
||||
name = "dread_icon"
|
||||
visible = "[ReasonItem.IsFlag( 'dread' )]"
|
||||
size = { 34 34 }
|
||||
texture = "gfx/interface/icons/icon_dread.dds"
|
||||
tooltip = "EVENT_WINDOW_OPTION_AVAILABLE_DREAD"
|
||||
}
|
||||
|
||||
icon = {
|
||||
name = "activity_intent_icon"
|
||||
visible = "[ReasonItem.IsFlag( 'activity_intent' )]"
|
||||
size = { 34 34 }
|
||||
texture = "[GetPlayer.GetInvolvedActivity.GetType.GetIcon]"
|
||||
tooltip = "EVENT_WINDOW_OPTION_AVAILABLE_ACTIVITY_INTENT"
|
||||
}
|
||||
|
||||
icon = {
|
||||
name = "prestige_icon"
|
||||
visible = "[ReasonItem.IsFlag( 'prestige_level' )]"
|
||||
size = { 34 34 }
|
||||
texture = "[GetPlayer.GetPrestigeLevelTexture]"
|
||||
tooltip = "EVENT_WINDOW_OPTION_AVAILABLE_PRESTIGE_LEVEL"
|
||||
}
|
||||
|
||||
icon = {
|
||||
name = "piety_icon"
|
||||
visible = "[ReasonItem.IsFlag( 'piety_level' )]"
|
||||
size = { 34 34 }
|
||||
texture = "[GetPlayer.GetPietyLevelTexture]"
|
||||
tooltip = "EVENT_WINDOW_OPTION_AVAILABLE_PIETY_LEVEL"
|
||||
}
|
||||
|
||||
icon = {
|
||||
name = "faith_icon"
|
||||
visible = "[ReasonItem.IsFlag( 'faith' )]"
|
||||
size = { 34 34 }
|
||||
texture = "[GetPlayer.GetFaith.GetIcon]"
|
||||
tooltip = "EVENT_WINDOW_OPTION_AVAILABLE_FAITH"
|
||||
}
|
||||
|
||||
icon = {
|
||||
name = "estate_building_wine_cellar_icon"
|
||||
visible = "[ReasonItem.IsFlag( 'estate_building_wine_cellar' )]"
|
||||
size = { 34 34 }
|
||||
texture = "gfx/interface/icons/map_icons/map_icon_estate.dds"
|
||||
tooltip = "EVENT_WINDOW_OPTION_AVAILABLE_ESTATE_BUILDING_WINE_CELLAR"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
warning_icon = {
|
||||
name = "timeout_icon"
|
||||
size = { 34 34 }
|
||||
visible = "[And( EventOption.IsTimeoutOption, And( GameHasMultiplePlayers, LessThanOrEqualTo_int32( EventWindowData.GetDaysRemaining, '(int32)30' ) ) )]"
|
||||
tooltip = EVENT_WINDOW_DAYS_REMAINING
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
hbox = {
|
||||
|
||||
text_single = {
|
||||
text = "[EventOption.GetText]"
|
||||
|
||||
default_format = "#light_background"
|
||||
using = Font_Size_Medium
|
||||
align = center
|
||||
layoutpolicy_horizontal = expanding
|
||||
max_width = 420
|
||||
fontsize_min = 12
|
||||
using = Text_Light_Background_Overrides
|
||||
}
|
||||
}
|
||||
|
||||
widget = {
|
||||
size = { 102 34 }
|
||||
parentanchor = right|vcenter
|
||||
|
||||
hbox = {
|
||||
name = "effects_grid"
|
||||
datamodel = "[EventOption.Effects]"
|
||||
|
||||
expand = {}
|
||||
|
||||
item = {
|
||||
container = {
|
||||
container = {
|
||||
alwaystransparent = yes
|
||||
visible = "[OptionEffectItem.IsTrait]"
|
||||
|
||||
highlight_icon = {
|
||||
datacontext = "[OptionEffectItem.GetTrait]"
|
||||
name = "trait_icon"
|
||||
size = { 34 34 }
|
||||
texture = "[Trait.GetIcon(GetPlayer)]"
|
||||
}
|
||||
|
||||
highlight_icon = {
|
||||
visible = "[OptionEffectItem.IsGain]"
|
||||
texture = "gfx/interface/icons/symbols/icon_plus_small.dds"
|
||||
name = "gain"
|
||||
size = { 20 20 }
|
||||
}
|
||||
|
||||
highlight_icon = {
|
||||
visible = "[OptionEffectItem.IsLoss]"
|
||||
texture = "gfx/interface/icons/symbols/icon_minus_small.dds"
|
||||
name = "loss"
|
||||
size = { 20 20 }
|
||||
}
|
||||
}
|
||||
|
||||
container = {
|
||||
alwaystransparent = yes
|
||||
visible = "[OptionEffectItem.IsStress]"
|
||||
|
||||
highlight_icon = {
|
||||
visible = "[And(OptionEffectItem.IsGain,Not(OptionEffectItem.IsCritical))]"
|
||||
texture = "gfx/interface/icons/stress/icon_stress_gain.dds"
|
||||
name = "stress_gain"
|
||||
size = { 34 34 }
|
||||
}
|
||||
|
||||
highlight_icon = {
|
||||
visible = "[OptionEffectItem.IsLoss]"
|
||||
texture = "gfx/interface/icons/stress/icon_stress_loss.dds"
|
||||
name = "stress_loss"
|
||||
size = { 34 34 }
|
||||
}
|
||||
|
||||
highlight_icon = {
|
||||
visible = "[OptionEffectItem.IsCritical]"
|
||||
texture = "gfx/interface/icons/stress/icon_stress_gain_critical.dds"
|
||||
name = "stress_critical"
|
||||
size = { 34 34 }
|
||||
}
|
||||
}
|
||||
|
||||
highlight_icon = {
|
||||
name = "death"
|
||||
visible = "[OptionEffectItem.IsDeath]"
|
||||
size = { 34 34 }
|
||||
texture = "gfx/interface/icons/icon_dead.dds"
|
||||
}
|
||||
|
||||
highlight_icon = {
|
||||
name = "scheme"
|
||||
visible = "[OptionEffectItem.IsScheme]"
|
||||
size = { 34 34 }
|
||||
texture = "gfx/interface/icons/icon_scheme.dds"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
23
N3OW/gui/event_windows/scheme_failed_event.gui
Normal file
23
N3OW/gui/event_windows/scheme_failed_event.gui
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
scheme_conclusion_window = {
|
||||
name = "scheme_failed_event"
|
||||
|
||||
blockoverride "result_header" {
|
||||
# Header Success
|
||||
icon = {
|
||||
parentanchor = center
|
||||
size = { 100% 100% }
|
||||
texture = "gfx/interface/window_scheme/scheme_failure_header.dds"
|
||||
}
|
||||
|
||||
text_single = {
|
||||
parentanchor = left|vcenter
|
||||
position = { 27 1 }
|
||||
text = "SCHEME_FAILED_HEADER"
|
||||
align = nobaseline
|
||||
default_format = "#high"
|
||||
using = Font_Type_Flavor
|
||||
using = Font_Size_Big
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
1108
N3OW/gui/event_windows/scheme_preparations_event.gui
Normal file
1108
N3OW/gui/event_windows/scheme_preparations_event.gui
Normal file
File diff suppressed because it is too large
Load diff
23
N3OW/gui/event_windows/scheme_successful_event.gui
Normal file
23
N3OW/gui/event_windows/scheme_successful_event.gui
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
scheme_conclusion_window = {
|
||||
name = "scheme_successful_event"
|
||||
|
||||
blockoverride "result_header" {
|
||||
# Header Success
|
||||
icon = {
|
||||
parentanchor = center
|
||||
size = { 100% 100% }
|
||||
texture = "gfx/interface/window_scheme/scheme_success_header.dds"
|
||||
}
|
||||
|
||||
text_single = {
|
||||
parentanchor = left|vcenter
|
||||
position = { 27 1 }
|
||||
text = "SCHEME_SUCCESSFUL_HEADER"
|
||||
align = nobaseline
|
||||
default_format = "#high"
|
||||
using = Font_Type_Flavor
|
||||
using = Font_Size_Big
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
scheme_conclusion_window = {
|
||||
name = "scheme_successful_event_no_text"
|
||||
}
|
||||
6
N3OW/gui/event_windows/scheme_target_event.gui
Normal file
6
N3OW/gui/event_windows/scheme_target_event.gui
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
scheme_conclusion_window = {
|
||||
name = "scheme_target_event"
|
||||
|
||||
blockoverride "result_header" {
|
||||
}
|
||||
}
|
||||
35
N3OW/gui/event_windows/visit_settlement_window.gui
Normal file
35
N3OW/gui/event_windows/visit_settlement_window.gui
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
big_event_window = {
|
||||
name = "visit_settlement_window"
|
||||
|
||||
blockoverride "transition" {
|
||||
|
||||
state = {
|
||||
name = show
|
||||
trigger_on_create = yes
|
||||
using = Animation_FadeIn_Standard
|
||||
duration = 0
|
||||
|
||||
on_start = "[GetVariableSystem.Clear( 'event_window_mouse_leave')]"
|
||||
on_start = "[GetVariableSystem.Clear( 'hide_characters')]"
|
||||
}
|
||||
|
||||
state = {
|
||||
name = _hide
|
||||
using = Animation_FadeOut_Standard
|
||||
duration = 0
|
||||
}
|
||||
}
|
||||
|
||||
blockoverride "transition_text" {
|
||||
}
|
||||
|
||||
blockoverride "transition_left_character" {
|
||||
}
|
||||
|
||||
blockoverride "transition_center_character" {
|
||||
}
|
||||
|
||||
blockoverride "transition_right_character" {
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue