Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vfx 3.0 #48

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ scoreboard players reset rayAbort temp

teleport @s[scores={temp=..40}] ^ ^ ^0.25



scoreboard players add @s temp 1
execute if entity @s[scores={temp=41..}] as @a[tag=self,limit=1] at @s run function ssbrc:fighters/greninja/logic/abilities/shadow_sneak/deactivate
function ssbrc:logic/fighters/checks/hit
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
execute as @e[type=item_display,tag=ssbrc.hero.kama-temp] run function ssbrc:fighters/hero/logic/abilities/spells/kamikazee/particles/step
summon item_display ~ ~1.5 ~ {start_interpolation:1,interpolation_duration:20,teleport_duration:10,Tags:["ssbrc.hero.kama","ssbrc.hero.kama-temp"],brightness:{sky:15,block:15},transformation:[0.0000f,0.0000f,-0.2500f,0.1250f,0.0000f,0.2500f,0.0000f,0.0000f,0.0000f,0.0000f,0.0000f,0.0000f,0.0000f,0.0000f,0.0000f,5.0000f],item:{id:"minecraft:yellow_stained_glass",Count:1b,tag:{CustomModelData:10}}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

execute store result storage ssbrc:data/hero x double 0.01 run random value -200..200
execute store result storage ssbrc:data/hero y double 0.01 run random value -100..100
execute store result storage ssbrc:data/hero z double 0.01 run random value -200..200
execute store result storage ssbrc:data/hero size float 1 run random value 8..10
function ssbrc:fighters/hero/logic/abilities/spells/kamikazee/particles/tp with storage ssbrc:data/hero
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
$data merge entity @s {transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0.1f,0.1f,$(size)f]}}

$execute at @s run tp @s ~ ~ ~ facing ~$(x) ~$(y) ~$(z)

tag @s remove ssbrc.hero.kama-temp
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
particle minecraft:end_rod ^ ^ ^ 0 0 0 0 1 force @a
particle minecraft:end_rod ^ ^ ^.2 0 0 0 0 1 force @a
particle minecraft:end_rod ^ ^ ^.4 0 0 0 0 1 force @a
particle minecraft:end_rod ^ ^ ^.6 0 0 0 0 1 force @a
particle minecraft:end_rod ^ ^ ^.8 0 0 0 0 1 force @a
particle minecraft:end_rod ^ ^ ^1 0 0 0 0 1 force @a
particle minecraft:end_rod ^ ^ ^1.2 0 0 0 0 1 force @a
particle minecraft:end_rod ^ ^ ^1.4 0 0 0 0 1 force @a
particle minecraft:end_rod ^ ^ ^1.6 0 0 0 0 1 force @a
particle minecraft:end_rod ^ ^ ^1.8 0 0 0 0 1 force @a
particle minecraft:end_rod ^ ^ ^2 0 0 0 0 1 force @a
particle minecraft:end_rod ^ ^ ^2.2 0 0 0 0 1 force @a
particle minecraft:end_rod ^ ^ ^2.4 0 0 0 0 1 force @a
particle minecraft:end_rod ^ ^ ^2.6 0 0 0 0 1 force @a
particle minecraft:end_rod ^ ^ ^2.8 0 0 0 0 1 force @a
particle minecraft:end_rod ^ ^ ^3 0 0 0 0 1 force @a
particle minecraft:end_rod ^ ^ ^3.2 0 0 0 0 1 force @a
particle minecraft:end_rod ^ ^ ^3.4 0 0 0 0 1 force @a
particle minecraft:end_rod ^ ^ ^3.6 0 0 0 0 1 force @a
particle minecraft:end_rod ^ ^ ^3.8 0 0 0 0 1 force @a
particle minecraft:end_rod ^ ^ ^4 0 0 0 0 1 force @a

