Basic Wiremod Tools (Wire, Gate, Expression2
Wiremod is a powerful addon for Garry's Mod that allows users to create complex contraptions and logic systems using a visual scripting interface. At its core are three fundamental components: the Wire tool, Gates, and Expression 2 (E2) chips, which together enable intricate automation and interactive dess.
The Wire tool is your primary means of connecting entities. It allows you to draw virtual wires between input and output ports on various entities, enabling data flow and control. Gates are pre-built logic modules that perform specific functions, such as AND, OR, NOT, timers, and counters. They take inputs and produce outputs based on their logical configuration. Expression 2, often shortened to E2, is a more advanced scripting language within Wiremod that uses a C-like syntax to create highly customized logic and behaviors. It offers unparalleled flexibility for complex machinery and automation.
- Wire Tool: Connects input/output ports of entities to transfer data and control sals.
- Gates: Basic logic components (AND, OR, NOT, XOR, timers, counters) that process inputs to produce outputs.
- Expression 2 (E2): A powerful scripting chip that allows for custom programming of complex logic and behaviors.
- Inputs/Outputs: Ports on entities that receive or send data, crucial for Wiremod connections.
To begin with Wiremod, spawn a few basic entities, such as buttons and lights. Use the Wire tool to connect a button's output to a light's input. Then, experiment with Gates to create more complex sequences, like a timer that activates a light after a set duration. For advanced users, learning Expression 2 opens up possibilities for creating anything from automated factories to complex AI systems.
Wiremod Component Overview
| Component | Function |
|---|---|
| Wire Tool | Establishes connections between entity ports. |
| Gates | Perform fundamental logical operations. |
| Expression 2 Chip | Runs custom Lua-like scripts for advanced functionality. |
| Sensors | Entities that detect conditions (e.g., proximity, color). |
| Actuators | Entities that perform actions (e.g., moving parts, emitting sound). |
Mastering Wiremod's tools and logic systems is a rewarding experience, allowing you to transform simple props into sophisticated, interactive machines.