Creativerse

Creativerse

Lucifer Apr 8, 2017 @ 7:08am
Delay Gates
Hey guys, I'm new to steam and all these discussion things but anyway, I'm posting this and hoping that the game developers will read and consider it as it will help a lot in the game... I've noticed that the delay gates delays the turn on and the turn off, I'm well aware that the command from the switch for the turn on and off but it would be a lot better if the delay doesn't happen in the turn off command or what'd be better is that they could add a delay selected to the false inputs like true inputs have their own delay selector and the the false inputs have their own delay selector, that would give a lot of options to players for example (You switch the LED on with a delay gate and you want it to be turned on after 3 seconds from the switching and then you want to turn it off right away when you switch it off instead of waiting another 3 seconds to be turned off) Sorry if this doesn't make any sense but I like this game and it'd be great to help develop it for the best :)
Last edited by Lucifer; Apr 8, 2017 @ 7:09am
< >
Showing 1-9 of 9 comments
DS9 Apr 8, 2017 @ 8:11am 
I'm not sure i understand but i will give this a shot. From what i gather you have an LED hooked up to a switch with a delay gate set at 3 seconds. You want to be able to shut it off quickly but want the 3 second delay to turn it on? If this is the case i have one easy solution, you will need a second switch and a logic gate. First place the machines down. Hook the first switch to delay gate (set to 3 seconds) then the delay gate to a logic gate. Then the second switch to the logic gate. The logic gate then goes to the LED. Make sure you set your logic gate to "XOR", this way the light will go on if either switch is set to true but NOT if both. Then you can use the switch to turn on the led with 3 second delay and off with the same, or you have a switch that is works with no delay or you can swap between.

There are other ways to takle this problem with other tech but this is the simple way. IMO it sounds like you may want to go with a sensor, that checks for players near the switch. Hook the delay and senser to a "AND" Logic gate, then when they leave the area of the sensor the light will go out right away.

Basicly you will have to use a logic gate for this. I hope this helps :)
Lucifer Apr 8, 2017 @ 1:26pm 
Originally posted by DS mfing 9:
I'm not sure i understand but i will give this a shot. From what i gather you have an LED hooked up to a switch with a delay gate set at 3 seconds. You want to be able to shut it off quickly but want the 3 second delay to turn it on? If this is the case i have one easy solution, you will need a second switch and a logic gate. First place the machines down. Hook the first switch to delay gate (set to 3 seconds) then the delay gate to a logic gate. Then the second switch to the logic gate. The logic gate then goes to the LED. Make sure you set your logic gate to "XOR", this way the light will go on if either switch is set to true but NOT if both. Then you can use the switch to turn on the led with 3 second delay and off with the same, or you have a switch that is works with no delay or you can swap between.

There are other ways to takle this problem with other tech but this is the simple way. IMO it sounds like you may want to go with a sensor, that checks for players near the switch. Hook the delay and senser to a "AND" Logic gate, then when they leave the area of the sensor the light will go out right away.

Basicly you will have to use a logic gate for this. I hope this helps :)


First let me say thank you for taking your time and replying to this :)
Second .. true I am thinking about using a sensor but the led thing was just an example xD For what I'm trying to do is using block phasers to change floors :) It's a really creative thing and I've never seen anyone trying it so I said why not make it / for example you place 2 phasers then for example place a block of dirt and let phaser 1 hide it then place a block of grass and let phaser 2 hide it now you have 2 hidden blocks dirt and grass so the thing is .. when you use an inverter gate it doesn't show 1 of the blocks and the reason is timing, phaser 1 quickly will show the hidden dirt block at the same time phaser 2 will hide the grass block so you will need a delay gate.. when I placed the delay gate It worked perfectly fine but only 1 try cuz the command to phase was 1 second delayed for phaser 1 and so phaser 2 was able to hide the grass block but when you wanna switch it back the delay gate will delay your command another 1 second before phasing the dirt block and the grass block will not show up cuz the dirt block was already there taking the place.. which led me to this discussion, it would be great if they would make the gates capable of delaying both true and false commands both of them should have their own delay selector as I mentioned above :) hope this makes a lil bit more sense than the first post xD And thank you in advance for taking your time to read this my good sir. :)
DS9 Apr 8, 2017 @ 2:21pm 
Ok, so I think you are talking about "Block morphing" for that I find flip flop gates work good. This vid will help you

https://www.youtube.com/watch?v=WUH3uADup_g

This guy did a good job, also he points out one of the problems with the way the server stores the blocks in the phaser.

He has another vid talking about another method.
I would suggest naming outputs to make things easy, for instance have you dirtblock phaser recive "dirtpath" or somthing like that and the other phaser recive "grasspath." I find this method helps me keep things striaght when builting huge contraptions. This youtuber talks about the copy and past method which is fine.