particle minecraft:end_rod ^ ^ ^ 0 0 0 0 1 force @a
particle minecraft:end_rod ^ ^ ^-.2 0 0 0 0 1 force @a
particle minecraft:end_rod ^ ^ ^-.4 0 0 0 0 1 force @a
particle minecraft:end_rod ^ ^ ^-.6 0 0 0 0 1 force @a
particle minecraft:end_rod ^ ^ ^-.8 0 0 0 0 1 force @a
particle minecraft:end_rod ^ ^ ^-1 0 0 0 0 1 force @a
particle minecraft:end_rod ^ ^ ^-1.2 0 0 0 0 1 force @a
particle minecraft:end_rod ^ ^ ^-1.4 0 0 0 0 1 force @a
particle minecraft:end_rod ^ ^ ^-1.6 0 0 0 0 1 force @a
particle minecraft:end_rod ^ ^ ^-1.8 0 0 0 0 1 force @a
particle minecraft:end_rod ^ ^ ^-2 0 0 0 0 1 force @a
particle minecraft:end_rod ^ ^ ^-2.2 0 0 0 0 1 force @a
particle minecraft:end_rod ^ ^ ^-2.4 0 0 0 0 1 force @a
particle minecraft:end_rod ^ ^ ^-2.6 0 0 0 0 1 force @a
particle minecraft:end_rod ^ ^ ^-2.8 0 0 0 0 1 force @a
particle minecraft:end_rod ^ ^ ^-3 0 0 0 0 1 force @a
particle minecraft:end_rod ^ ^ ^-3.2 0 0 0 0 1 force @a
particle minecraft:end_rod ^ ^ ^-3.4 0 0 0 0 1 force @a
particle minecraft:end_rod ^ ^ ^-3.6 0 0 0 0 1 force @a
particle minecraft:end_rod ^ ^ ^-3.8 0 0 0 0 1 force @a
particle minecraft:end_rod ^ ^ ^-4 0 0 0 0 1 force @a


kill @s
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
scoreboard players add @s charge.1 1
function ssbrc:fighters/hero/logic/abilities/spells/kamikazee/particles/beam


execute if entity @s[scores={charge.1=1..5}] run particle minecraft:dust_color_transition 0.8 0.6 0.0 1.0 0.8 0.5 0.0 ~ ~ ~ 2.0 2.0 2.0 0.0 5 force @a
execute if entity @s[scores={charge.1=6..10}] run particle minecraft:dust_color_transition 0.7 0.5 0.0 1.0 0.7 0.4 0.0 ~ ~ ~ 1.5 1.5 1.5 0.0 10 force @a
execute if entity @s[scores={charge.1=11..15}] run particle minecraft:dust_color_transition 0.6 0.4 0.0 1.0 0.6 0.3 0.0 ~ ~ ~ 1.0 1.0 1.0 0.0 15 force @a
execute if entity @s[scores={charge.1=16..20}] run particle minecraft:dust_color_transition 0.5 0.3 0.0 1.0 0.5 0.2 0.0 ~ ~ ~ 0.5 0.5 0.5 0.0 20 force @a
execute if entity @s[scores={charge.1=21..25}] run particle minecraft:dust_color_transition 0.4 0.2 0.0 1.0 0.4 0.1 0.0 ~ ~ ~ 0.3 0.3 0.3 0.0 25 force @a
execute if entity @s[scores={charge.1=26..39}] run particle minecraft:dust_color_transition 0.3 0.1 0.0 1.0 0.3 0.0 0.0 ~ ~ ~ 0.2 0.2 0.2 0.0 25 force @a

execute if entity @s[scores={charge.1=40}] run function ssbrc:fighters/hero/logic/abilities/spells/kamikazee/unleash
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
particle minecraft:dust_color_transition 0.6 0.4 0.0 1.0 0.6 0.3 0.0 ~ ~ ~ 4.0 4.0 4.0 0.0 400 force @a
particle flash ~ ~1.5 ~ 0 0 0 0 1 force @a
particle minecraft:cloud ~ ~1.5 ~ 0 0 0 0.25 50 force @a
particle minecraft:enchant ~ ~1.5 ~ 4 3 4 0.1 500 force @a

execute positioned ~ ~1.5 ~ as @e[type=item_display,distance=..1,tag=ssbrc.hero.kama] at @s run function ssbrc:fighters/hero/logic/abilities/spells/kamikazee/particles/zeam

execute as @e[tag=!self,predicate=ssbrc:flag/targets,distance=6.1..8] run damage @s 10.0 ssbrc:generic by @a[tag=self,limit=1]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

