Wiring Components: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
BTGamepedia>Acekaburaky
(Moved info from separate component pages to this page as the info was too little to warrant their own article.)
BTGamepedia>Acekaburaky
mNo edit summary
Line 19: Line 19:
=Logic=
=Logic=


==[[File:And_Component.png|25px]] And Component==
==[[File:And_Component.png|40px]] And Component==
<blockquote>"''Sends a signal when both inputs receive a signal within a set period of each other."''</blockquote>
<blockquote>"''Sends a signal when both inputs receive a signal within a set period of each other."''</blockquote>
The '''And Component''' is an electrical component used to check if both inputs are receiving a signal.
The '''And Component''' is an electrical component used to check if both inputs are receiving a signal.
Line 50: Line 50:
|}
|}


==[[File:Equals_Component.png|25px]] Equals Component==
==[[File:Equals_Component.png|40px]] Equals Component==
<blockquote>"''Sends a signal when both inputs receive the same signal."''</blockquote>
<blockquote>"''Sends a signal when both inputs receive the same signal."''</blockquote>
The '''Equals Component''' is an electrical component used to check if both inputs are the same.
The '''Equals Component''' is an electrical component used to check if both inputs are the same.
Line 64: Line 64:
}}
}}


==[[File:Greater_Component.png|25px]] Greater Component==
==[[File:Greater_Component.png|40px]] Greater Component==
<blockquote>"''Sends a signal if the value the signal_in1 input is larger than the signal_in2 input."''</blockquote>
<blockquote>"''Sends a signal if the value the signal_in1 input is larger than the signal_in2 input."''</blockquote>
The '''Greater Component''' is an electrical component used to check if one input is higher than the other.
The '''Greater Component''' is an electrical component used to check if one input is higher than the other.
Line 78: Line 78:
}}
}}


==[[File:Not_Component.png|25px]] Not Component==
==[[File:Not_Component.png|40px]] Not Component==
<blockquote>"''Sends a signal when the input is NOT receiving a signal."''</blockquote>
<blockquote>"''Sends a signal when the input is NOT receiving a signal."''</blockquote>
The '''Not Component''' is an electrical component used to invert a signal.
The '''Not Component''' is an electrical component used to invert a signal.
Line 101: Line 101:
|}
|}


==[[File:Or_Component.png|25px]] Or Component==
==[[File:Or_Component.png|40px]] Or Component==
<blockquote>"''Sends a signal if either of the inputs receives a signal."''</blockquote>
<blockquote>"''Sends a signal if either of the inputs receives a signal."''</blockquote>
The '''Or Component''' is an electrical component used to check if any input is receiving a signal.
The '''Or Component''' is an electrical component used to check if any input is receiving a signal.
Line 132: Line 132:
|}
|}


==[[File:RegEx_Component.png|25px]] RegEx Find Component==
==[[File:RegEx_Component.png|40px]] RegEx Find Component==
<blockquote>"''Sends a signal if the received signal matches a specific regular expression pattern."''</blockquote>
<blockquote>"''Sends a signal if the received signal matches a specific regular expression pattern."''</blockquote>
<!-- Sends out the set output signal if the input is equal to the set '''Reg'''ular '''Ex'''pression.  
<!-- Sends out the set output signal if the input is equal to the set '''Reg'''ular '''Ex'''pression.  
Line 149: Line 149:
}}
}}


==[[File:Signal_Check_Component.png|25px]] Signal Check Component==
==[[File:Signal_Check_Component.png|40px]] Signal Check Component==
<blockquote>"''Sends a signal when a signal matching a specific value is received."''</blockquote>
<blockquote>"''Sends a signal when a signal matching a specific value is received."''</blockquote>
<!-- Depending on if it receives its <code>TargetSignal</code> it will send out either the <code>Output</code> or <code>FalseOutput</code> value. (Includes words) -->
<!-- Depending on if it receives its <code>TargetSignal</code> it will send out either the <code>Output</code> or <code>FalseOutput</code> value. (Includes words) -->
Line 167: Line 167:
}}
}}


