Wired Hud Indicator
From GMod Wiki
Wiremod Tool | Back |
Brief
HUD Indicators allow you to show a value from wire-capable props (such as those from Life Support mods) on your screen directly in lieu of using a Wired Screen. They can either be hooked on to your interface at all times, or linked to a vehicle so they are only visible when you are inside that vehicle.
Instructions
- Place with Primary Fire
- Hook someone elses' indicator with Secondary Fire
- Link to a vehicle with Reload
Inputs
- A: The value to put on the HUD indicator.
- HideHUD: Whether or not the indicator should be hidden.
Variables
- Output A Color
- A Value
- Output B Color
- B Value
- Model
- Material
- Rotate 90 Degrees
- Show in My Hud
- Description
- Indicator type (e.g. progress bar, half circle gauge)
- Add as Name
- Show Value As (e.g. don't show it, show a percentage)
- Allow others to hook
- Allow HideHUD on hook
- Start angle for full circle gauge
- HUD X: Horizontal placement on your HUD
- HUD Y: Vertical placement on your HUD
Useful hints
Even if you can't (or don't) hook a HUD Indicator, you can still use one as a normal indicator since the object itself changes color if it is told to. For example, if A Value is 0 and A Color is green then when "A" input is 0 the indicator will be green. If B Color is Red and B Value is 1, then when the "A" input is 0.5 the indicator will be blended between red and green.
Example
N/A