View changes for revision:                                                               
P Switch (66, rev. 2)
By  Hiccup on 09-15-13, 06:48 pm
Category 'Event controllers', known, fully documented
This sprite shares its image file with ? switch, ! switch and Bowser Battle Switch.
Data files:
• /obj/I_switch_ncg.bin
Sprite fields:
Output ID: value at nybble 2-3. 0=disable
Ouput 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: checkbox at nybble 4 with mask 1
Upside down: checkbox at nybble 11 with mask 1
Shift 1/2 block right: checkbox at nybble 10 with mask 1
P-switch (66, rev. 3)
By Asprok on 03-15-14, 03:32 am
Category 'Event controllers', known, fully documented
This sprite shares its image file with ? switch, ! switch and Bowser Battle Switch.
Data files:
• /obj/I_switch_ncg.bin
Sprite fields:
Output ID: value at nybble 2-3. 0=disable
Ouput 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: checkbox at nybble 4 with mask 1
Upside down: checkbox at nybble 11 with mask 1
Shift 1/2 block right: checkbox at nybble 10 with mask 1