diff --git a/NoteSkins/pump/delta-routine-p1/Center Hold Body Active.png b/NoteSkins/pump/delta-routine-p1/Center Hold Body Active.png new file mode 100644 index 0000000000..efae059621 Binary files /dev/null and b/NoteSkins/pump/delta-routine-p1/Center Hold Body Active.png differ diff --git a/NoteSkins/pump/delta-routine-p1/Center Hold BottomCap Active.png b/NoteSkins/pump/delta-routine-p1/Center Hold BottomCap Active.png new file mode 100644 index 0000000000..2c9a223af8 Binary files /dev/null and b/NoteSkins/pump/delta-routine-p1/Center Hold BottomCap Active.png differ diff --git a/NoteSkins/pump/delta-routine-p1/Center Tap Note 6x1.png b/NoteSkins/pump/delta-routine-p1/Center Tap Note 6x1.png new file mode 100644 index 0000000000..78678a76ba Binary files /dev/null and b/NoteSkins/pump/delta-routine-p1/Center Tap Note 6x1.png differ diff --git a/NoteSkins/pump/delta-routine-p1/DownLeft Hold Body Active.png b/NoteSkins/pump/delta-routine-p1/DownLeft Hold Body Active.png new file mode 100644 index 0000000000..9e169b2730 Binary files /dev/null and b/NoteSkins/pump/delta-routine-p1/DownLeft Hold Body Active.png differ diff --git a/NoteSkins/pump/delta-routine-p1/DownLeft Hold BottomCap Active.png b/NoteSkins/pump/delta-routine-p1/DownLeft Hold BottomCap Active.png new file mode 100644 index 0000000000..5b6370f525 Binary files /dev/null and b/NoteSkins/pump/delta-routine-p1/DownLeft Hold BottomCap Active.png differ diff --git a/NoteSkins/pump/delta-routine-p1/DownLeft Tap Note 6x1.png b/NoteSkins/pump/delta-routine-p1/DownLeft Tap Note 6x1.png new file mode 100644 index 0000000000..572bec1f84 Binary files /dev/null and b/NoteSkins/pump/delta-routine-p1/DownLeft Tap Note 6x1.png differ diff --git a/NoteSkins/pump/delta-routine-p1/DownRight Hold Body Active.png b/NoteSkins/pump/delta-routine-p1/DownRight Hold Body Active.png new file mode 100644 index 0000000000..ef0241d5e8 Binary files /dev/null and b/NoteSkins/pump/delta-routine-p1/DownRight Hold Body Active.png differ diff --git a/NoteSkins/pump/delta-routine-p1/DownRight Hold BottomCap Active.png b/NoteSkins/pump/delta-routine-p1/DownRight Hold BottomCap Active.png new file mode 100644 index 0000000000..fc3545e97a Binary files /dev/null and b/NoteSkins/pump/delta-routine-p1/DownRight Hold BottomCap Active.png differ diff --git a/NoteSkins/pump/delta-routine-p1/NoteSkin.lua b/NoteSkins/pump/delta-routine-p1/NoteSkin.lua new file mode 100644 index 0000000000..5836773dfc --- /dev/null +++ b/NoteSkins/pump/delta-routine-p1/NoteSkin.lua @@ -0,0 +1,117 @@ +local Noteskin = {} + +--bBlanks: +Noteskin.bBlanks = { + --["element"] = true|false; + ["Hold Tail Active"] = true; + ["Hold Tail Active"] = true; + -- + --["Hold Head Active"] = "Tap Note"; + --["Hold Head Inactive"] = "Tap Note"; + -- + ["Roll Tail Inactive"] = true; + ["Roll Tail Inactive"] = true; +} +Noteskin.PartsToRotate = { + --["elemenu"] = true|false; + ["Roll Head Active"] = false; + ["Roll Head Inactive"] = false; + ["NoteHit"] = 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 Body Active"] = "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 = 180; + DownLeft = 0; + DownRight = 180; +} + +local function func() + local sButton = Var "Button" + local sElement = Var "Element" + + if Noteskin.bBlanks[sElement] then + local t = Def.Actor {}; + if Var "SpriteOnly" then + t = LoadActor( "_blank" ); + end + return t + 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) + + local bRotate = Noteskin.PartsToRotate[ElementToLoad] + --rotate by default + if bRotate == nil then bRotate = true end + if bRotate then + t.BaseRotationX=Noteskin.BaseRotX[sButton] + t.BaseRotationY=Noteskin.BaseRotY[sButton] + end + + return t +end + +Noteskin.Load = func +Noteskin.CommonLoad = func + +return Noteskin \ No newline at end of file diff --git a/NoteSkins/pump/delta-routine-p1/UpLeft Hold Body Active.png b/NoteSkins/pump/delta-routine-p1/UpLeft Hold Body Active.png new file mode 100644 index 0000000000..eac375d316 Binary files /dev/null and b/NoteSkins/pump/delta-routine-p1/UpLeft Hold Body Active.png differ diff --git a/NoteSkins/pump/delta-routine-p1/UpLeft Hold BottomCap Active.png b/NoteSkins/pump/delta-routine-p1/UpLeft Hold BottomCap Active.png new file mode 100644 index 0000000000..8ed309f98a Binary files /dev/null and b/NoteSkins/pump/delta-routine-p1/UpLeft Hold BottomCap Active.png differ diff --git a/NoteSkins/pump/delta-routine-p1/UpLeft Tap Note 6x1.png b/NoteSkins/pump/delta-routine-p1/UpLeft Tap Note 6x1.png new file mode 100644 index 0000000000..c921337016 Binary files /dev/null and b/NoteSkins/pump/delta-routine-p1/UpLeft Tap Note 6x1.png differ diff --git a/NoteSkins/pump/delta-routine-p1/UpRight Hold Body Active.png b/NoteSkins/pump/delta-routine-p1/UpRight Hold Body Active.png new file mode 100644 index 0000000000..e7226f8adc Binary files /dev/null and b/NoteSkins/pump/delta-routine-p1/UpRight Hold Body Active.png differ diff --git a/NoteSkins/pump/delta-routine-p1/UpRight Hold BottomCap Active.png b/NoteSkins/pump/delta-routine-p1/UpRight Hold BottomCap Active.png new file mode 100644 index 0000000000..59c4d86f53 Binary files /dev/null and b/NoteSkins/pump/delta-routine-p1/UpRight Hold BottomCap Active.png differ diff --git a/NoteSkins/pump/delta-routine-p1/metrics.ini b/NoteSkins/pump/delta-routine-p1/metrics.ini new file mode 100644 index 0000000000..ff043649c2 --- /dev/null +++ b/NoteSkins/pump/delta-routine-p1/metrics.ini @@ -0,0 +1,2 @@ +[Global] +FallbackNoteSkin=delta \ No newline at end of file diff --git a/NoteSkins/pump/delta-routine-p2/Center Hold Body Active.png b/NoteSkins/pump/delta-routine-p2/Center Hold Body Active.png new file mode 100644 index 0000000000..bd42326e21 Binary files /dev/null and b/NoteSkins/pump/delta-routine-p2/Center Hold Body Active.png differ diff --git a/NoteSkins/pump/delta-routine-p2/Center Hold BottomCap Active.png b/NoteSkins/pump/delta-routine-p2/Center Hold BottomCap Active.png new file mode 100644 index 0000000000..4188000465 Binary files /dev/null and b/NoteSkins/pump/delta-routine-p2/Center Hold BottomCap Active.png differ diff --git a/NoteSkins/pump/delta-routine-p2/Center Tap Note 6x1.png b/NoteSkins/pump/delta-routine-p2/Center Tap Note 6x1.png new file mode 100644 index 0000000000..ff666c7a45 Binary files /dev/null and b/NoteSkins/pump/delta-routine-p2/Center Tap Note 6x1.png differ diff --git a/NoteSkins/pump/delta-routine-p2/DownLeft Hold Body Active.png b/NoteSkins/pump/delta-routine-p2/DownLeft Hold Body Active.png new file mode 100644 index 0000000000..045d8a914c Binary files /dev/null and b/NoteSkins/pump/delta-routine-p2/DownLeft Hold Body Active.png differ diff --git a/NoteSkins/pump/delta-routine-p2/DownLeft Hold BottomCap Active.png b/NoteSkins/pump/delta-routine-p2/DownLeft Hold BottomCap Active.png new file mode 100644 index 0000000000..8d33694ad2 Binary files /dev/null and b/NoteSkins/pump/delta-routine-p2/DownLeft Hold BottomCap Active.png differ diff --git a/NoteSkins/pump/delta-routine-p2/DownLeft Tap Note 6x1.png b/NoteSkins/pump/delta-routine-p2/DownLeft Tap Note 6x1.png new file mode 100644 index 0000000000..94268c1760 Binary files /dev/null and b/NoteSkins/pump/delta-routine-p2/DownLeft Tap Note 6x1.png differ diff --git a/NoteSkins/pump/delta-routine-p2/DownRight Hold Body Active.png b/NoteSkins/pump/delta-routine-p2/DownRight Hold Body Active.png new file mode 100644 index 0000000000..702b0d1476 Binary files /dev/null and b/NoteSkins/pump/delta-routine-p2/DownRight Hold Body Active.png differ diff --git a/NoteSkins/pump/delta-routine-p2/DownRight Hold BottomCap Active.png b/NoteSkins/pump/delta-routine-p2/DownRight Hold BottomCap Active.png new file mode 100644 index 0000000000..2d83ae64d7 Binary files /dev/null and b/NoteSkins/pump/delta-routine-p2/DownRight Hold BottomCap Active.png differ diff --git a/NoteSkins/pump/delta-routine-p2/NoteSkin.lua b/NoteSkins/pump/delta-routine-p2/NoteSkin.lua new file mode 100644 index 0000000000..5836773dfc --- /dev/null +++ b/NoteSkins/pump/delta-routine-p2/NoteSkin.lua @@ -0,0 +1,117 @@ +local Noteskin = {} + +--bBlanks: +Noteskin.bBlanks = { + --["element"] = true|false; + ["Hold Tail Active"] = true; + ["Hold Tail Active"] = true; + -- + --["Hold Head Active"] = "Tap Note"; + --["Hold Head Inactive"] = "Tap Note"; + -- + ["Roll Tail Inactive"] = true; + ["Roll Tail Inactive"] = true; +} +Noteskin.PartsToRotate = { + --["elemenu"] = true|false; + ["Roll Head Active"] = false; + ["Roll Head Inactive"] = false; + ["NoteHit"] = 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 Body Active"] = "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 = 180; + DownLeft = 0; + DownRight = 180; +} + +local function func() + local sButton = Var "Button" + local sElement = Var "Element" + + if Noteskin.bBlanks[sElement] then + local t = Def.Actor {}; + if Var "SpriteOnly" then + t = LoadActor( "_blank" ); + end + return t + 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) + + local bRotate = Noteskin.PartsToRotate[ElementToLoad] + --rotate by default + if bRotate == nil then bRotate = true end + if bRotate then + t.BaseRotationX=Noteskin.BaseRotX[sButton] + t.BaseRotationY=Noteskin.BaseRotY[sButton] + end + + return t +end + +Noteskin.Load = func +Noteskin.CommonLoad = func + +return Noteskin \ No newline at end of file diff --git a/NoteSkins/pump/delta-routine-p2/UpLeft Hold Body Active.png b/NoteSkins/pump/delta-routine-p2/UpLeft Hold Body Active.png new file mode 100644 index 0000000000..f53d082cd0 Binary files /dev/null and b/NoteSkins/pump/delta-routine-p2/UpLeft Hold Body Active.png differ diff --git a/NoteSkins/pump/delta-routine-p2/UpLeft Hold BottomCap Active.png b/NoteSkins/pump/delta-routine-p2/UpLeft Hold BottomCap Active.png new file mode 100644 index 0000000000..13b697c052 Binary files /dev/null and b/NoteSkins/pump/delta-routine-p2/UpLeft Hold BottomCap Active.png differ diff --git a/NoteSkins/pump/delta-routine-p2/UpLeft Tap Note 6x1.png b/NoteSkins/pump/delta-routine-p2/UpLeft Tap Note 6x1.png new file mode 100644 index 0000000000..b4e0817f61 Binary files /dev/null and b/NoteSkins/pump/delta-routine-p2/UpLeft Tap Note 6x1.png differ diff --git a/NoteSkins/pump/delta-routine-p2/UpRight Hold Body Active.png b/NoteSkins/pump/delta-routine-p2/UpRight Hold Body Active.png new file mode 100644 index 0000000000..d91c1090fa Binary files /dev/null and b/NoteSkins/pump/delta-routine-p2/UpRight Hold Body Active.png differ diff --git a/NoteSkins/pump/delta-routine-p2/UpRight Hold BottomCap Active.png b/NoteSkins/pump/delta-routine-p2/UpRight Hold BottomCap Active.png new file mode 100644 index 0000000000..8d83361ddc Binary files /dev/null and b/NoteSkins/pump/delta-routine-p2/UpRight Hold BottomCap Active.png differ diff --git a/NoteSkins/pump/delta-routine-p2/metrics.ini b/NoteSkins/pump/delta-routine-p2/metrics.ini new file mode 100644 index 0000000000..ff043649c2 --- /dev/null +++ b/NoteSkins/pump/delta-routine-p2/metrics.ini @@ -0,0 +1,2 @@ +[Global] +FallbackNoteSkin=delta \ No newline at end of file