Pro tip: after sellecting your send and before you hook it up to a recive hold shift, doing this will let you hook up many machines. IE- Send a switch to an LED and hold shift before clicking and keep holding it after you hook up the LED then you can keep holding Shift and connect all the LEDs you want.
Lucifer Apr 8, 2017 @ 2:48pm 
Originally posted by DS mfing 9:
Ok, so I think you are talking about "Block morphing" for that I find flip flop gates work good. This vid will help you

https://www.youtube.com/watch?v=WUH3uADup_g

This guy did a good job, also he points out one of the problems with the way the server stores the blocks in the phaser.

He has another vid talking about another method.
I would suggest naming outputs to make things easy, for instance have you dirtblock phaser recive "dirtpath" or somthing like that and the other phaser recive "grasspath." I find this method helps me keep things striaght when builting huge contraptions. This youtuber talks about the copy and past method which is fine.

Pro tip: after sellecting your send and before you hook it up to a recive hold shift, doing this will let you hook up many machines. IE- Send a switch to an LED and hold shift before clicking and keep holding it after you hook up the LED then you can keep holding Shift and connect all the LEDs you want.

This is actually what I needed, Thank You ! :D
DS9 Apr 8, 2017 @ 6:26pm 
Originally posted by DeadSouls:
This is actually what I needed, Thank You ! :D

Glad I could help you! ^_^
I've been learing more and more about the machines in CV. If you have questions I will be happy to try to help.
Lucifer Apr 8, 2017 @ 9:38pm 
Originally posted by DS mfing 9:
Originally posted by DeadSouls:
This is actually what I needed, Thank You ! :D

Glad I could help you! ^_^
I've been learing more and more about the machines in CV. If you have questions I will be happy to try to help.

Same here but they should make things smoother with these machines like you don't need to get 99999999 logic gate and another 99999999 flip flop gate bla bla bla to make a simple task such as phasing ... also I was thinking about making a clock that actually works lol but it seems impossible with these minor bugs :/
DS9 Apr 8, 2017 @ 9:46pm 
Originally posted by DeadSouls:
Same here but they should make things smoother with these machines like you don't need to get 99999999 logic gate and another 99999999 flip flop gate bla bla bla to make a simple task such as phasing ... also I was thinking about making a clock that actually works lol but it seems impossible with these minor bugs :/

Wow, that must be some big path! LOL! Are you making them phase up, or along the ground? If you are going on the ground i could see how that could be a problem unless you make it like levels of ground since you can't really phase a phaser. If the phasers are pointing up(like in the vid) that would mean you would need 2 per block, that adds up quick. Something you may consider is making a path that runs underground and the phasers open up a spot to go through. It isnt as cool but would make things easyer. This is also good if people play on your world and run very old comps, I have noticed some players get bad lag with alot of machines/lighting/pets.
Lucifer Apr 9, 2017 @ 7:12am 

Wow, that must be some big path! LOL! Are you making them phase up, or along the ground? If you are going on the ground i could see how that could be a problem unless you make it like levels of ground since you can't really phase a phaser. If the phasers are pointing up(like in the vid) that would mean you would need 2 per block, that adds up quick. Something you may consider is making a path that runs underground and the phasers open up a spot to go through. It isnt as cool but would make things easyer. This is also good if people play on your world and run very old comps, I have noticed some players get bad lag with alot of machines/lighting/pets. [/quote]

Oh hell no xD I know how things work but tbh I have a floating land made out of 4 claims and you know just how big is that ... So making the phasers is something really hard considering their block phasing range and the setup it needs
Supadave Apr 10, 2017 @ 4:44am 
Maybe this will help with your delay on and your instant off request.

https://www.youtube.com/watch?v=-uo60yG79As

The "And" gate is not getting the required specifications to emit a true so when you flip the switch to off, it doesn't match and sends a false. It will always send a false no matter which way you flip the switch because there isn't a second input attached to the "And" gate for it to calculate so it will default to false every time.

The reason the light is still able to come on is because after you flip the switch on it sends the false from the "And" gate, but the timer hasn't gone through it's cycle time yet and when it reaches 3 seconds which is after the "And" gate has already processed it will then process, trumping the "And" signal and turning the LED on.

When you flip the switch off.. The "And" gate will process first which turns the light off. The timer will still process 3 seconds later and since the switch is in false state being that you turned it off, it will process the false over top of the already false processed by the "And" gate and that is like 0+0=0 and doesn't matter. It's just simple witchcraft.

You can actually use a number comparison to do the same. Just set the value to 2 or higher because the switch will always send a 0 or 1 to the number comparison and if you make it so it will not match then it will send a false or reset signal to the LED and shut it off. Same concept as the "And" gate but takes a few more clicks to setup. "And" gate is quick and easy.Hope this helped the understanding some.

Last edited by Supadave; Apr 10, 2017 @ 7:36am
< >
Showing 1-9 of 9 comments
Per page: 1530 50

Date Posted: Apr 8, 2017 @ 7:08am
Posts: 9