Slot Explorer

Explanation

This tool displays the state of each table slot (lamps, solenoids, GIs and switches) in realtime.
This is equivalent to the graphical debug in VPM, but with associated slot number.

 

Lamps

Lamps slots states are displayed here. If the slot is displayed in red, all the behaviours linked to this slot should have received the "SetState(true)" callback.

Solenoids

Solenoids slots states are displayed here. If the slot is displayed in red, all the behaviours linked to this slot should have received the "SetState(true)" callback.

GIs (Global Illumination strings)

Global Illumination strings states are displayed here. These slots can take 9 values (from 0 tp 8). Thus, if the current state of a slot is above 0, it is displayed from yellow (1) to red (8). Attached behaviours receive "SetValue(int v)" callback each time this value is changed.

Switches

Switches slots states are displayed here. If the slot is displayed in red, all the behaviours linked to this slot should have received the "SetState(true)" callback. The number of slots is dynamic and updated in realtime.

 

Show unassigned Lamps

When you click on this button, there is an audit to check if all objects tagged as "Lamps" (like Bulbs) are linked to a slot. Currently "un-linked" suspect lamps are displayed here. This is just to help table builder to not miss some links.

Note: If the corresponding slots are handled by some custom script, this will not be taken into account here.

 

Once this button has been clicked, the "filter" of the Table Explorer's Scene Tree View is set to only display/pick the concerned un-linked suspect lamps objects.
This allows you to quickly check/fix these missing links:

 

 

Todo

  • Display linked behaviours and objects when mouse hovering/clicking
  • Audit unassignments for solenoids and switches