diff --git a/stepmania/NoteSkins/common/common/Fallback Explosion.lua b/stepmania/NoteSkins/common/common/Fallback Explosion.lua index a9084bf368..a1b8b9a589 100644 --- a/stepmania/NoteSkins/common/common/Fallback Explosion.lua +++ b/stepmania/NoteSkins/common/common/Fallback Explosion.lua @@ -4,6 +4,11 @@ local t = Def.ActorFrame { HoldingOffCommand=NOTESKIN:GetMetricA("HoldGhostArrow", "HoldingOffCommand"); InitCommand=cmd(playcommand,"HoldingOff";finishtweening); }; + NOTESKIN:LoadActor( Var "Button", "Roll Explosion" ) .. { + RollOnCommand=NOTESKIN:GetMetricA("HoldGhostArrow", "RollOnCommand"); + RollOffCommand=NOTESKIN:GetMetricA("HoldGhostArrow", "RollOffCommand"); + InitCommand=cmd(playcommand,"RollOff";finishtweening); + }; NOTESKIN:LoadActor( Var "Button", "Tap Explosion Dim" ) .. { InitCommand=cmd(diffusealpha,0); W5Command=NOTESKIN:GetMetricA("GhostArrowDim", "W5Command"); diff --git a/stepmania/NoteSkins/common/common/Fallback Roll Explosion.redir b/stepmania/NoteSkins/common/common/Fallback Roll Explosion.redir new file mode 100644 index 0000000000..141d9a154a --- /dev/null +++ b/stepmania/NoteSkins/common/common/Fallback Roll Explosion.redir @@ -0,0 +1 @@ +Fallback Hold Explosion diff --git a/stepmania/NoteSkins/common/common/metrics.ini b/stepmania/NoteSkins/common/common/metrics.ini index b5c8f540c8..61f9e4754c 100644 --- a/stepmania/NoteSkins/common/common/metrics.ini +++ b/stepmania/NoteSkins/common/common/metrics.ini @@ -100,6 +100,8 @@ LiftCommand= [HoldGhostArrow] HoldingOnCommand=hidden,0 HoldingOffCommand=hidden,1 +RollOnCommand=hidden,false +RollOffCommand=hidden,true [Press] ReverseOnCommand=vertalign,bottom diff --git a/stepmania/NoteSkins/dance/default/NoteSkin.lua b/stepmania/NoteSkins/dance/default/NoteSkin.lua index bcabe9a697..359c8bca82 100644 --- a/stepmania/NoteSkins/dance/default/NoteSkin.lua +++ b/stepmania/NoteSkins/dance/default/NoteSkin.lua @@ -47,6 +47,7 @@ function ret.Load() -- The main "Explosion" part just loads other actors; don't rotate -- it. The "Hold Explosion" part should not be rotated. if Var "Element" == "Explosion" or + Var "Element" == "Roll Explosion" or Var "Element" == "Hold Explosion" then t.BaseRotationZ = nil; end