execute store result score charge.output temp run scoreboard players get @s charge.output
execute positioned ^ ^ ^1 summon minecraft:marker run function ssbrc:fighters/ryu/logic/abilities/hadouken/init

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
$execute positioned ~$(x) ~$(y) ~$(z) facing $(posx) $(posy) $(posz) run particle soul_fire_flame ~ ~-.5 ~ ^ ^ ^1000000 0.00000005 0 force @a
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

execute store result storage ssbrc:data hado.x2 double 0.1 run random value -50..50
execute store result storage ssbrc:data hado.y2 double 0.1 run random value -50..50


particle dust_color_transition 1.000 0.000 0.000 1 1.000 1.000 1.000 ^ ^ ^ 0 0 0 0 1 force @a
particle dust_color_transition 1.000 0.000 0.000 1 1.000 1.000 1.000 ^ ^ ^.1 0 0 0 0 1 force @a
particle dust_color_transition 1.000 0.000 0.000 1 1.000 1.000 1.000 ^ ^ ^.2 0 0 0 0 1 force @a

$execute facing ~$(x) ~$(y) ~$(z) run particle dust_color_transition 1.000 0.000 0.000 0.75 1.000 1.000 1.000 ^ ^ ^ 0.0 0.0 0.0 0 1 force @a
$execute facing ~$(x) ~$(y) ~$(z) run particle dust_color_transition 1.000 0.000 0.000 0.75 1.000 1.000 1.000 ^ ^ ^.2 0.0 0.0 0.0 0 1 force @a
$execute facing ~$(x) ~$(y) ~$(z) run particle dust_color_transition 1.000 0.000 0.000 0.75 1.000 1.000 1.000 ^ ^ ^.3 0.0 0.0 0.0 0 1 force @a
$execute facing ~$(x) ~$(y) ~$(z) positioned ^0 ^0 ^.3 facing ^0 ^0 ^0.1 run function ssbrc:fighters/ryu/logic/abilities/hadouken/particles/3 with storage ssbrc:data hado
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
$execute facing ^$(x2) ^$(y2) ^10 run particle dust_color_transition 1.000 0.000 0.000 0.75 1.000 1.000 1.000 ^ ^ ^ 0.0 0.0 0.0 0 1 force @a
$execute facing ^$(x2) ^$(y2) ^10 run particle dust_color_transition 1.000 0.000 0.000 0.75 1.000 1.000 1.000 ^ ^ ^.1 0.0 0.0 0.0 0 1 force @a
$execute facing ^$(x2) ^$(y2) ^10 run particle dust_color_transition 1.000 0.000 0.000 0.75 1.000 1.000 1.000 ^ ^ ^.2 0.0 0.0 0.0 0 1 force @a
execute store result storage ssbrc:data hado.x2 double 0.1 run random value -100..100
execute store result storage ssbrc:data hado.y2 double 0.1 run random value -100..100
execute positioned ^0 ^0 ^.3 run function ssbrc:fighters/ryu/logic/abilities/hadouken/particles/4 with storage ssbrc:data hado
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
$execute facing ^$(x2) ^$(y2) ^15 run particle dust_color_transition 1.000 0.000 0.000 0.75 1.000 1.000 1.000 ^ ^ ^ 0.0 0.0 0.0 0 1 force @a
$execute facing ^$(x2) ^$(y2) ^15 run particle dust_color_transition 1.000 0.000 0.000 0.75 1.000 1.000 1.000 ^ ^ ^.1 0.0 0.0 0.0 0 1 force @a
$execute facing ^$(x2) ^$(y2) ^15 run particle dust_color_transition 1.000 0.000 0.000 0.75 1.000 1.000 1.000 ^ ^ ^.2 0.0 0.0 0.0 0 1 force @a
execute store result storage ssbrc:data hado.x2 double 0.1 run random value -100..100
execute store result storage ssbrc:data hado.y2 double 0.1 run random value -100..100
execute positioned ^0 ^0 ^.3 run function ssbrc:fighters/ryu/logic/abilities/hadouken/particles/5 with storage ssbrc:data hado
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
$execute facing ^$(x2) ^$(y2) ^20 run particle dust_color_transition 1.000 0.000 0.000 0.75 1.000 1.000 1.000 ^ ^ ^ 0.0 0.0 0.0 0 1 force @a
$execute facing ^$(x2) ^$(y2) ^20 run particle dust_color_transition 1.000 0.000 0.000 0.75 1.000 1.000 1.000 ^ ^ ^.1 0.0 0.0 0.0 0 1 force @a
$execute facing ^$(x2) ^$(y2) ^20 run particle dust_color_transition 1.000 0.000 0.000 0.75 1.000 1.000 1.000 ^ ^ ^.2 0.0 0.0 0.0 0 1 force @a
execute store result storage ssbrc:data hado.x2 double 0.1 run random value -100..100
execute store result storage ssbrc:data hado.y2 double 0.1 run random value -100..100

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

