N3OW/N3OW/gui/hud_bottom.gui
2025-10-30 11:25:16 +00:00

665 lines
13 KiB
Text

widget = {
name = "hud_bottom"
size = { 100% 100% }
visible = "[IsDefaultGUIMode]"
layer = bottom_bottom
# Widgets for blocking map tooltips
widget = {
parentanchor = bottom|right
size = { 220 225 }
filter_mouse = all
alwaystransparent = no
}
widget = {
parentanchor = bottom|right
size = { 630 80 }
filter_mouse = all
alwaystransparent = no
}
widget = {
parentanchor = top|right
size = { 650 51 }
filter_mouse = all
alwaystransparent = no
}
widget = {
parentanchor = top|right
size = { 55 450 }
filter_mouse = all
alwaystransparent = no
}
widget = {
parentanchor = bottom|left
size = { 435 80 }
filter_mouse = all
alwaystransparent = no
}
######################################################
###################### PAUSE TEXT ####################
######################################################
container = {
visible = "[Not(IsManuallyPaused)]"
visible_at_creation = no
parentanchor = top|hcenter
widgetanchor = center
position = { 0 140 }
scale = 1
state = {
name = _hide
using = Animation_FadeOut_Quick
}
state = {
name = _show
next = "fade_out"
using = Animation_Curve_Default
alpha = 0.6
# delay = 1
duration = 0.2
scale = 1.2
}
state = {
name = "fade_out"
using = Animation_Curve_Default
duration = 0.3
alpha = 0
scale = 0
delay = 0.2
}
text_single = {
visible = "[EqualTo_int32(GetCurrentGameSpeed, '(int32)1')]"
parentanchor = center
text = "CURRENT_SPEED_TEXT_1"
fontsize = 25
default_format = "#medium;glow_color:{0.1,0.1,0.1,1.0}"
align = nobaseline
using = Font_Type_Flavor
background = {
using = Background_Title
margin = { 30 0 }
alpha = 1
}
}
text_single = {
visible = "[EqualTo_int32(GetCurrentGameSpeed, '(int32)2')]"
parentanchor = center
text = "CURRENT_SPEED_TEXT_2"
fontsize = 25
default_format = "#medium;glow_color:{0.1,0.1,0.1,1.0}"
align = nobaseline
using = Font_Type_Flavor
background = {
using = Background_Title
margin = { 30 0 }
alpha = 1
}
}
text_single = {
visible = "[EqualTo_int32(GetCurrentGameSpeed, '(int32)3')]"
parentanchor = center
text = "CURRENT_SPEED_TEXT_3"
fontsize = 25
default_format = "#medium;glow_color:{0.1,0.1,0.1,1.0}"
align = nobaseline
using = Font_Type_Flavor
background = {
using = Background_Title
margin = { 30 0 }
alpha = 1
}
}
text_single = {
visible = "[EqualTo_int32(GetCurrentGameSpeed, '(int32)4')]"
parentanchor = center
text = "CURRENT_SPEED_TEXT_4"
fontsize = 25
default_format = "#medium;glow_color:{0.1,0.1,0.1,1.0}"
align = nobaseline
using = Font_Type_Flavor
background = {
using = Background_Title
margin = { 30 0 }
alpha = 1
}
}
text_single = {
visible = "[EqualTo_int32(GetCurrentGameSpeed, '(int32)5')]"
parentanchor = center
text = "CURRENT_SPEED_TEXT_5"
fontsize = 25
default_format = "#medium;glow_color:{0.1,0.1,0.1,1.0}"
align = nobaseline
using = Font_Type_Flavor
background = {
using = Background_Title
margin = { 30 0 }
alpha = 1
}
}
}
text_single = {
name = "paused_by_player_text_used_by_tutorial"
visible = "[And( Not(IsGameViewOpen('barbershop')), And(And(IsManuallyPaused, Not(IsPauseMenuShown)), Not(GameHasMultiplePlayers)))]"
parentanchor = top|hcenter
widgetanchor = center
position = { 0 135 }
margin = { 50 0 }
margin_bottom = 10
fontsize = 40
text = "PAUSED_BY_PLAYER"
using = Font_Type_Flavor
default_format = "#high;glow_color:{0.1,0.1,0.1,1.0}"
snap_to_pixels = no
fonttintcolor = { 1.0 1.0 1.0 0.5 }
state = {
name = _hide
using = Animation_FadeOut_Standard
}
state = {
name = _show
using = Animation_FadeIn_Standard
}
background = {
using = Background_Title
margin = { 0 -5 }
}
}
text_single = {
visible = "[HasOpenSuccession( GetPlayer )]"
parentanchor = top|hcenter
widgetanchor = center
position = { 0 87 }
margin = { 20 0 }
margin_bottom = 7
fontsize = 18
text = "HAS_OPEN_SUCCESSION_SUB_TEXT"
default_format = "#high;glow_color:{0.1,0.1,0.1,1.0}"
snap_to_pixels = no
fonttintcolor = { 1.0 1.0 1.0 0.5 }
state = {
name = _hide
using = Animation_FadeOut_Standard
}
state = {
name = _show
using = Animation_FadeIn_Standard
}
background = {
using = Background_Area_Dark
margin = { 0 0 }
}
}
flowcontainer = {
name = "multiplayer_paused_by_player"
visible = "[And(IsManuallyPaused, GameHasMultiplePlayers)]"
parentanchor = top|hcenter
position = { 0 90 }
ignoreinvisible = yes
direction = vertical
state = {
name = _show
using = Animation_FadeIn_Quick
}
state = {
name = _hide
using = Animation_FadeOut_Standard
}
text_single = {
fontsize = 40
text = "PAUSED_BY_PLAYER"
using = Font_Type_Flavor
parentanchor = hcenter
margin = { 50 0 }
margin_bottom = 10
background = {
using = Background_Title
}
}
text_label_center = {
text = "[SelectLocalization( StringIsEmpty( GetPausedBy ), '', 'PAUSED_BY_PLAYER_MP' )]"
parentanchor = hcenter
}
text_label_center = {
visible = "[And( IsPausedByMe, Not( CanAnyoneUnpause ) )]"
text = "PAUSED_BY_UNPAUSE_ONLY_ME"
parentanchor = hcenter
}
text_label_center = {
visible = "[And( Not( IsPausedByMe ), Not( CanAnyoneUnpause ) )]"
text = "PAUSED_BY_UNPAUSE_ONLY_PAUSED_BY"
parentanchor = hcenter
}
text_label_center = {
visible = "[CanAnyoneUnpause]"
text = "PAUSED_BY_UNPAUSE_ANYONE"
parentanchor = hcenter
}
}
######################################################
###################### MAPMODE TEXT ##################
######################################################
widget = {
visible = "[And( Not(IsGameViewOpen('barbershop')), And( Not( IsMapMode( 'realms' ) ), And( Not( IsGameViewOpen( 'struggle' ) ), Not( IsAnySituationViewOpen ) ) ) )]"
parentanchor = bottom|hcenter
size = { 100% 100 }
allow_outside = yes
state = {
name = _show
using = Animation_FadeIn_Quick
}
state = {
name = _hide
using = Animation_FadeOut_Standard
}
background = {
mirror = vertical
color = { 0.2 0.2 0.2 1 }
texture = "gfx/interface/component_masks/mask_fade_vertical.dds"
}
background = {
spriteType = Corneredtiled
color = { 0.6 0.7 0.65 0.2 }
texture ="gfx/interface/skinned/mask_pattern.dds"
texture_density = 3
modify_texture = {
mirror = vertical
blend_mode = alphamultiply
texture = "gfx/interface/component_masks/mask_fade_vertical.dds"
}
}
button_tertiary = {
name = "back_to_realms"
parentanchor = top|hcenter
min_width = 250
position = { 0 -10 }
onclick = "[SetMapMode('realms')]"
down = "[IsMapMode('realms')]"
shortcut = "close_window"
tooltip = "BACK_TO_REALMS_TT"
using = tooltip_se
alpha = 0.8
state = {
name = _mouse_hierarchy_enter
alpha = 1
duration = 0.1
using = Animation_Curve_Default
}
state = {
name = _mouse_hierarchy_leave
alpha = 0.8
duration = 0.25
using = Animation_Curve_Default
}
hbox = {
margin = { 10 0 }
set_parent_size_to_minimum = yes
text_single = {
alwaystransparent = yes
text = "BACK_TO_REALMS"
default_format = "#clickable"
align = nobaseline
margin = { 5 0 }
}
widget = {
size = { 40 35 }
button_icon = {
parentanchor = center
alwaystransparent = yes
size = { 50 50 }
texture = "gfx/interface/icons/flat_icons/map_modes/realms.dds"
}
}
}
} # button_tertiary "back_to_realms"
button_tertiary = {
name = "explore_plagues"
parentanchor = top|hcenter
min_width = 250
position = { 0 -50 }
onclick = "[ToggleGameView( 'epidemics' )]"
down = "[IsMapMode('realms')]"
visible = "[IsMapMode('epidemics')]"
shortcut = "explore_plagues"
allow_outside = yes
tooltip = "EXPLORE_PLAGUES_TT"
using = tooltip_se
alpha = 0.8
state = {
name = _mouse_hierarchy_enter
alpha = 1
duration = 0.1
using = Animation_Curve_Default
}
state = {
name = _mouse_hierarchy_leave
alpha = 0.8
duration = 0.25
using = Animation_Curve_Default
}
hbox = {
margin = { 10 0 }
set_parent_size_to_minimum = yes
text_single = {
alwaystransparent = yes
text = "EXPLORE_PLAGUES"
default_format = "#clickable"
align = nobaseline
margin = { 5 0 }
}
widget = {
size = { 40 35 }
button_icon = {
parentanchor = center
alwaystransparent = yes
size = { 40 40 }
texture = "gfx/interface/icons/flat_icons/map_modes/epidemics.dds"
}
}
}
}
button_tertiary = {
name = "explore_legends"
parentanchor = top|hcenter
min_width = 250
position = { 0 -50 }
onclick = "[ToggleGameView( 'legends' )]"
down = "[IsMapMode('realms')]"
visible = "[IsMapMode('legends')]"
shortcut = "explore_legends"
allow_outside = yes
tooltip = "EXPLORE_LEGENDS_TT"
using = tooltip_se
alpha = 0.8
state = {
name = _mouse_hierarchy_enter
alpha = 1
duration = 0.1
using = Animation_Curve_Default
}
state = {
name = _mouse_hierarchy_leave
alpha = 0.8
duration = 0.25
using = Animation_Curve_Default
}
hbox = {
margin = { 10 0 }
set_parent_size_to_minimum = yes
text_single = {
alwaystransparent = yes
text = "EXPLORE_LEGENDS"
default_format = "#clickable"
align = nobaseline
margin = { 5 0 }
}
widget = {
size = { 40 35 }
button_icon = {
parentanchor = center
alwaystransparent = yes
size = { 40 40 }
texture = "gfx/interface/icons/flat_icons/map_modes/legends.dds"
}
}
}
}
flowcontainer = {
name = "map_mode_header"
parentanchor = center
position = { 0 10 }
direction = vertical
ignoreinvisible = yes
margin = { 15 10 }
margin_top = 5
text_label_center = {
visible = "[IsMapMode('dejure_counties')]"
text = "DE_JURE_COUNTIES_HEADER"
fontsize = 25
margin = { 30 0 }
align = nobaseline
}
text_label_center = {
visible = "[IsMapMode('dejure_duchies')]"
text = "DE_JURE_DUCHIES_HEADER"
fontsize = 25
margin = { 30 0 }
align = nobaseline
}
text_label_center = {
visible = "[IsMapMode('dejure_kingdoms')]"
text = "DE_JURE_KINGDOMS_HEADER"
fontsize = 25
margin = { 30 0 }
align = nobaseline
}
text_label_center = {
visible = "[IsMapMode('dejure_empires')]"
text = "DE_JURE_EMPIRES_HEADER"
fontsize = 25
margin = { 30 0 }
align = nobaseline
}
text_label_center = {
visible = "[IsMapMode('religions')]"
text = "FAITHS_HEADER"
fontsize = 25
margin = { 30 0 }
align = nobaseline
}
text_label_center = {
visible = "[IsMapMode('cultures')]"
text = "CULTURES_HEADER"
fontsize = 25
margin = { 30 0 }
align = nobaseline
}
text_label_center = {
visible = "[IsMapMode('houses')]"
text = "HOUSES_HEADER"
fontsize = 25
margin = { 30 0 }
align = nobaseline
}
text_label_center = {
visible = "[IsMapMode('government')]"
text = "GOVERNMENTS_HEADER"
fontsize = 25
margin = { 30 0 }
align = nobaseline
}
text_label_center = {
visible = "[IsMapMode('players')]"
text = "PLAYERS_HEADER"
fontsize = 25
margin = { 30 0 }
align = nobaseline
}
text_label_center = {
visible = "[IsMapMode('county_development')]"
text = "DEVELOPMENT_HEADER"
fontsize = 25
margin = { 30 0 }
align = nobaseline
}
text_label_center = {
visible = "[IsMapMode('simple_terrain')]"
text = "SIMPLE_TERRAIN_HEADER"
fontsize = 25
margin = { 30 0 }
align = nobaseline
}
text_label_center = {
visible = "[IsMapMode('court_languages')]"
text = "COURT_LANGUAGES_HEADER"
fontsize = 25
margin = { 30 0 }
align = nobaseline
}
text_label_center = {
visible = "[IsMapMode('economy_buildings')]"
text = "ECONOMY_BUILDINGS_HEADER"
fontsize = 25
margin = { 30 0 }
align = nobaseline
}
text_label_center = {
visible = "[IsMapMode('county_control')]"
text = "COUNTY_CONTROL_HEADER"
fontsize = 25
margin = { 30 0 }
align = nobaseline
}
text_label_center = {
visible = "[IsMapMode('landless_rulers')]"
text = "LANDLESS_RULERS_HEADER"
fontsize = 25
margin = { 30 0 }
align = nobaseline
}
text_label_center = {
visible = "[IsMapMode('silk_road')]"
text = "SILK_ROAD_HEADER"
fontsize = 25
margin = { 30 0 }
align = nobaseline
}
} # flowcontainer "map_mode_header"
}
## PAUSE BORDER
icon = {
name = "pause_border_strong"
visible = "[IsManuallyPaused]"
size = { 100% 100% }
texture = "gfx/interface/component_masks/mask_vignette.dds"
color = { 0.15 0.15 0.15 1 }
spriteType = Corneredtiled
spriteborder = { 40 40 }
state = {
name = _show
using = Animation_FadeIn_Quick
}
state = {
name = _hide
using = Animation_FadeOut_Standard
}
}
icon = {
name = "pause_border_weak"
visible = "[And(IsPausedByEvent, Not(IsManuallyPaused))]"
size = { 100% 100% }
alpha = 0.5
texture = "gfx/interface/component_masks/mask_vignette.dds"
color = { 0.15 0.15 0.15 1 }
spriteType = Corneredtiled
spriteborder = { 40 40 }
state = {
name = _show
using = Animation_FadeIn_Quick
}
state = {
name = _hide
using = Animation_FadeOut_Standard
}
}
}