Aydin Afzoud
  • About
  • Game Design / Analysis
  • Old Art
  • Blog

Elevator design, tough nut to crack

5/7/2018

 
I've been trying to create an elevator in blueprints, incorporating the generic button and blueprint interfaces that I learned. It's a good exercise but man is it hard to get a hold on it

Here's the design (I've marked the points I'm aiming for in the first version of the elevator)
  • Elevator that goes to 4 floors.
    • Floor 0, Floor 1, Floor 2, Floor 3, Floor 4
    • Each floor got a "Call Elevator" button, which tells the elevator to go to that floor
  • The elevator has 6 buttons in it
    • One for each floor, an emergency STOP button that stops the elevator and an OPEN DOORS button that opens the doors if the elevator is not moving.
      • If PL chooses to go to the same floor they are on, the doors will open to let PL out of the elevator
        • Same goes if PL is outside the elevator and calls the elevator to the floor the elevator is already at.
  • When the elevator has arrived at a floor there is a "ding" sound and the doors open to let PL in/out
    • After X seconds the doors will check if there is something in the way
    • If there is nothing in the way they will close
    • If there is something in the way they will remain open for X seconds and try again
      • If something is in the way while they are closing they will open again and wait X seconds before trying to close again
  • When PL picks a destination floor the doors close (they do the same checks as above) and the elevator starts moving to that floor.
    • If PL presses other buttons during elevator travel, it will stop by those floors based on these rules:
      • If the elevator is moving and the floor is on the way to PLs initial destination the elevator will stop there to let PL out, then it will continue to the other destination which it has queued up.
      • If the freshly input floor is in the opposite direction of where the elevator is going, it will first reach the initial destination and then go to the opposite direction destination
I've tried to establish at least the marked functionality but I'm kind of stumped at the moment. I have a hard time getting the button blueprints to tell the elevator which floor the signal came from, and then let the elevator compare its current location to that info and act accordingly. Gotta keep grinding. It's fun though
Picture

Comments are closed.

    Blog

    The blog of Aydin Afzoud, Senior Game Designer at MachineGames. 

    I upload stuff every now and then, mainly to keep a record. 
    ​
    My opinions are my own and not those of my employer. 


    Archives

    January 2021
    August 2019
    April 2019
    January 2019
    December 2018
    November 2018
    October 2018
    September 2018
    August 2018
    July 2018
    June 2018

    Categories

    All
    2D
    3D
    Art
    Blender
    Blueprints
    C#
    Cascade
    DOOM
    Effects
    Gamedev
    Learning
    Logo
    PacMan
    Pixel Art
    Typography
    Ue4
    Unity
    Wolfenstein

    RSS Feed

Powered by Create your own unique website with customizable templates.