Logo

[Help] Trouble with extra stage indicator

登録 ログイン フォーラム戻る

ポスト #1 · 2018-01-31 10:38:48pmにポスト 6.2年前

Offline MadkaT
MadkaT Avatar Member
820 ポスト
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?

ポスト #2 · 2018-02-01 12:19:05amにポスト 6.2年前

Offline FlameyBoy
FlameyBoy Avatar Member
335 ポスト
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.
登録 ログイン フォーラム戻る

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

©2006-2024 Zenius -I- vanisher.com -5th style- IIPrivacy Policy
Web Server: 4% · Database: 4% · Server Time: 2024-04-27 05:49:28
このページは0.004秒サーバータイム使用する。
Theme: starlight · Language: japanese
Reset Theme & Language