Wiring Components: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
(Undo revision 12176 by Layarion (talk))
m (Added Components Nav)
Line 194: Line 194:
Sends out a periodic, oscillating signal. This includes pulse which periodically gives out 1 signals, sine sends out -1 and 1 signals, and square sends out 0 and 1 signals.
Sends out a periodic, oscillating signal. This includes pulse which periodically gives out 1 signals, sine sends out -1 and 1 signals, and square sends out 0 and 1 signals.


{{Universal nav
{{Components Nav}}
|show-main = yes
|show-Items = yes
}}

Revision as of 12:17, 22 October 2020

Template:Stub

Wiring Components
Crafting
Technical
Identifier
Categories

Relay Component

Main article: Relay Component


Used to forward received power and signals. More specifically, the relay has pins for Power_in, Power_out, Signal_1_in, Signal_1_out, Signal_2_in, Signal_2_out, Toggle_State, Set_State, and State_out.

The relay's state is 0 as off, 1 as on.

Or Component

Main article: Or Component


Sends out a signal if either inputs receive a signal.

OR Logic Box

Input 1 Input 2 Output
0 0 0
0 1 1
1 0 1
1 1 1

Xor Component

Main article: Xor Component


Sends out a signal if either inputs receive a signal but not if it receives both.

XOR Logic Box

Input 1 Input 2 Output
0 0 0
0 1 1
1 0 1
1 1 0

And Component

Main article: And Component


Only sends out a signal if both inputs receive a signal.

AND Logic Box

Input 1 Input 2 Output
0 0 0
0 1 0
1 0 0
1 1 1

Not Component

Sends a signal if it doesn't receive a signal, if it receives a signal it outputs a 0.

NOT Logic Box

Input Output
0 1
1 0

Delay Component

Delays incoming signal by a certain value.

Signal Check Component

Depending on if it receives its TargetSignal it will send out either the Output or FalseOutput value. (Includes words)


Adder Component

Outputs sum of the signals it receives.

Subtract Component

Outputs the subtracted value of the received signals.

Divide Component

Outputs the divided value of the received signals.

Equals Component

Sends a signal when both inputs receive the same signal.

Greater Component

Sends a signal if the value of signal 1 is larger then signal 2 input.

Multiply Component

Outputs the product of the received signals.

Round Component

Rounds a numerical input to the nearest integer value.

Ceil Component

Outputs the smallest integer value that is bigger than or equal to the input.

Floor Component

Outputs the greatest integer value that is less than or equal to the input.

Memory Component

Outputs a stored value that can be updated from other sources.

Factorial Component

Outputs the factorial of the input.

File:RegEx Component.png RegEx Find Component

Main article: RegEx Find Component


Sends out the set output signal if the input is equal to the set Regular Expression.

If not, the RegEx component will send out a 0.

Modulo Component

Outputs the remainder when the input is divided by the specific number.

Wifi Component

Used to send and receive signals from other wifi components if their channel is the same.

  • Used to minimize wiring - especially in more complex systems where the same command is sent to multiple locations (where wiring would be messy)
  • Used for long range control wires can't manage (eg. in drones or remote-controlled shuttles)

Sin Component

Outputs the sine of the input.

Asin Component

Outs the angle whose sine is equal to the input.

Cos Component

Outputs the cosine of the input.

Acos Component

Outputs the angle whose cosine is equal to the input.

Tan Component

Outputs the tangent of the input.

Atan Component

Outputs the angle whose tangent is equal to the input.

Light Component

A small light which changes color depending on what signal it receives.

Color Component

Outputs a combined color signal for light control.

Oscillator

Sends out a periodic, oscillating signal. This includes pulse which periodically gives out 1 signals, sine sends out -1 and 1 signals, and square sends out 0 and 1 signals.

v·d·e·h
Electrical Components
Alarms
Detectors
Interactable
Wiring Components
Misc