1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Hey Guest, is it this your first time on the forums?

    Visit the Beginner's Box

    Introduce yourself, read some of the ins and outs of the community, access to useful links and information.

    Dismiss Notice

Mechanisms Tutorial

Discussion in 'Classes & Mechanics' started by franek123, Jul 17, 2015.

  1. franek123

    franek123 The architect of the royal castle. Donator Tester

    Messages:
    514
    screen-15-07-15-22-53-42.png

    As you probably know, the last update brought us mechanisms in sandbox. I know that not many people know exactly how they work, so I made a tutorial to help people understand mechanisms and to help them build epic stuff! Enjoy :)

    First of all, you should learn how the Signal works. Every mechanism has it's own power value from 0 to 10. Singal lose 1 power point per 1 block, which means normally it can go through 10 blocks max before reaching a value of 0. If turned on, Sources always have a power value of 10. All the components and devices except the inventor (which always has 10) have power values of 0 unless a signal is delivered to them. Usually components pass signal further and devices keep it. Every device needs at least 1 power value to run, and there's no difference if it's on 1 or 10. To see the power value of a mechanism block you can turn on debug mode in sandbox by using "/g_debug 1" command in console, "/g_debug 0" to turn it off.
    It looks like this:
    nodebug.png
    debug.png

    First let's explain:
    COMPONENTS

    they are bassicaly blocks used for passing signal and often modifing it somehow.

    WIRE:
    Most basic component, passes signal both ways. Single button/lever etc. signal can go through 10 of these.
    wire.png

    ANKLE:
    Curved version of wire.
    ankle.png

    TEE:
    Another version of wire that can link 3 wires.
    tee.png

    JUNCTION:
    Can link 4 wires
    junction.gif

    DIODE:
    Works like wire except it passes signal only one way.
    diode.gif

    RESISTOR:
    Halfs the power of signal. Works only one way.
    resistor.png

    TRANSISTOR:
    Stops the signal from 2 sides unless it's powered. Works both ways.
    transistor.gif


    TOGGLE:
    Works as lever. If it recive signal once it will keep sending signal until reciving signal again. Works one way.
    toggle.gif

    OSCILLATOR:
    Repeats the signal until it's powered. Works one way.
    oscillator.gif


    INVENTOR:
    Keeps sending signal one way, unless it recives signal.
    You can use 2 of them in a row to make signal go further than 10 blocks.
    extender.gif

    RANDOMIZER:
    Randomly stops signal. Works one way.
    randomizer.gif


    Now:
    SOURCES

    Blocks that create power!

    LEVER:
    Activated with E. Keeps sending signal until turned off.
    lever.png

    BUTTON:
    Activated with E. Sends signal for around second.
    button.png

    COINS SLOT:
    Work as button except it needs 60 coins to activate.
    coinslot.png

    PRESSURE PLATE:
    Activated when putted pressure by player/bot/item.
    pressureplate.gif

    MOTION SENSOR:
    Actived by any moving object.
    motionsensor.gif


    Last but most fun :rekt:

    DEVICES
    the coolest part of mechanisms

    LAMP
    It lights! (if powered)
    lamp.gif

    MAGAZINE
    Stores items/arrows. Used with dispenser and bolter
    Does anyone really needs image of a magazine?
    BOLTER:
    Device that when powered shoots any kind of arrows. Needs magazine with arrows to work next to it. (it doesn't shoot ballista bots :| )
    bolter.gif

    DISPENSER:
    Throws out items when powered.
    dispenser.gif

    RECEIVER & EMITTER
    These two blocks pass signal without wire if put opposite each other in maximum lenght of 18 blocks
    emmiter&reciver.gif

    SPIKER
    Ejects spike when powered. Deals 1 heart damage.
    spikes.gif

    OBSTRUCTOR
    If powered, works liek solid block. If not, works as background.
    obstructor.gif

    Well, that's all for that tutorial. I hope I helped you somehow. Thx to Jasioloza for helping me a lot!

    May the science be with you!
     
    Last edited: Jul 19, 2015
    Trumbles, kodysch, Fuzzle and 24 others like this.
  2. 9/10 for using archer as victim
     
  3. RadioActive

    RadioActive Guest

    Well done but...
    [​IMG]
    I have to report you for a speedhax. There is no reasonable explanation of how you come back "to the left" that fast. It's not possible without cheating. Sorry.
     
  4. franek123

    franek123 The architect of the royal castle. Donator Tester

    Messages:
    514
    It's not hacking, It's SCIENCE!
     
  5. dayleaf

    dayleaf Haxor
    1. The Thieves Guild

    Messages:
    255
    Speedhax or perfectly looped gifs ftw

    Sir, i must clap while saying "MAGNIFIQUE", looks like a mechanical-electrical engineering class.
     
  6. Skinney

    Skinney THD Team THD Team Forum Moderator Tester

    Messages:
    468
  7. Gofio

    Gofio Gunwobbler x3

    Messages:
    1,090
    Tunnels on both sides of this frame?
     
  8. SirDangalang

    SirDangalang Lvl. 128 MissingNo. Donator

    Messages:
    235
    Thank you for the clear and awesome guide :X3:
     
    franek123 likes this.
  9. Hakma

    Hakma Catapult Fodder

    Messages:
    25
    I've never played sandbox but this update might change that lol
     
    franek123 likes this.
  10. TheDirtySwine

    TheDirtySwine Haxor Staff Alumni Donator

    Messages:
    818
    Just got into mechanisms. I was intimidated at first but with this tutorial you made things way easier! Thanks for the help!

    Magazines require you to be directly in the middle to place something in them. Which is a bug that needs to be fixed.

    What is the point of a resistor?
     
    Last edited: Jul 30, 2015
  11. MadRaccoon

    MadRaccoon Haxor

    Messages:
    268
  12. franek123

    franek123 The architect of the royal castle. Donator Tester

    Messages:
    514
    Nice guide Racoon but not sure why would you post it in thread about my tutorial :V
     
  13. Sohkyo

    Sohkyo Bison Rider
    1. Aphelion's Roleplay

    Messages:
    25
    Obviously because 'Coon loves me.
    --- Double Post Merged, Jul 31, 2015, Original Post Date: Jul 31, 2015 ---
    Welp, they do have a great use irl, but I don't see much future in a game.
     
    MadRaccoon likes this.
  14. Geti

    Geti Please avoid PMing me (poke a mod instead) THD Team Administrator Global Moderator

    Messages:
    3,730
    Resistors only use at the moment is to allow a wire to decharge more quickly, that's about all I'm afraid.
     
    TheDirtySwine likes this.
  15. franek123

    franek123 The architect of the royal castle. Donator Tester

    Messages:
    514
    @Geti @TheDirtySwine @Sohkyo actually they can be used for building a machinegun. I think it's about 10 times faster than oscillator. I'll show it when i have some time to record :)
     
  16. Sohkyo

    Sohkyo Bison Rider
    1. Aphelion's Roleplay

    Messages:
    25
    Actually, @Domenje already made a super-oscillator perfectly timing five oscillators.
     
  17. Domenje

    Domenje Horde Gibber

    Messages:
    9
    Actually, I have now invented 2 different types of ultimate oscillators, which are of 2x6 size and are even faster than 5 oscillators, but require winding up
     
    kodysch and Corpsey like this.
  18. Asu

    Asu THD Team THD Team Forum Moderator

    Messages:
    1,580
    I probably could try to make a bruteforce circuit generator
     
  19. franek123

    franek123 The architect of the royal castle. Donator Tester

    Messages:
    514
    Pics or didn't happen
     
    kodysch and PUNK123 like this.
  20. Sohkyo

    Sohkyo Bison Rider
    1. Aphelion's Roleplay

    Messages:
    25
    Welp, Domenje also helped Paste with a calculator, you shouldn't doubt his abilities. =p