From: Charles L. <web...@cn...> - 2004-05-20 07:41:27
|
Devs, (Probably mostly Glenn) I am submitting my changes to the SM source that allow for control of the lights. It allows for multiple game types and I believe I did it 'in the spirit of stepmania'. If not, please tell me how it is wrong. I would like to at some point be helpful to the StepMania community. Correcting me will help me learn about how to work in this as well as other open source projects. Thanks. Here's the basic idea: Under normal circumstances, where Lightsdriver = Parallel is all that's in stepmania.ini, there is no change in functionality. The steps are still taken from the cabinet-lights gametype. I have added LightsOrOutput=(0) LightsStepsType=(lights-cabinet) LightsStepsDifficulty=(standard) Where the values in parenthesis contain the default choices. You can redefine them to act similar to an arcade (DDR EX). by saying: LightsOrOutput=1 LightsStepsType=dance-single LightsStepsDifficulty=standard NOTE: The Steps Difficulty is only a preferred difficulty. If the difficulty does not exist, then it will revert to the original code where it just takes the first steps (if any exist). This seems like a much better solution than before which would limit per-game... And it seems a lot better than telling everyone who wants arcade lights to write their own to every song. Glenn, if you feel my code confuses you, or you do not like it... Don't feel bad about just expunging it from the CVS. I would just ask that you tell me what I did wrong so I do not make the same err in the future. Thanks, Charles. |