Wired Hover Drive Controller
From GMod Wiki
Wiremod Tool | Back |
Brief
This entity's jumpdrive feature will teleport itself and all attached props to certain GPS (or world) coordinates.
Instructions
- Spawn from the entities menu
- Constrain (usually by welding) to the props to be teleported along with the controller
- Wire a position to the controller (usually with a GPS) and 2 inputs to set the coordinates and start the jump (usually with buttons)
- Trip the Set Jump Target input to set the position to teleport to, then the Jump input to teleport.
Inputs
- Jumptarget_x: Set the exact X GPS coordinate of the jump.
- Jumptarget_y: Set the exact Y GPS coordinate of the jump.
- Jumptarget_z: Set the exact Z GPS coordinate of the jump.
- Set Jump Target: You don't need to use this any more.
- Jump: Activates the jump drive, teleporting the controller and constrained props.
- JumpTarget: The vector of the coordinates to jump to.
Variables
None.
Useful hints
- Spawned under the Entities tab.
- You do not need to use the Set Jump Target input.
- Use a beacon sensor and a target finder to get the GPS co-ords, then teleport the hoverdrive to an enemy! You may have to add 100 to the Z co-ordinate (making it spawn 100 units higher than the NPC) and put a turret on the bottom.
- One easy thing to do is to make a panel that can save GPS coordinates for later use.
- Heres a good use for the "hoverdrive", output its current x, y, and z cords to a arithmetric gate in which should add one to each input and then hook them to the input of the "hoverdrive" to cause it to move 1 units in any desired direction every step. We could add controls such as a SR-latch to generate a 1 or 0 in which would be hooked the the arithmetric gate's number-to-add input.
Zanbastic II 22:57, 23 June 2007 (GMT-5)
- If it is attached to a prop or construction with a grabber, then anything the grabber has a hold of will also jump with the drive
- (LS2) A console command will enable this to require energy to jump, with an expense that is proportional to the distance traveled.
- (LS2) Constructs with supply pumps connected to the construct's own supply ports will also jump.
Whiskeyfur 13:07, 19 December 2007 (GMT -8)