Logic Tutorial: XOR Gate

From Kogama Wiki
Jump to: navigation, search

This logic is a bit complicated, it's good because Toggle Cube doesn't work well with levers

To do this logic you need:

Steps[edit | edit source]

Levers[edit | edit source]

  • Place two Levers.

You can find them in the inventory on the advanced logic tab.

Optional (Lever)[edit | edit source]

You can leave it ON in the Settings tab by right clicking on it

Negate Cubes[edit | edit source]

  • Place six Negate Cubes.

You can find them in the inventory on the advanced logic tab.

  • Connect the Red Logic Connectors of the two first Negate Cubes to the Blue Logic Connector of the levers.

XORgate1.png

  • Connect the Red Logic Connector of the third Negate Cube to the Blue Logic Connector of the two first Negate Cubes.

XORgate2.png

  • Connect the Red Logic Connector of the two penultimate Negate Cubes to the Blue Logic Connector of the three first Negate Cubes.

XORgate3.png

  • Connect the Red Logic Connector of the last Negate Cube to the Blue Logic Connector of the two penultimate Negate Cubes.

XORgate4.png

Cube Model Hider[edit | edit source]

  • Place two Cube Model Hiders.

You can find them in the inventory on the advanced logic tab.

  • Connect the Yellow Model Connector of the Cube Model Hider to the Door Closed model and connect the Red Logic Connector to the Blue Logic Connector of the last Negate Cube

XORgate5.png

  • Connect the Yellow Model Connector of the another Cube Model Hider to the Door Opened model and connect the Red Logic Connector to the Blue Logic Connector of the two penultimate Negate Cube

XORgate6.png

Optional (Cube Model Hider)[edit | edit source]

You can show a outline in the connected model in the Settings tab by right clicking on it.

Explaining[edit | edit source]

When no levers are ON, the door closes. When only one lever is ON, the door opens. When the two levers are ON, the door closes.