How to use Signal Logic | Spanj's Build Academy | Empyrion Galactic Survival | #8

  Рет қаралды 34,229

Spanj

Spanj

Күн бұрын

Пікірлер: 74
@zanbenurthadar
@zanbenurthadar 6 жыл бұрын
About the gates: for OR they only function when one signal OR another is on, not all. When all are on, it's an AND signal. A N = NOT and makes it the inverse signal so NAND = NOT AND = Opposite(inverted) so both signals would need to be OFF to trigger. NOR is inverted OR so one signal would have to be off to trigger it which isn't really any different, you're just working with off instead of on.
@Spanj
@Spanj 6 жыл бұрын
zanbenurthadar, thanks for explaining these.
@josh76EVO
@josh76EVO 6 жыл бұрын
OR gate should function as long as at least 1 is on, both on is still a valid state. XOR would be only 1 activated. XOR = Exclusive OR.
@JohnnyJayAppleseed
@JohnnyJayAppleseed 6 жыл бұрын
AND - Both senors must be "ON" to activate OR - Either sensor comes "ON" to Activate, Both must be "OFF" to deactivate NAND and NOR is opposite of above XOR - When two sensors are the opposite of each other ( "ON" + "OFF"/"OFF" + "ON") it activates, when both sensors are the same ("ON" + "ON"/"OFF" + "OFF") it deactivates XNOR - When two sensors are the same ("ON" + "ON"/"OFF" + "OFF") it activates, when both sensors opposite ( "ON" + "OFF"/"OFF" + "ON") it deactivates
@okcicarii
@okcicarii 6 жыл бұрын
YES, this is correct.
@douglswelsher6212
@douglswelsher6212 6 жыл бұрын
I have something to say about Signal Logic, it could drive a grown man to drink. However, if you get it right. you can do some awesome things. Peace and love to one and all, most of all keep the game alive.
@Spanj
@Spanj 6 жыл бұрын
You're absolutely right.
@xerxes8632
@xerxes8632 6 жыл бұрын
I have wanted to pull my hair out setting these up. Made video of how I had it set up, but it seems every time I do it, what I did before does not work.
@bklough
@bklough 6 жыл бұрын
I agree. Someone here commented "It's like computers". My butt. Only partially. _Placement_ of the motion sensor is critical or whatever's getting triggered gets trigger every bloody time you walk by, jump out of vehicle, nudge of vehicle, dodge a critter, break wind...it's beer encouraging. And I'm a Software Engineer, not a ship architect, dammit. :-D
@robihunn9344
@robihunn9344 6 жыл бұрын
Spanj. Signal logic is same as computer logic. (1 is true, 0 is false) AND is only true if all the inputs are true Exp: 2x AND In1: 1 In2: 0 Out: 0 OR is only false if all the inputs are false Exp: 2x OR In1: 1 In2: 0 Out: 1 N stands for "not" which reverses the output Exp: 2x NAND In1: 1 In2: 1 Out: 0 What you done with hangar doors first time with 2x OR was Toggle which means if the signal turns off and on again the state changes. Bridge: 0 Local: 0 Door: Closed -> Bridge: 0 Local: 1 Door: Open(Statechange) -> Bridge: 0 Local: 0 Door: Open -> Bridge: 0 Local: 1 Door: Closed(Statechange) -> Bridge: 1 Local: 0 Door: Open(Statechange) So far it was good. Then... Bridge: 1 Local: 1 Door: Open because the state didn't change aka Output didn't went to 0 then 1 again so door remained open. After that you just kept switching the local input which again changed nothing because OR is only false if all the inputs are false.(Sequence number doesn't matter with logic. Inputs are treated equally) When it finally worked state was changed: Bridge: 0 Local: 0 Output: 0 Door: Open(Statechange) -> Bridge: 0 Local: 1 Output: 1 Door: Closed(Statechange) NAND Explanation: Reverse AND(Only false if all the inputs are true) Bridge: 1 Local: 0 Output: 1 Door: Open(Bridge authorized the CLOSING of the hangar door) -> Bridge: 1 Local: 1 Output: 0 Door: Closed(Local agreed and the door is closed) 18:24 I wasn't able to continue watching the video after this time because I have work to do but once I come home I watch the rest and hopefully(if somebody else hasn't done it yet) finish the explanations using your actions as examples. Hope it wasn't too boring or complicated and helped you and others.
@markfeemster4093
@markfeemster4093 6 жыл бұрын
My brain hurts, but I see I am in good company. Thank you for the tutorial and the laughs!
@Spanj
@Spanj 6 жыл бұрын
Thanks to everyone leaving more info on signal logic in the comments, the more info here the more people we can help with this, including me of course. Thanks again :)
@llywyllngryffyn8053
@llywyllngryffyn8053 6 жыл бұрын
This might be a dead horse at this point, but after reading the comments left about signal logic, it seems that a lot of people get it 'almost' right, but not quite. With an AND circuit, it will only activate the signal if both switches are turned ON. It will also stay that way until one or the other is turned OFF> So if you want to Authorize the second switch, you can use an AND or NAND circuit because the setting of both switches will always matter. With AND, if the Bridge switch is OFF, the hangar switch will never work. If the Bridge switch is ON, the hangar switch will trigger when it is ON and deactivate when it is off. NAND is almost always active; Unless both switches are ON, so if that NAND on the bridge is ON, the hangar will toggle, but if the bridge switch is OFF then the hangar switch will not work. If the hangar switch was OFF, nothing will change. If the hangar switch was ON, , turning off the bridge switch will 'deactivate' the trigger but nothing you do o the Hangar switch will affect the circuit. OR is is active unless both switches are OFF, it is the logical inverse of NAND. Similarly usefull or useless for your purpose. XOR is the neat one. Exclusive OR is true with one switch or the other is ON but never when they are both ON or both OFF. So toggling either switch will activate and deactivate your circuit. (XNOR is exactly the same but inverted) The issue you were having with the NAND circuit is that it wasn't turning OFF. It is active in 3 out of 4 settings so you have to set both switches to ON in order to turn it off. If you want to have an 'Authorize' switch on the bridge, then use AND to pair it with any other circuits you want to ALLOW / DENY and they will only trigger if BOTH the object circuit AND the bridge switch are active. Thanks again for making this video, it reminded me I need to do the signal logic for my new base build :)
@linuxgaminginfullhd60fps10
@linuxgaminginfullhd60fps10 6 жыл бұрын
If you want to be able to open/close hangar from both locations you should use XOR(or XNOR). Closed when levers are in the same position. If you want to keep the hangar opened, but authorize to close it use OR(or NAND). If you want to keep it closed and authorise its opening then use AND(or NOR). Both levers up(down if you use NOR) means it is opened.
@solospirit4212
@solospirit4212 6 жыл бұрын
Best vid in this ..because experimenting is the only way to learn ..I suspect there are some very sophisticated things you can do with Signal Logic...I keep meaning to set up a creative save just to play with it ☺This helped..TY
@thesalyers1599
@thesalyers1599 4 жыл бұрын
looking way back into you stuff to figure out signal logic
@bklough
@bklough 6 жыл бұрын
Well done, sir. Very much appreciate the Build Academy series. Well...'cause I suck at it and you make it look so bloody easy to build really cool stuff. lol
@jazzscott9109
@jazzscott9109 5 жыл бұрын
Simplest explanation of signal logic; 'AND' is two switches wired in series. (They've both got to be on to get an output) 'OR' is two switches wired in parallel. (if either of them is on it will work, but likewise with both on it will work..) So, you have two basic 'gates' by adding an invertor to the output you get the opposite function "Not And" (NAND) & "Not Or" (NOR) That second one gets an obvious mod to "XOR" or "exclusive or", where there is only an output if either are on, but NOT both. when you add a simple invertor to an output. Like on an AND gate, with an input from A 'and' B the output would normally go high... an inverter makes it low Now it is a NAND gate. Similar with an OR becoming a NOR. The AND is fairly easy to understand like when firing a nuclear missile you need two keys to release the warhead. (You know, like Donald Trump 'AND' some other loonie) a NAND might be something that might stop you opening the car door while it is moving. We normally work with what they call "Truth Tables" and simplify high/low on/off as 0 or 1 AND gate inputs A B - output (and) NAND 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 OR gate inputs A B - output (or) NOR XOR 0 0 0 1 0 1 0 1 0 1 0 1 1 0 1 1 1 1 0 0 You've really got to work through EVERY possibility to get the full truth table and check your outputs.. what I mean is you need to be precise about which logic function you really want, is it OR or AND? With these basic circuits you can achieve all manner of electrickery. You'll find them in pinball machines and one-armed bandits as well as computers and machines. I bet you'll find them in other mechanical machines too, like looms and clockwork toys. When you chain up multiple outputs and feed them into other inputs and add more gates it gets more complicated and we humans use "logic" all the time, but are not really fluent with expressing it. So a lot of people find Logic circuits hard to understand - at first. (You're not alone!!!) Two of you can't squeeze through a narrow door at the same time, but you don't go "Hey this is a NAND scenario" .,...yet we KNOW "you can't have your cake AND eat it" (which is a proverbial expression of a NAND function). As well as these truth tables you can use Venn diagrams, if you like. - heck, let's get ALL the maths geeks in here and chuck in some algebra while we're at it. Some geezer called Boole actually invented a whole branch of algebra based on this yonks before they had digital computers and nobody really knew quite what to do with his theories until electronics and microprocessors came along and the early geeks realised this guy had invented a branch of maths years ahead of its application. Now we are talking "Switching algebra" The rules are simple, but seem counter-intuitive to start with so a lot of people (me included) can struggle with it as the circuits start to get more complex. However, there are patterns and with enough practice you can start to grasp it. (you ever wonder how they wire up stair lights - where flicking the switch at the top or the bottom always changes the current state to its opposite?) Do not attempt to read the following article while under the influence of drugs ........or not www.researchgate.net/publication/259604194_Stairway_light_switches Bizarrely you can make ANY circuit by using cross-wired NAND gates, so microprocessor manufacturers make banks of them and wire them up to do all the other functions. It is kind of cheaper. The game developers would likely restrict the functions of logic to a simple range of paramaters within a game, just like their herbal medicine or being able to pitch a tent underwater - its just a game. There's no such thing as a 'Warp Drive' and who builds spaceships out of one metre cubes of steel??? If you really want to melt your brain - get into Second Life scripting and worry about Quaternian mathematics where you use 4 variables for 3 dimensional rotations.
@BobRoffey
@BobRoffey 6 жыл бұрын
Firstly, thank you for such excellently presented videos and your presentation style :) Ok, so anyone else that is trying this in their base and can't get it to work (like I was) make sure that the base sensors are turned on! I spent ages wondering why it would not work until I found this LOL. :(
@kezzler9556
@kezzler9556 6 жыл бұрын
They should have called it signal un-logic. I always end up confusing myself when playing with these. Good tutorial btw, It did help me with my new ship :)
@manyheadedmishaps6182
@manyheadedmishaps6182 6 жыл бұрын
So I'm pretty sure NAND just means not and. So as long as either switch is not active, the hangar door signal was active and the door stayed open. If both closed, the signal stopped and the door closed. You also don't need the same kind of sensor for both inputs. An AND gate with a switch on the bridge and a motion sensor in the hangar would have the door open for people and ships coming and going... So long as someone on the bridge authorized it You're next challenge is to use delay gates to set up a series of LCD screens to turn on and off sequentially after arranging them so that the pulsing "moving" letters and symbol activation forms and illusory artificial waterfall. For bonus points make it splash and make ripples in an LCD '"pool". Just a cool idea I had a while back for a decorative structure....
@manyheadedmishaps6182
@manyheadedmishaps6182 6 жыл бұрын
You could also do the same LCD thing to make pulsing walls and stuff
@Lord_Volkner
@Lord_Volkner 4 жыл бұрын
About the 16 minute mark you had trouble with the OR switch. The problem was that you had one switch set to FOLLOW and the other set to TOGGLE. I think this is why it wasn't doing what you wanted it to do, but I'm not sure because I don't know what you wanted it to do.
@sanguineshade9545
@sanguineshade9545 3 жыл бұрын
Yep between u and JR im good. Thanks Spanj! OR fields should overlap by 1 tile no flicker, for lights anyway. Peace all :)
@Jonwinnett
@Jonwinnett 6 жыл бұрын
Comments have it covered, I'll just hit the "like" thanks Spanj!
@the_ttr
@the_ttr 6 жыл бұрын
Small hint: I've tried to do "timer" using SR and Delay but this is causing loop - If You want to have timer in your logic, use doors (since they a noisy, place them in deep end of base): doors will send signal to delay, and they will follow inverted signal of that delay for open/close - this will trigger to open/close door w/ interval of that delay. Now, you can use this as basic timer for various things (like blinking lights) and extend with additional delays (doors still use first delay, but other sections of your lights will use additional one). Why? - approach landing/landing pad/hallway directional lights... but mostly, 3 seconds flashing light in my cannon tower :P
@TheIceblade711
@TheIceblade711 6 жыл бұрын
Only thing i might add when you place a signal block the red dot on the block should be facing the direction you want the field to scan also make sure to place it high enough because the field dose not expand above the top of the signal block. You can get around this by placing the block upside down..
@wolfhors3_660
@wolfhors3_660 3 жыл бұрын
Did you ever figure out than when you use toggle for the hangar only green hits the toggle. So if one is on green the other switch can't activate it again because it's still on. It has to go red and back to green to trigger the toggle. So you were thinking everytime you flipped the switch it would trigger the toggle. Really confused you when you're using a switch that has a designated on off. So if you want to figure out what and nand and or etc you need to use a motion sensor or pressure pad or better yet a light bridge.
@macker3676
@macker3676 6 жыл бұрын
Great work love the tutorial and great extra info from the comments of others ;-)
@knownuser09
@knownuser09 6 жыл бұрын
Wicked i been wanting to learn about this. Thanks for posting.
@knownuser09
@knownuser09 6 жыл бұрын
LOL you doing what i do & then scratch my head. like why isn't it working as i expect.. lmao.
@Alpha_0ne276
@Alpha_0ne276 5 жыл бұрын
Use XOR for multiple levers like for the hangar door, as if both are on, it will be off, so it's perfect
@8836290
@8836290 6 жыл бұрын
Boolean algebra : The branch of algebra in which the values of the variables are the truth values true and false, usually denoted 1 and 0 respectively. That's what sensor logic in Empyrion is all about
@TheIceblade711
@TheIceblade711 6 жыл бұрын
The below comments are correct and nice to have in print to bad the game dev's did't write a manual about logic but thanks to your viewers I bookmarked this video and will share it with people wanting to do Logic Switches.
@digiphaze
@digiphaze 2 жыл бұрын
AND, OR, NOR, XOR its called Boolean Logic. Look up truth tables and that will show you how they all work. Its the basis for all digital logic and how transistors in a computer turn into the fancy graphics and youtube videos you see.
@ChanyaAndWazzaThailand
@ChanyaAndWazzaThailand 6 жыл бұрын
Hi Spanj. How about a video on managing a multi-player remote server? You have a great narration style and there is a complete lack of how to admin a multiplayer server. Things like rescuing ships stuck in orbit, teleporting other players to help them recover from one of those "empyrion glitches" etc.
@Spanj
@Spanj 6 жыл бұрын
Hey Warren, great idea. I will need to do some research on that one so might be a while, I will add it to the list ;)
@ChanyaAndWazzaThailand
@ChanyaAndWazzaThailand 6 жыл бұрын
Neat. I've just set up my server hosted in Australia and I know there are methods to retrieve ships stuck in places, how to move them and link other players with their lost equipment (admins have done it when I've played on their servers and had those issues), but there is almost no info out there about how to deal with it. It's like a ""secret sauce" recipe - lol
@XCalibersAnvil
@XCalibersAnvil 6 жыл бұрын
Yay Signal Logic! Good Stuff!
@edwardkostillo216
@edwardkostillo216 5 жыл бұрын
Signal logic is Boolean Algebra Logic. And = This AND That i.e. A and B = 1, if A doesn't = B output = 0. Nand = This And not That i.e. A and not B=1 or B and not A=1 if A = B output = 0. It's the difference between Positive logic and Negative logic
@martkno
@martkno 6 жыл бұрын
Thank you Spanj - Light my brain - Follow.......tadaaaa ;-P
@jetsetuk
@jetsetuk 6 жыл бұрын
Aha! The dreaded Signal Logic... Yeah I know I asked for this a couple of vids ago... I'm sorry... lol It does my nut in... I added signal logic to some Shutter Doors on a HV that I was putting into MrSpicyGaming's Creator Challenge the other week... worked a treat first time and allowed the doors to be opened and closed from the Main Panel Signal column... tried it on another build I did using exactly the same steps, and even the signal names, and got so frustrated with it I deleted it all and just used the shutter doors manually!! lol Think I might go in to Experimental and see if I can rig up the same sort of setup LiftPizzas had on his Signal Logic vid and see if I can reproduce it... once I do, I'll try to write a detailed operations manual on it, mainly so I have it to hand for when I need to do this again in my builds! lol Going back to my early 20's (that's only 30+ years ago) I did study Logic Gates on a course I was doing... you'd never think it now! >.< Great vid mate, thanks for posting... :o)
@Spanj
@Spanj 6 жыл бұрын
LoL - that sounds intense. I've never really needed anything more complicated than opening closing doors with switches but i can see the potential for more than that of course, especially in a PVP base defence context. Good luck with your study ;)
@bradsmith121
@bradsmith121 6 жыл бұрын
Awesome help for learning the basics of Switches. Just wish there was a little more light when you were up in the bridge area at times.
@Spanj
@Spanj 6 жыл бұрын
ah yes, sorry for the dark area, trying to figure out signal logic and forgot to turn on the torch :/
@bradsmith121
@bradsmith121 6 жыл бұрын
So does this work in bases as well? I am trying to place a sensor by my door to turn the lights on in my work area when I am inside and turn off when I leave. Following your tutorial step-by-step and nothing happens.
@NZ_Wanderer
@NZ_Wanderer 6 жыл бұрын
Yup, it works in bases as well, I have sensors set-up in my underground base that turn lights on or off when I enter or leave a room, nothing fancy like what Spanj was showing, just the normal sensor.... - Just remember to set the size of the red area to cover the whole room as Spanj did in his video.
@bradsmith121
@bradsmith121 6 жыл бұрын
I must be missing something then. Motion Sensor on Wall. Set my red box area. TxSignal=RoomLight. On/Off=RoomLight and Follow. Set the light to On/Off=RoomLight and Follow. Then when I walk out or back in lights stay on. Only have about 20 hours play time on this game. Just got it and it has become my favorite but the learning curve is huge. Spend more time watching videos like this to learn.
@NZ_Wanderer
@NZ_Wanderer 6 жыл бұрын
Here's my setup (in pictures) Sensor: i.imgur.com/rFqvgHL.jpg Devices Tab of sensor: i.imgur.com/yThWuac.jpg Signal Logic Tab of Sensor: i.imgur.com/YIZkPIu.jpg Light: i.imgur.com/dcz2Jhk.jpg Signal Logic Tab of Light: i.imgur.com/3S3731w.jpg
@FearlessK9Concepts
@FearlessK9Concepts 4 жыл бұрын
Hey Spanj!! I tried to send you a message on steam but i couldnt figure out how to! I would love to learn more about building and your videos have been extremely helpful! I just built my first SV and would love your input on it. I know it's pretty crude lmao!
@normal6969
@normal6969 4 жыл бұрын
I'm forced to watch your older videos - these tutorials may be detrimental to my inability to build well! I liked your PVP build tutorial - PVE is the same? Mainly are there differences in targeting priorities?
@daganmeredith6272
@daganmeredith6272 3 жыл бұрын
How would I hook up a signal to the switches on the main tab? Ex: Custom1, Custom2, ect.
@Leo-ww8zu
@Leo-ww8zu 6 жыл бұрын
When you're the teacher and the student... EDIT: I would love a tutorial on cockpit design, mine tend to be bland and repetitive.
@vaultdweller123
@vaultdweller123 6 жыл бұрын
thanks for this spanj. any way u can make video about how to use repair console? i also dont know how to use the repair bay. it looks like one single block. dont know where to put it
@edwardingania1983
@edwardingania1983 6 жыл бұрын
I got as far in electronics as building one of those metal loops that buzzes if you touch the wire :P
@TruthforSecondLife
@TruthforSecondLife Жыл бұрын
Grateful...
@megabyte5726
@megabyte5726 4 жыл бұрын
back when this game was new i uploaded a few vids for this game on youtube and they were taken down. I had them as private videos lol
@dichebach
@dichebach 5 жыл бұрын
Nice!
@royclaeys2412
@royclaeys2412 6 жыл бұрын
with delay would it not be possible to "guide" landing ships , like the lights on a airfield blimping on and off in the direction they need to go ?? maybe even with flare's ??
@jetsetuk
@jetsetuk 6 жыл бұрын
Yep, and in the last series of updates for Alpha 8 Public, Empyrion did exactly that, and allowed you to build a repeating strobe sequence... though please do not ask me to explain how to do it, I'd recommend LiftPizzas video on that as a guide... :o)
@Spanj
@Spanj 6 жыл бұрын
Repeating!!!! how!!!!? there is no loop back signal..... I didnt think this was possible
@jetsetuk
@jetsetuk 6 жыл бұрын
ok... this video... found it at last... the bit you need is at 9:22 - kzbin.info/www/bejne/a2LGXo2Arb9kj8U - so yeah, loop back is possible, though I haven't tried it at the moment... :o)
@the_ttr
@the_ttr 6 жыл бұрын
use doors (see my separate comment) normally SR and delay should be OK but game will deny You because singals can't create loop)
@Suigintou68
@Suigintou68 4 жыл бұрын
spanj how do you make blinking lights?
@AntonBrazhnyk
@AntonBrazhnyk 2 жыл бұрын
Anyone knows how to reliably turn off teleports to conserve fuel when you use them to leave the base? I used Delay, but quite often it seems when you leave the base nothing's working there anymore, including signal logic. So, you come back and your teleport is off along with everything else just because it used up all the fuel. :E Any tricks to make it work?
@GoldenFinch3704
@GoldenFinch3704 Жыл бұрын
Either a motion sensor with the sensorarea at the teleporter (one block is fine) or a pressureplate underneath your teleporter will do. Just set the teleporter to follow the sensor and you're good to go. Extra neat: when using a shield, set your shield to follow the same signal but inverted. Then your shield will turn off when stepping on the pressureplate underneath your teleporter or in the area of influence of the motion sensor.
@thallescolares1806
@thallescolares1806 6 жыл бұрын
Thanks !
@MRcaterpus
@MRcaterpus Жыл бұрын
sup with British guys and not sayin i dont know everything about something than actually knowing everything about it?
@crooker2
@crooker2 6 жыл бұрын
"how to struggle though trying to figure out Signal Logic... Oh fuck it" is what this should be called! Haha. Best tutorial I've found... kzbin.info/www/bejne/rYnbqGuad9qMmtU Love your channel. Keep up the good work. (but figure it out before doing tutorials.)
@HerrWade
@HerrWade 6 жыл бұрын
Bam!
Самое неинтересное видео
00:32
Miracle
Рет қаралды 2,7 МЛН
Nastya and balloon challenge
00:23
Nastya
Рет қаралды 56 МЛН
HOW TO BUILD A CAPITAL SHIP | Empyrion Galactic Survival
35:32
Empyrion Tutorials 2022 - All about Signal Logics
15:14
Rakoona
Рет қаралды 10 М.
SIGNAL LOGIC!!! BASIC CIRCUIT UNDERSTANDING    Empryion Galactic Survival
16:01
Professional Engineer versus the FINAL LEVEL of Poly Bridge 3...
23:47
Real Civil Engineer
Рет қаралды 1,5 МЛН