Extra Speed=Extra Speed
Speed Type=Speed Type
Accel=Acceleration
+JudgeSkin=Judgement Skin
Effect=Effect
Appearance=Fade
Turn=Turn
--- /dev/null
+local CurrentSkin = {}
+local WasInOptions = {PLAYER_1 = false, PLAYER_2 = false}
+
+function JudgeSkinOptionsRow(Names, ThemeJudgeSkin)
+
+ local function Load(self, list, pn)
+ WasInOptions[pn] = true
+
+ -- If this is the first round, reset the skin as it may still be set from earlier
+ if GetStageText() == "1" then CurrentSkin[pn] = nil end
+
+ -- what we're doing here is checking what we got from profileman against the valid names.
+ for i=1,table.getn(Names) do
+ if CurrentSkin[pn] == Names[i] then list[i] = true return end
+ end
+
+ list[1] = true
+ end
+
+ local function Save(self, list, pn)
+ -- go through each item in the list and save the first one that is set to true
+ for i=1,table.getn(Names) do
+ if list[i] then
+ if Names[i] == ThemeJudgeSkin then CurrentSkin[pn] = nil else CurrentSkin[pn] = Names[i] end
+ return
+ end
+ end
+ end
+
+ return CreateOptionRow( {Name = "JudgeSkin", OneChoiceForAllPlayers = false}, Names, Load, Save )
+end
+
+function LoadSkin(Actor, pn)
+ --if this is the first stage and the user was NOT in the options, reset the skin to default
+ if GetStageText() == "1" and not WasInOptions[pn] then CurrentSkin[pn] = nil end
+
+ if CurrentSkin[pn] ~= nil then
+ Actor:Load( THEME:GetPath( EC_GRAPHICS, '', '_Judgements/' .. CurrentSkin[pn] ))
+ end
+
+ WasInOptions[pn] = false
+end
\ No newline at end of file
function SongModifiers()
-- this is very basic right now, but it can be modified to take in to account OITG specific stuff
- return SpeedLines() .. "4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24"
+ return SpeedLines() .. "4,5,25,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24"
end
function SpeedLines()
function GoodLuckCameronOptionsRow()
local Params = { Name = "GoodLuckCameron" }
return CreateProfileRowBool( Params )
+end
+
+function gnJudgementSkinsOptionRow()
+ local Names = { "GrooveNights", "Love", "Tactics", "Chromatic", "Deco", "FP", "ITG2" }
+ return JudgeSkinOptionsRow(Names, "GrooveNights")
end
\ No newline at end of file
CombinedLifeY=SCREEN_TOP+54
CombinedLifeOnCommand=addy,-100;addy,+100
CombinedLifeOffCommand=
+PlayerP1OnCommand=%function(self) LoadSkin(self:GetChild('Judgment'):GetChild(''), PLAYER_1) end
+PlayerP2OnCommand=%function(self) LoadSkin(self:GetChild('Judgment'):GetChild(''), PLAYER_2) end
[ScreenGameplayTraining]
Fallback=ScreenGameplay
Line3=lua,SpeedMods('Type')
Line4=list,Persp
Line5=lua,RateMods()
+Line25=lua,gnJudgementSkinsOptionRow()
Line6=list,NoteSkins2
Line7=list,Accel
Line8=list,Mini
Line23=lua,BackButton()
Line24=list,Steps
#Removed from GrooveNights
-Line25=lua,StaminaMod()
+#Line25=lua,StaminaMod()
CancelAllP1X=SCREEN_CENTER_X-160
CancelAllP1Y=SCREEN_CENTER_Y