Wired Hydraulic
From GMod Wiki
Wiremod Tool | Back |
Brief
A Hydraulic constraint with an additional placeholder model to connect to other Wire mod components for control.
Instructions
Either use two Primary fire shots to set up the two endpoints, followed by a third that sets the controller to attach the wire to, or use Secondary fire to automatically create a Hydraulic perpendicular to the surface, then press primary to place the control.
Inputs
- Length
Outputs
- Length
Variables
- Rope type: The displayed texture of the constraint.
- Width: The displayed width of the constraint.
- Fixed: This determines if the the Hydraulic is able to swing freely or not.(Slider-like or not)
Useful hints
If you have a signal of 1 and you want to turn it into hydraulic movement, then use an if-then-else gate to select the length when the input is 1 and 0. Another method would be to multiply the 1 by a specific length you want it to be when it's 1, this means that when it's 0 it will return to it's original length. Alternately you could include an add chip to create a "0 - length" as well.