Wired Ranger
From GMod Wiki
Wiremod Tool | Back |
Function: | A distance measuring tool for use with Wire mod. |
Primary fire: | Create/Update Ranger. |
Secondary fire: | No action |
Reload: | No action |
Notes: | - |
Brief
The ranger is used to measure the distance to a wall/object/player/etc.Instructions
Placed using Primary fire.
Inputs
- X: Takes a value from -1 to 1. Changes the horizontal angle of the ranger beam from -45 degrees (relative) (-1) to +45 degrees (relative) (1). If the input value exceeds either bound the ranger will default to 1 or -1, whichever is closer.
- Y: Takes a value from -1 to 1. Changes the vertical angle of the ranger beam from -45 degrees (relative) (-1) to +45 degrees (relative) (1). If the input value exceeds either bound the ranger will default to 1 or -1, whichever is closer.
Outputs
- Range
- Velocity
- Angle
- Color
Variables
- Default to 0: If checked, if the ranger did not hit anything, the distance will be set to zero. Else the distance is the maximum range.
- Maximum Range: The maximum range of the trace. Anything beyond this length will not be detected.
- Ignore World: If checked, the ranger will only detect objects and players, not the ground or walls. In other words, if you cannot phys gun it, the ranger will not hit it.
- Show beam: Shows a beam indicating the direction and length of the ranger's trace
- Hit water: makes the ranger detect water. You cannot detect the surface of the water from under the water however.
- Output distance: Makes the ranger output the actual distance
All the other checkboxes select whether to output the value, color, position, rotation, or velocity of the object the beam is hitting.
Useful hints
Rangers, with the show beam option checked, can also serve as a way to determine which way a turret is pointing for increased accuracy.