diff --git a/index.html b/index.html index a6b1471..2423e2b 100644 --- a/index.html +++ b/index.html @@ -18,6 +18,31 @@

All articles assume basic knowlege of how Mesecons work, and some may also assume some proficiency in the Lua programming language.

For more Mesecons madness, check out Nore's new site, Basic Mesecons!

+ + + +
+

Mesecons Basics

+

6/5/13 - Uberi

+

An intermission from building to explain the very very basics of Mesecons circuitry. No previous experience required! There's a bit of building too, apparently.

+

Difficulty level: + + + + + + + + + + + (1/10) +

+ Read on... +
+ Post preview +
+

Digital Clock

diff --git a/projects/Clock/index.html b/projects/Clock/index.html index 870a3d0..168284c 100644 --- a/projects/Clock/index.html +++ b/projects/Clock/index.html @@ -26,7 +26,7 @@ (4/10)

-

This article assumes you have the Digilines mod, which I generally consider a de facto part of Mesecons. It is still possible to complete it without this mod, but replacing its functionality with fancy wiring is an exercise left to the reader. +

This article assumes you have the Digilines mod, which I generally consider a de facto part of Mesecons. It is still possible to complete it without this mod, but replacing its functionality with fancy wiring is an exercise left to the reader.

Don't you ever wish you had a clock in-game while playing Minetest, just to keep track of all the time you're wasting? Need a timepiece for the top of the main tower in town hall? Let's build one!

Clock

This clock will never need adjustment and works even if you use the /time command! This is made possible using the Digilines RTC.