$execute positioned ~$(x) ~$(y) ~$(z) facing $(posx) $(posy) $(posz) run particle flame ~ ~-.5 ~ ^ ^ ^1000000 0.00000005 0 force @a
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
data modify storage ssbrc:data hado.posx set from entity @s Pos[0]
data modify storage ssbrc:data hado.posy set from entity @s Pos[1]
data modify storage ssbrc:data hado.posz set from entity @s Pos[2]
kill @s
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
execute store result storage ssbrc:data hado.x double 0.01 run random value -50..50
execute store result storage ssbrc:data hado.y double 0.01 run random value -50..50
execute store result storage ssbrc:data hado.z double 0.01 run random value -50..50
execute summon marker run function ssbrc:fighters/ryu/logic/abilities/hadouken/particles/location
particle dust_color_transition 0.349 0.933 1.000 1 1.000 0.557 0.259 ~ ~-.5 ~ 0 0 0 1 0 force @a

function ssbrc:fighters/ryu/logic/abilities/hadouken/particles/1 with storage ssbrc:data hado
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
execute store result storage ssbrc:data hado.x double 0.01 run random value -100..100
execute store result storage ssbrc:data hado.y double 0.01 run random value -100..100
execute store result storage ssbrc:data hado.z double 0.01 run random value -100..100
execute positioned ~ ~-.5 ~ summon marker run function ssbrc:fighters/ryu/logic/abilities/hadouken/particles/location
particle small_flame ~ ~-.5 ~ 0 0 0 0.0025 1 force @a
particle small_flame ~ ~-.5 ~ 0 0 0 0.0025 1 force @a
execute positioned ~ ~-.5 ~ run function ssbrc:fighters/ryu/logic/abilities/hadouken/particles/2 with storage ssbrc:data hado

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
execute store result storage ssbrc:data hado.x double 0.01 run random value -50..50
execute store result storage ssbrc:data hado.y double 0.01 run random value -50..50
execute store result storage ssbrc:data hado.z double 0.01 run random value -50..50
execute summon marker run function ssbrc:fighters/ryu/logic/abilities/hadouken/particles/location
particle dust_color_transition 1.000 0.000 0.000 1 1.000 1.000 1.000 ~ ~-.5 ~ 0 0 0 1 0 force @a

function ssbrc:fighters/ryu/logic/abilities/hadouken/particles/a with storage ssbrc:data hado
12 changes: 12 additions & 0 deletions data/ssbrc/functions/fighters/ryu/logic/tick.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,15 @@ execute if score @s[scores={duration.2=1}] duration.1 matches 2.. run function s

# Satsui no Hado Rage
execute if entity @s[scores={duration.1=1..}] run function ssbrc:fighters/ryu/logic/abilities/satsui_no_hado_rage/tick

execute if entity @s[scores={charge.output=1..30}] anchored eyes positioned ^0 ^0 ^1 run function ssbrc:fighters/ryu/logic/abilities/hadouken/particles/tick1
execute if entity @s[scores={charge.output=5..30}] anchored eyes positioned ^0 ^0 ^1 run function ssbrc:fighters/ryu/logic/abilities/hadouken/particles/tick1
execute if entity @s[scores={charge.output=10..30}] anchored eyes positioned ^0 ^0 ^1 run function ssbrc:fighters/ryu/logic/abilities/hadouken/particles/tick1
execute if entity @s[scores={charge.output=15..30}] anchored eyes positioned ^0 ^0 ^1 run function ssbrc:fighters/ryu/logic/abilities/hadouken/particles/tick1
execute if entity @s[scores={charge.output=20..30}] anchored eyes positioned ^0 ^0 ^1 run function ssbrc:fighters/ryu/logic/abilities/hadouken/particles/tick1
execute if entity @s[scores={charge.output=25..30}] anchored eyes positioned ^0 ^0 ^1 run function ssbrc:fighters/ryu/logic/abilities/hadouken/particles/tick1

