The torpedo launcher is a multi-component device used to store, prime, and launch torpedoes.
The torpedo launcher is a modular device, and can be adapted to fit any size torpedo by placing multiple middle sections.
The entire tube must first be mounted to gain access to the device fields, and only the end part provides access to the device fields required to operate the torpedo tube.
- A torpedo must be snapped inside the torpedo launcher
- The torpedo tube should have its 'LauncherLock' device field toggled to '1' in order to lock the torpedo in place
- The 'launchTorpedo' field should be toggled to '1' to fire the torpedo
These device fields are located only on the end component of the launcher tube.
|YOLOL field||description||default range|
|tube||Identifier of tube||X|
|LauncherLock||Should the launcher's torpedo be locked in place?||0 - 1|
|selectedTube||Which torpedo tube is currently selected and thus is ready to fire||X|
|tubeStatus||Status of the tube's magazine||"Empty" / "Locked"|
|launchTorpedo||Launch the currently selected torpedo||0 - 1|
To learn more about how to use fields, consult these wiki pages: