Interactive Elements

From Dual Universe Wiki
Jump to: navigation, search
A sample of Interactive Elements; the player can be seen standing on a sensor, which is triggering the two lights it is connected to.

Interactive Elements are Elements which are able to be linked with their surroundings to perform simple actions without the need for programming. The system is a simple input-output system; a sensor or switch can be hooked up to a light or a door to allow for events to occur when something triggers the sensor or switch.

Inputs[edit | edit source]

Pressure Sensor

The pressure sensor can detect when a player is standing on (or in close proximity to) it. It is active only for as long as it is triggered; when the player steps off of the sensor, it automatically deactivates.

Laser Sensor

The laser sensor is able to detect players at extended ranges. The laser extends from the sensor towards the next solid object it hits; if it hits a player, the sensor is triggered.

Switch

The switch is a small element which can be activated. it is unknown at this time if the switch has multiple positions, or if it only remains active for a certain time after being pressed.

Outputs[edit | edit source]

Lamp

The lamp is a light source which turns on when activated by an input. Once triggered, it will stay on for as long as the input is active.

Force Field

The force field is a solid wall which can be activated and deactivated by inputs, allowing for the instantaneous creation and removal of solid walls anywhere that voxels are not present. A force field remains active as long as the input connected to it is active.

Door

A door can be open or closed. It is unknown at this time if a door's position is tied to the state of it's input, or if it simply changes state upon being activated.

Logic Gates[edit | edit source]

In addition to inputs and outputs, there are logic gates. While inputs reside at the beginning of systems and outputs reside at the end, logic gates have their place in the middle of systems where they perform operations based on the state of their inputs. There are currently three logic gates in Dual Universe.

AND gate

Operators pre-alpha.jpg

The AND gate accepts any number of inputs, but will only send an active signal if all of its inputs are active. If an AND gate has three sensors hooked up to it and is connected to a light, the light will only turn on if all three sensors are activated.

OR gate

An OR gate can have any number of inputs, and will send and active signal if any of them are activated. If three sensors are hooked up to an OR gate, and the gate is connected to a light, triggering one or more sensors will turn on the light.

NOT gate

A NOT gate can have only one input. A NOT gate reverses the state of that input; if a sensor is hooked up to a NOT gate, and the sensor is not being triggered, than the NOT gate will be sending an active signal. As soon as the sensor is triggered, then the NOT gate's signal will deactivate.