stepmania icon indicating copy to clipboard operation
stepmania copied to clipboard

BGCHANGES / FGCHANGES - Should be at chart level

Open ghost opened this issue 4 years ago • 2 comments

Feature request: BGCHANGES / FGCHANGES - Should be at chart level for SSC files (or overridable at chart level). It would be nice to specify timings for these for each chart, like ATTACKS and STOPS. I wanted to trigger some behavior depending on the specific chart for a song. At the moment, I have to have multiple duplicates of the same song to do this.

ref: https://github.com/stepmania/stepmania/blob/6a645b4710dd6a89a5f22a2d849e86a98af5c9a3/Docs/SimfileFormats/ssc_msd5.txt?fbclid=IwAR2GV35yjQxmDz-dbZxYAZRFo1n7_Pbnu-ypyBxkWE1i0NzhSlP-mOiQR7A

ghost avatar Feb 08 '21 03:02 ghost

The problem is what do you do then there are 2 players playing different charts? That's why the background changes are setup to be global to the chart.

concubidated avatar Mar 08 '21 20:03 concubidated

It's up to the chart creator how they want to structure their lua files, timings and the content within them. For 2 player, I have a condition in a LUA for such occurances. At the moment it's only global. It can just be ignored for 2 player mode if needed and default to global in that case which would be an easy enough check

ghost avatar Mar 08 '21 21:03 ghost