Memory Circuits! (Scrap Mechanic Logic Tutorials #02)
Вставка
- Опубліковано 9 чер 2024
- Hey everyone back again in Scrap Mechanic with another logic tutorial! This time we look at memory circuits and a few basic ways that memory can be used in creations! There are many different things that can be done in logic but memory is by far one of the most useful!
If you like this content and want to see more then remember to subscribe! goo.gl/d7uUoP
Discord: / discord
-------------------------------------------------------------------------------------------------------------
About Scrap Mechanic:
store.steampowered.com/app/387...
Scrap Mechanic is an all-new creative multiplayer sandbox game which drops you right into a world where you quite literally engineer your own adventures! Choose from the 100+ building parts you have at your disposal and create anything from crazy transforming vehicles to a house that moves. You’re even able to team up with your friends to create amazing things together: in Scrap Mechanic, you’re the master creator of anything you can imagine!
-------------------------------------------------------------------------------------------------------------
Music:
"Carpe Diem", "EDM Detection Mode", "Groove Grove", "Killing Time"
Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 3.0
creativecommons.org/licenses/b...
Anikdote - Life Is Over [NCS Release]
• Video
No Copyright Sounds Release - Ігри
I built a 10-second countdown timer that displayed the numbers on an or-gate screen using what I learned from your videos. It is my first creation that uses complex logic like this
How? I am trying to make a stopwatch. Can u hand me some knolege?
4:04 i hear that kitty
Hmm Interesting yep
Haha
Yes lol
Lol your Profile Name and Pic fit perfectly to your comment.
I heard that cat to
Awesome. Thanks for explaining the "and" lift reset logic. Going to go add that to my buggy right now!
Could you make more of these? They’re really helpful.
for the xor loop: make all 3 gates xor gates, one other gate will wire to all 3 xor gates and the input will be one tick,
also: blueprint editing doesn't allow gate1->gate2 and gate2->gate1 connections at the same time, it overwrites existing connections if one already exists between the 2 gates
It would be really awesome if you could do a realistic padlock. (both in function and in mechanics)
Great video as always!
Kan thanks for making these tutorials you've helped me a lot
Nice tutorial! :) Maybe you could improve the 'rope device' that I've sent you, it uses the memory bits too. I think it will help a lot of mechanics building stepless cranes and other stuff, if u could only make it smaller :) It's always a pleasure to watch your videos :)
This is great stuff, I'm not exactly sure I understand everything, but using some of what I did understand (and lots and lots of hours later) I was able to make a functional gate with a combo lock of switches which also locks from the inside. I want to make it so that I don't need the combination to get out now, and to make the combination reset or disappear after a set amount of time.
"We generate a simple tick generator."
Well, yeah, but can you generate a generator that generates tick generators?
Well yeah but can you generate a generator that generates a generator that generates a generator that generates tick generators?
Well, yeah, but can you generate a generator that generates a generator that generates a generator that generates a generator that generates a generator that generates a generator that generates tick generators?
Well, yeah, but can you generate a generator that generates a generator that generates a generator that generates a generator that generates a generator that generates a generator that generates a generator that generates a generator that generates a generator that generates a generator that generates a generator that generates a generator that generates a generator that generates a generator that generates tick generators?
Well yeah
So a warehouse that produces materials to build a factory that makes tick generators
If you want to make a Single Tick every time you hit the Button you can do it with the button connected to an and gate and a nand/nor/xnor gate and connect the nand/.. gate to the and gate 👌
Makes sense.
@@VKURDR LOL
xor gate still loops with one tick input
this intro is the best omg
I started playing yesterday and first thing i made is an on only and off only switch with a piston and a sensor set to switch mode. Lets just say I'll use this design from now on
I'm pretty sure you can prevent the looping state of the on only and off only button by making sure the input is longer than a single tick. I can make it bug consistently by sending it a single tick input.
love you channel BTW
oh thanks ;) I am really good at logic gates but I didn't know how to do it with buttons like this
One difference between the 2 forms of memory is that the XOR is self-toggling i.e. it can be toggled with just 1 button whereas the NOR, NOR, OR memory needs a 'toggle on' input and a 'toggle off' input to flip the memory so a single button can either set or reset the bit but not do both (without extra logic of course). It is also possible to make a NOR, NOR, OR system work as a self toggling bit by checking that if a button is pressed and the bit is on, then turn it off (and vice versa).
Also: an XOR gate is active when there are an odd number of active inputs, not just 1.
PS: Sorry for the wordy explanation, but hope you can create amazing creations with this knowledge. :)
I once built a rs latch the memory circuit he built with transistors and resistor on a circuit board
I've used logic a lot but one of my oldest creations i'm having a slight problem with. It's a "combo-lock" build that is currently working on a ground based structure and had the first 'insertable, configurable key lock mechanism' which has now been swapped out for a more complicated 'keycard' system. Now i want to compact it as its reasonably large and make it a lift-able creation but i'm struggling to get 1 of its functions working properly.
Build at its core is a memory array with a switch that controls the memory array storage 'state':
1. switch off - memory gets activated in sequence and all previous set stay set
2. switch on - memory gets activated in sequence and previous set gets reset with the next set
The problem i'm having is the switch when turned on ends up creating a memory 'wave' in the cells(on,off,on,off etc...). This wave sometimes is 2 in length and confuses me as to why its doing it.
any ideas??
you can make the 1 tick generator smaller:
just connect a button to a NOT gate.
then connect the NOT gate and the button an AND gate.
now the AND gate is the output.
yup the discord mentioned this too... I've been making it excessively large for no reason
Nice video kan i like it and kann you please make a tutorial about a clock
your XOR memory is using a 3 tick pulse. if you use the self wired XOR you use a 1 tick pulse. the self wired gates also cant get into an infinite loop.
Thanks! This will help me make a elevator! (BTW, I am watching this in December 2018)
I started watching yoir vids i had no idea abaount logic in sm now im building logic conrrolled mini piston engines
idk if it's the current version but or-xor-or memory with a tick generator is not working. Did it with a piston and a switch-sensor. A spud gun and a switch would also work.
Helped me a lot with minecraft
4:57 Kerbal Space Program VAB/SPH music starts
scrapman:( he will be remembered
im just building a small calculator and i just couldnt figure out how to save the inputs.. thanks man
I’ll stick with my switches and buttons for now lol
Are there faster memory bits? I’m trying to make a couple of complicated builds but these memory bits don’t process fast enough
I have a question how do you make something like this but if the input is on to long it activate something but if it's not on a.k.a. charged up all the way it won't activate for example a security system
Hey kan if you don't see this that's fine, but I'm looking for a rising edge detector and I can't find any.
would like to know how that would work. thanks.
I've already made a touch pad for numbers but I've always wanted to make a typeing keyboard where it will have spaces, letter by letter, and back space
Triston Gorney I did it not so long ago
Ignacio Arteaga oh
Triston Gorney Here is the link if you want to see it... steamcommunity.com/sharedfiles/filedetails/?id=1127146731
Ignacio Arteaga ok thanks
for those that are interested the first one is called an RS flip flop, the second one I'm not sure but it seems to be some kind of latch
however the RS flip flop can easily be made to work with only one button using an and & or/nor gate so really just make sure you master the first one :p
Not really: first one is an RS latch, or more specifically, the one he uses is an RS nor latch. The second is a T-flip flop
for this i got a journel where i am taking all sorts of notes and making diagrams with in for input and out for out put all sorts of stuff and i have it to where its not strictly scrap mechanic language
so theres i tip i guess idk
5 Years later and im still using this XD
Can you make a video on radars in scrap mechanic and how the work. I want to make one but I don’t know how to wire them
In the now Newer Version of Scrap Mechanic it only works with a 2-Tick puls on the Timer.
To bad I Don't have steam to get this game no I still liked the vid nice m8 keep it up
YEES!
Make a selective gear selector for the realistic car
Did you finish the Big Droppod allready?
YEAH BOI! =D
I made a T Flip-flop with only 6 gates, no timers, and using an xnor latch. I deleted it for whatever reason and now I can't figure out what I did...
Button goes into AND and NOT gates. The NOT gate goes into the AND gate, which goes into 3 XOR gates. The XOR gates loop into each other. Output is one of the XOR gates.
i love your videos but they are sometimes really hard to follow with how fast you move the camera around and move onto the next step. if at all possible would you slow down and let us view the connections in the future please? thanks man great content!
Discord invite on your channel doesn't work?
I can't stop hearing the ksp VAB music
Lol
How do you do the thing where you wire something to the previously selected source?
You have to edit the code of the blueprint in the files, this is called ''blueprint editing''.
So.... its a t-flip flop
For all of those non minecrafters its a circuit used in redstone
t-flip-flop is a circuit used in many applications. Don't feel so edgy because you know t-flip-flops from minecraft.
The XOR Memory Bit don't work it keep's flickering , is this method outdated ? ( It's a 2017 design so idk ) ( OR -> XOR > AND -> LOOPBACK ) and i sent a 1 tick to the XOR and it dont work.
Set the timer to 2 ticks.
So it's a flip flop
My redstone brain cant be reprogrammed
FIX FOR THOSE WHO USE THE BUTTON, OPTION 1: increase the tick delay on the timer to 2 ticks (keep in mind that if you "stab" the button too fast it will still start to loop). OPTION 2 (recommended): change the xor gate after the timer to a nand gate (this allows to keep the timer at 1 tick, so its harder to make the system loop if you press the button too fast)
How to make push-to-toggle with logics?
Ohh it like a P-flipflop(or something else i don't remember the name ) in minecraft
levk RS nol edge or something like that?
I think you mean a T flip flop and Joost I think you mean a RS nor latch
Lol I remember that I used to think RS stood for “redstone”
kAN can you do a project, make a future city or can you build a future tram
Edit: in a stream? Future tram
When is the next logic tutorial
I paused it to try it in evertech sandbox.
Wait is that the Spore OST in the background?
At around 7:20 - I realized that it's the Kerbal Space Program VAB music.... lol
5:35 I think I told you that. (Correct me if I'm wrong)
"The NOR NOR OR"
just say RS NOR latch... lmao
NOR NOR OR is faster because it’s only three syllables long.
welllll i can`t make t-flip-flip with both... following comments i reach another approach, make 3 xor and link all to the same one tick generator and done... with this other methods my tries never are consistent, they or switch between active or desative or blink forever depends where you click and the cycle rotine... at the end i did it work! but then i realize i not need it in the end... and use a simpler 2 sensors with switch mode and one xor... dammit, improve always beeing insane haha
Is this like the t flip flop in Minecraft red stone 03:50
Yay memory
I already made a numpad a few weeks ago and wiring made my eyes hurt
Instead i just made a traffic light
The traffic light broke my brain
did you know that 'and' gate is kind of transistor
what's the name of this mod?
Not first
I have watched this over and over, but my gates wont stay fully on. They just flicker. any tips? I am guessing its a bug at this point lol
If they flicker it is because there is something conflicting. Hard to say exactly what your issue is though without seeing the setup :(
@@kANGaming Basically just copied what you did. I tried in a fresh world without mods too. Still just getting the same flicker. The Tick generator works fine, but when sending that further, the 3 gates that is supposed to stay on or off mostly flicker and will rarely turn either on or off.. It almost seems like the tick is not fast enough. As if there is a 1/1000 chance that the tick might hit perfectly.
Will ask someone in your discord later. Probably better to see it. Thanks anyway. Awesome videos!
@@ranrjbneztnarf8932 did you find the asnwer ? cause I have the same problem...
12th!! 😋
Where did this go? You made this episode then stopped.
I was able to make a simpler Rising Edge circuit, but I don't think I remember how it worked...
You probably used NAND + AND gates. The button is connected to both of them, then NAND is connected to AND.
@@anispinner I think you might be right XD
memory is ram. storage is the location where the values are held.
Michelle Burton kind of. RAM is where processes store data while they are running, and then that data is then moved to the primary storage at a later time, to keep the computer from messing up the hard drive.
my idea of ram is like a fast place to store things that is temporary it doesnt want to take the time to write and read a peice of the harddrive this takes time and wheres out the harddrive so they created a fass "storage" where they can put tempary data such as i have a switch pressed in the game that data gets moved to the ram to keep it loaded without having the hard drive worn out and so the cpu doesnt always loop its command on the switch it just tells the ram hey this switch is on and the ram keeps that data and if its really important later it will move it to the hard drive and if not it just erases the data
8:20 XOR not OR. :P
NOR NOR OR gate system is better cuz it's kAN confirmed
wheres multiplayer Monday
It has mean more than a week and its not up
Nate Walker look over at camodo's channel, he explained it
Joost Visser ok
How to use logic gates to make an automatic shooting spud gun
NOR #1 -> NOR #2
NOR #2 -> NOR #3
NOR #3 -> NOR #1
NOR #4 -> NOR #1
NOR #1 -> Spud gun
Button/Input -> NOR #4
I hope i could help you :D!
No looping circuit
I DONT NEED LOGIC...
I NEED KNOWLEDGE AND LAMBORGHINIS
If anyone wants to know how to build a computer in either Minecraft or a program called Logisim, let me know and I can help you.
Difficulty: Scrap Mechanic: easy (ish) Logisim: medium (wiring gets in way) Minecraft: hard (even more annoying wiring and you have to make gates, etc.)
What happened to scrapman?
Can we get this into back
no
The first one is a t flip flop
Whenever I do an xor or or loop, it just flashes no matter what. Help!
Mine does the same, set your timer to either 2 or 3 ticks and it works. Your tick rate isn't fast enough for the process an you only have one gate on at a time. If you set it to 2 or 3 ticks, it gives the game just enough time to fill all three gates.
Kan is da best
KAN... my circut is broken... I’ll press a button and it goes FLICK FLICK FLICK FLICK that at the speed of 100x more
hai
Hello
Screw this bits, just make a switch and potato gun pointed to switch
kAN = mumbo jumbo
I just realized your name is Can gaming with a trash can upside down.... -_-
Minecraft redstone squad where you at?
Isn’t a switch just a memory piece
You can’t activate a switch with logic unless you use a spud gun I guess, but that’s bigger and not silent.
first
Yo
Make A computer
I hear kAN is good at wrestling, but can he pin me?
Nope
First
Me: This is very entertaining.
Some people: I'm losing too many brain cell!!