Sunday, July 27, 2014

Logical lifts...




A gift for my fellow builders.
Others may have done this before, but I just made what is for me a major advance in StarMade Plex-lifter technology. I have found a way to make plex-lifters work much more like the sorts of lifts we are used to in the real world.

Here's how to build plex-lifters that let you travel one floor at a time, as opposed to cruising all the way to the top, and letting you jump off as your floor goes by, or dumping you all the way to the bottom of the elevator shaft if you miss your jump or wait to long.

(WARNING!  This logic MAY be judged too complex for contest stations)


1. Build your plex lifters so that each group of plex lifters extends only from one floor to the next. make sure the lifter group from the floor below shares the same lift dimensions and axis with the next floor above without touching the next set of lifter blocks.
 

2. Set a layer of activation area blocks 2 layers below the destination floor.
 

3. Set a layer of Plex-doors flush with the destination floor.
 

4. Use logic to create a 2.5 second momentary negative switch. (you will need one for each upper destination floor)
 

5. Associate the area controller with the input activator.
6. Associate the final NOT gate with the plex doors.
7. Cycle the logic one time to get all the gates set.

UP: The player gets in the lift and activates an exposed plex-lifter. The platform carries the player avatar up. The area activator senses the avatar, and triggers the logic just in time to open the plex doors and allow the avatar through. 2.5 seconds later, the timer expires, closing the plex doors, and preventing the avatar from falling back down the shaft when the lift despawns. To go up another floor, just hit the next exposed lifter block. Repeat as desired.

Down: Just activate the plex doors at your feet, and you will fall to the floor below. As you fall, you will pass through the activator field, and 2.5 seconds later, the plex doors will be re-closed by the logic, making the lift ready for the next user.

This will be a feature of my next release of my trade station. I offer it in case any one else wants to use it.


On Ships: 

A similar technique works without plex-lifters.
Your ships decks will need to be spaced at 5m vertically. No more, no less.

 
Use the same logic above, but shorten the delay from 2.5 seconds to .5 seconds.
 

The area triggers will still need to be 2m lower than the plex doors.

...which should just let you walk under them with out triggering them. Just stand in the lift tube and high jump (long space-press). The area trigger will get the door out of the way of your head just barely in time, and the door will close under your feet just in time to catch you.... but it works

No comments:

Post a Comment