User:Supersonic576

From Space Station 13 Wiki
Revision as of 17:17, 2 August 2014 by Hyphz (talk | contribs) (→‎Wiring)
Jump to navigation Jump to search

MechComp (WIP)

In your lab of secrets you have some neat components found in the MechComp dispenser, which can be used for wonderful useful things.

What do I have?

A lot of different things.

Inputs

Machinery meant to send a signal to other machinery.

Item Image Description
Button
BigRedButton.png
Used to send a signal when the button is pressed. Has no inputs and only one output. When the button is pressed, the value of the "send-signal" (by default 1) is sent on the output.
Pressure Pad
PressureSensor2.png
Used to send a signal when stepped on. Has no inputs and only one output. When the pad is stepped on, the value of the "send-signal" (by default 1) is sent on the output.
Doors
Airlock64.png
Yes, doors can be used to send signals to machinery too

Wiring

Wiring used to make more complicated machines.

Item Image Description
Relay Component
RelayComponent.png
Simply passes on a signal. Has one input, relay; any message sent to this input is immediately repeated on the output. If "signal changing" is switched on then instead of repeating the message, the send-signal of the Relay Component is sent to the output no matter what the input was. Mainly used for connecting together non-mechComp machines.
AND Component
ANDComponent2.png
Sends a signal when 2 signals are sent to it within a set period of each other. Has two inputs, input 1 and input 2. If messages arrive on both inputs within a certain time of each other (set as the "time frame"), then the AND component's send-signal is sent to its output. The content of the actual messages sent to the AND component is ignored.
OR Component
ORComponent.png
Sends a signal when a specified signal is sent to it. Has 10 inputs. Any messages on inputs are ignored unless they match the "trigger signal". If the trigger signal is matched by any of the inputs then the send-signal is sent to the output.
Toggle Component
ToggleComponent.png
Stores a single binary value. Has four inputs. Any message on the activate input will turn the toggle on, make the symbol on the component light up, and send the "On-signal" to the output (even if it was already off). Any message on the deactivate input will turn the toggle off, make the symbol on the component fade, and send the "Off-signal" to the output (even if the toggle was already off). Any message on the toggle input will toggle the state, sending the signal as appropriate. Any message on the output state input will send the on-signal or the off-signal as appropriate to the current state, without changing it.
Selection Component
SelectionComponent.png
Stores a list of items. Items can be added or removed to the list via appropriate channels or via the right-click menu. An item can be selected by sending its value as a signal on the selection channel, and then any signal on the "send selected" channel will cause that item to be sent on the output connection. Items can also be selected by moving through the list in order, or at random. Turning on "annoucements" via the right-click menu will cause the selection component to announce everything it is doing.
Delay Circut
DelayComponent2.png
Used to delay a signal. Has one input, delay; any message received on this input is repeated on the output after a certain amount of time has passed which can be set as the "delay". The send-signal of the Delay Circuit seems to be ignored.
Signal Check Component
SignalCheckComponent.png
Checks if an input signal matches a particular string, and if it does, sends another signal on. The signal sent on can either be a copy of the original string or a different signal.
Signal Builder Component
SignalBuilderComponent.png
Builds a message, typically a machine signal with key-value pairs, by appending send strings together with configurable start and end strings.
RegEx Find Component
RegExFindComponent.png
Behaves like the Signal Check component except instead of matching raw strings it matches regular expressions (details on the regular expression syntax can be found elseweb)
RegEx Replace Component
RegExReplaceComponent.png
Behaves like the Signal Check component except instead of matching raw strings it matches regular expressions and then forwards a message modified using the regular expression replacement syntax. This can also be found elseweb.

Machines

Actual machinery dispensed by MechComp.

