Lord Dalkstan's Bar

This is a small private bar with pull-out arms that prop up the fold-down front, allowing access to the drinks within. The main body is made from a solid brush, with the cabinet section hollowed out with an air brush. Both the arms and the front are made with doors.

The pull-down front

The pull-down front is made from a rotating door. Pick a door of your choice and rotate it so that it fills the hole you left for it. The hinges should be on the bottom. If you resize the door, you may also need to alter the COG offset, which is the point at which the door is hinged. Select
properties->add->physics->model->attributes.

And set the offset to be half the value of the door - remember, the X,Y and Z-axis are relevant to the door's X,Y and Z, not the world's.

Now that the door is in place we need to set up its rotating properties so that it opens correctly. Double-click on door->rotating within the doors properties.

You will be presented with the following box.

  • Closed Angle: Defaults to 0. No need to change it.
  • Open Angle: This will be set to either 90 or 270, depending on which way your door opens.
  • Axis: Set to the axis on which the door hinges.
  • Status: The door's position when the game starts. In this case it should be closed.
  • Hard Limits ?: Is it affected by gravity when opening/closing? Leave unchecked for no.
  • Blocks Visions ?: This door is solid so blocks vision should be checked.
  • Blocks Sound %: The amount of sound the door blocks. As this door does not allow access to what is on the other side this can be set at 0.
  • Clockwise: Does the door open clockwise? Check for yes. You may need to experiment to get the correct setting.

    Check to see if the door is to your liking before moving on.

    The arms

    The arms are made from a pair of translating doors. Again, select a door of your choosing. NOTE: You will only see the general colour of the door, not the pattern. Carve two small slots in the bar within which the arms will slide - I set mine to 0.25x0.25x1 (requires grid 11) - using air brushes. Now set the new door to be slightly larger (0.25x0.25x1.25) so the ends will poke out of the holes. Remember to set both physical and graphical sizes. Align the squashed door so that it sits snugly within its new home.

    Now we need to set the door's translating values. Double-click on door->translating within the door properties.

    And fill out the menu as follows.

  • Closed Position: As above. Set to 0.
  • Open Position: With translating doors this is the distance, in feet, the door will slide. Set it to an appropriate value for your door.
  • Base Speed: The speed at which the door will open/close. Set to a value of your choice.
  • Axis: The axis along which your door will slide. This will depend on how you resized the door and in which direction it is to open. Experiment to get it right.
  • Status: As above.
  • Blocks Vision: Better left unchecked to avoid the black box which blocks vision can cause.
  • Blocks Sound: Doesn't matter. Leave at default.

    Once you have the arm set to your liking, clone it and place it within the second hole. Test out the arms and front. You may wish to alter the pick distances (properties->inventory->max pick distance) if the arms are hard to highlight.

  • Go to Index/ Tutorials