Yes... I am sure it is...
OK,
Currently I have the following code in my settings...
</ label="Star speed", help="Speed of starfield | negative = backwards|positive = forwards|0 = stop (-25 to 25, default=4)", order=o++ /> speed="4";
This allows folks to choose the speed of the "star field" on the layout. I want to change the way this works to make it more friendly for arcade cabinets. Rather than allow them to type in a number between -25 and 25, I would prefer to have options such as "WARP 10, WARP 5, CRUISING, PUTTING, STANDING STILL, REVERSE SLOW, REVERSE FAST, REVERSE WARP 5, REVERSE WARP 10" and then assign each a "speed" number.
Amazingly, I am having such a hard time doing this.
I can get the setting to show up right (of course)... but my code to actually assign "speed="x"" just doesn't work.
Now, this SPEED setting is for a separate NUT file that is loaded up with a DO_NUT from the layout... but one would think this should be as easy as putting this in the settings section:
</ label="Star speed", help="Speed of starfield", options="WARP 10, WARP 5, CRUISING, PUTTING, STANDING STILL, REVERSE SLOW, REVERSE FAST, REVERSE WARP 5, REVERSE WARP 10" order=o++ /> starspeed="WARP 10";
if (my_config["starspeed"] == "WARP 10" )
{
speed="25"
}
if (my_config["starspeed"] == "WARP 5" )
{
speed="15"
}
...etc...
then move on to the DO_NUT line... but nope. I am no programmer, just a hack at best, so any help would be appreciated.