daisu requested that I nuke the pump noteskins...
|
Before Width: | Height: | Size: 421 B |
|
Before Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 437 B |
|
Before Width: | Height: | Size: 7.7 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 431 B |
|
Before Width: | Height: | Size: 7.6 KiB |
@@ -1 +0,0 @@
|
||||
return NOTESKIN:LoadActor("DownLeft","Tap Note");
|
||||
@@ -1,107 +0,0 @@
|
||||
local Noteskin = {}
|
||||
|
||||
--bBlanks:
|
||||
Noteskin.bBlanks = {
|
||||
--["element"] = true|false;
|
||||
["Hold Tail Active"] = true;
|
||||
["Hold Tail Active"] = true;
|
||||
["Roll Tail Inactive"] = true;
|
||||
["Roll Tail Inactive"] = true;
|
||||
}
|
||||
Noteskin.ElementRedirs = {
|
||||
--["element"] = "redirected_element";
|
||||
["Hold Head Active"] = "Tap Note";
|
||||
["Hold Head Inactive"] = "Tap Note";
|
||||
["Roll Head Active"] = "Roll Head Active";
|
||||
["Roll Head Inactive"] = "Roll Head Active";
|
||||
["Tap Fake"] = "Tap Note";
|
||||
--
|
||||
["Hold Topcap Inactive"] = "Hold Topcap Active";
|
||||
["Hold Body Inactive"] = "Hold Body Active";
|
||||
["Hold Bottomcap Inactive"] = "Hold Bottomcap Active";
|
||||
["Hold Tail Inactive"] = "Hold Tail Active";
|
||||
--
|
||||
["Roll Topcap Active"] = "Hold Topcap Active";
|
||||
["Roll Body Active"] = "Hold Body Active";
|
||||
["Roll Bottomcap Active"] = "Hold Bottomcap Active";
|
||||
["Roll Tail Active"] = "Hold Tail Active";
|
||||
--
|
||||
["Roll Topcap Inactive"] = "Hold Topcap Active";
|
||||
["Roll Body Inactive"] = "Hold Body Active";
|
||||
["Roll Bottomcap Inactive"] = "Hold Bottomcap Active";
|
||||
["Roll Tail Inactive"] = "Hold Tail Active";
|
||||
}
|
||||
Noteskin.ButtonRedirs = {
|
||||
Center = "Center";
|
||||
UpLeft = "UpLeft";
|
||||
UpRight = "UpRight";
|
||||
DownLeft = "DownLeft";
|
||||
DownRight = "DownRight";
|
||||
}
|
||||
Noteskin.BaseRotX = {
|
||||
Center = 0;
|
||||
UpLeft = 0;
|
||||
UpRight = 0;
|
||||
DownLeft = 0;
|
||||
DownRight = 0;
|
||||
}
|
||||
Noteskin.BaseRotY = {
|
||||
Center = 0;
|
||||
UpLeft = 0;
|
||||
UpRight = 0;
|
||||
DownLeft = 0;
|
||||
DownRight = 0;
|
||||
}
|
||||
|
||||
local function func()
|
||||
local sButton = Var "Button"
|
||||
local sElement = Var "Element"
|
||||
|
||||
if Noteskin.bBlanks[sElement] then
|
||||
return Def.Actor {}
|
||||
end
|
||||
|
||||
--local ButtonToLoad = Noteskin.ButtonRedirs[sButton]
|
||||
local ElementToLoad = Noteskin.ElementRedirs[sElement]
|
||||
if not ElementToLoad then
|
||||
ElementToLoad = sElement
|
||||
end
|
||||
|
||||
--update: ahora receptor también
|
||||
if sElement == "Explosion"
|
||||
or sElement == "Tap Lift"
|
||||
or sElement == "Tap Mine"
|
||||
or sElement == "Receptor"
|
||||
then
|
||||
sButton = "UpLeft"
|
||||
end
|
||||
local path = NOTESKIN:GetPath(Noteskin.ButtonRedirs[sButton],ElementToLoad)
|
||||
--Graficos separados para holds y rolls
|
||||
if string.find(sElement,"Hold") or string.find(sElement,"Roll") then
|
||||
--if ( string.find(sElement,"Hold") or string.find(sElement,"Roll") ) and not ( string.find(sElement,"Head") or string.find(sElement,"Tail") ) then
|
||||
--if ( string.find(sElement,"Hold") or string.find(sElement,"Roll") ) and ( string.find(sElement,"Body") ) then
|
||||
path = NOTESKIN:GetPath(sButton,ElementToLoad)
|
||||
end
|
||||
|
||||
local t = LoadActor(path)
|
||||
--Rotaciones independientes por elemento
|
||||
--[[local dRotationX = Noteskin.BaseRotX[sButton][ElementToLoad]
|
||||
if not dRotationX then
|
||||
dRotationX = Noteskin.BaseRotX[sButton]["Common"]
|
||||
end
|
||||
|
||||
local dRotationY = Noteskin.BaseRotY[sButton][ElementToLoad]
|
||||
if not dRotationY then
|
||||
dRotationY = Noteskin.BaseRotY[sButton]["Common"]
|
||||
end]]
|
||||
|
||||
t.BaseRotationX=Noteskin.BaseRotX[sButton]
|
||||
t.BaseRotationY=Noteskin.BaseRotY[sButton]
|
||||
|
||||
return t
|
||||
end
|
||||
|
||||
Noteskin.Load = func
|
||||
Noteskin.CommonLoad = func
|
||||
|
||||
return Noteskin
|
||||
@@ -1,53 +0,0 @@
|
||||
return Def.ActorFrame {
|
||||
--note graphic
|
||||
NOTESKIN:LoadActor(Var "Button", "Tap Note") .. {
|
||||
InitCommand=cmd(blend,"BlendMode_Add";playcommand,"Glow");
|
||||
W1Command=cmd(playcommand,"Glow");
|
||||
W2Command=cmd(playcommand,"Glow");
|
||||
W3Command=cmd(playcommand,"Glow");
|
||||
W4Command=cmd();
|
||||
W5Command=cmd();
|
||||
--HoldingOnCommand=cmd(playcommand,"Glow");
|
||||
HitMineCommand=cmd(playcommand,"Glow");
|
||||
GlowCommand=cmd(setstate,0;finishtweening;diffusealpha,1.0;zoom,1.0;linear,0.15;diffusealpha,0.9;zoom,1.15;linear,0.15;diffusealpha,0.0;zoom,1.3);
|
||||
HeldCommand=cmd(playcommand,"Glow");
|
||||
};
|
||||
NOTESKIN:LoadActor(Var "Button", "Ready Receptor")..{
|
||||
Name="Tap";
|
||||
Frames = { { Frame = 2 } };
|
||||
InitCommand=cmd(zoom,1;diffusealpha,0);
|
||||
TapCommand=cmd(finishtweening;diffusealpha,1;zoom,1;linear,0.2;diffusealpha,0;zoom,1.2);
|
||||
|
||||
W1Command=cmd(playcommand,"Tap");
|
||||
W2Command=cmd(playcommand,"Tap");
|
||||
W3Command=cmd(playcommand,"Tap");
|
||||
W4Command=cmd(playcommand,"Tap");
|
||||
W5Command=cmd(playcommand,"Tap");
|
||||
|
||||
HitMineCommand=cmd(playcommand,"Tap");
|
||||
HeldCommand=cmd(playcommand,"Tap");
|
||||
|
||||
--NONECommand=cmd(playcommand,"Tap");
|
||||
|
||||
--HeldCommand=NOTESKIN:GetMetricA(Var "Button", "TapHeldCommand");
|
||||
--NOT WORKING!!
|
||||
NoneCommand=cmd(linear,0.1;zoom,2);
|
||||
};
|
||||
--explosion
|
||||
LoadActor("_flash")..{
|
||||
InitCommand=cmd(blend,"BlendMode_Add";playcommand,"Glow");
|
||||
W1Command=cmd(playcommand,"Glow");
|
||||
W2Command=cmd(playcommand,"Glow");
|
||||
W3Command=cmd(playcommand,"Glow");
|
||||
W4Command=cmd();
|
||||
W5Command=cmd();
|
||||
--HoldingOnCommand=cmd(playcommand,"Glow");
|
||||
HitMineCommand=cmd(playcommand,"Glow");
|
||||
HeldCommand=cmd(playcommand,"Glow");
|
||||
GlowCommand=cmd(setstate,0;finishtweening;diffusealpha,1;zoom,1;linear,0.2;diffusealpha,0;zoom,1.2);
|
||||
};
|
||||
Def.Quad {
|
||||
InitCommand=cmd(diffuse,1,1,1,0;zoomto,SCREEN_WIDTH*100,SCREEN_HEIGHT*100;zoomz,SCREEN_WIDTH*SCREEN_HEIGHT);
|
||||
HitMineCommand=cmd(finishtweening;diffusealpha,1;linear,0.3;diffusealpha,0);
|
||||
};
|
||||
}
|
||||
|
Before Width: | Height: | Size: 442 B |
|
Before Width: | Height: | Size: 8.9 KiB |
|
Before Width: | Height: | Size: 12 KiB |
@@ -1,49 +0,0 @@
|
||||
local function Beat(self)
|
||||
local this = self:GetChildren()
|
||||
|
||||
local beat = GAMESTATE:GetSongBeat()
|
||||
|
||||
local part = beat%1
|
||||
part = clamp(part,0,0.5)
|
||||
local eff = scale(part,0,0.5,1,0)
|
||||
if (GAMESTATE:GetSongDelay() or false) and part == 0 then eff = 0 end
|
||||
if beat < 0 then
|
||||
eff = 0
|
||||
end
|
||||
this.Glow:diffusealpha(eff);
|
||||
end
|
||||
|
||||
return Def.ActorFrame {
|
||||
-- COMMANDS --
|
||||
InitCommand=cmd(SetUpdateFunction,Beat);
|
||||
|
||||
-- LAYERS --
|
||||
NOTESKIN:LoadActor("Center", "Outline Receptor")..{
|
||||
Name="Outline";
|
||||
Condition=Var "Button" == "Center";
|
||||
--InitCommand=cmd(x,96);
|
||||
};
|
||||
NOTESKIN:LoadActor(Var "Button", "Ready Receptor")..{
|
||||
Name="Base";
|
||||
Frames = { { Frame = 0 } };
|
||||
--PressCommand=cmd(finishtweening;glow,1,1,1,1;linear,0.1;glow,1,1,1,0);
|
||||
};
|
||||
NOTESKIN:LoadActor(Var "Button", "Ready Receptor")..{
|
||||
Name="Glow";
|
||||
Frames = { { Frame = 1 } };
|
||||
InitCommand=cmd(blend,'BlendMode_Add');
|
||||
--PressCommand=cmd(finishtweening;linear,0.05;zoom,0.9;linear,0.1;zoom,1);
|
||||
};
|
||||
--[[
|
||||
NOTESKIN:LoadActor(Var "Button", "Ready Receptor")..{
|
||||
Name="Tap";
|
||||
Frames = { { Frame = 2 } };
|
||||
InitCommand=cmd(zoom,1;diffusealpha,0;glow,1,1,1,0);
|
||||
--NOTESKIN:GetMetricA(Var "Button", "TapInitCommand");
|
||||
--
|
||||
PressCommand=cmd(finishtweening;glow,1,1,1,1;zoom,1;linear,0.2;glow,1,1,1,0;zoom,1.2);
|
||||
--NOTESKIN:GetMetricA(Var "Button", "TapHeldCommand");
|
||||
--
|
||||
};
|
||||
--]]
|
||||
}
|
||||
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 434 B |
|
Before Width: | Height: | Size: 8.7 KiB |
@@ -1 +0,0 @@
|
||||
return NOTESKIN:LoadActor("UpLeft","Tap Note");
|
||||
@@ -1,30 +0,0 @@
|
||||
[NoteDisplay]
|
||||
AnimationIsBeatBased=0
|
||||
|
||||
TapNoteAnimationLength=0.25
|
||||
TapMineAnimationLength=0.25
|
||||
TapLiftAnimationLength=0.25
|
||||
TapFakeAnimationLength=0.25
|
||||
HoldHeadAnimationLength=0.25
|
||||
HoldTopCapAnimationLength=0.25
|
||||
HoldBottomCapAnimationLength=0.25
|
||||
HoldBodyAnimationLength=0.25
|
||||
HoldTailAnimationLength=0.25
|
||||
|
||||
HoldLetGoGrayPercent=1
|
||||
ReverseDrawOrder=1111
|
||||
|
||||
FlipHeadAndTailWhenReverse=1
|
||||
FlipHoldBodyWhenReverse=1
|
||||
TopHoldAnchorWhenReverse=0
|
||||
HoldActiveIsAddLayer=0
|
||||
|
||||
[Center]
|
||||
|
||||
[DownLeft]
|
||||
|
||||
[DownRight]
|
||||
|
||||
[UpLeft]
|
||||
|
||||
[UpRight]
|
||||
|
Before Width: | Height: | Size: 242 B |
|
Before Width: | Height: | Size: 938 B |
|
Before Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 255 B |
|
Before Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 6.0 KiB |
|
Before Width: | Height: | Size: 257 B |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 261 B |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 5.7 KiB |
|
Before Width: | Height: | Size: 260 B |
|
Before Width: | Height: | Size: 1.6 KiB |
@@ -1,10 +0,0 @@
|
||||
[NoteDisplay]
|
||||
TapNoteAnimationLength=1.66
|
||||
TapMineAnimationLength=1.66
|
||||
TapLiftAnimationLength=1.66
|
||||
|
||||
HoldHeadAnimationLength=1.66
|
||||
HoldTopCapAnimationLength=1.66
|
||||
HoldBottomCapAnimationLength=1.66
|
||||
HoldBodyAnimationLength=1.66
|
||||
HoldTailAnimationLength=1.66
|
||||