==[[File:Xor_Component.png|25px]] Xor Component==
==[[File:Xor_Component.png|40px]] Xor Component==
<blockquote>"''Sends a signal if either of the inputs, but not both, receives a signal."''</blockquote>
<blockquote>"''Sends a signal if either of the inputs, but not both, receives a signal."''</blockquote>
The '''Xor Component''' is an electrical component used to check if only one input is receiving a signal.
The '''Xor Component''' is an electrical component used to check if only one input is receiving a signal.
Line 200: Line 200:
=Math=
=Math=


==[[File:Abs Component.png|25px]] Abs Component==
==[[File:Abs Component.png|40px]] Abs Component==
<blockquote>"''Outputs the absolute value of the input."''</blockquote>
<blockquote>"''Outputs the absolute value of the input."''</blockquote>


==[[File:Adder Component.png|25px]] Adder Component==
==[[File:Adder Component.png|40px]] Adder Component==
<blockquote>"''Outputs the sum of the received signals."''</blockquote>
<blockquote>"''Outputs the sum of the received signals."''</blockquote>


==[[File:Ceil_Component.png|25px]] Ceil Component==
==[[File:Ceil_Component.png|40px]] Ceil Component==
<blockquote>"''Outputs the smallest integer value that is bigger than or equal to the input."''</blockquote>
<blockquote>"''Outputs the smallest integer value that is bigger than or equal to the input."''</blockquote>


==[[File:Divide_Component.png|25px]] Divide Component==
==[[File:Divide_Component.png|40px]] Divide Component==
<blockquote>"''Outputs the divided value of the received signals."''</blockquote>
<blockquote>"''Outputs the divided value of the received signals."''</blockquote>


==[[File:Exponentiation Component.png|25px]] Exponentiation Component==
==[[File:Exponentiation Component.png|40px]] Exponentiation Component==
<blockquote>"''Outputs the input raised to a given power."''</blockquote>
<blockquote>"''Outputs the input raised to a given power."''</blockquote>


==[[File:Factorial_Component.png|25px]] Factorial Component==
==[[File:Factorial_Component.png|40px]] Factorial Component==
<blockquote>"''Outputs the factorial of the input."''</blockquote>
<blockquote>"''Outputs the factorial of the input."''</blockquote>


==[[File:Floor_Component.png|25px]] Floor Component==
==[[File:Floor_Component.png|40px]] Floor Component==
<blockquote>"''Outputs the greatest integer value that is less than or equal to the input."''</blockquote>
<blockquote>"''Outputs the greatest integer value that is less than or equal to the input."''</blockquote>


==[[File:Modulo_Component.png|25px]] Modulo Component==
==[[File:Modulo_Component.png|40px]] Modulo Component==
<blockquote>"''Outputs the remainder when the input is divided by a specific number."''</blockquote>
<blockquote>"''Outputs the remainder when the input is divided by a specific number."''</blockquote>


==[[File:Multiply_Component.png|25px]] Multiply Component==
==[[File:Multiply_Component.png|40px]] Multiply Component==
<blockquote>"''Outputs the product of the received signals."''</blockquote>
<blockquote>"''Outputs the product of the received signals."''</blockquote>


==[[File:Round_Component.png|25px]] Round Component==
==[[File:Round_Component.png|40px]] Round Component==
<blockquote>"''Rounds a numerical input to the nearest integer value."''</blockquote>
<blockquote>"''Rounds a numerical input to the nearest integer value."''</blockquote>


==[[File:Square Root Component.png|25px]] Square Root Component==
==[[File:Square Root Component.png|40px]] Square Root Component==
<blockquote>"''Outputs the square root of the input."''</blockquote>
<blockquote>"''Outputs the square root of the input."''</blockquote>


==[[File:Subtract_Component.png|25px]] Subtract Component==
==[[File:Subtract_Component.png|40px]] Subtract Component==
<blockquote>"''Outputs the subtracted value of the received signals."''</blockquote>
<blockquote>"''Outputs the subtracted value of the received signals."''</blockquote>


=Trigonometry=
=Trigonometry=