diff --git a/projects/MeseconsBasics/img/Basics.png b/projects/MeseconsBasics/img/Basics.png new file mode 100644 index 0000000..af8e460 Binary files /dev/null and b/projects/MeseconsBasics/img/Basics.png differ diff --git a/projects/MeseconsBasics/img/CommandBlocks.png b/projects/MeseconsBasics/img/CommandBlocks.png new file mode 100644 index 0000000..d2e7cdb Binary files /dev/null and b/projects/MeseconsBasics/img/CommandBlocks.png differ diff --git a/projects/MeseconsBasics/img/CornerWire.png b/projects/MeseconsBasics/img/CornerWire.png new file mode 100644 index 0000000..3f12405 Binary files /dev/null and b/projects/MeseconsBasics/img/CornerWire.png differ diff --git a/projects/MeseconsBasics/img/InsulatedWire.png b/projects/MeseconsBasics/img/InsulatedWire.png new file mode 100644 index 0000000..9d94eca Binary files /dev/null and b/projects/MeseconsBasics/img/InsulatedWire.png differ diff --git a/projects/MeseconsBasics/img/Lighting.png b/projects/MeseconsBasics/img/Lighting.png new file mode 100644 index 0000000..526096d Binary files /dev/null and b/projects/MeseconsBasics/img/Lighting.png differ diff --git a/projects/MeseconsBasics/img/MESEBlock.png b/projects/MeseconsBasics/img/MESEBlock.png new file mode 100644 index 0000000..4160cc8 Binary files /dev/null and b/projects/MeseconsBasics/img/MESEBlock.png differ diff --git a/projects/MeseconsBasics/img/NormalWire.png b/projects/MeseconsBasics/img/NormalWire.png new file mode 100644 index 0000000..82a2a30 Binary files /dev/null and b/projects/MeseconsBasics/img/NormalWire.png differ diff --git a/projects/MeseconsBasics/img/Noteblocks.png b/projects/MeseconsBasics/img/Noteblocks.png new file mode 100644 index 0000000..f024b04 Binary files /dev/null and b/projects/MeseconsBasics/img/Noteblocks.png differ diff --git a/projects/MeseconsBasics/img/Pistons.gif b/projects/MeseconsBasics/img/Pistons.gif new file mode 100644 index 0000000..6a7e543 Binary files /dev/null and b/projects/MeseconsBasics/img/Pistons.gif differ diff --git a/projects/MeseconsBasics/img/Pistons.xcf b/projects/MeseconsBasics/img/Pistons.xcf new file mode 100644 index 0000000..3e94683 Binary files /dev/null and b/projects/MeseconsBasics/img/Pistons.xcf differ diff --git a/projects/MeseconsBasics/img/Plants.png b/projects/MeseconsBasics/img/Plants.png new file mode 100644 index 0000000..49d4126 Binary files /dev/null and b/projects/MeseconsBasics/img/Plants.png differ diff --git a/projects/MeseconsBasics/img/PressurePlates.png b/projects/MeseconsBasics/img/PressurePlates.png new file mode 100644 index 0000000..705e8f7 Binary files /dev/null and b/projects/MeseconsBasics/img/PressurePlates.png differ diff --git a/projects/MeseconsBasics/img/Rules.png b/projects/MeseconsBasics/img/Rules.png new file mode 100644 index 0000000..3c79d8d Binary files /dev/null and b/projects/MeseconsBasics/img/Rules.png differ diff --git a/projects/MeseconsBasics/img/Streetlamp1.png b/projects/MeseconsBasics/img/Streetlamp1.png new file mode 100644 index 0000000..8b0d5d6 Binary files /dev/null and b/projects/MeseconsBasics/img/Streetlamp1.png differ diff --git a/projects/MeseconsBasics/img/Streetlamp2.png b/projects/MeseconsBasics/img/Streetlamp2.png new file mode 100644 index 0000000..b3a5030 Binary files /dev/null and b/projects/MeseconsBasics/img/Streetlamp2.png differ diff --git a/projects/MeseconsBasics/img/Streetlamp3.png b/projects/MeseconsBasics/img/Streetlamp3.png new file mode 100644 index 0000000..e3bfa11 Binary files /dev/null and b/projects/MeseconsBasics/img/Streetlamp3.png differ diff --git a/projects/MeseconsBasics/img/StreetlampFinal.png b/projects/MeseconsBasics/img/StreetlampFinal.png new file mode 100644 index 0000000..b7606c6 Binary files /dev/null and b/projects/MeseconsBasics/img/StreetlampFinal.png differ diff --git a/projects/MeseconsBasics/img/Switches.png b/projects/MeseconsBasics/img/Switches.png new file mode 100644 index 0000000..afbb55e Binary files /dev/null and b/projects/MeseconsBasics/img/Switches.png differ diff --git a/projects/MeseconsBasics/img/TJunctionWire.png b/projects/MeseconsBasics/img/TJunctionWire.png new file mode 100644 index 0000000..209e79b Binary files /dev/null and b/projects/MeseconsBasics/img/TJunctionWire.png differ diff --git a/projects/MeseconsBasics/img/VerticalWire.png b/projects/MeseconsBasics/img/VerticalWire.png new file mode 100644 index 0000000..10f5e4b Binary files /dev/null and b/projects/MeseconsBasics/img/VerticalWire.png differ diff --git a/projects/MeseconsBasics/img/Wires.png b/projects/MeseconsBasics/img/Wires.png new file mode 100644 index 0000000..cc280b0 Binary files /dev/null and b/projects/MeseconsBasics/img/Wires.png differ diff --git a/projects/MeseconsBasics/index.html b/projects/MeseconsBasics/index.html new file mode 100644 index 0000000..3ef79f1 --- /dev/null +++ b/projects/MeseconsBasics/index.html @@ -0,0 +1,105 @@ + + + + + + + Mesecons Basics | The Mesecons Laboratory + + +
+

Mesecons Laboratory

+

Adventures in digital circuitry.

+
+

Mesecons Basics

+

6/5/13 - Uberi

+

Difficulty level: + + + + + + + + + + + (1/10) +

+

So far we've already looked at a couple of machines, but not at Mesecons itself. That won't do! This is a usage guide for new Mesecon users, including those without Redstone experience.

+ Circuits demonstration +

Let's look at exactly what Mesecons can do, and how you can use it.

+ +

Overview

+

Mesecons is a digital circuitry mod for Minetest that allows players to create circuits that can do nearly anything.

+