Item Image Description
Graviton Accelerator
GravitonAccelerator2.png
The Holy Grail of MechComp, used to send any unbolted item (or person) flying away in a fixed direction until it/he/she collides with something
Microphone Component
MicrophoneComponent.png
Sends anything spoken verbally within range. Has no inputs and one output, which sends the text spoken. The "send-signal" value is ignored. If "Show-source" is enabled (by default it is not) then the name of the speaker will be included in the message, separated from the text by " : " (colon space colon).
Sound Synthesizer
SoundSynthesizerComponent.png
Used to produce sound. Has one input, input; any message sent to this will be spoken. Oddly, it behaves as if it has an output, but this is never used.
Wifi Component
WifiComponent.png
Sends or receives messages on a radio channel of your choice.
Wifi Signal Splitter Component
WifiSignalSplitterComponent.png
Decomposes machine signals sent in key1=value1&key2=value2&key3=value3&.. format. Set the trigger field to the part you want to extract, and the text of that value (only) will be sent on the output connection.
Hand Scanner Component
HandScannerComponent.png
Has no inputs. When clicked on with an empty hand, sends either the user's name or their hex fingerprint - determined by the "signal type" setting - to the output. The Send-signal of the Hand Scanner seems to be ignored.
Paper Scanner Component
PaperScannerComponent.png
Has no inputs. When a paper object is dropped on it, anything written on the paper is sent to its output. By default it accepts only thermal paper and the paper object is consumed when placed in the scanner, but both of these can be altered via settings.
Thermal Printer Component
ThermalPrinterComponent.png
Has one input, print. Whenever a message is sent to this input the content of the message is printed out on a sheet of paper. The name of the paper object can be set as an option. This seems to behave as if it has an output and a send-signal, but neither appear to be used.
Payment Component
PaymentComponent.png
Accepts an amount of money, configurable as the "price". Only cash is accepted, not ID card payments. If the required money is given then the send-signal is sent on the output and the thanks-string is spoken as sound. If more than the specified amount of money is given, then the extra is returned, and "Here is your change!" is spoken instead of the thanks-string (no matter what the thanks-string is). Right clicking on the component and choosing "eject money" will ask for a code, and if this is correctly entered then all money taken by the unit is ejected. The code can be set as an option. There is an eject money input but it seems to be ignored; sending the code or anything else as a message does nothing.
LED Component
LEDComponent.png
Used to produce a variety of wonderful colors. Has four inputs, toggle, activate, deactivate, and set rgb. Toggle, Activate, and Deactivate will have the appropriate effect on the LED when any message is sent. Set RGB presumably allows the color of the light to be configured but the format of the required message is not known. Behaves as if it has an output, but never sends any.
Gun Component
GunComponent3.png
Fires a gun. But you need to bring your own gun.
Energy Gun Component
ChargeableGunComponent2.png
A turret used to fire energy based guns
Teleport Component
TeleportComponent.png
When activated, moves anything standing on it to the teleporter with the same ID.
Control Unit
ProgrammableControlUnit.png
Can be programmed in a simple assembly language to transform inputs to outputs.
Powernet-networking Component
Powernet-networkingComponent.png
MORE INFO NEEDED
Flusher Component
FlusherComponent.png
MORE INFO NEEDED
Sensor Pipe Segment
SensorPipe.png
MORE INFO NEEDED
Controlled Pipe Junction
ControlledPipeJunction.png
MORE INFO NEEDED

How do I make machines?

Put parts in the places you want, use the wrench on them to bolt them to the floor (use it again to unbolt them if you wish).

Then, link parts together by dragging parts to other parts with your mouse, it will ask you what you want the first item to be, the trigger or the receiver. Select trigger to make the first part trigger the other part, or receiver to make the first part receive a signal from the other part.

Then, it will ask what you want it to do. No matter if you selected the trigger first or the receiver first, it will always be in the context of "What do you want the trigger to do to the receiver?", sometimes it just says "activate", but most of the time there are other options.

A note about doors

From what I can tell, you can only open doors with machines when they don't require any access at all! However, all doors can send a signal to machinery.

How Signals Work

There are two types of signals [I don't think they're named, but if there's an official name, tell me], we will call them Fixed Signals, and Send Signals.

Fixed signals aren't editable, they are stuff like "Activate" when activating something, or "Recharge" for recharging the Chargeable Gun (more on that later).

Send Signals are the opposite of that. When you right-click something like a button or a pressure plate, you will notice under their menus an option saying "[Set Send-Signal]". Send Signals are signals that can be customized, and are important for Sound Synthesizers and OR Components. Doors give out "doorClosed" and "doorOpened" when they are closed and opened, and if you were to connect a Sound Synthesizer to a door, the Synthesizer would say "doorClosed" and "doorOpened" respectively.

How do I use the other stuff?

Relay Component

You can use the Relay Component to send a signal between a non-MechComp machine to another non-MechComp machine e.g. doors. Remember, you can't drag from the object to the Relay if you want to make the Relay the receiver, you'll have to drag FROM the Relay TO the object, and set the Relay as the receiver.

OR Component

An OR Component can have up to 10 inputs at a time. It sends a signal when it hears a "trigger signal" from one of its inputs. Right-click it and select "[Set Trigger-Signal]" to set what specific signal will trigger it.

AND Component

An AND Component has 2 inputs, select 2 different objects and assign them to the inputs (make sure one is in input 1 and another is in input 2). Now, when a signal is sent from both objects at about the same time, the AND Component will trigger whatever you set it to trigger.

Delay Component

The Delay Component is used to Delay a signal by at least 1 second. To use it, connect what you want to trigger something with to the Delay Component, then use "[Set Delay]" to set the amount of time (in tenths of a second) you want to delay the signal, then connect the Delay to what you want to activate. The delay time can't be set under 1 second (10), why? Honestly, I don't know.

Sound Synthesizer

To change what the Synthesizer says, you need to change the input signal. How? Simple! Right-click on whatever is triggering the Synthesizer, and select "[Set Send-Signal]", it will ask you what you want to change it to, change it to whatever you want the Synthesizer to say!

You can't change the send-signal on doors, but when connected the Synthesizer will say "doorClosed" or "doorOpened" when it closes and opens.

Graviton Accelerator

Keep in mind that while Gravitons can be activated by pressure plates and buttons, they can also be activated by doors!

Ideas for machines

Well, that depends, are you a traitor?

Non-traitor things

Traitor things