==[[File:Acos_Component.png|25px]] Acos Component==
==[[File:Acos_Component.png|40px]] Acos Component==
<blockquote>"''Outputs the angle whose cosine is equal to the input."''</blockquote>
<blockquote>"''Outputs the angle whose cosine is equal to the input."''</blockquote>
The '''Acos Component''' is an electrical component that performs the inverse cosine function; cos<sup>-1</sup>(x).
The '''Acos Component''' is an electrical component that performs the inverse cosine function; cos<sup>-1</sup>(x).
Line 249: Line 249:
|output1tt=The output of the component.
|output1tt=The output of the component.
}}
}}
==[[File:Asin_Component.png|25px]] Asin Component==
==[[File:Asin_Component.png|40px]] Asin Component==
<blockquote>"''Outputs the angle whose sine is equal to the input."''</blockquote>
<blockquote>"''Outputs the angle whose sine is equal to the input."''</blockquote>
The '''Asin Component''' is an electrical component that performs the inverse sine function; sin<sup>-1</sup>(x).
The '''Asin Component''' is an electrical component that performs the inverse sine function; sin<sup>-1</sup>(x).
Line 261: Line 261:
}}
}}


==[[File:Atan_Component.png|25px]] Atan Component==
==[[File:Atan_Component.png|40px]] Atan Component==
<blockquote>"''Outputs the angle whose tangent is equal to the input. If the "signal_in_x" and "signal_in_y" connections are used, the input is interpreted as a vector and the angle calculated using Atan2."''</blockquote>
<blockquote>"''Outputs the angle whose tangent is equal to the input. If the "signal_in_x" and "signal_in_y" connections are used, the input is interpreted as a vector and the angle calculated using Atan2."''</blockquote>
The '''Atan Component''' is an electrical component that performs the inverse tan function; tan<sup>-1</sup>(x).
The '''Atan Component''' is an electrical component that performs the inverse tan function; tan<sup>-1</sup>(x).
Line 277: Line 277:
}}
}}


==[[File:Cos_Component.png|25px]] Cos Component==
==[[File:Cos_Component.png|40px]] Cos Component==
<blockquote>"''Outputs the cosine of the input."''</blockquote>
<blockquote>"''Outputs the cosine of the input."''</blockquote>
The '''Cos Component''' is an electrical component that performs the cosine function; cos(x).
The '''Cos Component''' is an electrical component that performs the cosine function; cos(x).
Line 289: Line 289:
}}
}}


==[[File:Sin_Component.png|25px]] Sin Component==
==[[File:Sin_Component.png|40px]] Sin Component==
<blockquote>"''Outputs the sine of the input."''</blockquote>
<blockquote>"''Outputs the sine of the input."''</blockquote>
The '''Sin Component''' is an electrical component that performs the sine function; sin(x).
The '''Sin Component''' is an electrical component that performs the sine function; sin(x).
Line 301: Line 301:
}}
}}


==[[File:Tan_Component.png|25px]] Tan Component==
==[[File:Tan_Component.png|40px]] Tan Component==
<blockquote>"''Outputs the tangent of the input."''</blockquote>
<blockquote>"''Outputs the tangent of the input."''</blockquote>
The '''Tan Component''' is an electrical component that performs the tangent function; tan(x).
The '''Tan Component''' is an electrical component that performs the tangent function; tan(x).
Line 315: Line 315:
=Misc=
=Misc=


==[[File:Color_Component.png|25px]] Color Component==
==[[File:Color_Component.png|40px]] Color Component==
<blockquote>"''Outputs a combined color signal for light control."''</blockquote>
<blockquote>"''Outputs a combined color signal for light control."''</blockquote>
The '''Color Component''' is an electrical component used to provide a color signal for lamps/lights.
The '''Color Component''' is an electrical component used to provide a color signal for lamps/lights.
Line 335: Line 335:
}}
}}


==[[File:Delay_Component.png|25px]] Delay Component==
==[[File:Delay_Component.png|40px]] Delay Component==
<blockquote>"''Delays all received signals for a specific amount of time."''</blockquote>
<blockquote>"''Delays all received signals for a specific amount of time."''</blockquote>
The '''Delay Component''' is an electrical component used to delay a signal for a short amount of time.
The '''Delay Component''' is an electrical component used to delay a signal for a short amount of time.
Line 349: Line 349:
}}
}}


