Files
itgmania212121/Themes/rsr/metrics.ini
T

240 lines
6.4 KiB
INI
Raw Normal View History

2011-03-17 01:47:30 -04:00
[Global]
FallbackTheme=_fallback
2013-09-22 01:59:55 -07:00
2013-10-05 18:00:51 -07:00
[FadingBanner]
BannerFadeFromCachedCommand=diffusealpha,1;stoptweening;accelerate,0.05;glow,Color.Alpha( Color("White"), 0.45 );decelerate,0.075;diffusealpha,0;glow,Color("Invisible");
BannerOnCommand=
BannerFadeFromCachedCommand=diffusealpha,1;stoptweening;linear,0.1;glow,Color.Alpha(Color("White"),0.25);decelerate,0.15;glow,Color.Invisible;diffusealpha,0
BannerFadeOffCommand=diffusealpha,1;stoptweening;linear,0.1;diffusealpha,0
BannerResetFadeCommand=diffusealpha,1
2011-03-17 01:47:30 -04:00
[ScreenWithMenuElements]
ShowHeader=true
HeaderX=SCREEN_CENTER_X
HeaderY=SCREEN_TOP
HeaderOnCommand=
HeaderOffCommand=
2013-09-22 01:59:55 -07:00
2011-03-17 01:47:30 -04:00
#
ShowFooter=true
FooterX=SCREEN_CENTER_X
FooterY=SCREEN_BOTTOM
FooterOnCommand=
FooterOffCommand=
2013-09-22 01:59:55 -07:00
2011-03-17 01:47:30 -04:00
#
2013-09-22 01:59:55 -07:00
TimerX=SCREEN_RIGHT-16
TimerY=SCREEN_TOP+40-4.5
TimerOnCommand=draworder,105
2011-03-17 01:47:30 -04:00
TimerOffCommand=
2013-09-22 01:59:55 -07:00
2011-03-17 01:47:30 -04:00
[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");
2013-07-18 17:41:24 -04:00
#~ Warning10Command=%function(self) \
#~ MESSAGEMAN:Broadcast("TimerWarning"); \
#~ cmd(diffuseshift;effectperiod,1;effectcolor2,Color("Red");effectcolor1,color("0.5,0,0,1"))(self); \
#~ end;
2013-09-22 01:59:55 -07:00
2011-03-17 01:47:30 -04:00
[ScreenTitleMenu]
ShowHeader=true
ShowFooter=true
2013-09-22 01:59:55 -07:00
ScrollerX=SCREEN_RIGHT-16
ScrollerY=SCREEN_CENTER_Y
ScrollerColors="Exit:#ff0000"
2011-03-17 01:47:30 -04:00
[ScreenSelectMusic]
2013-10-05 18:00:51 -07:00
BannerX=SCREEN_CENTER_X-160
BannerY=SCREEN_CENTER_Y-120
2011-03-17 01:47:30 -04:00
MusicWheelX=SCREEN_RIGHT-128-18
MusicWheelOnCommand=draworder,-1
2013-10-05 18:00:51 -07:00
[StepsDisplay]
FrameX=0
FrameY=0
FrameOnCommand=
FrameLoadCommand=
FrameSetCommand=%function(self,param) if param.CustomDifficulty then self:diffuse(CustomDifficultyToDarkColor(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;
DescriptionSetCommand=%function(self,param) \
if self:GetText() == "" then \
self:settext("Edit"); \
end; \
if param.CustomDifficulty then \
self:diffuse(CustomDifficultyToColor(param.CustomDifficulty)); \
end; \
end;
#
ShowAutogen=false
AutogenX=0
AutogenY=0
AutogenOnCommand=
AutogenSetCommand=
AutogenTweenOnCommand=
AutogenTweenOffCommand=
#
ShowStepsType=false
StepsTypeX=0
StepsTypeY=0
StepsTypeOnCommand=
2011-03-17 01:47:30 -04:00
[MusicWheel]
2013-10-05 06:36:35 -07:00
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