Stormworks: Build and Rescue

Stormworks: Build and Rescue

PenguinO's Weapon System V1.05b
WaxanFire 16 May, 2021 @ 6:28pm
How to arm weapons (Guide) [Bombs/Rockets/Torps/Mines]
I'm placing this here for anyone struggling to arm PenguinO's weapons as I did
This is all based off of my findings after poking around penguinO's creations, and some experimentation.


These require the use of microcontrollers, so if your not familiar with them I suggest looking up tutorials, and experimenting with them to make things a bit easier to understand and manipulate to your ideas and desires.

Short answer:
you need a microcontroller that has an on/off input node plugged into a Composite Write gate which is plugged into a Composite Output node, which is then hooked up to the Electric Connector through the Composite Data tab. use a capacitor gate to delay release for signals to read and to prevent a dud.

1.
First things first: Bring up the microcontroller editor in the building editor. go to the Properties tab, you will want to change the width to 3 and length to 1, this will be the bare minimum size. In the Logic Tab you will need 1 Composite OUTPUT, name this to ARM. 1 on/off INPUT, name this to Release Button. and 1 on/off OUTPUT, name this to RELEASE. naming your nodes will help out a LOT when organizing things.

2.
Next you need to enter the Logic editor at the top. organize your nodes with the Release Button node on the left and ARM / RELEASE nodes on the right. bring up the logic gates (press TAB) and spawn in 1 Composite Write (on/off) and 1 Capacitor. click on the Composite Write and change the start channel to 10 (or whatever channel you want, so long as you remember what number it is later) then click on the Capacitor and change the discharge to 1 second.

[quick explanation:] the only why to arm the weapons is with a composite signal that has a on/off signal plugged into it. the reason for the Capacitor is to provide a delay for all the signals to read each other when you press your release button, so that the weapon arms before it leaves the rails (Grippers)

3.
Hook up the Release Button to the Composite Write and to the Capacitor. Then hock up the Composite Write to ARM and the Capacitor to RELEASE. Then be sure to save it with a proper name

4.
Exit the Microcontroller editor and spawn it into the building editor to place on your vehicle. enter the logic view and start hooking things up. Release Button should go to a button that you wish to press to release the payload. RELEASE goes to your Grippers and Electric Connector. Switch over to COMPOSITE data view on the left and connect ARM to the Electric Connector.

And that is it. that is the bare minimum in logic you need to arm and release: bombs, missiles, and torpedoes
Just make sure that you got the Electric Connector and Grippers placed correctly and to change the Activation Channel on the weapon to match the one you put on the Composite Writes, Start Channel ((10) if you followed along) in your microcontroller.

If you have found this helpful let me know, or if its useless and no one cares about it so i can delete it. :melon:
Last edited by WaxanFire; 18 May, 2021 @ 10:08pm
< >
Showing 1-3 of 3 comments
PenguinO  [developer] 20 May, 2021 @ 8:47am 
This guide is useful in case when some people cannot understand instructions in my wordings on the main page.
Please keep it
Spike_1021 31 May, 2021 @ 8:23am 
penguinO how do i know what channels to put in the weapons i dont even know any channels
PenguinO  [developer] 31 May, 2021 @ 10:01am 
If you hardcode your trigger channel to your vehicle, you should set the same to weapon module before attaching.
< >
Showing 1-3 of 3 comments
Per page: 1530 50