View changes for revision:                                                                                    
Red ! switch (108, rev. 2)
By Asprok on 03-19-14, 02:35 pm
Category 'Event controllers', known, fully documented
This sprite shares its image file with P-switch, ? switch and Bowser battle switch.
Data files:
• /obj/I_switch_ncg.bin
Sprite fields:
Output ID: value at nybble 2-3. 0=disable
Output mode: list at nybble 8: 0=Start ID activation,1=Stop ID activation. Activation has to be started/enabled. Can toggle once started or ended by hitting the opposite sw. again.
Input ID: value at nybble 0-1. 0=Ignore input ID, other value will wait for ID
Input mode: list at nybble 9: 0=One time use,1=Toggle start/stop,2=Toggle input/output. Timer mode automatically resets switch to opposite output mode. Or it can be reset by another switch. With no timer, a start/stop toggle will respawn when you leave then return to the screen.
Timer mode: list at nybble 6: 0=Timer with music,1=No timer no music. When timed, switch starts in start or stop. While timed, it is opposite.
Time out sw. delay: value at nybble 5. In seconds, only delays multiple on/off hits
Affected by gravity: list at nybble 4: 0=Not affected,1=Affected,2=Unknown
Upside down: checkbox at nybble 11 with mask 1
Shift 1/2 block right: checkbox at nybble 10 with mask 1
Red ! switch (108, rev. 3)
By Asprok on 03-29-14, 07:03 pm
Category 'Event controllers', known, fully documented
This sprite shares its image file with P-switch, ? switch and Bowser battle switch.
Data files:
• /obj/I_switch_ncg.bin
Sprite fields:
Output ID: value at nybble 2-3. 0=disable
Output mode: list at nybble 8: 0=Start ID activation,1=Stop ID activation. Activation has to be started/enabled. Can toggle once started or ended by hitting the opposite sw. again.
Input ID: value at nybble 0-1. 0=Ignore input ID, other value will wait for ID
Input mode: list at nybble 9: 0=One time use,1=Toggle start/stop,2=Toggle input/output. Timer mode automatically resets switch to opposite output mode. Or it can be reset by another switch. With no timer, a start/stop toggle will respawn when you leave then return to the screen.
Timer mode: list at nybble 6: 0=Timer with music,1=No timer no music. When timed, switch starts in start or stop. While timed, it is opposite.
Time out sw. delay: value at nybble 5. In seconds, only delays multiple on/off hits
Affected by gravity: list at nybble 4: 0=Not affected,1=Affected,2=Unknown
Upside down: checkbox at nybble 11 with mask 1
Shift ½ block right: checkbox at nybble 10 with mask 1