[Global] FallbackTheme=_fallback [ScreenWithMenuElements] ShowHeader=true HeaderX=SCREEN_CENTER_X HeaderY=SCREEN_TOP HeaderOnCommand= HeaderOffCommand= # ShowFooter=true FooterX=SCREEN_CENTER_X FooterY=SCREEN_BOTTOM FooterOnCommand= FooterOffCommand= # ShowHelpDisplay=true HelpDisplayX=SCREEN_CENTER_X HelpDisplayY=SCREEN_BOTTOM-48+4 HelpDisplayOnCommand=shadowlength,1.5 HelpDisplayOffCommand= # TimerX=SCREEN_RIGHT-16 TimerY=SCREEN_TOP+40-4.5 TimerOnCommand=draworder,105 TimerOffCommand= [MenuTimer] Text1OnCommand=stopeffect;stoptweening;vertalign,bottom;horizalign,right Text1FormatFunction=function(fSeconds) \ return string.format("%0.1f", fSeconds); \ end FrameOnCommand= Warning10Command=diffuseshift;effectperiod,1;effectcolor2,Color("Red");effectcolor1,color("0.5,0,0,1"); #~ Warning10Command=%function(self) \ #~ MESSAGEMAN:Broadcast("TimerWarning"); \ #~ cmd(diffuseshift;effectperiod,1;effectcolor2,Color("Red");effectcolor1,color("0.5,0,0,1"))(self); \ #~ end; [ScreenTitleMenu] ShowHeader=true ShowFooter=true ScrollerX=SCREEN_RIGHT-16 ScrollerY=SCREEN_CENTER_Y ScrollerColors="Exit:#ff0000" [ScreenSelectMusic] BannerX=SCREEN_CENTER_X-160 BannerY=SCREEN_CENTER_Y-120 MusicWheelX=SCREEN_RIGHT-128-18 MusicWheelOnCommand=draworder,-1 ShowDifficultyIconRow=true DifficultyIconRowX=SCREEN_CENTER_X-160-96-16 DifficultyIconRowY=SCREEN_CENTER_Y-120+56 DifficultyIconRowOnCommand= DifficultyIconRowOffcommand= [StepsDisplay] FrameX=0 FrameY=0 FrameOnCommand= FrameLoadCommand= FrameSetCommand=%function(self,param) if param.CustomDifficulty then self:diffuse(CustomDifficultyToColor(param.CustomDifficulty)) end end NumTicks=10 MaxTicks=10 TicksX=0 TicksY=0 TicksOnCommand=shadowlength,0; TicksSetCommand=%function(self,param) end; MeterX=(128+32)/2 MeterY=-1 MeterOnCommand=textglowmode,"TextGlowMode_Inner";shadowlength,1.5; MeterSetCommand=%function(self,param) \ if param.CustomDifficulty then \ self:diffuse(CustomDifficultyToColor(param.CustomDifficulty)); \ end; \ if param.Meter then \ if param.Meter >= 100 then \ self:basezoom(0.8); \ self:glowshift(); \ elseif param.Meter >= 10 then \ self:basezoom(1); \ self:glowshift(); \ else \ self:basezoom(1); \ self:stopeffect(); \ end; \ end; \ end; # ShowDescription=true DescriptionX=(-32)/2 DescriptionY=-1 DescriptionOnCommand=shadowlength,1.5;maxwidth,128+32-4 DescriptionSetCommand=%function(self,param) \ if self:GetText() == "" then \ self:settext("Edit"); \ end; \ if param.CustomDifficulty then \ self:diffuse(CustomDifficultyToLightColor(param.CustomDifficulty)); \ end; \ end; # ShowAutogen=false AutogenX=0 AutogenY=0 AutogenOnCommand= AutogenSetCommand= AutogenTweenOnCommand= AutogenTweenOffCommand= # ShowStepsType=false StepsTypeX=0 StepsTypeY=0 StepsTypeOnCommand= [MusicWheel] ItemTransformFunction=function(self,offsetFromCenter,itemIndex,numItems) \ self:x( (1-math.cos(offsetFromCenter/math.pi))*0 ) \ self:y( offsetFromCenter*46 ) \ end NumWheelItems=13 [MusicWheelItem] WheelNotifyIconX=-128-16+0.5 WheelNotifyIconOnCommand=shadowlength,2; SongNameX=-120 CourseX=-120 CourseOnCommand=maxwidth,208;horizalign,left SectionExpandedX=-120 SectionExpandedY=0 SectionExpandedOnCommand=maxwidth,194;horizalign,left;shadowcolor,color("0.1,0.1,0.1,0.25") SectionCollapsedX=-120 SectionCollapsedY=0 SectionCollapsedOnCommand=maxwidth,194;horizalign,left;shadowcolor,color("0.1,0.1,0.1,0.2") SectionCountX=120 SectionCountOnCommand=zoom,0.75;strokecolor,Color("Outline") RouletteOnCommand=maxwidth,400;shadowlength,1;basezoom,0.75;rainbowscroll,true;pulse;effectmagnitude,1,1.125,1;effectperiod,3 SortX=-132 SortY=-2 SortOnCommand=maxwidth,256;horizalign,left;shadowlength,1;shadowcolor,color("0,0,0,0.325") ModeX=-132 ModeY=-2 ModeOnCommand=maxwidth,256;horizalign,left;strokecolor,Color("Outline") GradeP1X=106+16 GradeP1Y=-8 GradeP2X=110+16 GradeP2Y=8 [TextBanner] TitleOnCommand=horizalign,left;shadowlengthy,1;shadowcolor,color("0,0,0,0.5") ; lots of misc effects for songs TitleSetMessageCommand=%function(self, params) \ local song = params.Song \ if not song then return end \ local title = song:GetDisplayFullTitle() \ local artist = song:GetDisplayArtist() \ if title == "Let It Flow" and artist == "BANTU" then \ self:jitter(true) \ else \ self:jitter(false) \ end \ if string.find(title, "Katamari") then \ self:rainbowscroll(true) \ else \ self:rainbowscroll(false) \ end \ if title == "KING of the SEA" then \ self:zoom(1.5) \ self:maxwidth(170) \ end \ if (string.find(string.lower(title), "hardstyle") or \ string.find(string.lower(title), "hardcore")) and \ params.HasFocus then \ self:diffuseramp() \ self:effectclock("bgm") \ self:effectcolor1(color("#ccaaaa")) \ else \ self:stopeffect() \ end \ if artist == "Angerfist" and params.HasFocus then \ self:diffuseramp() \ self:effectclock("bgm") \ self:effectcolor1(color("#ffaaaa")) \ else \ self:stopeffect() \ end \ end SubtitleOnCommand=horizalign,left;shadowlengthy,1;shadowcolor,color("0,0,0,0.5") SubtitleSetMessageCommand=%function(self, params) \ local song = params.Song \ if not song then return end \ --[[ I've got a few simfiles here with an annoying prefix here. ]] \ local subtitle = song:GetDisplaySubTitle() \ if string.sub(subtitle, 1, 2) == "- " then \ self:settext(string.sub(subtitle, 3)) \ end \ end ArtistOnCommand=horizalign,left;shadowlengthy,1;shadowcolor,color("0,0,0,0.5") ArtistSetMessageCommand=diffuse,color("#aaaaaa") ArtistPrependString="/" AfterSetCommand=%function(self,param) \ local mainMaxWidth = 228 \ local subMaxWidth = 420 \ local artistMaxWidth = 300/0.8 \ local Title = self:GetChild("Title") \ local Subtitle = self:GetChild("Subtitle") \ local Artist = self:GetChild("Artist") \ \ if Subtitle:GetText() == "" then \ Title:maxwidth(mainMaxWidth) \ Title:y(-8) \ Title:zoom(1) \ \ --[[ hide so that the game skips drawing. ]] \ Subtitle:visible(false) \ \ Artist:zoom(0.66) \ Artist:maxwidth(artistMaxWidth) \ Artist:y(8) \ else \ Title:maxwidth(mainMaxWidth*1.25) \ Title:y(-11) \ Title:zoom(0.75) \ \ --[[ subtitle below title ]] \ Subtitle:visible(true) \ Subtitle:zoom(0.55) \ Subtitle:y(0) \ Subtitle:maxwidth(subMaxWidth) \ \ Artist:zoom(0.6) \ Artist:maxwidth(artistMaxWidth) \ Artist:y(10) \ end \ end