eval/score cleanup
This commit is contained in:
+15
-25
@@ -41,38 +41,28 @@ if ShowStandardDecoration("ComboGraph") then
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
t[#t+1] = ComboGraph(PLAYER_1) .. {
|
|
||||||
InitCommand = cmd(x,SCREEN_CENTER_X-222;y,SCREEN_CENTER_Y+10;draworder,1;);
|
|
||||||
};
|
|
||||||
t[#t+1] = ComboGraph(PLAYER_2) .. {
|
|
||||||
InitCommand = cmd(x,SCREEN_CENTER_X+222;y,SCREEN_CENTER_Y+10;draworder,1;);
|
|
||||||
};
|
|
||||||
|
|
||||||
t[#t+1] = StandardDecorationFromFile( "TimingDifficultyFrame", "TimingDifficultyFrame" );
|
t[#t+1] = StandardDecorationFromFile( "TimingDifficultyFrame", "TimingDifficultyFrame" );
|
||||||
t[#t+1] = LoadFont( Var "LoadingScreen", "TimingDifficultyNumber" ) .. {
|
t[#t+1] = LoadFont( Var "LoadingScreen", "TimingDifficultyNumber" ) .. {
|
||||||
InitCommand=function(self) self:name("TimingDifficultyNumber"); self:settext(GetTimingDifficulty()); ActorUtil.LoadAllCommandsAndSetXY(self,Var "LoadingScreen"); end;
|
InitCommand=function(self) self:name("TimingDifficultyNumber"); self:settext(GetTimingDifficulty()); ActorUtil.LoadAllCommandsAndSetXY(self,Var "LoadingScreen"); end;
|
||||||
};
|
};
|
||||||
|
|
||||||
t[#t+1] = Def.ModIconRow {
|
|
||||||
InitCommand=cmd(x,SCREEN_CENTER_X-316;y,SCREEN_CENTER_Y-130;draworder,1;Load,"ModIconRowEvaluationP1",PLAYER_1,player,PLAYER_1);
|
|
||||||
OnCommand=cmd(zoomy,0;linear,0.5;zoomy,1);
|
|
||||||
OffCommand=cmd(linear,0.5;zoomy,0);
|
|
||||||
};
|
|
||||||
t[#t+1] = Def.ModIconRow {
|
|
||||||
InitCommand=cmd(x,SCREEN_CENTER_X+316;y,SCREEN_CENTER_Y-130;draworder,1;Load,"ModIconRowEvaluationP2",PLAYER_2;player,PLAYER_2);
|
|
||||||
OnCommand=cmd(zoomy,0;linear,0.5;zoomy,1);
|
|
||||||
OffCommand=cmd(linear,0.5;zoomy,0);
|
|
||||||
};
|
|
||||||
|
|
||||||
t[#t+1] = Def.StepsDisplay {
|
if ShowStandardDecoration("ModIconRows") then
|
||||||
InitCommand=cmd(x,SCREEN_CENTER_X-230;y,SCREEN_CENTER_Y+158;Load,"StepsDisplayEvaluation",PLAYER_1;SetFromGameState,PLAYER_1;player,PLAYER_1;);
|
for pn in ivalues(PlayerNumber) do
|
||||||
OnCommand=cmd(zoomy,0;linear,0.5;zoomy,1);
|
local t2 = Def.ModIconRow {
|
||||||
OffCommand=cmd(linear,0.5;zoomy,0);
|
InitCommand=cmd(Load,"ModIconRowEvaluation"..PlayerNumber:ToString()[pn],pn);
|
||||||
};
|
};
|
||||||
t[#t+1] = Def.StepsDisplay {
|
t[#t+1] = StandardDecorationFromTable( "ModIconRow" .. PlayerNumber:ToString()[pn], t2 );
|
||||||
InitCommand=cmd(x,SCREEN_CENTER_X+230;y,SCREEN_CENTER_Y+158;Load,"StepsDisplayEvaluation",PLAYER_2;SetFromGameState,PLAYER_2;player,PLAYER_2;);
|
end
|
||||||
OnCommand=cmd(zoomy,0;linear,0.5;zoomy,1);
|
end
|
||||||
OffCommand=cmd(linear,0.5;zoomy,0);
|
|
||||||
|
if ShowStandardDecoration("StepsDisplay") then
|
||||||
|
for pn in ivalues(PlayerNumber) do
|
||||||
|
local t2 = Def.StepsDisplay {
|
||||||
|
InitCommand=cmd(Load,"StepsDisplayEvaluation",pn;SetFromGameState,pn;);
|
||||||
};
|
};
|
||||||
|
t[#t+1] = StandardDecorationFromTable( "StepsDisplay" .. PlayerNumber:ToString()[pn], t2 );
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
return t;
|
return t;
|
||||||
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 7.1 KiB After Width: | Height: | Size: 7.0 KiB |
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 7.4 KiB After Width: | Height: | Size: 8.5 KiB |
@@ -1,17 +1,18 @@
|
|||||||
[common]
|
[common]
|
||||||
Baseline=23
|
Baseline=24
|
||||||
Top=1
|
Top=2
|
||||||
LineSpacing=26
|
LineSpacing=26
|
||||||
DrawExtraPixelsLeft=1
|
DrawExtraPixelsLeft=1
|
||||||
DrawExtraPixelsRight=0
|
DrawExtraPixelsRight=0
|
||||||
AdvanceExtraPixels=0
|
AdvanceExtraPixels=0
|
||||||
AddToAllWidths=2
|
DefaultStrokeColor=#fff000
|
||||||
|
AddToAllWidths=1
|
||||||
|
|
||||||
[numbers]
|
[numbers]
|
||||||
Line 0=0123
|
Line 0=0123
|
||||||
Line 1=4567
|
Line 1=4567
|
||||||
Line 2=89%.
|
Line 2=89%.
|
||||||
Line 3= :x
|
Line 3= :x,
|
||||||
|
|
||||||
0=17
|
0=17
|
||||||
1=17
|
1=17
|
||||||
@@ -25,6 +26,7 @@ Line 3= :x
|
|||||||
9=17
|
9=17
|
||||||
10=22
|
10=22
|
||||||
11=5
|
11=5
|
||||||
12=18
|
12=17
|
||||||
13=5
|
13=5
|
||||||
14=21
|
14=21
|
||||||
|
15=5
|
||||||
|
|||||||
@@ -1259,12 +1259,12 @@ ScoreLabelY=SCREEN_CENTER_Y+140
|
|||||||
ScoreLabelOnCommand=addy,SCREEN_HEIGHT;sleep,0.8;decelerate,0.3;addy,-SCREEN_HEIGHT
|
ScoreLabelOnCommand=addy,SCREEN_HEIGHT;sleep,0.8;decelerate,0.3;addy,-SCREEN_HEIGHT
|
||||||
ScoreLabelOffCommand=sleep,0.0;accelerate,0.3;addy,SCREEN_HEIGHT
|
ScoreLabelOffCommand=sleep,0.0;accelerate,0.3;addy,SCREEN_HEIGHT
|
||||||
ScoreNumberP1X=SCREEN_CENTER_X-192
|
ScoreNumberP1X=SCREEN_CENTER_X-192
|
||||||
ScoreNumberP1Y=SCREEN_CENTER_Y+206
|
ScoreNumberP1Y=SCREEN_CENTER_Y+180
|
||||||
ScoreNumberP1OnCommand=shadowlength,0;diffusetopedge,color("#fefefe");diffusebottomedge,color("#908d78");strokecolor,color("#00000000");shadowlengthx,0;shadowlengthy,2;addx,-SCREEN_WIDTH/2;sleep,0.8;decelerate,0.3;addx,SCREEN_WIDTH/2
|
ScoreNumberP1OnCommand=shadowlength,0;diffuse,PlayerScoreColor("PlayerNumber_P1");addx,-SCREEN_WIDTH/2;sleep,0.8;decelerate,0.3;addx,SCREEN_WIDTH/2
|
||||||
ScoreNumberP1OffCommand=sleep,0.0;accelerate,0.3;addx,-SCREEN_WIDTH/2
|
ScoreNumberP1OffCommand=sleep,0.0;accelerate,0.3;addx,-SCREEN_WIDTH/2
|
||||||
ScoreNumberP2X=SCREEN_CENTER_X+192
|
ScoreNumberP2X=SCREEN_CENTER_X+192
|
||||||
ScoreNumberP2Y=SCREEN_CENTER_Y+206
|
ScoreNumberP2Y=SCREEN_CENTER_Y+180
|
||||||
ScoreNumberP2OnCommand=shadowlength,0;diffusetopedge,color("#fefefe");diffusebottomedge,color("#908d78");strokecolor,color("#00000000");shadowlengthx,0;shadowlengthy,2;addx,SCREEN_WIDTH/2;sleep,0.8;decelerate,0.3;addx,-SCREEN_WIDTH/2
|
ScoreNumberP2OnCommand=shadowlength,0;diffuse,PlayerScoreColor("PlayerNumber_P2");addx,SCREEN_WIDTH/2;sleep,0.8;decelerate,0.3;addx,-SCREEN_WIDTH/2
|
||||||
ScoreNumberP2OffCommand=sleep,0.0;accelerate,0.3;addx,SCREEN_WIDTH/2
|
ScoreNumberP2OffCommand=sleep,0.0;accelerate,0.3;addx,SCREEN_WIDTH/2
|
||||||
|
|
||||||
LargeBannerX=SCREEN_CENTER_X-1
|
LargeBannerX=SCREEN_CENTER_X-1
|
||||||
@@ -1511,14 +1511,32 @@ GraphDisplayP2OffCommand=
|
|||||||
|
|
||||||
ShowComboGraph=true
|
ShowComboGraph=true
|
||||||
ComboGraphP1X=SCREEN_CENTER_X-222
|
ComboGraphP1X=SCREEN_CENTER_X-222
|
||||||
ComboGraphP1Y=SCREEN_CENTER_Y-10
|
ComboGraphP1Y=SCREEN_CENTER_Y+10
|
||||||
ComboGraphP1OnCommand=draworder,1
|
ComboGraphP1OnCommand=draworder,1
|
||||||
ComboGraphP1OffCommand=
|
ComboGraphP1OffCommand=
|
||||||
ComboGraphP2X=SCREEN_CENTER_X+222
|
ComboGraphP2X=SCREEN_CENTER_X+222
|
||||||
ComboGraphP2Y=SCREEN_CENTER_Y-10
|
ComboGraphP2Y=SCREEN_CENTER_Y+10
|
||||||
ComboGraphP2OnCommand=draworder,1
|
ComboGraphP2OnCommand=draworder,1
|
||||||
ComboGraphP2OffCommand=
|
ComboGraphP2OffCommand=
|
||||||
|
|
||||||
|
ModIconRowP1X=SCREEN_CENTER_X-316
|
||||||
|
ModIconRowP1Y=SCREEN_CENTER_Y-130
|
||||||
|
ModIconRowP1OnCommand=draworder,1;player,"PlayerNumber_P1";zoomy,0;linear,0.5;zoomy,1
|
||||||
|
ModIconRowP1OffCommand=linear,0.5;zoomy,0
|
||||||
|
ModIconRowP2X=SCREEN_CENTER_X+316
|
||||||
|
ModIconRowP2Y=SCREEN_CENTER_Y-130
|
||||||
|
ModIconRowP2OnCommand=draworder,1;player,"PlayerNumber_P2";zoomy,0;linear,0.5;zoomy,1
|
||||||
|
ModIconRowP2OffCommand=linear,0.5;zoomy,0
|
||||||
|
|
||||||
|
StepsDisplayP1X=SCREEN_CENTER_X-230
|
||||||
|
StepsDisplayP1Y=SCREEN_CENTER_Y+151
|
||||||
|
StepsDisplayP1OnCommand=zoomy,0;linear,0.5;zoomy,1
|
||||||
|
StepsDisplayP1OffCommand=linear,0.5;zoomy,0
|
||||||
|
StepsDisplayP2X=SCREEN_CENTER_X+230
|
||||||
|
StepsDisplayP2Y=SCREEN_CENTER_Y+151
|
||||||
|
StepsDisplayP2OnCommand=zoomy,0;linear,0.5;zoomy,1
|
||||||
|
StepsDisplayP2OffCommand=linear,0.5;zoomy,0
|
||||||
|
|
||||||
BarActualMaxCommand=glowshift;effectperiod,0.5
|
BarActualMaxCommand=glowshift;effectperiod,0.5
|
||||||
|
|
||||||
CheerDelaySeconds=2.5
|
CheerDelaySeconds=2.5
|
||||||
@@ -1560,6 +1578,8 @@ ShowScoreArea=true
|
|||||||
ShowTimeArea=false
|
ShowTimeArea=false
|
||||||
ShowStageDisplay=true
|
ShowStageDisplay=true
|
||||||
ShowStageFrame=true
|
ShowStageFrame=true
|
||||||
|
ShowModIconRows=true
|
||||||
|
ShowStepsDisplay=true
|
||||||
|
|
||||||
TryExtraStageX=SCREEN_CENTER_X+0
|
TryExtraStageX=SCREEN_CENTER_X+0
|
||||||
TryExtraStageY=SCREEN_CENTER_Y+188
|
TryExtraStageY=SCREEN_CENTER_Y+188
|
||||||
@@ -4530,8 +4550,14 @@ TextOnCommand=shadowlength,0;
|
|||||||
TextLoadCommand=%function(self,param) self:diffuse(PlayerScoreColor(param.PlayerState:GetPlayerNumber())); end
|
TextLoadCommand=%function(self,param) self:diffuse(PlayerScoreColor(param.PlayerState:GetPlayerNumber())); end
|
||||||
|
|
||||||
[RollingNumbers]
|
[RollingNumbers]
|
||||||
TextFormat="%9.0f"
|
TextFormat="%09.0f"
|
||||||
ApproachSeconds=0.2
|
ApproachSeconds=0.2
|
||||||
|
Commify=true
|
||||||
|
LeadingZeroMultiplyColor=color("#777777FF")
|
||||||
|
|
||||||
|
[RollingNumbersEvaluation]
|
||||||
|
Fallback="RollingNumbers"
|
||||||
|
ApproachSeconds=2
|
||||||
|
|
||||||
[GraphDisplay]
|
[GraphDisplay]
|
||||||
BodyWidth=140
|
BodyWidth=140
|
||||||
|
|||||||
Reference in New Issue
Block a user