==[[File:Memory_Component.png|25px]] Memory Component==
==[[File:Memory_Component.png|40px]] Memory Component==
<blockquote>"''Outputs a stored value that can be updated from other sources. Use the signal_in connection to set the stored value, and the signal_store input to toggle whether the received signals should be stored."''</blockquote>
<blockquote>"''Outputs a stored value that can be updated from other sources. Use the signal_in connection to set the stored value, and the signal_store input to toggle whether the received signals should be stored."''</blockquote>
The '''Memory Component''' is an electrical component used to store signals for later use.
The '''Memory Component''' is an electrical component used to store signals for later use.
Line 363: Line 363:
}}
}}


==[[File:Oscillator.png|25px]] Oscillator==
==[[File:Oscillator.png|40px]] Oscillator==
<blockquote>"''Sends out a periodic, oscillating signal."''</blockquote>
<blockquote>"''Sends out a periodic, oscillating signal."''</blockquote>
<!-- 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. -->
Line 380: Line 380:
}}
}}


==[[File:Relay_Component.png|25px]] Relay Component==
==[[File:Relay_Component.png|40px]] Relay Component==
<blockquote>"''When switched on, forwards all received signals from the input connections to the outputs."''</blockquote>
<blockquote>"''When switched on, forwards all received signals from the input connections to the outputs."''</blockquote>
The '''Relay Component''' is an electrical component used to disconnect power or signals from a circuit.
The '''Relay Component''' is an electrical component used to disconnect power or signals from a circuit.
Line 408: Line 408:
}}
}}


==[[File:Wifi_Component.png|25px]] Wifi Component==
==[[File:Wifi_Component.png|40px]] Wifi Component==
<blockquote>"''Allows remote communication between other wifi components that are using the same channel."''</blockquote>
<blockquote>"''Allows remote communication between other wifi components that are using the same channel."''</blockquote>
<!-- Used to send and receive signals from other wifi components if their channel is the same.  
<!-- Used to send and receive signals from other wifi components if their channel is the same.  

Revision as of 23:24, 22 October 2020

Template:Stub

Wiring Components
Crafting
Fabricator
Requirements
Skill: Electrical: 20
Deconstructor Yield
Technical
Identifier
Categories

Logic

And Component

"Sends a signal when both inputs receive a signal within a set period of each other."

The And Component is an electrical component used to check if both inputs are receiving a signal.

Hover over pins to see their descriptions

Connection Panel for Wiring Components
Hover over pins to see their descriptions.
Signal_In_1
Signal_In_2
Set_Output
The input of the first signal.
The input of the second signal.
Sets the "true" output.
Signal_Out
The output of the component.
Requires: Screwdriver

"1" denotes any input, "0" denotes a blank or zero input

Truth Table
Input 1 Input 2 Output
0 0 0
0 1 0
1 0 0
1 1 1

Equals Component

"Sends a signal when both inputs receive the same signal."

The Equals Component is an electrical component used to check if both inputs are the same.

Hover over pins to see their descriptions

Connection Panel for Wiring Components
Hover over pins to see their descriptions.
Signal_In_1
Signal_In_2
The input of the first signal.
The input of the second signal.
Signal_Out
The output of the component.
Requires: Screwdriver

Greater Component

"Sends a signal if the value the signal_in1 input is larger than the signal_in2 input."

The Greater Component is an electrical component used to check if one input is higher than the other.

Hover over pins to see their descriptions

Connection Panel for Wiring Components
Hover over pins to see their descriptions.
Signal_In_1
Signal_In_2
The input of the first signal.
The input of the second signal.
Signal_Out
The output of the component.
Requires: Screwdriver

Not Component

"Sends a signal when the input is NOT receiving a signal."

The Not Component is an electrical component used to invert a signal.

Hover over pins to see their descriptions

Connection Panel for Wiring Components
Hover over pins to see their descriptions.
Signal_In
The input signal.
Signal_Out
The output of the component.
Requires: Screwdriver

"1" denotes any input, "0" denotes a blank or zero input

