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

Elevator/button blueprint interface progress

9/7/2018

 
After lots of struggles, my good friend came over and helped me figure out how to handle the elevator blueprint interfacing with the button blueprints and vice versa... It's handled like this. The Button BP has has an exposed variable that allows me to set what floor it's on. The blueprint interface got an input where I plug in that floor, which it then feeds to the lift blueprint. Meanwhile the lift got an array containing all the floor vectors (in order) which it uses to cross-reference the incoming floor number. Floor 0 got index 0 which points to a specific vector, floor 1 got index 1 and so on.

There is also an alternative version where the lift got a map variable, allowing each button to send a name, like "Bottom Floor", "Armory", "Lounge" etc. That one looked like this: (the purple node in the FIND) node would be plugged in with a "CalledFromFloor" variable. 
Picture
And the blueprint for that use the vector array looks like this
Picture
The button blueprints look like this
Picture
The next step is adding internal and external doors, lights and the logic that goes with them. And at some point I will have to deal with the fact that the elevator is going to its location in .5 seconds, which means an inconsistent travel speed. Until next time!

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.