Mesecons resembles real life circuitry in that you have wires that carry information around and various things that affect or are affected by them, but the basic similarities end there.

+

There are three basic types of things in the Mesecons mod: wires, receptors, and effectors. We'll look at each one in detail below, but for now we'll go through a summary.

+

Wires conduct signals around, while receptors do the actual creating of those signals. Effectors do things based on those signals. Some things can act as both receptors and effectors, which is useful for doing things like modifying signals.

+ +

Wires

+

These are Mesecon wires:

+ Mesecon wires +

Left to right: normal wire, insulated wire, T-junction wire, corner wire, vertical wire, MESE block. Rear wires are on, front wires are off.

+

There are a lot of different wires that have distinct uses, but all of them perform essentially the same task. First of all, Mesecon wire has two states: on and off. The on state is generally brighter or more saturated in color than the off state. Wires are off when you place them down, but they can be turned on by being conducted to.

+

A Mesecon wire that is on (the wire is in the on state) will cause other wires and effectors adjacent to it to turn on as well, a process known as conduction. Which adjacent ones that turn on are determined by the specific type of wire.

+

In the pictures below, the black boxes denote where the wire conducts. Other locations are completely unaffected by whether it is on or off.

+

The normal wire conducts in the four cardinal directions, North-East-South-West, but not diagonally. Looking from the side, it conducts to nodes on the same level, or the level above and below it. However, it does not conduct directly above or below:

+ Normal wire rules +

The insulated wire, in contrast, conducts only at the ends. The direction is determined by the direction you are facing when you place the wire.

+ Insulated wire rules +

The T-junction wire gets its name from the shape it forms and conducts in. The direction is determined by the direction you are facing when you place the wire.

+ T-junction wire rules +

The corner wire conducts only at its ends as well, but they are perpendicular to each other. The direction is determined by the direction you are facing when you place the wire.

+ Corner wire rules +

The vertical wire has caps on each end that conduct only in the cardinal directions on the same vertical level as well as directly above or below. The thin parts without caps only conduct directly above or below. Vertical wires can be stacked on top of each other, and only the top and bottom ones will be capped.

+ Vertical wire rules +

The MESE block is extended by Mesecons to conduct in the cardinal directions as well as directly above and below.

+ MESE block rules +

Two wires will only conduct between each other if they are adjacent and both conduct to the location of the other:

+ Connection rules + +

Receptors

+

Wires are nice and all, but how do we turn them on if the only way to make one come on is to have something that is already on beside it? That's where receptors come in. Receptors are, in short, things that are not wires, but can also be on and off. Receptors can do things like turning on and off depending on whether there is light, when a player interacts with them, or a lot of things, really. There are far too many types of receptors to describe here, but we'll cover the most important ones.

+

Power plants are simply always on - they will power anything in the same positions as normal Mesecon wire. Blinky plants behave similarly, but turn on and off every few seconds:

+ Power and blinky plants +

Switches, buttons, and levers are all player controlled - punching switches and levers toggles them between on and off, while buttons turn on when punched and then turn off again after a little while. Switches conduct to the same positions as normal wire, while buttons and levers only conduct to the back or to the node behind the one to the back:

+ Player-controlled switches +

Pressure plates come in wood and stone varieties, which differ mainly in appearance. They turn on when someone or something stands on them - this includes players, mobs, and items. Special rules mean that in addition to conducting to the same locations as normal wire, they also conduct to the node below the node directly below themselves:

+ Pressure plates + +

Effectors

+

Now that we have a way to create and carry signals, it's time to do something with them. Effectors are made specifically for this purpose. Effectors can do things like giving off light, moving nodes around, playing music, or even running chat commands. There are far too many types of effectors to describe here, but we'll cover the most important ones.

+

Meselamps and lightstone light up when they have an on signal and don't give off any light otherwise. Meselamps are brighter than lightstones, while lightstones are available in many different colors:

+ Lighting effectors +

