@@ -10,6 +10,7 @@ window = {
1010 datacontext = "[EventWindow.AccessEventWindowData]"
1111
1212 using = Event_Window_Debug_OptionTooltips
13+ using = Event_Window_Debug_EventTools
1314
1415 state = {
1516 name = show
@@ -61,7 +62,6 @@ window = {
6162 }
6263
6364 state = {
64- #TODO[WL]: TIT-53953 Add a trigger
6565 name = background_shake_loop
6666 next = background_shake_loop_1
6767 duration = 0.0
@@ -105,7 +105,7 @@ window = {
105105 widget = {
106106 layoutstretchfactor_horizontal = 55
107107 parentanchor = bottom|hcenter
108- position = { -30 -15 }
108+ position = { -40 -15 }
109109 size = { 100% 100% }
110110 scissor = yes
111111
@@ -119,7 +119,6 @@ window = {
119119 }
120120
121121 state = {
122- # TODO[WL]: TIT-53953 Add a trigger
123122 name = character_shake_loop
124123 next = character_shake_loop_1
125124 duration = 0.0
@@ -150,16 +149,18 @@ window = {
150149 ### RIGHT CHARACTER ###
151150 widget = {
152151 parentanchor = bottom|right
153- position = { 10 0 }
152+ position = { 20 0 }
154153 size = { 330 558 }
155154
156155 allow_outside = no
156+
157157 portrait_event = {
158158 name = "portrait_right"
159159 datacontext = "[EventWindowData.GetPortraitCharacter('right_portrait')]"
160160 visible = "[EventWindowData.HasPortraitCharacter('right_portrait')]"
161+ visible_at_creation = no
161162 parentanchor = bottom|hcenter
162- position = { -80 -1 }
163+ position = { -80 -2 }
163164 size = { 500 558 }
164165
165166 blockoverride "portrait_button"
@@ -177,6 +178,7 @@ window = {
177178 blockoverride "highlight_visible"
178179 {
179180 visible = "[Or(Character.IsHovered, EventWindowData.IsCharacterHighlighted( EventWindowData.GetPortraitCharacter('right_portrait') ))]"
181+ visible_at_creation = no
180182 position = { 80 0 }
181183 }
182184
@@ -207,7 +209,7 @@ window = {
207209 ## LEFT CHARACTER ###
208210 widget = {
209211 parentanchor = bottom|hcenter
210- position = { 90 -1 }
212+ position = { 100 - }
211213 size = { 330 558 }
212214
213215 allow_outside = no
@@ -216,25 +218,27 @@ window = {
216218 name = "portrait_left"
217219 datacontext = "[EventWindowData.GetPortraitCharacter('left_portrait')]"
218220 visible = "[And(EventWindowData.HasPortraitCharacter('left_portrait'), EventWindowData.HasPortraitCharacter('right_portrait'))]"
221+ visible_at_creation = no
219222 parentanchor = bottom|hcenter
220223 position = { 80 0 }
221224 size = { 500 558 }
222225
223226 blockoverride "portrait_button"
224227 {
225- size = { 700 558 }
228+ size = { 1000 558 }
226229 portrait_texture = "[EventWindowData.GetAnimatedEventPortraitTexture('left_portrait', 'camera_event_left', PdxGetWidgetScreenSize(PdxGuiWidget.Self))]"
227230 alwaystransparent = "[Not(EventWindowData.ShouldShowPortraitInfo('left_portrait'))]"
228231
229232 tooltip_visible = "[EventWindowData.ShouldShowPortraitInfo('left_portrait')]"
230233 tooltip_widgetanchor = center
231- tooltip_offset = { 50 600 }
234+ tooltip_offset = { 350 600 }
232235 using = tooltip_ws
233236 }
234237
235238 blockoverride "highlight_visible"
236239 {
237240 visible = "[Or(Character.IsHovered, EventWindowData.IsCharacterHighlighted( EventWindowData.GetPortraitCharacter('left_portrait') ))]"
241+ visible_at_creation = no
238242 position = { -40 0 }
239243 }
240244
@@ -267,14 +271,15 @@ window = {
267271 portrait_event = {
268272 name = "portrait_center"
269273 visible = "[And(EventWindowData.HasPortraitCharacter('left_portrait'), Not(EventWindowData.HasPortraitCharacter('right_portrait')))]"
274+ visible_at_creation = no
270275 datacontext = "[EventWindowData.GetPortraitCharacter('left_portrait')]"
271276 size = { 500 558 }
272277 position = { 200 -2 }
273278 parentanchor = bottom|hcenter
274279
275280 blockoverride "portrait_button"
276281 {
277- size = { 700 558 }
282+ size = { 1000 558 }
278283 portrait_texture = "[EventWindowData.GetAnimatedEventPortraitTexture('left_portrait', 'camera_event_center', PdxGetWidgetScreenSize(PdxGuiWidget.Self))]"
279284 alwaystransparent = "[Not(EventWindowData.ShouldShowPortraitInfo('left_portrait'))]"
280285 tooltip_visible = "[EventWindowData.ShouldShowPortraitInfo('left_portrait')]"
@@ -446,23 +451,32 @@ window = {
446451 }
447452 }
448453
449- vbox = {
450- name = "custom_widgets_container"
454+ # Has a parent hbox to hack around layout set in type so it can be placed differently here and in Activity events.
455+ hbox = {
451456 layoutpolicy_horizontal = expanding
452457
453- state = {
454- trigger_on_create = yes
455- name = appear_test
456- delay = 0.8
457- using = Animation_Curve_Default
458- alpha = 1
459- duration = 0.6
458+ hbox = {
459+ name = "custom_widgets_container"
460+ layoutpolicy_horizontal = expanding
461+ margin = { 15 0 }
462+
463+ state = {
464+ trigger_on_create = yes
465+ name = appear_test
466+ delay = 0.8
467+ using = Animation_Curve_Default
468+ alpha = 1
469+ duration = 0.6
470+ }
460471 }
472+
473+ expand = {}
461474 }
462475
463476 vbox = {
464477 name = "travel_event_info"
465478 visible = "[And(EventWindowData.ThemeKeyStartsWith('travel'), GetPlayer.GetTravelPlan.IsValid)]"
479+ visible_at_creation = no
466480 layoutpolicy_horizontal = expanding
467481 margin = { 20 0 }
468482
@@ -675,6 +689,7 @@ window = {
675689 event_portrait_status_icons_left = {
676690 datacontext = "[EventWindowData.GetPortraitCharacter('left_portrait')]"
677691 visible = "[EventWindowData.ShouldShowPortraitInfo('left_portrait')]"
692+ visible_at_creation = no
678693
679694 background = {
680695 texture = "gfx/interface/window_event/event_character_status_icons_bg.dds"
@@ -701,6 +716,7 @@ window = {
701716 flowcontainer = {
702717 datacontext = "[EventWindowData.GetArtifact('lower_left_portrait')]"
703718 visible = "[EventWindowData.HasArtifact('lower_left_portrait')]"
719+ visible_at_creation = no
704720 direction = vertical
705721 spacing =-5
706722
@@ -710,6 +726,7 @@ window = {
710726 widget = {
711727 datacontext = "[EventWindowData.GetPortraitCharacter('lower_left_portrait')]"
712728 visible = "[EventWindowData.HasPortraitCharacter('lower_left_portrait')]"
729+ visible_at_creation = no
713730 size = { 140 150 }
714731
715732 portrait_event_small = {
@@ -762,7 +779,7 @@ window = {
762779 parentanchor = bottom|hcenter
763780 position = { 20 -5 }
764781 alwaystransparent = yes
765- text = "[Character.GetShortUINameNoTooltip]"
782+ text = "[Character.GetShortUINameNoTooltip|U ]"
766783 visible = "[EventWindowData.ShouldShowPortraitInfo('lower_left_portrait')]"
767784 max_width = 115
768785 align = center
@@ -784,6 +801,7 @@ window = {
784801 flowcontainer = {
785802 datacontext = "[EventWindowData.GetArtifact('lower_center_portrait')]"
786803 visible = "[EventWindowData.HasArtifact('lower_center_portrait')]"
804+ visible_at_creation = no
787805 direction = vertical
788806 spacing =-5
789807
@@ -806,6 +824,7 @@ window = {
806824 widget = {
807825 datacontext = "[EventWindowData.GetPortraitCharacter('lower_center_portrait')]"
808826 visible = "[EventWindowData.HasPortraitCharacter('lower_center_portrait')]"
827+ visible_at_creation = no
809828 size = { 140 150 }
810829
811830 portrait_event_small = {
@@ -875,6 +894,7 @@ window = {
875894 event_portrait_status_icons_right = {
876895 datacontext = "[EventWindowData.GetPortraitCharacter('right_portrait')]"
877896 visible = "[EventWindowData.ShouldShowPortraitInfo('right_portrait')]"
897+ visible_at_creation = no
878898 parentanchor = right
879899
880900 background = {
@@ -902,6 +922,7 @@ window = {
902922 flowcontainer = {
903923 datacontext = "[EventWindowData.GetArtifact('lower_right_portrait')]"
904924 visible = "[EventWindowData.HasArtifact('lower_right_portrait')]"
925+ visible_at_creation = no
905926 direction = vertical
906927 spacing =-5
907928
@@ -911,6 +932,7 @@ window = {
911932 widget = {
912933 datacontext = "[EventWindowData.GetPortraitCharacter('lower_right_portrait')]"
913934 visible = "[EventWindowData.HasPortraitCharacter('lower_right_portrait')]"
935+ visible_at_creation = no
914936 size = { 140 150 }
915937
916938 portrait_event_small = {
@@ -1052,6 +1074,20 @@ window = {
10521074
10531075 alpha = 0
10541076
1077+ background = {
1078+ using = Background_Area_Dark
1079+ margin_left = 50
1080+ margin_right = 130
1081+ margin_top = 5
1082+ margin_bottom = 20
1083+ alpha = 0.3
1084+
1085+ modify_texture = {
1086+ texture = "gfx/interface/component_masks/mask_holding_illustration.dds"
1087+ blend_mode = alphamultiply
1088+ }
1089+ }
1090+
10551091 state = {
10561092 name = start
10571093 trigger_on_create = yes
@@ -1120,6 +1156,7 @@ window = {
11201156
11211157 expand = {}
11221158 }
1159+
11231160 icon = {
11241161 visible = "[And( EventWindowData.ShouldShowContentSource, EventWindowData.GetContentSourceDlc.HasEventDecoration )]"
11251162 name = "source_icon"
@@ -1134,11 +1171,12 @@ window = {
11341171 flowcontainer = {
11351172 name = "debug_stuff"
11361173 visible = "[InDebugMode]"
1174+ visible_at_creation = no
11371175 parentanchor = top|right
11381176 position = { -100 25 }
11391177 ignoreinvisible = yes
11401178
11411179 using = Event_Window_Debug_Info
11421180 }
11431181
1144- }
1182+ }
0 commit comments