Truth Table
Input Output
0 1
1 0

Or Component

"Sends a signal if either of the inputs receives a signal."

The Or Component is an electrical component used to check if any input is receiving a signal.

Hover over pins to see their descriptions

Connection Panel for Wiring Components
Hover over pins to see their descriptions.
Signal_In_1
Signal_In_2
Set_Output
The input of the first signal.
The input of the second signal.
Sets the "true" output.
Signal_Out
The output of the component.
Requires: Screwdriver

"1" denotes any input, "0" denotes a blank or zero input

Truth Table
Input 1 Input 2 Output
0 0 0
0 1 1
1 0 1
1 1 1

File:RegEx Component.png RegEx Find Component

"Sends a signal if the received signal matches a specific regular expression pattern."

The RegEx Find Component is an electrical component used to match an exact string.

It is most commonly used with a Terminal.

Hover over pins to see their descriptions

Connection Panel for Wiring Components
Hover over pins to see their descriptions.
Signal_In
The input signal.
Signal_Out
The output of the component.
Requires: Screwdriver

Signal Check Component

"Sends a signal when a signal matching a specific value is received."

The Signal Check Component is an electrical component used to check if 2 signals match.

Hover over pins to see their descriptions

Connection Panel for Wiring Components
Hover over pins to see their descriptions.
Signal_In
Set_Output
Set_Targetsignal
The input signal.
Sets the "true" output.
Sets the signal that must be matched to. (Optional, can be set in editor)
Signal_Out
The output of the component.
Requires: Screwdriver

Xor Component

"Sends a signal if either of the inputs, but not both, receives a signal."

The Xor Component is an electrical component used to check if only one input is receiving a signal.

Hover over pins to see their descriptions

Connection Panel for Wiring Components
Hover over pins to see their descriptions.
Signal_In_1
Signal_In_2
Set_Output
The input of the first signal.
The input of the second signal.
Sets the "true" output.
Signal_Out
The output of the component.
Requires: Screwdriver

"1" denotes any input, "0" denotes a blank or zero input

Truth Table
Input 1 Input 2 Output
0 0 0
0 1 1
1 0 1
1 1 0

Math

Abs Component

"Outputs the absolute value of the input."

Adder Component

"Outputs the sum of the received signals."

Ceil Component

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

Divide Component

"Outputs the divided value of the received signals."

Exponentiation Component

"Outputs the input raised to a given power."

Factorial Component

"Outputs the factorial of the input."

Floor Component

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

Modulo Component

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

Multiply Component

"Outputs the product of the received signals."

Round Component

"Rounds a numerical input to the nearest integer value."

Square Root Component

"Outputs the square root of the input."

Subtract Component

"Outputs the subtracted value of the received signals."

Trigonometry

Acos Component

"Outputs the angle whose cosine is equal to the input."

The Acos Component is an electrical component that performs the inverse cosine function; cos-1(x).

Hover over pins to see their descriptions

Connection Panel for Wiring Components
Hover over pins to see their descriptions.
Signal_In
The input signal.
Signal_Out
The output of the component.
Requires: Screwdriver

Asin Component

"Outputs the angle whose sine is equal to the input."

The Asin Component is an electrical component that performs the inverse sine function; sin-1(x).

Hover over pins to see their descriptions

Connection Panel for Wiring Components
Hover over pins to see their descriptions.
Signal_In
The input signal.
Signal_Out
The output of the component.
Requires: Screwdriver

Atan Component

"Outputs the angle whose tangent is equal to the input. If the "signal_in_x" and "signal_in_y" connections are used, the input is interpreted as a vector and the angle calculated using Atan2."

The Atan Component is an electrical component that performs the inverse tan function; tan-1(x).

Hover over pins to see their descriptions

Connection Panel for Wiring Components
Hover over pins to see their descriptions.
Signal_In
Signal_In_X
Signal_In_Y
The input signal.
The input of the X signal.
The input of the Y signal.
Signal_Out
The output of the component.
Requires: Screwdriver

Cos Component

"Outputs the cosine of the input."

The Cos Component is an electrical component that performs the cosine function; cos(x).

Hover over pins to see their descriptions

