Monday, June 11, 2012

Platform Tutorial - Simple Door Locks

How to Make a Simple Locking Door in Ace of Spades - SuperCool Build 

The Door:

"/p new door" to enter platform mode to place a platform named 'door'. 
Place the blocks that will make up the door. (I prefer 1 or 2 blocks wide. Fewer is better to prevent lag.) 
"/p" to save the platform dimensions. 
"/b new doorknob" Allows you to place a button named 'doorknob'. 
Place the 'doorknob' button somewhere convenient. 
"/ac set height 3
Hit the 'door' platform, then hit the 'doorknob' button. (Pay attention to the messages that are displayed as you are working to be sure it worked) 
"/ac add height 0
Hit the 'door' platform, then hit the 'doorknob' button. 

Now you have a working door without the lock. You can test it if you like by hitting the 'doorknob' button.  If it opens and closes, you did it!  If not, start over.

You will be doing almost exactly the same thing for the 'lock' with different values for the height and different names for the platform and button. Then we will connect the two with a height trigger.

I suggest you dig out a small hole to hide the 'lock' platform near the door.  Make some extra room so the color of the platform doesn't change later. It will lose its color if it is surrounded on all 6 sides. It will help you find it again if there's ever a problem with it getting stuck.

The Lock:

"/p new lock" to enter platform mode to place a platform named 'lock'. 
Place the blocks that will make up the lock.  Only 1 block wide. Anything bigger is a waste.) 
"/p" to save the platform dimensions. 
"/b new deadbolt" Allows you to place a button named 'deadbolt'. 
Place the 'deadbolt' button somewhere you can find it.
"/ac set height 2
Hit the 'lock' platform, then hit the 'deadbolt' button.
"/ac add height 1
Hit the 'lock' platform, then hit the 'deadbolt' button. 

Now you have a lock mechanism.  The only thing left to do is add the 'lock' platform height as a trigger for the existing 'doorknob' button to work.

Final Step:

"/t add height 2"
Hit the 'lock' platform then hit the 'doorknob' button.
Done!

Now hide your lock platform with a cover you will be able to find again.

*Extra Credit:
 For 5 bonus points and the Locksmith Achievement, make the lock work only when the door is closed!

Watch the Tutorial Video on Twitch.tv - Commands and explanation in fullscreen.




5 comments:

  1. Do you have any pictures of your finished project?

    Palatine Locksmith

    ReplyDelete
  2. I will make one and post pics momentarily.

    ReplyDelete
  3. Hello,
    This door lock system is too good and secure.Here,all the types of glass door lock systems are given.
    lockstarlocks.com

    ReplyDelete

  4. locks changed A Brisbane locksmith changing locks after a break in or burglary is always a good idea if you are in doubt to weather or not the keys have been stolen.

    ReplyDelete