-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
π₯ add red flashing intro + Flowey laugh cutscene on fight start (#241)
* π± add `intro_flashing_red` variant to `arena_box` model * π copy-paste `summit/soul` to `summit/cutscene` * π± add pitch-black variants for each Flowey model - used later during intro cutscene * π₯ delete unused copy-pasted code * π₯ configure infrastructure for `cutscene` bossfight phase * π« add intro `darken` animation functions * π« add intro `brighten` animation functions * π« convert default Flowey model animation functions from `play` to `resume` - since will be called after the intro cutscene paused the animations * π± add intro music file * π₯ add victory sound when player finishes bossfight * π« add slow variants of largesidevine rotate animations * π« add slow variant of nose idle animation * β»οΈ add animate flag to skip large_side_vine reanimation * π₯ add red flashing intro + laugh cutscene * π« add mouth laugh animation * π₯ delete mouth/teeth animation keyframes - they werent properly applied to the whole animation anyway. we can delete the teeth specific bones later too * β‘οΈ remove extra teeth bones from mouth * π« add randomized shake to mouth/nose/tvscreen during laugh animation * π« add randomized shake to remaining Flowey models during intro laugh - upper/lower eyes - petal pipes * π« decrease amount of shake tvscreen has during laugh animation * temp, lots of glow + laughing animation/texture stuff * π₯ switch first phase in summit bossfight from attack phase to intro cutscene * π± fix texture mapping issues * π± auto save some ajblueprints * π± fix wrong sound file definition name * π fix wrong flowey namespace * π« fix largesidevine `pause` -> `slow` * π« add and apply `black` variant to simplified petalpipes * π« add and apply `intro_shake` animations to simplified petalpipes * π± fix intro_laugh variant and tvscreen brightness * π blind and unblind player right before Flowey intro reveal * π improve tvscreen smiling glow effect - make it more outer than before * π improve tvscreen warning glow effect * π± pixel perfect `screen_glow` element dimensions * π± fix tvscreen intro lighting - is blue at night just barely kinda - fix black variant missing one * π± delete tvscreen `screen_glow_laughing` element * π make blind player effect in intro tighter to reveal * π flip arena box 180 degrees * π₯ fix wrong smiling variant at laughing stop during intro * π₯ fix nose still shaking after laughing stops * π± fix nose zfighting during shake animation * π± convert all shake animation keyframes to step interpolation * π« tween to shake animations * π₯ fix nose not moving fast once fight starts * π improve tvscreen static glow effect * π add static-noglow variant and use it appropriately during outside tvscreen transitions - copy pasted code from `reset_variant` for speed * π make smiling box glow noshade * πΈ replace `@a`'s in cutscene code * π± move `intro_laughing` element back so its not as far away from tvscreen * π₯ set to smiling variant post-laugh later than the shake stop - else we see a gap at top of screen * π₯ remove invalid `schedule clear` command * π¨ delete unused `blank_3` texture * π adjust brightness of static/warning glow * βοΈ make all instances of `ARENA_VOLUME` consistent * π β‘οΈ fix x-bullets not despawning and causing massive lag over time - by making all instances of `GLOBAL_VOLUME` consistent * π fix warning animation changing tvscreen bone.box brightness unintentionally - not needed now that we animate it properly anyway * π adjust tvscreen box brightness upon brighten * π₯ add face reveal animation during intro cutscene * π₯ add sound when screen turns on - since we can't really do fade in from black to white * π₯ add 1s to turn_on screen animation * π₯ use smiling_wide after laugh - and fix texture issue, was missing emissive in some white pixels * π₯ add DEMO title above Flowey during laugh * π decrease volume of some intro sounds - convert laugh back to stereo * π fix DEMO not being deleted if player leaves while it exists * π₯ add sounds + animation when being teleported to bossfight * π¨ delete unused texture
- Loading branch information
1 parent
b843c16
commit d479643
Showing
126 changed files
with
6,237 additions
and
499 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
...y/function/directorial/boss_fight/shared/loop/check_active_player_still_exists.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
# Assume the active player does not exist | ||
scoreboard players set #omegaflowey.bossfight.stop_reason omegaflowey.global.flag 1 | ||
|
||
# TAG_SUMMIT_HARDCODED_ARENA_VOLUME | ||
$execute as $(active_player_uuid) run function omegaflowey.entity:directorial/boss_fight/shared/loop/check_active_player_still_exists/as_active_player |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...ey/data/omegaflowey.entity/function/directorial/boss_fight/shared/stop/as_root.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
execute if entity @s[tag=boss_fight] run kill @s | ||
execute if entity @s[tag=attack] run kill @s | ||
execute if entity @s[tag=soul] run kill @s | ||
execute if entity @s[tag=boss_fight.decorative] run kill @s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
...flowey.entity/function/directorial/boss_fight/summit/phase/cutscene/initialize.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Set scores | ||
scoreboard players set @s omegaflowey.boss-fight.cutscene.clock.i -1 | ||
|
||
# Add tags | ||
tag @s add boss_fight.phase.cutscene | ||
|
||
# Split on phase score | ||
execute if score @s omegaflowey.boss-fight.cutscene.phase.i matches 0 run \ | ||
function omegaflowey.entity:directorial/boss_fight/summit/phase/cutscene/initialize/0 with storage omegaflowey:bossfight |
2 changes: 2 additions & 0 deletions
2
...owey.entity/function/directorial/boss_fight/summit/phase/cutscene/initialize/0.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Delay before music/red flashing starts | ||
scoreboard players set @s omegaflowey.boss-fight.cutscene.clock.i -14 |
6 changes: 6 additions & 0 deletions
6
.../omegaflowey.entity/function/directorial/boss_fight/summit/phase/cutscene/loop.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
scoreboard players add @s omegaflowey.boss-fight.cutscene.clock.i 1 | ||
execute if score @s omegaflowey.boss-fight.cutscene.clock.i matches ..-1 run return 0 | ||
|
||
# Run cutscene specific logic | ||
execute if score @s omegaflowey.boss-fight.cutscene.phase.i matches 0 run return run \ | ||
function omegaflowey.entity:directorial/boss_fight/summit/phase/cutscene/loop/0 |
38 changes: 38 additions & 0 deletions
38
...megaflowey.entity/function/directorial/boss_fight/summit/phase/cutscene/loop/0.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
execute if score @s omegaflowey.boss-fight.cutscene.clock.i matches 0 run \ | ||
function omegaflowey.entity:directorial/boss_fight/summit/phase/cutscene/loop/0/start_cutscene with storage omegaflowey:bossfight | ||
|
||
execute if score @s omegaflowey.boss-fight.cutscene.clock.i matches 1 run \ | ||
function omegaflowey.entity:directorial/boss_fight/summit/phase/cutscene/loop/0/clear_player_blindness with storage omegaflowey:bossfight | ||
|
||
execute if score @s omegaflowey.boss-fight.cutscene.clock.i matches 0..293 run return run \ | ||
function omegaflowey.entity:directorial/boss_fight/summit/phase/cutscene/loop/0/approach | ||
execute if score @s omegaflowey.boss-fight.cutscene.clock.i matches 332 run return run \ | ||
function omegaflowey.entity:directorial/boss_fight/summit/phase/cutscene/loop/0/turn_on_screen with storage omegaflowey:bossfight | ||
execute if score @s omegaflowey.boss-fight.cutscene.clock.i matches 362 run return run \ | ||
function omegaflowey.entity:directorial/boss_fight/summit/phase/cutscene/loop/0/reveal_2 with storage omegaflowey:bossfight | ||
execute if score @s omegaflowey.boss-fight.cutscene.clock.i matches 363 run return run \ | ||
function omegaflowey.entity:directorial/boss_fight/summit/phase/cutscene/loop/0/reveal_3 with storage omegaflowey:bossfight | ||
execute if score @s omegaflowey.boss-fight.cutscene.clock.i matches 365 run return run \ | ||
function omegaflowey.entity:directorial/boss_fight/summit/phase/cutscene/loop/0/reveal_4 with storage omegaflowey:bossfight | ||
execute if score @s omegaflowey.boss-fight.cutscene.clock.i matches 366 run return run \ | ||
function omegaflowey.entity:directorial/boss_fight/summit/phase/cutscene/loop/0/reveal_5 with storage omegaflowey:bossfight | ||
execute if score @s omegaflowey.boss-fight.cutscene.clock.i matches 367 run return run \ | ||
function omegaflowey.entity:directorial/boss_fight/summit/phase/cutscene/loop/0/reveal_6 with storage omegaflowey:bossfight | ||
execute if score @s omegaflowey.boss-fight.cutscene.clock.i matches 380 run return run \ | ||
function omegaflowey.entity:directorial/boss_fight/summit/phase/cutscene/loop/0/reveal_7 with storage omegaflowey:bossfight | ||
execute if score @s omegaflowey.boss-fight.cutscene.clock.i matches 381 run return run \ | ||
function omegaflowey.entity:directorial/boss_fight/summit/phase/cutscene/loop/0/reveal_8 with storage omegaflowey:bossfight | ||
execute if score @s omegaflowey.boss-fight.cutscene.clock.i matches 383 run return run \ | ||
function omegaflowey.entity:directorial/boss_fight/summit/phase/cutscene/loop/0/reveal_9 with storage omegaflowey:bossfight | ||
execute if score @s omegaflowey.boss-fight.cutscene.clock.i matches 384 run return run \ | ||
function omegaflowey.entity:directorial/boss_fight/summit/phase/cutscene/loop/0/reveal_10 with storage omegaflowey:bossfight | ||
execute if score @s omegaflowey.boss-fight.cutscene.clock.i matches 385 run return run \ | ||
function omegaflowey.entity:directorial/boss_fight/summit/phase/cutscene/loop/0/reveal_11 with storage omegaflowey:bossfight | ||
execute if score @s omegaflowey.boss-fight.cutscene.clock.i matches 422 run return run \ | ||
function omegaflowey.entity:directorial/boss_fight/summit/phase/cutscene/loop/0/undarken with storage omegaflowey:bossfight | ||
execute if score @s omegaflowey.boss-fight.cutscene.clock.i matches 442 run return run \ | ||
function omegaflowey.entity:directorial/boss_fight/summit/phase/cutscene/loop/0/laugh_start with storage omegaflowey:bossfight | ||
execute if score @s omegaflowey.boss-fight.cutscene.clock.i matches 562 run return run \ | ||
function omegaflowey.entity:directorial/boss_fight/summit/phase/cutscene/loop/0/laugh_stop with storage omegaflowey:bossfight | ||
execute if score @s omegaflowey.boss-fight.cutscene.clock.i matches 564 run return run \ | ||
function omegaflowey.entity:directorial/boss_fight/summit/phase/cutscene/loop/0/laugh_stop/screen with storage omegaflowey:bossfight |
9 changes: 9 additions & 0 deletions
9
...y.entity/function/directorial/boss_fight/summit/phase/cutscene/loop/0/approach.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# move Flowey models -29.4 Z blocks over 294 seconds | ||
### TAG_SUMMIT_HARDCODED_ARENA_VOLUME (and +31 blocks in Z direction) | ||
execute as @e[ \ | ||
x=-186, dx=61, y=10, dy=46, z=47, dz=91, \ | ||
type=minecraft:item_display, \ | ||
tag=aj.rig_root, \ | ||
tag=!aj.omegaflowey_arena_box.root, \ | ||
tag=omega-flowey-remastered \ | ||
] at @s run teleport @s ~ ~ ~-0.1 |
1 change: 1 addition & 0 deletions
1
...ion/directorial/boss_fight/summit/phase/cutscene/loop/0/clear_player_blindness.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
$effect clear $(active_player_uuid) minecraft:blindness |
40 changes: 40 additions & 0 deletions
40
...ntity/function/directorial/boss_fight/summit/phase/cutscene/loop/0/laugh_start.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
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\ | ||
"} | ||
|
||
$execute as $(attack_lower_eye_left_uuid) run \ | ||
function animated_java:omegaflowey_lower_eye/animations/omegaflowey_intro_shake/tween { duration: 1, to_frame: 0 } | ||
$execute as $(attack_lower_eye_right_uuid) run \ | ||
function animated_java:omegaflowey_lower_eye/animations/omegaflowey_intro_shake/tween { duration: 1, to_frame: 0 } | ||
|
||
$execute as $(model_mouth_uuid) run \ | ||
function animated_java:omegaflowey_mouth/animations/omegaflowey_laugh/tween { duration: 1, to_frame: 0 } | ||
|
||
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.frame | ||
$execute as $(model_nose_uuid) run \ | ||
function animated_java:omegaflowey_nose/animations/omegaflowey_nose_move_slow_shake/tween with storage omegaflowey:bossfight temp | ||
|
||
$execute as $(petal_pipe_lower_left_uuid) run \ | ||
function animated_java:omegaflowey_petal_pipe_circle_simplified/animations/omegaflowey_intro_shake/tween { duration: 1, to_frame: 0 } | ||
$execute as $(petal_pipe_upper_left_uuid) run \ | ||
function animated_java:omegaflowey_petal_pipe_circle_simplified/animations/omegaflowey_intro_shake/tween { duration: 1, to_frame: 0 } | ||
$execute as $(petal_pipe_lower_right_uuid) run \ | ||
function animated_java:omegaflowey_petal_pipe_circle_simplified/animations/omegaflowey_intro_shake/tween { duration: 1, to_frame: 0 } | ||
$execute as $(petal_pipe_upper_right_uuid) run \ | ||
function animated_java:omegaflowey_petal_pipe_circle_simplified/animations/omegaflowey_intro_shake/tween { duration: 1, to_frame: 0 } | ||
|
||
$execute as $(petal_pipe_middle_right_uuid) run \ | ||
function animated_java:omegaflowey_petal_pipe_middle_simplified/animations/omegaflowey_intro_shake/tween { duration: 1, to_frame: 0 } | ||
$execute as $(petal_pipe_middle_left_uuid) run \ | ||
function animated_java:omegaflowey_petal_pipe_middle_simplified/animations/omegaflowey_intro_shake/tween { duration: 1, to_frame: 0 } | ||
|
||
$execute as $(bossfight_tvscreen_uuid) run \ | ||
function animated_java:omegaflowey_tv_screen/animations/omegaflowey_intro_shake/tween { duration: 1, to_frame: 0 } | ||
$execute as $(bossfight_tvscreen_uuid) run \ | ||
function animated_java:omegaflowey_tv_screen/variants/intro_laughing/apply | ||
|
||
$execute as $(attack_upper_eye_left_uuid) run \ | ||
function animated_java:omegaflowey_upper_eye/animations/omegaflowey_intro_shake/tween { duration: 1, to_frame: 0 } | ||
$execute as $(attack_upper_eye_right_uuid) run \ | ||
function animated_java:omegaflowey_upper_eye/animations/omegaflowey_intro_shake/tween { duration: 1, to_frame: 0 } |
3 changes: 3 additions & 0 deletions
3
...entity/function/directorial/boss_fight/summit/phase/cutscene/loop/0/laugh_stop.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
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 |
1 change: 1 addition & 0 deletions
1
...function/directorial/boss_fight/summit/phase/cutscene/loop/0/laugh_stop/screen.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
$execute as $(bossfight_tvscreen_uuid) run function animated_java:omegaflowey_tv_screen/variants/smiling_wide/apply |
1 change: 1 addition & 0 deletions
1
....entity/function/directorial/boss_fight/summit/phase/cutscene/loop/0/reveal_10.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
$execute as $(bossfight_tvscreen_uuid) run function animated_java:omegaflowey_tv_screen/variants/reveal_10/apply |
1 change: 1 addition & 0 deletions
1
....entity/function/directorial/boss_fight/summit/phase/cutscene/loop/0/reveal_11.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
$execute as $(bossfight_tvscreen_uuid) run function animated_java:omegaflowey_tv_screen/variants/reveal_11/apply |
1 change: 1 addition & 0 deletions
1
...y.entity/function/directorial/boss_fight/summit/phase/cutscene/loop/0/reveal_2.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
$execute as $(bossfight_tvscreen_uuid) run function animated_java:omegaflowey_tv_screen/variants/reveal_2/apply |
1 change: 1 addition & 0 deletions
1
...y.entity/function/directorial/boss_fight/summit/phase/cutscene/loop/0/reveal_3.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
$execute as $(bossfight_tvscreen_uuid) run function animated_java:omegaflowey_tv_screen/variants/reveal_3/apply |
1 change: 1 addition & 0 deletions
1
...y.entity/function/directorial/boss_fight/summit/phase/cutscene/loop/0/reveal_4.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
$execute as $(bossfight_tvscreen_uuid) run function animated_java:omegaflowey_tv_screen/variants/reveal_4/apply |
1 change: 1 addition & 0 deletions
1
...y.entity/function/directorial/boss_fight/summit/phase/cutscene/loop/0/reveal_5.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
$execute as $(bossfight_tvscreen_uuid) run function animated_java:omegaflowey_tv_screen/variants/reveal_5/apply |
1 change: 1 addition & 0 deletions
1
...y.entity/function/directorial/boss_fight/summit/phase/cutscene/loop/0/reveal_6.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
$execute as $(bossfight_tvscreen_uuid) run function animated_java:omegaflowey_tv_screen/variants/reveal_6/apply |
1 change: 1 addition & 0 deletions
1
...y.entity/function/directorial/boss_fight/summit/phase/cutscene/loop/0/reveal_7.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
$execute as $(bossfight_tvscreen_uuid) run function animated_java:omegaflowey_tv_screen/variants/reveal_7/apply |
1 change: 1 addition & 0 deletions
1
...y.entity/function/directorial/boss_fight/summit/phase/cutscene/loop/0/reveal_8.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
$execute as $(bossfight_tvscreen_uuid) run function animated_java:omegaflowey_tv_screen/variants/reveal_8/apply |
1 change: 1 addition & 0 deletions
1
...y.entity/function/directorial/boss_fight/summit/phase/cutscene/loop/0/reveal_9.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
$execute as $(bossfight_tvscreen_uuid) run function animated_java:omegaflowey_tv_screen/variants/reveal_9/apply |
19 changes: 19 additions & 0 deletions
19
...ty/function/directorial/boss_fight/summit/phase/cutscene/loop/0/start_cutscene.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# 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" \ | ||
} | ||
execute as @e[ \ | ||
x=-186, dx=61, y=12, dy=44, z=47, dz=91, \ | ||
type=minecraft:item_display, \ | ||
tag=aj.rig_root, \ | ||
tag=omega-flowey-remastered \ | ||
] run function omegaflowey.entity:hostile/omega-flowey/animate/intro/darken/as_root | ||
|
||
function omegaflowey.entity:shared/run_as_active_player_or_spectator { command: "\ | ||
execute at @s run playsound omega-flowey:cutscene.intro.music record @s ~ ~ ~ 1 1\ | ||
"} | ||
|
||
# Set arena box to flashing red variant | ||
$execute as $(arena_box_uuid) run function animated_java:omegaflowey_arena_box/variants/intro_flashing_red/apply | ||
|
||
schedule function omegaflowey.entity:directorial/boss_fight/summit/phase/cutscene/terminate/scheduled 575t |
7 changes: 7 additions & 0 deletions
7
...ty/function/directorial/boss_fight/summit/phase/cutscene/loop/0/turn_on_screen.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
$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 } } | ||
|
||
$execute at $(bossfight_tvscreen_uuid) run function omegaflowey.entity:shared/run_as_active_player_or_spectator { command: "\ | ||
playsound omega-flowey:cutscene.intro.turn_on ambient @s ~ ~ ~ 5 1\ | ||
"} |
37 changes: 37 additions & 0 deletions
37
...y.entity/function/directorial/boss_fight/summit/phase/cutscene/loop/0/undarken.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Blind player for transition to bright model | ||
$effect give $(active_player_uuid) minecraft:blindness 1 0 true | ||
|
||
### TAG_SUMMIT_HARDCODED_ARENA_VOLUME (and +31 blocks in Z direction) | ||
execute as @e[ \ | ||
x=-186, dx=61, y=10, dy=46, z=47, dz=91, \ | ||
type=minecraft:item_display, \ | ||
tag=aj.rig_root, \ | ||
tag=!aj.omegaflowey_arena_box.root, \ | ||
tag=omega-flowey-remastered \ | ||
] run function omegaflowey.entity:hostile/omega-flowey/animate/intro/brighten/as_root | ||
|
||
$execute as $(arena_box_uuid) run function animated_java:omegaflowey_arena_box/variants/default/apply | ||
|
||
summon minecraft:text_display -156.5 43.0625 76.0 { \ | ||
Tags: [ \ | ||
"omega-flowey-remastered", \ | ||
"directorial", \ | ||
"boss_fight.decorative", \ | ||
"demo-intro-title", \ | ||
], \ | ||
alignment: "center", \ | ||
background: 0, \ | ||
brightness: { block: 15, sky: 0 }, \ | ||
default_background: 0b, \ | ||
line_width: 200, \ | ||
see_through: 0b, \ | ||
shadow: 0b, \ | ||
text: '{ "text": "DEMO", "color": "yellow", "bold": true }', \ | ||
text_opacity: 255, \ | ||
transformation: { \ | ||
left_rotation: [0.0f, 0.92387956f, -0.38268352f, 0.0f], \ | ||
right_rotation: [0.0f, 0.0f, 0.0f, 1.0f], \ | ||
scale: [10.0f, 10.0f, 10.0f], \ | ||
translation: [0.0f, 0.0f, 0.0f] \ | ||
} \ | ||
} |
1 change: 1 addition & 0 deletions
1
...aflowey.entity/function/directorial/boss_fight/summit/phase/cutscene/terminate.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
$execute as $(boss_fight_uuid) at @s run function omegaflowey.entity:directorial/boss_fight/summit/phase/cutscene/terminate/as_bossfight with storage omegaflowey:bossfight |
27 changes: 27 additions & 0 deletions
27
...y/function/directorial/boss_fight/summit/phase/cutscene/terminate/as_bossfight.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# If cutscene doesn't have a specific terminate function, just proceed to attack phase | ||
|
||
# Remove tags | ||
tag @s remove boss_fight.phase.cutscene | ||
|
||
# Kill DEMO title | ||
kill @e[ \ | ||
x=-156.5, y=43.0625, z=76.0, distance=..0.01, \ | ||
type=minecraft:text_display, \ | ||
tag=demo-intro-title, \ | ||
limit=1 \ | ||
] | ||
|
||
# Begin animating largesidevines/nose at full speed | ||
$execute as $(large_side_vine_left_uuid) run function omegaflowey.entity:hostile/omega-flowey/animate/large_side_vine/resume_normal_from_slow/left | ||
$execute as $(large_side_vine_right_uuid) run function omegaflowey.entity:hostile/omega-flowey/animate/large_side_vine/resume_normal_from_slow/right | ||
$execute as $(model_nose_uuid) run function animated_java:omegaflowey_nose/animations/move/tween { duration: 1, to_frame: 1 } | ||
|
||
# Re-animate main Omega Flowey models | ||
scoreboard players set #omegaflowey.bossfight.skip_reanimate_largesidevine omegaflowey.global.flag 1 | ||
scoreboard players set #omegaflowey.bossfight.skip_reanimate_nose omegaflowey.global.flag 1 | ||
function omegaflowey.entity:hostile/omega-flowey/animate | ||
scoreboard players set #omegaflowey.bossfight.skip_reanimate_nose omegaflowey.global.flag 0 | ||
scoreboard players set #omegaflowey.bossfight.skip_reanimate_largesidevine omegaflowey.global.flag 0 | ||
|
||
# Next phase | ||
function omegaflowey.entity:directorial/boss_fight/summit/phase/attack/initialize |
1 change: 1 addition & 0 deletions
1
...tity/function/directorial/boss_fight/summit/phase/cutscene/terminate/scheduled.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
function omegaflowey.entity:directorial/boss_fight/summit/phase/cutscene/terminate with storage omegaflowey:bossfight |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
...wey.entity/function/directorial/boss_fight/summit/phase/soul/loop/next_event/1.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...it/player/queue/leave_and_rejoin/remove_from_queue_array/reset_prompted_player.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
scoreboard players set #omegaflowey.bossfight.has_player_been_prompted omegaflowey.global.flag 0 | ||
data remove storage omegaflowey:bossfight player_queue_timeout_uuid | ||
schedule clear omegaflowey.entity:directorial/boss_fight/summit/player/queue/prompt_next_player/show_prompt/confirm/after_delay | ||
schedule clear omegaflowey.entity:directorial/boss_fight/summit/player/queue/prompt_next_player/show_prompt/confirm/teleport_animation | ||
schedule clear omegaflowey.entity:directorial/boss_fight/summit/player/queue/prompt_next_player/show_prompt/timeout |
Oops, something went wrong.