Pistons can push a column of nodes and entities by one block, and the sticky piston can also pull the closest one. Entities on top of a stack being pushed horizontally are also moved. Movestones (not shown) do something similar, but can push nodes along a "rail" made of conductive materials:

+ Pistons +

Noteblocks play a certain note when they receive an on signal. The instrument used to play the note is determined by the node it's placed on top of, while the pitch (how high the note is) is changed by punching it. Placing one on wood planks causes it to make a litecrash sound, tree trunks cause a crash sound, chests cause a snare sound, stone causes a kick sound, glass causes a hihat sound, and anything else causes a piano sound:

+ Noteblocks +

Command blocks execute a chat command when they receive an on signal. However, they are not obtainable in survival mode without cheats due to the potential for abuse. Command blocks can only be changed by their owners (the player that placed it) and show a dialog when right clicked, which allows the target, command, and parameters to be set. Certain special commands are also available - more details can be found by using the "/help" chat command:

+ Command blocks + +

Putting it all together

+

Now that we know how to create, transmit, and cause actions with Mesecon signals, we can look at the area where Mesecons really shines: manipulating signals with digital logic.

+

Let's say we want to have street lamps that come on only at night. A basic street lamp looks something like the following:

+ Basic street lamp +

At the moment, it's not giving off light. Let's give the lightstone an on signal:

+ Working street lamp +

Now it's always on. But what about coming on only at night? Let's power it using a solar panel:

+ Daytime street lamp +

Just a small problem remains - it only turns on in the day! That's about as useful as a solar powered flashlight. What we need to do is take the opposite of the solar panel's signal.

+

This is where digital logic comes in. In digital logic, the operation of taking the opposite of a signal is called a "logical NOT". It just so happens that Mesecons has a few devices that can do this operation, as well as many more. In our case, a Mesecon torch does the job very nicely:

+ Final street lamp +

The Mesecon torch simply takes the signal on the other side of the node it's attached to, and changes its state so that it's the opposite. That means that when the solar panel is on, the torch is off, and when the solar panel is off, the torch is on. In our case, we use this to detect the absence of light by taking the opposite of the solar panel's light detection.

+

There are tons of different ways you can manipulate signals like this. In fact, manipulate them enough and there's nothing you can't build - see the Tic-Tac-Toe and Node Detector articles on this site for inspiration. Logic gates can be used just like they are in real life to build many of the electronics we use every day. For the most complex manipulations, there are even Luacontrollers that can be programmed in-game to do just about anything.

+ +

Going Forward

+

You probably won't be building Mesecons computers by this point, but hopefully you'll agree that Mesecons does in fact add a huge amount of awesome to Minetest no matter what your playing style is.

+

For the engineer in you, why not give Digilines a try? LCD displays, data buses, and more are waiting to be made into something incredible. Everything works with Mesecons, of course.

+

If you love automating things and making them more efficient, Pipeworks is a great choice. Craft items, transport them, or even organize them, all automatically! Pipeworks, of course, also works great with Mesecons - you can control how pipes and tubes work using signals.

+

However, if your interests lie with digital logic and manipulating different signals to do different things (like building doors that open only if you push the right sequence of buttons), look no further! Mesecons has logic gates, programmable controllers, and even timing circuits for you to play to your heart's content.

+ +



+ Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License. +
+ + \ No newline at end of file diff --git a/projects/NodeDetector/index.html b/projects/NodeDetector/index.html index 7ca05d5..933b4ff 100644 --- a/projects/NodeDetector/index.html +++ b/projects/NodeDetector/index.html @@ -26,7 +26,7 @@ (3/10)

-

This article assumes you have the Digilines mod, which I generally consider a de facto part of Mesecons. It is still possible to complete it without this mod, but replacing its functionality with fancy wiring is an exercise left to the reader. +

This article assumes you have the Digilines mod, which I generally consider a de facto part of Mesecons. It is still possible to complete it without this mod, but replacing its functionality with fancy wiring is an exercise left to the reader.

Have you ever woken up just feeling like you want to abuse some game mechanics? No? Well, how about detecting different types of nodes?

Node detector

How did it know the node was sand? Same way it does it below: