Skip to content
Basic Wiring and Inputs/Outputs
Garry's Mod

Basic Wiring and Inputs/Outputs

Master Garry's Mod Wiremod basics. Learn about inputs, outputs, and connecting entities to create automated contraptions and logic systems.

By ···10 min read·Multi-source verified
1 reading this guide  

Master Garry's Mod Wiremod basics. Learn about inputs, outputs, and connecting entities to create automated contraptions and logic systems.

The Wiremod addon introduces a powerful system of logic and interaction to Garry's Mod, allowing players to create complex contraptions and automated systems. At its core, this system relies on understanding basic wiring, inputs, and outputs.

Wiremod provides several entities that can send and receive signals. These signals are typically represented as numbers or boolean values (true/false). By connecting these entities with virtual wires, you can create cause-and-effect relationships. For instance, a button entity might output a '1' when pressed, and this signal can be wired to a light entity to turn it on. Learning to identify the inputs and outputs of different entities is the first step in building functional contraptions.

Key concepts in basic wiring:

  • Inputs: These are the properties or functions of an entity that can be controlled by a signal. For example, a light entity has an 'On' input that can be set to true or false.
  • Outputs: These are signals that an entity can send when a certain event occurs. A button entity might output a 'Pressed' signal when activated.
  • Connecting Wires: Using the Wiremod tool, you click on an output of one entity and then on an input of another to establish a connection.
  • Common Entities:
    • Button: Outputs a signal when pressed.
    • Light: Has an 'On' input to toggle its state.
    • Timer: Can be triggered by an input and outputs a signal after a delay.
    • Lever: Outputs a continuous signal while in a specific state.

For example, to create a simple automatic door, you could place a door entity and a proximity sensor. Wire the 'PlayerIn' output of the sensor to the 'Open' input of the door. When a player gets close, the sensor detects them and sends a signal to open the door. When You moves away, the sensor's 'PlayerOut' output could be wired to the door's 'Close' input.

100% Human-Written. AI Fact-Checked. Community Verified. Learn how AntMag verifies content