Logo

Help, theme is not using my custom branches

Register Log In Back To Forums

Post #1 · Posted at 2016-08-04 12:28:54am 7.7 years ago

Offline MadkaT
MadkaT Avatar Member
820 Posts
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. Green Grin

Post #2 · Posted at 2016-08-04 03:58:02am 7.7 years ago

Offline dbk2
dbk2 Avatar Member
332 Posts
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 · Posted at 2016-08-05 02:32:05pm 7.7 years ago

Offline MadkaT
MadkaT Avatar Member
820 Posts
Not Set
Reg. 2009-11-24


Last updated: 2016-08-05 02:32pm
Sorry about that Green Grin

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


They also work in my old version of the theme. What am I doing wrong? Confused

Post #4 · Posted at 2016-08-06 04:36:20am 7.7 years ago

Offline Kyzentun
Kyzentun Avatar Member
3,209 Posts
United States
Reg. 2008-02-20

"I'm honestly pissed off."
You have to call the function.
silenttype01: Kyzentun is never harsh. He says it how it is.

GENERATION 24: The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment.

Post #5 · Posted at 2016-08-06 05:26:00am 7.7 years ago

Offline Inorizushi
Inorizushi Avatar Member
487 Posts
Not Set
Reg. 2012-10-25

"huhbluh"

Last updated: 2016-08-06 05:37am
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.

Post #6 · Posted at 2016-08-06 11:35:48pm 7.7 years ago

Offline MadkaT
MadkaT Avatar Member
820 Posts
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.
Register Log In Back To Forums

0 User(s) Viewing This Thread (Past 15 Minutes)

©2006-2024 Zenius -I- vanisher.com -5th style- IIPrivacy Policy
Web Server: 3% · Database: 4% · Server Time: 2024-04-19 11:05:40
This page took 0.007 seconds to execute.
Theme: starlight · Language: englishuk
Reset Theme & Language