From 29b117b955ef4f5481b534b365b130fdcc624e34 Mon Sep 17 00:00:00 2001 From: Jbleezy Date: Sun, 28 Jan 2024 03:45:00 -0800 Subject: [PATCH] Origins: fade out musical parts HUD Origins: fix gramophone HUD not showing initially --- README.md | 2 +- scripts/zm/replaced/zm_tomb_main_quest.gsc | 3 +++ ui_mp/t6/zombie/hudcraftablestombzombie.lua | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5ad2fdce..c18773c3 100644 --- a/README.md +++ b/README.md @@ -915,7 +915,7 @@ * Shovels automatically picked up * Records automatically picked up * Gramophone initially spawns at Excavation Site gramophone table -* Musical parts no longer show on HUD +* Musical parts on HUD fade out * Added attachment name on HUD for upgraded attachment weapons * Generators: increased capture reward points from 100 to 200 * Generators: always give back refund points if player was in the generator zone when captured diff --git a/scripts/zm/replaced/zm_tomb_main_quest.gsc b/scripts/zm/replaced/zm_tomb_main_quest.gsc index 69397253..75fee83f 100644 --- a/scripts/zm/replaced/zm_tomb_main_quest.gsc +++ b/scripts/zm/replaced/zm_tomb_main_quest.gsc @@ -594,6 +594,9 @@ run_gramophone_door(str_vinyl_record) t_door = tomb_spawn_trigger_radius(trig_position.origin, 60.0, 1); t_door set_unitrigger_hint_string(&"ZM_TOMB_PLGR"); level waittill_any("gramophone_vinyl_player_picked_up", "open_sesame", "open_all_gramophone_doors"); + + flag_wait("initial_blackscreen_passed"); + trig_position.trigger = t_door; while (!trig_position.has_vinyl) diff --git a/ui_mp/t6/zombie/hudcraftablestombzombie.lua b/ui_mp/t6/zombie/hudcraftablestombzombie.lua index 57e49144..f41ab3f8 100644 --- a/ui_mp/t6/zombie/hudcraftablestombzombie.lua +++ b/ui_mp/t6/zombie/hudcraftablestombzombie.lua @@ -35,6 +35,8 @@ LUI.createMenu.CraftablesTombArea = function(f1_arg0) f1_local4:setLeftRight(true, true, 0, 0) f1_local4:setTopBottom(true, false, 0, CoD.CraftablesTomb.ContainerHeight) local f1_local5 = CoD.PersistentItemTombDisplay.new(f1_local4) + f1_local5.shouldFadeOutQuestStatus = true + f1_local5.highlightRecentItem = true f1_local0.topLeftScaleContainer:addElement(f1_local5) CoD.PersistentItemTombDisplay.AddPersistentStatusDisplay(f1_local5, f1_local2, f1_local3) local f1_local6 = 90