Post #1 · Publicado en 2016-08-04 12:28:54am Hace 9.2 años
MadkaT | |
|---|---|
| Member | |
| 830 Mensajes | |
| Not Set | |
| Reg. 2009-11-24 | |
Hello friends, I'm creating a clean theme (using fallback reference in metrics) and I;ve created some custom screens, I've defined in the metrics.ini, and also created the respective functions in a branch file that I've copied from fallback and located in scripts folder, but the theme is not using my custom branches file, what is wrong? I need to change/activate something? Thanks. 
Post #2 · Publicado en 2016-08-04 03:58:02am Hace 9.2 años
dbk2 | |
|---|---|
| Member | |
| 332 Mensajes | |
| Not Set | |
| Reg. 2012-04-30 | |
You haven't provided enough information for anyone to really help you. Can you provide the relevant Metrics and Lua?
Post #3 · Publicado en 2016-08-05 02:32:05pm Hace 9.2 años
Sorry about that 
This is my Branches.lua file under the scripts folder:
http://pastecode.org/index.php/view/87941071
Is supossed to show the instructions screen after selecting a play mode, and showing the shock arrow screen if the selected song has mines, but this is not happening, this branch file works if I use it in other theme, also for the Instructions Screen and the shock warning, there are the definitions in the metrics file:
They also work in my old version of the theme. What am I doing wrong?
This is my Branches.lua file under the scripts folder:
http://pastecode.org/index.php/view/87941071
Is supossed to show the instructions screen after selecting a play mode, and showing the shock arrow screen if the selected song has mines, but this is not happening, this branch file works if I use it in other theme, also for the Instructions Screen and the shock warning, there are the definitions in the metrics file:
[ScreenInstructions]
Class="ScreenSplash"
Fallback="ScreenSplash"
AllowStartToSkip=false
NextScreen=ScreenBranchSelectSongOrCourse
PrevScreen="ScreenSelectPlayMode"
ForceTimer=true
TimerStealth=true
TimerSeconds=7
[ScreenShock]
Class="ScreenSplash"
Fallback="ScreenSplash"
AllowStartToSkip=false
NextScreen="ScreenStageInformation"
PrevScreen="ScreenSelectMusic"
ForceTimer=true
TimerStealth=true
TimerSeconds=7
Class="ScreenSplash"
Fallback="ScreenSplash"
AllowStartToSkip=false
NextScreen=ScreenBranchSelectSongOrCourse
PrevScreen="ScreenSelectPlayMode"
ForceTimer=true
TimerStealth=true
TimerSeconds=7
[ScreenShock]
Class="ScreenSplash"
Fallback="ScreenSplash"
AllowStartToSkip=false
NextScreen="ScreenStageInformation"
PrevScreen="ScreenSelectMusic"
ForceTimer=true
TimerStealth=true
TimerSeconds=7
They also work in my old version of the theme. What am I doing wrong?
Post #4 · Publicado en 2016-08-06 04:36:20am Hace 9.2 años
Kyzentun | |
|---|---|
| Member | |
| 3,205 Mensajes | |
| |
| Reg. 2008-02-20 | |
| "I'm honestly pissed off." | |
You have to call the function.
Post #5 · Publicado en 2016-08-06 05:26:00am Hace 9.2 años
The correct way to call it would be:
NextScreen=Branch.SelectMusicOrCourse()
I personally have my screen after SelectPlayMode to be another branch that checks if "ShowInstructions" is on; then, I have what you're doing now and have it check if it should go to music select or course select.
NextScreen=Branch.SelectMusicOrCourse()
I personally have my screen after SelectPlayMode to be another branch that checks if "ShowInstructions" is on; then, I have what you're doing now and have it check if it should go to music select or course select.
Post #6 · Publicado en 2016-08-06 11:35:48pm Hace 9.2 años
MadkaT | |
|---|---|
| Member | |
| 830 Mensajes | |
| Not Set | |
| Reg. 2009-11-24 | |
I'll compare with a git diff to check the differences between the files if the problem persist I'll come back. Thanks for replying.
