Wired Lamps
From GMod Wiki
Wiremod Tool | Back |
Function: | This works almost like the Indicator except that instead of sending an on/off value you send the RGB code for it to display, just like the Wired Light. |
Primary fire: | Spawns a Wired Lamp. |
Secondary fire: | Spawns a Wired Lamp without any constrants. |
Reload: | No action |
Notes: | - |
Brief
A model that determines its color from its R, G, and B inputs.
Instructions
Placed with Primary fire.
Inputs
- R: The Red value.
- G: The Green value.
- B: The Blue value.
- RGB: An alternative color input with color as a vector: (Red, Green, Blue)
- On: Whether the light should be on or off.
Outputs
-
Variables
- Constrain Type: How the light should be constrained to the object hit with the tool gun. Type are Rope, Weld, and None.
- Rope length
- Rope color
Useful hints
- All values go from 0-255.
- Send the values R: 255 G: 255 B: 255 to make it white
- Send the values R: 255 G: 0 B: 255 to make it magenta
- Lamps, especially when there are multiple of them, can be very laggy. Turn off lamps with a toggle button wired to the lamp's 'On' input to reduce lag.