PDA

View Full Version : Directional Piston with On/off behavior



Ricky-III
07-13-2011, 01:48 AM
This is ideal for anyone making a mechanical level or object, such as an engine piston, that wants it to move in and out, but doesn't desire how on the On/Off behavior how the piston slows down towards the end of the movement. This is a quick tutorial on how to make a directional piston have the same behavior as On/Off, but maintains a constant speed and doesn't slow down when it reaches max or min. height.

I released a level with an example of it working. It's called Directional Piston With On/Off Behavior.

http://darthrichi96.files.wordpress.com/2010/12/p_00191.jpg

So, here's how to make it. Again, just think of this as an On/Off piston that doesn't slow down. This also works in LBP PS3 and LBP2 (LBP2 works way better because of instant no delay logic)

So, build your object with the piston, and get out a set-reset switch. Place a thin or thick layer behind the object as well.
1. Wire the set-reset directional output to the piston to start off.

2. Place a magnetic key switch on the back layer where the pistons max length is, and one at the min. as well. Both should be directional and inverted. Place a corr. colored mag. key on the moving object part of the piston. I should perfectly start and stop over the 2 mag. key switches.
-To simplify this more, basically what these keys are doing are telling the set-reset switch when the directional is at its maximum height and minimum height. So, when the piston reaches full height, the mag key on it hits the mag. switch which activates the set reset and tells the piston to instantly move in the opposite direction it was just going.

3. Wire the max mag key switch to the left chain winch on the set reset, and the min. to the right.
If done right, when fully extended the max key switch will reset piston , and then once the piston goes all the way down it will activate the min key switch and make it go back up.

-This makes the Directional behave like an on/off piston, but still maintain that constant speed unique to the setting.
-So, all in all, the mag. keys and set/reset switch together cause the directional piston to instantly move in the opposite direction it was whenever it reaches its max or min height.

Hope this helps, please post or PM if confused.

doggy97
07-13-2011, 03:55 PM
Could you make level on it?
I might understand more better

Ricky-III
07-13-2011, 07:48 PM
I released a level with an example of it working. It's called Directional Piston With On/Off Behavior.
Come on, I even highlighted it :p

doggy97
07-13-2011, 10:41 PM
LOL! Sorry :D

doggy97
07-14-2011, 01:37 PM
I don't understand anything!!!!
I only understand that Up and Down going piston but not the thing on left side
<----?

Ricky-III
07-14-2011, 04:17 PM
that is a regular On/Off piston so you can compare my modified directional to it. The left original slows down, and the one I modded (the right) doesnt slow down. Does that make sense?

doggy97
07-14-2011, 06:00 PM
Oh...
And I'm confused what is that on the left side of picture? How it comes with this "machine"?

pivottt
07-15-2011, 05:53 PM
This is a set-reset switch. It basically uses two... not the piston but the... other thing that moves (I only have the french word in head)... ah, the winch.
It uses two of them. One magn. switch activates one, the other switch activates the other one. On the Set-reset, there is a key. When the set-reset is on, the key is close to a key switch, which activates the directional piston. When the piston reaches the max position, it activates a key switch which sets the set-reset off. When the set-reset is off, the piston starts going back to the minimum position, but when it reaches the minimum, it activates the set-reset again...

If you have a PS3, the LBPC logic pack teaches you all LBP 1 and LBP PSP logic.

Ricky-III
07-15-2011, 11:19 PM
This is a set-reset switch. It basically uses two... not the piston but the... other thing that moves (I only have the french word in head)... ah, the winch.
It uses two of them. One magn. switch activates one, the other switch activates the other one. On the Set-reset, there is a key. When the set-reset is on, the key is close to a key switch, which activates the directional piston. When the piston reaches the max position, it activates a key switch which sets the set-reset off. When the set-reset is off, the piston starts going back to the minimum position, but when it reaches the minimum, it activates the set-reset again...

If you have a PS3, the LBPC logic pack teaches you all LBP 1 and LBP PSP logic.

Actually, I'm making a PSP version of the Intermediate Logic Pack, and I'm releasing it tomorrow. Just play that and you should be good to go.

doggy97
07-18-2011, 04:02 PM
"Adventuring in Comminity Moon"