updates to midi-note and midi-vivid from saturn
This commit is contained in:
@@ -14,7 +14,7 @@ ret.RedirTable =
|
||||
|
||||
local OldRedir = ret.Redir;
|
||||
ret.Redir = function(sButton, sElement)
|
||||
sButton, sElement = OldRedir(sButton, sElement);
|
||||
-- sButton, sElement = OldRedir(sButton, sElement);
|
||||
|
||||
-- Instead of separate hold heads, use the tap note graphics.
|
||||
if sElement == "Hold Head Inactive" or
|
||||
@@ -30,16 +30,23 @@ ret.Redir = function(sButton, sElement)
|
||||
return sButton, sElement;
|
||||
end
|
||||
|
||||
-- local OldRedir = ret.Redir;
|
||||
-- ret.Redir = function(sButton, sElement)
|
||||
-- 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
|
||||
if string.find(sElement, "hold") or string.find(sElement, "roll") then
|
||||
return sButton, sElement;
|
||||
end
|
||||
return OldRedir(sButton, sElement);
|
||||
end
|
||||
|
||||
--[[
|
||||
local OldFunc = ret.Load;
|
||||
function ret.Load()
|
||||
local t = OldFunc();
|
||||
@@ -52,6 +59,18 @@ function ret.Load()
|
||||
end
|
||||
return t;
|
||||
end
|
||||
]]
|
||||
|
||||
local OldFunc = ret.Load;
|
||||
function ret.Load()
|
||||
local t = OldFunc();
|
||||
|
||||
--Explosion should not be rotated; it calls other actors.
|
||||
if Var "Element" == "Explosion" then
|
||||
t.BaseRotationZ = nil;
|
||||
end
|
||||
return t;
|
||||
end
|
||||
|
||||
ret.PartsToRotate =
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user