Files
itgmania212121/NoteSkins/dance/ddr-note/Fallback Explosion.lua
T

39 lines
1.8 KiB
Lua
Raw Normal View History

2018-01-24 23:00:28 -06:00
--If a Command has "NOTESKIN:GetMetricA" in it, that means it gets the command from the metrics.ini, else use cmd(); to define command.
local t = Def.ActorFrame {
--Hold Explosion Commands
NOTESKIN:LoadActor( Var "Button", "Hold Explosion" ) .. {
HoldingOnCommand=NOTESKIN:GetMetricA("HoldGhostArrow", "HoldingOnCommand");
HoldingOffCommand=NOTESKIN:GetMetricA("HoldGhostArrow", "HoldingOffCommand");
InitCommand=cmd(playcommand,"HoldingOff";finishtweening);
};
--Roll Explosion Commands
2022-05-22 23:16:36 -07:00
NOTESKIN:LoadActor( Var "Button", "Roll Explosion" ) .. {
2018-01-24 23:00:28 -06:00
RollOnCommand=NOTESKIN:GetMetricA("HoldGhostArrow", "RollOnCommand");
RollOffCommand=NOTESKIN:GetMetricA("HoldGhostArrow", "RollOffCommand");
InitCommand=cmd(playcommand,"RollOff";finishtweening);
};
--Dim Explosion Commands
NOTESKIN:LoadActor( Var "Button", "Tap Explosion Dim" ) .. {
InitCommand=cmd(diffusealpha,0);
W5Command=NOTESKIN:GetMetricA("GhostArrowDim", "W5Command");
W4Command=NOTESKIN:GetMetricA("GhostArrowDim", "W4Command");
W3Command=NOTESKIN:GetMetricA("GhostArrowDim", "W3Command");
W2Command=NOTESKIN:GetMetricA("GhostArrowDim", "W2Command");
2024-01-09 09:26:04 -08:00
BrightCommand=NOTESKIN:GetMetricA("GhostArrowDim", "W1Command");
2018-01-24 23:00:28 -06:00
JudgmentCommand=cmd(finishtweening);
};
--Bright Explosion Commands
NOTESKIN:LoadActor( Var "Button", "Tap Explosion Bright" ) .. {
InitCommand=cmd(diffusealpha,0);
HeldCommand=NOTESKIN:GetMetricA("GhostArrowBright", "HeldCommand");
2022-05-22 23:16:36 -07:00
W1Command=NOTESKIN:GetMetricA("GhostArrowBright", "W1Command");
2018-01-24 23:00:28 -06:00
JudgmentCommand=cmd(finishtweening);
};
--Mine Explosion Commands
NOTESKIN:LoadActor( Var "Button", "HitMine Explosion" ) .. {
InitCommand=cmd(blend,"BlendMode_Add";diffusealpha,0);
HitMineCommand=NOTESKIN:GetMetricA("GhostArrowBright", "HitMineCommand");
};
}
return t;