Midi fixed coloring; I changed the Abomination hack to only show up if easter eggs are enabled.
This commit is contained in:
@@ -22,10 +22,10 @@ return Def.CourseContentsList {
|
|||||||
SetSongCommand=function(self, params)
|
SetSongCommand=function(self, params)
|
||||||
if params.Song then
|
if params.Song then
|
||||||
self:diffuse( SONGMAN:GetSongColor(params.Song) );
|
self:diffuse( SONGMAN:GetSongColor(params.Song) );
|
||||||
self:diffuseleftedge( Colors.CourseDifficultyColors[params.Difficulty] );
|
self:diffuseleftedge( CustomDifficultyToColor(params.Difficulty) );
|
||||||
else
|
else
|
||||||
self:diffuse( color("#FFFFFF") );
|
self:diffuse( color("#FFFFFF") );
|
||||||
self:diffuseleftedge( Colors.CourseDifficultyColors[params.Difficulty] );
|
self:diffuseleftedge( CustomDifficultyToColor(params.Difficulty) );
|
||||||
end
|
end
|
||||||
|
|
||||||
(cmd(finishtweening;diffusealpha,0;sleep,0.125*params.Number;linear,0.125;diffusealpha,1;linear,0.05;glow,color("1,1,1,0.5");decelerate,0.1;glow,color("1,1,1,0")))(self);
|
(cmd(finishtweening;diffusealpha,0;sleep,0.125*params.Number;linear,0.125;diffusealpha,1;linear,0.05;glow,color("1,1,1,0.5");decelerate,0.1;glow,color("1,1,1,0")))(self);
|
||||||
@@ -37,6 +37,8 @@ return Def.CourseContentsList {
|
|||||||
SetSongCommand=function(self, params)
|
SetSongCommand=function(self, params)
|
||||||
if params.Song then
|
if params.Song then
|
||||||
if GAMESTATE:GetCurrentCourse():GetDisplayFullTitle() == "Abomination" then
|
if GAMESTATE:GetCurrentCourse():GetDisplayFullTitle() == "Abomination" then
|
||||||
|
-- abomination hack
|
||||||
|
if PREFSMAN:GetPreference("EasterEggs") then
|
||||||
if params.Number % 2 ~= 0 then
|
if params.Number % 2 ~= 0 then
|
||||||
-- turkey march
|
-- turkey march
|
||||||
local artist = params.Song:GetDisplayArtist();
|
local artist = params.Song:GetDisplayArtist();
|
||||||
@@ -47,6 +49,9 @@ return Def.CourseContentsList {
|
|||||||
else
|
else
|
||||||
self:SetFromSong( params.Song );
|
self:SetFromSong( params.Song );
|
||||||
end;
|
end;
|
||||||
|
else
|
||||||
|
self:SetFromSong( params.Song );
|
||||||
|
end;
|
||||||
self:diffuse( SONGMAN:GetSongColor(params.Song) );
|
self:diffuse( SONGMAN:GetSongColor(params.Song) );
|
||||||
-- self:glow("1,1,1,0.5");
|
-- self:glow("1,1,1,0.5");
|
||||||
else
|
else
|
||||||
@@ -73,7 +78,7 @@ return Def.CourseContentsList {
|
|||||||
SetSongCommand=function(self, params)
|
SetSongCommand=function(self, params)
|
||||||
if params.PlayerNumber ~= GAMESTATE:GetMasterPlayerNumber() then return end
|
if params.PlayerNumber ~= GAMESTATE:GetMasterPlayerNumber() then return end
|
||||||
self:settext( params.Meter );
|
self:settext( params.Meter );
|
||||||
self:diffuse( Colors.CourseDifficultyColors[params.Difficulty] );
|
self:diffuse( CustomDifficultyToColor(params.Difficulty) );
|
||||||
(cmd(finishtweening;zoomy,0;sleep,0.125*params.Number;linear,0.125;zoomy,1.1;linear,0.05;zoomx,1.1;decelerate,0.1;zoom,1))(self);
|
(cmd(finishtweening;zoomy,0;sleep,0.125*params.Number;linear,0.125;zoomy,1.1;linear,0.05;zoomx,1.1;decelerate,0.1;zoom,1))(self);
|
||||||
end;
|
end;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user