Logo

[Help] Trouble with extra stage indicator

Register Log In Back To Forums

Post #1 · Posted at 2018-01-31 10:38:48pm 6.1 years ago

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

Hi friends, I'm doing a custom extra stage system via branches, when the players get the extra stage I just use AddStageToPlayer and that is working nice, the trouble is that in the Stage Indicator, It shows final stage instead of extra stage also if I use IsAnExtraStage() to check if the stage is an extra stage, it return false, there is a way to make Stepmania detect that additional stage as Extra? Or a better way to customize the conditions to obtain an extra stage?

Post #2 · Posted at 2018-02-01 12:19:05am 6.1 years ago

Offline FlameyBoy
FlameyBoy Avatar Member
335 Posts
United States
Reg. 2011-03-09


Last updated: 2018-02-01 01:32am
You can either hijack the branches to prevent it from going to an Extra Stage if you don't want one or deal with the engine considering your new stage a Final Stage. The engine decides whether it is an Extra Stage by checking an internal counter that tracks whether it has awarded any Extra Stages according to its own criteria, and this counter cannot be directly read or written by Lua, so you have no way to tell the engine that it should consider the current stage an Extra Stage if it hasn't already decided that it is. You could set a flag somewhere in Lua space that indicates the current stage should be considered an Extra Stage for your theme code.
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-03-28 10:13:09
This page took 0.004 seconds to execute.
Theme: starlight · Language: englishuk
Reset Theme & Language