Theme changes to make other gametypes play nice
This commit is contained in:
@@ -124,7 +124,7 @@ function pname(pn) return ToEnumShortString(pn); end;
|
||||
--[[ end helper functions ]]
|
||||
-- this code is in the public domain.
|
||||
|
||||
--[[ Lists & Functions ]]
|
||||
--[[ Lists & Functions (sm-ssc specific code) ]]
|
||||
|
||||
function GameCompatibleModes()
|
||||
sGame = GAMESTATE:GetCurrentGame():GetName();
|
||||
@@ -137,4 +137,28 @@ function GameCompatibleModes()
|
||||
lights = "Single", -- lights shouldn't be playable
|
||||
};
|
||||
return Modes[sGame];
|
||||
end
|
||||
end
|
||||
|
||||
function ComboContinue()
|
||||
sGame = GAMESTATE:GetCurrentGame():GetName();
|
||||
local Continue = {
|
||||
dance = GAMESTATE:GetPlayMode() == "PlayMode_Oni" and "TapNoteScore_W2" or "TapNoteScore_W3",
|
||||
pump = "TapNoteScore_W4",
|
||||
beat = "TapNoteScore_W3",
|
||||
kb7 = "TapNoteScore_W3",
|
||||
para = "TapNoteScore_W4",
|
||||
};
|
||||
return Continue[sGame]
|
||||
end;
|
||||
|
||||
function ComboMaintain()
|
||||
sGame = GAMESTATE:GetCurrentGame():GetName();
|
||||
local Maintain = {
|
||||
dance = "TapNoteScore_W3",
|
||||
pump = "TapNoteScore_W4",
|
||||
beat = "TapNoteScore_W3",
|
||||
kb7 = "TapNoteScore_W3",
|
||||
para = "TapNoteScore_W4",
|
||||
};
|
||||
return Maintain[sGame]
|
||||
end;
|
||||
@@ -267,8 +267,8 @@ BannerResetFadeCommand=diffusealpha,1
|
||||
[Gameplay]
|
||||
# todo: make some of these play nice with other gametypes
|
||||
ComboIsPerRow=GAMESTATE:GetPlayMode() == "PlayMode_Oni"
|
||||
MinScoreToContinueCombo=GAMESTATE:GetPlayMode() == "PlayMode_Oni" and "TapNoteScore_W2" or "TapNoteScore_W3"
|
||||
MinScoreToMaintainCombo="TapNoteScore_W3"
|
||||
MinScoreToContinueCombo=ComboContinue()
|
||||
MinScoreToMaintainCombo=ComboMaintain()
|
||||
ToastyTriggersAt=250
|
||||
|
||||
[GameState]
|
||||
@@ -377,9 +377,9 @@ DancePointsP2OffCommand=
|
||||
[LifeMeterTime]
|
||||
DangerThreshold=0.3
|
||||
InitialValue=0.5
|
||||
#
|
||||
MeterWidth=0.0
|
||||
MeterHeight=0.0
|
||||
MinLifeTime=1.0
|
||||
|
||||
[LyricDisplay]
|
||||
LyricFrontChangedCommand=LyricCommand,"Front"
|
||||
@@ -703,13 +703,13 @@ ComboUnderField=true
|
||||
PenalizeTapScoreNone=false
|
||||
JudgeHoldNotesOnSameRowTogether=false
|
||||
HoldCheckpoints=(GAMESTATE:GetCurrentGame():GetName() == "pump")
|
||||
ImmediateHoldLetGo=true
|
||||
ImmediateHoldLetGo=(GAMESTATE:GetCurrentGame():GetName() == "pump") and false or true
|
||||
RequireStepOnHoldHeads=(GAMESTATE:GetCurrentGame():GetName() == "pump") and false or true
|
||||
CheckpointsUseTimeSignatures=false
|
||||
InitialHoldLife=1
|
||||
RollBodyIncrementsCombo=true
|
||||
CheckpointsTapsSeparateJudgment=true
|
||||
ScoreMissedHoldsAndRolls=true
|
||||
ScoreMissedHoldsAndRolls=(GAMESTATE:GetCurrentGame():GetName() == "pump") and false or true
|
||||
|
||||
[Profile]
|
||||
ShowCoinData=true
|
||||
@@ -2491,8 +2491,8 @@ GivingUpGoesToNextScreen=false
|
||||
MinSecondsToStep=6.0
|
||||
MinSecondsToMusic=2.0
|
||||
MinSecondsToStepNextSong=2.0
|
||||
MusicFadeOutSeconds=0
|
||||
OutTransitionLength=1.5
|
||||
MusicFadeOutSeconds=0.5
|
||||
OutTransitionLength=2
|
||||
CourseTransitionLength=0.5
|
||||
BeginFailedDelay=1.0
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user