Oscillator Component: Difference between revisions
From Official Barotrauma Wiki
Rubenblades (talk | contribs) (Made Oscillator Component its own page rather than a redirect to Wiring Components) Tag: Removed redirect |
Rubenblades (talk | contribs) m (Minor edit) |
||
Line 28: | Line 28: | ||
<!-- Technical --> | <!-- Technical --> | ||
| identifier = | | identifier = oscillator | ||
| category = Electrical | | category = Electrical | ||
| tags = smallitem, logic | | tags = smallitem, logic |
Latest revision as of 22:10, 18 April 2024
Data is up-to-date | |
Last updated for version 1.3.0.2 Last mentioned in changelog 0.15.9.0 The current game version is 1.4.5.0 |
Main article: Wiring Components
Oscillator Component | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Sends out a periodic, oscillating signal. | |||||||||||||||||||||||||||||||||||
Crafting | |||||||||||||||||||||||||||||||||||
Fabricator Requirements |
Skill: Electrical: 20
| ||||||||||||||||||||||||||||||||||
Deconstructor Yield | |||||||||||||||||||||||||||||||||||
Store | |||||||||||||||||||||||||||||||||||
Minimum Difficulty | 15% | ||||||||||||||||||||||||||||||||||
Base Price | 100 mk | ||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
|
The Oscillator is an electrical component used to provide a signal that changes over time.
- Frequency is in Hertz (Hz), 1 Hz is once per second, 0.5 Hz is once every 2 seconds and so on.
- The wave type may be set on the component by sending a number into set_outputtype.
Input | Wave | Description |
---|---|---|
0 | Pulse | periodically sends out a signal of 1. |
1 | Sawtooth | sends out a periodic wave that increases linearly from 0 to 1. |
2 | Sine | sends out a sine wave oscillating between -1 and 1. |
3 | Square | sends out a signal that alternates between 0 and 1 |
4 | Triangle | sends out a wave that alternates between increasing linearly from -1 to 1 and decreasing from 1 to -1. |
Connection Panel for Oscillator Component Hover over pins to see their descriptions. | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
Requires: Screwdriver |
Electrical Components | |
---|---|
Alarms | |
Detectors | |
Interactable | |
Wiring Components | |
Misc |