Garry's Mod

Garry's Mod

Not enough ratings
Most basic wire tutorial ever
By Ultraviolet
amogus
   
Award
Favorite
Favorited
Unfavorite
hello
Press Q, look at right upper corner, click Wiremod

There you go, you have finally reached the quarters of the honorable Wiremod.

What do you want to do next,

Wiremod is basically about Gadgets, Inputs and Outputs.

Some gadgets provide outputs for other gadgets who want Inputs to work. And some of them get some Inputs, manipulate them, and output them again. It was too theoretical, right ?

Think of it like this, put a Wire Lamp and a Wire Button somewhere. Wire Lamp's "On" option asks for an input to work. And when it gets no input, the game thinks it has 0 so False, which means Light is not going to be on. Whereas Wire Button outputs a value of 1 or True while its being pressed by a Player(or you can make it toggle)

You should use the Wire tool to hover and click on the On option of Lamp to literally "wire" them together.

Now what happens is that the On input of the Lamp asks to the Button for an output value. When you press E while looking at the Button, the Button outputs a the value of 1. Therefore the Lamp gets an input value of 1 and it turns On.

Well, wire gates and ♥♥♥♥ are a bit more complicated than this

Think about the Divide gate. It gets an input A or 6 for example which is our dividend, gets another input B or 3 for example which is the divisor. And then outputs the Dividend / Divisor of 2 which is the quotient.

But i instantly recommend people to learn Expression 2 rather than learning complex Wiremod. It is in my opinion both easier to understand, and pays off in time even when making simple gizmos.

Learning E2 helps you learn coding by the way. So one day when you want to code something you won't be an ape looking at a PC.

Also it is capable of doing things that plain Wiremod isn't. (applyForce(),propSpawn() etc.)

E2 forever...

goodbye