diff --git a/NoteSkins/kb7/default/NoteSkin.lua b/NoteSkins/kb7/default/NoteSkin.lua new file mode 100644 index 0000000000..d07229a42e --- /dev/null +++ b/NoteSkins/kb7/default/NoteSkin.lua @@ -0,0 +1,102 @@ +local ret = ... or {}; + +ret.RedirTable = +{ + Key1 = "Key", + Key2 = "Key", + Key3 = "Key", + Key4 = GAMESTATE:IsSideJoined(PLAYER_1) and "Key" or "Space", + Key5 = "Key", + Key6 = "Key", + Key7 = "Key", +}; + +local OldRedir = ret.Redir; +ret.Redir = function(sButton, sElement) + sButton, sElement = OldRedir(sButton, sElement); + + -- Instead of separate hold heads, use the tap note graphics. + if sElement == "Hold Head Inactive" or + sElement == "Hold Head Active" or + sElement == "Roll Head Inactive" or + sElement == "Roll Head Active" + then + sElement = "Tap Note"; + end + + sButton = ret.RedirTable[sButton]; + + return sButton, sElement; +end + +-- To have separate graphics for each hold part: +--[[ +local OldRedir = ret.Redir; +ret.Redir = function(sButton, sElement) + -- Redirect non-hold, non-roll parts. + if string.find(sElement, "hold") then + return sButton, sElement; + end + return OldRedir(sButton, sElement); +end +]] + +local OldFunc = ret.Load; +function ret.Load() + local t = OldFunc(); + + -- 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 + return t; +end + +ret.PartsToRotate = +{ + ["Go Receptor"] = true, + ["Ready Receptor"] = true, + ["Tap Explosion Bright"] = true, + ["Tap Explosion Dim"] = true, + ["Tap Note"] = true, + ["Hold Head Active"] = true, + ["Hold Head Inactive"] = true, + ["Roll Head Active"] = true, + ["Roll Head Inactive"] = true, +}; +ret.Rotate = +{ + Key1 = 0, + Key2 = 0, + Key3 = 0, + Key4 = 0, + Key5 = 0, + Key6 = 0, + Key7 = 0, +}; + +-- +-- If a derived skin wants to have separate UpLeft graphics, +-- use this: +-- +-- ret.RedirTable.UpLeft = "UpLeft"; +-- ret.RedirTable.UpRight = "UpLeft"; +-- ret.Rotate.UpLeft = 0; +-- ret.Rotate.UpRight = 90; +-- +ret.Blank = +{ + ["Hold Topcap Active"] = true, + ["Hold Topcap Inactive"] = true, + ["Roll Topcap Active"] = true, + ["Roll Topcap Inactive"] = true, + ["Hold Tail Active"] = true, + ["Hold Tail Inactive"] = true, + ["Roll Tail Active"] = true, + ["Roll Tail Inactive"] = true, +}; + +return ret; diff --git a/NoteSkins/kb7/default/Space Hold Body active.png b/NoteSkins/kb7/default/Space Hold Body active.png new file mode 100644 index 0000000000..34d6fad3ce Binary files /dev/null and b/NoteSkins/kb7/default/Space Hold Body active.png differ diff --git a/NoteSkins/kb7/default/Space Hold Body inactive.png b/NoteSkins/kb7/default/Space Hold Body inactive.png new file mode 100644 index 0000000000..f4dbeaea82 Binary files /dev/null and b/NoteSkins/kb7/default/Space Hold Body inactive.png differ diff --git a/NoteSkins/kb7/default/Space Hold BottomCap active.png b/NoteSkins/kb7/default/Space Hold BottomCap active.png new file mode 100644 index 0000000000..de8033e015 Binary files /dev/null and b/NoteSkins/kb7/default/Space Hold BottomCap active.png differ diff --git a/NoteSkins/kb7/default/Space Hold BottomCap inactive.png b/NoteSkins/kb7/default/Space Hold BottomCap inactive.png new file mode 100644 index 0000000000..0604d261ee Binary files /dev/null and b/NoteSkins/kb7/default/Space Hold BottomCap inactive.png differ diff --git a/NoteSkins/kb7/default/Space Hold Explosion 2x1.png b/NoteSkins/kb7/default/Space Hold Explosion 2x1.png new file mode 100644 index 0000000000..3c0f693b3c Binary files /dev/null and b/NoteSkins/kb7/default/Space Hold Explosion 2x1.png differ diff --git a/NoteSkins/kb7/default/Space Receptor.lua b/NoteSkins/kb7/default/Space Receptor.lua new file mode 100644 index 0000000000..ac83a6d2ab --- /dev/null +++ b/NoteSkins/kb7/default/Space Receptor.lua @@ -0,0 +1 @@ +return Def.Actor {} diff --git a/NoteSkins/kb7/default/Space Roll Body active.png b/NoteSkins/kb7/default/Space Roll Body active.png new file mode 100644 index 0000000000..055d451ea2 Binary files /dev/null and b/NoteSkins/kb7/default/Space Roll Body active.png differ diff --git a/NoteSkins/kb7/default/Space Roll Body inactive.png b/NoteSkins/kb7/default/Space Roll Body inactive.png new file mode 100644 index 0000000000..9cac60073a Binary files /dev/null and b/NoteSkins/kb7/default/Space Roll Body inactive.png differ diff --git a/NoteSkins/kb7/default/Space Roll BottomCap active.png b/NoteSkins/kb7/default/Space Roll BottomCap active.png new file mode 100644 index 0000000000..a7286e8577 Binary files /dev/null and b/NoteSkins/kb7/default/Space Roll BottomCap active.png differ diff --git a/NoteSkins/kb7/default/Space Roll BottomCap inactive.png b/NoteSkins/kb7/default/Space Roll BottomCap inactive.png new file mode 100644 index 0000000000..ea25d9d0fd Binary files /dev/null and b/NoteSkins/kb7/default/Space Roll BottomCap inactive.png differ diff --git a/NoteSkins/kb7/default/Space Tap Explosion Bright.png b/NoteSkins/kb7/default/Space Tap Explosion Bright.png new file mode 100644 index 0000000000..be0ba55b12 Binary files /dev/null and b/NoteSkins/kb7/default/Space Tap Explosion Bright.png differ diff --git a/NoteSkins/kb7/default/Space Tap Explosion Dim.png b/NoteSkins/kb7/default/Space Tap Explosion Dim.png new file mode 100644 index 0000000000..0de23983a1 Binary files /dev/null and b/NoteSkins/kb7/default/Space Tap Explosion Dim.png differ diff --git a/NoteSkins/kb7/default/Space Tap Note.lua b/NoteSkins/kb7/default/Space Tap Note.lua new file mode 100644 index 0000000000..916fabe7e5 --- /dev/null +++ b/NoteSkins/kb7/default/Space Tap Note.lua @@ -0,0 +1,5 @@ +return Def.Sprite { + Texture=NOTESKIN:GetPath( '_space', 'tap note' ); + -- probably don't need this line + Frames = Sprite.LinearFrames( 1, 1 ); +}; diff --git a/NoteSkins/kb7/default/_space tap note 1x8.png b/NoteSkins/kb7/default/_space tap note 1x8.png new file mode 100644 index 0000000000..b064d571b7 Binary files /dev/null and b/NoteSkins/kb7/default/_space tap note 1x8.png differ