Explore the fundamentals of basic logic gates and circuits in Garry's Mod. Learn how to build and understand essential components for your contraptions and creations.
This guide covers the basics of logic gates and circuits within Garry's Mod, essential for creating complex contraptions and understanding game mechanics. We'll break down the fundamental gates and how they function in the game environment.
| Logic Gate | Description | Inputs | Output |
|---|---|---|---|
| AND Gate | Outputs true (1) only if all inputs are true (1). | 2+ | Boolean (0 or 1) |
| OR Gate | Outputs true (1) if at least one input is true (1). | 2+ | Boolean (0 or 1) |
| NOT Gate | Inverts the input. If input is true (1), output is false (0), and vice versa. | 1 | Boolean (0 or 1) |
| NAND Gate | Outputs false (0) only if all inputs are true (1). It's a NOT-AND gate. | 2+ | Boolean (0 or 1) |
| NOR Gate | Outputs true (1) only if all inputs are false (0). It's a NOT-OR gate. | 2+ | Boolean (0 or 1) |
| XOR Gate | Outputs true (1) if the inputs are different. | 2+ | Boolean (0 or 1) |
| XNOR Gate | Outputs true (1) if the inputs are the same. | 2+ | Boolean (0 or 1) |
Understanding these basic gates is crucial for building advanced logic systems in Garry's Mod, from simple switches to complex automated machines.
100% Human-Written. AI Fact-Checked. Community Verified. Learn how AntMag verifies content