Wired Pod Controller
From GMod Wiki
Wiremod Tool | Back |
Brief
The pod controller allows you to control wire components from within a pod. The controller can only be linked to one pod at a time.
Instructions
Placed using Primary fire. Then use secondary fire on first the controller then the pod you want to link to it.
Inputs
- Lock - Disables anyone from getting in. NOTE: Does not disable keys.
- Terminate - Kills the player inside.
- Strip weapons - Removes all the weapons of the player inside.
- Eject - Ejects the player inside.
- Disable - Sets W, S, A, D, R, Space, Alt, Shift, Mouse1, Mouse2, and Zoom values to 0.
- Crosshairs - Toggles the crosshairs for the vehicle.
- Brake - Turns on the Hand Break for the vehicle.
- Allow Buttons - Allows you to interact with Wire Buttons with the left mouse button
- Relative - Makes the Bearing and Elevation outputs relative to the Bearing and Elevation of the pod.
- Damage Health - Damages Health by input amount.
- Damage Armor - Damages Armor by input amount
Outputs
- W, A, S, D, Mouse1, Mouse2, R, Space, Shift, Zoom, Alt - These are the states, 1 or 0, of the keys or buttons on the keyboard of the person in the pod.
- TurnLeftKey and TurnRightKey - The states, 1 or 0, of the keys defined as the TurnLeftKey and TurnRightKey.
- X, Y, Z - The X, Y, and Z coordinates of where the player in the pod is looking.
- AimPos - The vector coordinates of where the player in the pod is looking.
- Distance - Returns the distance between the pod and where the player is looking.
- Active - Returns a 1 if there is someone in the pod, 0 if not.
- ThirdPerson - Whether the person in the pod is in third person view (ex. if he has pressed Ctrl)
- Team - Returns the team of the player inside the pod.
- Health, Armor - Returns the Health and Armor of the player inside the pod.
- Bearing - Returns the bearing of where the player in the pod is looking in relation the world (unless the Relative input is true). Similar to the beacon sensor, but built in. Used for steering.
- Elevation - Returns the Elevation (Pitch) of where the player in the pod is looking in relation to the world (unless the Relative input is true).
- Entity - Returns the pod the controller is linked to.
Variables
-
Useful hints
You can also link an advanced pod controller to a remote control SWEP that allows you to control the vehicle from anywhere. Pressing the use key with the remote control equipped will enable the pod controller, as if you sat in the seat of a vehicle. Note that you cannot have an advanced pod controller linked to a remote control and a vehicle at the same time.