Skip to content

Commit

Permalink
📈 add missing bossfight cutscene telemetry tags
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAfroOfDoom committed Oct 22, 2024
1 parent 76f467d commit 03bbb80
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
data modify storage omegaflowey:telemetry.temp data set value {}
execute store result storage omegaflowey:telemetry.temp data.phase_index int 1 run \
scoreboard players get @s omegaflowey.boss-fight.cutscene.phase.i
function omegaflowey.main:telemetry/bossfight/tag/start { name: "bossfight.phase.cutscene" }

# Set scores
scoreboard players set @s omegaflowey.boss-fight.cutscene.clock.i -1

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
function omegaflowey.main:telemetry/bossfight/tag/start { name: "cutscene.intro.laugh" }

function omegaflowey.entity:shared/run_as_active_player_or_spectator { command: "\
execute at @s run playsound omega-flowey:cutscene.intro.laugh ambient @s ~ ~ ~ 1 1\
"}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
function omegaflowey.main:telemetry/bossfight/tag/end { name: "cutscene.intro.laugh" }

data modify storage omegaflowey:bossfight temp set value { duration: 1 }
execute store result storage omegaflowey:bossfight temp.to_frame int 1 run scoreboard players get @s aj.omegaflowey_nose_move_slow_shake.frame
$execute as $(model_nose_uuid) run function animated_java:omegaflowey_nose/animations/omegaflowey_nose_move_slow/tween with storage omegaflowey:bossfight temp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
function omegaflowey.main:telemetry/bossfight/tag/start { name: "cutscene.intro" }

# Summon and animate Omega Flowey entity
function omegaflowey.entity:directorial/boss_fight/summit/origin/at { \
command: "execute positioned ~ ~ ~29.4 run function omegaflowey.entity:hostile/omega-flowey/summon/relative" \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
function omegaflowey.main:telemetry/bossfight/tag/instant { name: "cutscene.intro.turn_on_screen" }

$execute as $(bossfight_tvscreen_uuid) run function animated_java:omegaflowey_tv_screen/variants/reveal_1/apply
$execute as $(bossfight_tvscreen_uuid) on passengers if entity @s[tag=aj.omegaflowey_tv_screen.bone] run \
data merge entity @s { brightness: { block: 11, sky: 0 } }
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
function omegaflowey.main:telemetry/bossfight/tag/end { name: "bossfight.phase.cutscene" }

$execute as $(boss_fight_uuid) at @s run function omegaflowey.entity:directorial/boss_fight/summit/phase/cutscene/terminate/as_bossfight with storage omegaflowey:bossfight
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
function omegaflowey.main:telemetry/bossfight/tag/end { name: "cutscene.intro" }

function omegaflowey.entity:directorial/boss_fight/summit/phase/cutscene/terminate with storage omegaflowey:bossfight

0 comments on commit 03bbb80

Please sign in to comment.