Revert "Handle noteskin lua. Thanks to Jousway."

This reverts commit 1532c4e5ab.
This commit is contained in:
Jason Felds
2013-07-18 18:02:18 -04:00
parent fb5db73c45
commit ef1190e3db
108 changed files with 1111 additions and 1940 deletions
+21 -27
View File
@@ -1,27 +1,21 @@
--If a Command has "NOTESKIN:GetMetricA" in it, that means it gets the command from the metrics.ini, else use function(self) end; to define command.
--If you dont know how "NOTESKIN:GetMetricA" works here is an explanation.
--NOTESKIN:GetMetricA("The [Group] in the metrics.ini", "The actual Command to fallback on in the metrics.ini");
local t = Def.ActorFrame {
Def.Sprite {
Texture=NOTESKIN:GetPath( "_centerp1", "Tap Note" );
Frame0000=99;
Delay0000=1;
InitCommand=function(self)
self:glowblink();
self:effectcolor1(0.4, 0.4, 0.4, 0.4);
self:effectcolor2(0.8, 0.8, 0.8, 0.4);
self:effectclock('beat');
self:effecttiming(0.2, 0, 0.8, 0);
end;
NoneCommand=NOTESKIN:GetMetricA("ReceptorArrow", "NoneCommand");
PressCommand=NOTESKIN:GetMetricA("ReceptorArrow", "PressCommand");
LiftCommand=NOTESKIN:GetMetricA("ReceptorArrow", "LiftCommand");
W5Command=NOTESKIN:GetMetricA("ReceptorArrow", "W5Command");
W4Command=NOTESKIN:GetMetricA("ReceptorArrow", "W4Command");
W3Command=NOTESKIN:GetMetricA("ReceptorArrow", "W3Command");
W2Command=NOTESKIN:GetMetricA("ReceptorArrow", "W2Command");
W1Command=NOTESKIN:GetMetricA("ReceptorArrow", "W1Command");
};
};
return t;
--If a Command has "NOTESKIN:GetMetricA" in it, that means it gets the command from the metrics.ini, else use cmd(); to define command.
--If you dont know how "NOTESKIN:GetMetricA" works here is an explanation.
--NOTESKIN:GetMetricA("The [Group] in the metrics.ini", "The actual Command to fallback on in the metrics.ini");
local t = Def.ActorFrame {
Def.Sprite {
Texture=NOTESKIN:GetPath( "_centerp1", "Tap Note" );
Frame0000=99;
Delay0000=1;
InitCommand=cmd(;glowblink;effectcolor1,0.4,0.4,0.4,0.4;effectcolor2,0.8,0.8,0.8,0.4;effectclock,'beat';effecttiming,0.2,0,0.8,0);
NoneCommand=NOTESKIN:GetMetricA("ReceptorArrow", "NoneCommand");
PressCommand=NOTESKIN:GetMetricA("ReceptorArrow", "PressCommand");
LiftCommand=NOTESKIN:GetMetricA("ReceptorArrow", "LiftCommand");
W5Command=NOTESKIN:GetMetricA("ReceptorArrow", "W5Command");
W4Command=NOTESKIN:GetMetricA("ReceptorArrow", "W4Command");
W3Command=NOTESKIN:GetMetricA("ReceptorArrow", "W3Command");
W2Command=NOTESKIN:GetMetricA("ReceptorArrow", "W2Command");
W1Command=NOTESKIN:GetMetricA("ReceptorArrow", "W1Command");
};
};
return t;