Connection Panel for Wiring Components
Hover over pins to see their descriptions.
Signal_In
The input signal.
Signal_Out
The output of the component.
Requires: Screwdriver

Sin Component

"Outputs the sine of the input."

The Sin Component is an electrical component that performs the sine function; sin(x).

Hover over pins to see their descriptions

Connection Panel for Wiring Components
Hover over pins to see their descriptions.
Signal_In
The input signal.
Signal_Out
The output of the component.
Requires: Screwdriver

Tan Component

"Outputs the tangent of the input."

The Tan Component is an electrical component that performs the tangent function; tan(x).

Hover over pins to see their descriptions

Connection Panel for Wiring Components
Hover over pins to see their descriptions.
Signal_In
The input signal.
Signal_Out
The output of the component.
Requires: Screwdriver

Misc

Color Component

"Outputs a combined color signal for light control."

The Color Component is an electrical component used to provide a color signal for lamps/lights.

It is most commonly used in tandem with Light Components for easily changeable lighting.

Hover over pins to see their descriptions

Connection Panel for Wiring Components
Hover over pins to see their descriptions.
Signal_R
Signal_G
Signal_B
Signal_A
The brightness of the red channel.
The brightness of the green channel.
The brightness of the blue channel.
The transparency of the alpha channel.
Signal_Out
The combined color signal.
Requires: Screwdriver

Delay Component

"Delays all received signals for a specific amount of time."

The Delay Component is an electrical component used to delay a signal for a short amount of time.

It is most commonly used in tandem with Terminals for custom commands.

Hover over pins to see their descriptions

Connection Panel for Wiring Components
Hover over pins to see their descriptions.
Signal_In
The signal to be delayed.
Signal_Out
The delayed signal.
Requires: Screwdriver

Memory Component

"Outputs a stored value that can be updated from other sources. Use the signal_in connection to set the stored value, and the signal_store input to toggle whether the received signals should be stored."

The Memory Component is an electrical component used to store signals for later use.

Hover over pins to see their descriptions

Connection Panel for Wiring Components
Hover over pins to see their descriptions.
Signal_In
Signal_Store
The signal to be stored
Sets whether signals will be stored (1=yes, 0=no)
Signal_Out
The currently stored signal
Requires: Screwdriver

Oscillator

"Sends out a periodic, oscillating signal."

The Oscillator is an electrical component used to provide a signal that changes over time.

It is most commonly used in tandem with a Subtract Component for timers or countdowns.

Hover over pins to see their descriptions

Connection Panel for Wiring Components
Hover over pins to see their descriptions.
Set_Frequency
Set_Outputtype
Sets the frequency of the oscillator, in Hz (Hertz).
Sets the output type of the oscillator (0=pulse, 1=sine, 2=square).
Signal_Out
The output of the component.
Requires: Screwdriver

Relay Component

"When switched on, forwards all received signals from the input connections to the outputs."

The Relay Component is an electrical component used to disconnect power or signals from a circuit.

It is most commonly used for providing toggleable power to lights or duplicating signals.

Hover over pins to see their descriptions

Connection Panel for Wiring Components
Hover over pins to see their descriptions.
Power_In
Signal_In_1
Signal_In_2
Toggle_State
Set_State
Power input from a power network.
The input of the first signal.
The input of the second signal.
Toggles the relay between on and off when a signal of 1 is supplied.
Sets the current state of the relay (1=on, 2=off).
Power_Out
Signal_Out_1
Signal_Out_2
State_Out
Power output to a power network.
The output of the first signal.
The output of the second signal.
The current state of the relay.
Requires: Screwdriver

Wifi Component

"Allows remote communication between other wifi components that are using the same channel."

The Wifi Component is an electrical component used to transfer signals over long distances.

It can also output into text radio chat.

Hover over pins to see their descriptions

Connection Panel for Wiring Components
Hover over pins to see their descriptions.
Signal_In
Set_Channel
The signal to be transmitted.
Sets the current wifi channel.
Signal_Out
The recieved signal.
Requires: Screwdriver
v·d·e·h
Electrical Components
Alarms
Detectors
Interactable
Wiring Components
Misc