execute if entity @s[scores={charge.output=30..}] anchored eyes positioned ^0 ^0 ^1 run function ssbrc:fighters/ryu/logic/abilities/hadouken/particles/tick2
execute if entity @s[scores={charge.output=30..}] anchored eyes positioned ^0 ^0 ^1 run function ssbrc:fighters/ryu/logic/abilities/hadouken/particles/tick3
execute if entity @s[scores={charge.output=40..}] anchored eyes positioned ^0 ^0 ^1 run function ssbrc:fighters/ryu/logic/abilities/hadouken/particles/tick3
execute if entity @s[scores={charge.output=50..}] anchored eyes positioned ^0 ^0 ^1 run function ssbrc:fighters/ryu/logic/abilities/hadouken/particles/tick3
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
particle end_rod ^ ^ ^ ^ ^-100000 ^2000000 0.000000025 0 force
particle end_rod ^ ^ ^ ^ ^-100000 ^-2000000 0.000000025 0 force

particle electric_spark ^ ^ ^1 0.0 0.0 0.0 0 1 force
particle electric_spark ^ ^ ^-1 0.0 0.0 0.0 0 1 force

Original file line number Diff line number Diff line change
@@ -1,4 +1,28 @@
particle minecraft:dust_color_transition 1.0 1.0 0.0 5.0 1.0 1.0 1.0 ~ ~ ~ 0.0 0.0 0.0 0.0 1 force @a
particle dust_color_transition 0.078 0.725 1.000 4 0.890 0.980 1.000 ~ ~ ~ 0 0 0 1 0 force
particle crit ^ ^ ^1 ^ ^ ^-1000000 0.000001 0 force
particle crit ^ ^ ^1 ^ ^ ^-1000000 0.0000011 0 force
particle crit ^ ^ ^1 ^ ^ ^-1000000 0.0000012 0 force
particle crit ^ ^ ^1 ^ ^ ^-1000000 0.0000013 0 force
scoreboard players add @s timer 1
execute if score @s timer matches 1 facing ^2 ^ ^ run function ssbrc:stages/planet_epp/logic/hazards/qotile_zone/swirl/particles/1

execute if score @s timer matches 2 facing ^1.5 ^.5 ^ run function ssbrc:stages/planet_epp/logic/hazards/qotile_zone/swirl/particles/1

execute if score @s timer matches 3 facing ^1 ^1 ^ run function ssbrc:stages/planet_epp/logic/hazards/qotile_zone/swirl/particles/1

execute if score @s timer matches 4 facing ^.5 ^1.5 ^ run function ssbrc:stages/planet_epp/logic/hazards/qotile_zone/swirl/particles/1

execute if score @s timer matches 5 facing ^ ^2 ^ run function ssbrc:stages/planet_epp/logic/hazards/qotile_zone/swirl/particles/1

execute if score @s timer matches 6 facing ^-1.5 ^1.5 ^ run function ssbrc:stages/planet_epp/logic/hazards/qotile_zone/swirl/particles/1

execute if score @s timer matches 7 facing ^-1 ^1 ^ run function ssbrc:stages/planet_epp/logic/hazards/qotile_zone/swirl/particles/1

execute if score @s timer matches 8 facing ^-1.5 ^.5 ^0.5 run function ssbrc:stages/planet_epp/logic/hazards/qotile_zone/swirl/particles/1

execute if score @s timer matches 9 facing ^-2 ^0 ^1 run function ssbrc:stages/planet_epp/logic/hazards/qotile_zone/swirl/particles/1
execute if score @s timer matches 9 run scoreboard players set @s timer 0


teleport @s ^ ^ ^0.5

Expand Down