Announcement

Collapse
No announcement yet.

[Blueprint] Fully customizable elevator!

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    [Blueprint] Fully customizable elevator!

    Hey guys, this is my first fully working blueprint and I hope you guys like it, as I will use it once I build a high building in Unreal
    So my project here is a fully customizable elevator blueprint - so you drag in the elevator specify some params and let him move (its not that realistic but putting the elevator inside a deep elevator shaft will work perfectly)
    And probably the elevator shaft need doors to because the elevator just have doors but thats your decision (maybe I add this).
    So heres a quick start guide how to set the elevator up:
    1. Drag the elevator somewhere in your map
    2. Move it as you want it (notice that this position is always your Ground Zero )
    3. Once you found the correct position for Floor 0, hit the Checkbox called "Set Start Pos" (its a bool but it acts like a button) - it should print something like "First position set!" onto your viewport
    4. Specify your desired Floor Height by changing the Z value of the Floor Height vector or moving the little diamond upon the elevator (it does not affect X or Y coords, it just takes the Z value)
    5. Tweak the "Door Open Speed" and "Elevator Speed" (their defaults are 1, but thats reaaaaaaaly slow - I recommend something like Main speed: 4 and Door Open Speed: 5)
    6. Like Elevator Music? No? Uncheck that bool. Otherwise leave it on!
    7. You can change the light properties in the "Light" variable category.
    Youre done, so with this you should drive with your elevator to the default floors (0,1,2,3)

    Learn here how to add new floors or remove existing ones:
    1. Open up the "ElevatorMenu" Widget Blueprint inside Elevator\Widgets\
    2. Switch to the graph section
    3. At the left bottom you see a big comment box which is named "Event unit"
    4. As it says there, simply connect the OnClicked events of your new floor buttons with a "Widget Drive" custom event. There you just have to specify the floor to which the button should lead.
    5. Hook up the output of this custom event with the ForEachLoop in the comment box at the right hand side.
    6. For the cosmetic part (disabling / enabling depends on which floor you are) add a pin on that Make Array and put your new buttons in.
    7. Thats all, now your new floor buttons should be displayed and ready to work! (To remove existing floors, simply remove that OnClicked event of that floor with the Widget drive, and hook out the the button var on that Make Array node.)

    Download link (requires 4.6): https://docs.google.com/uc?id=0B_kkw...xport=download

    So that should be all, for questions please write here, and I'm not native speaker in english so my language may be a little bit broken
    Have Fun!
    Hobby game developer from Germany Follow me on Twitter!
    Stuff I made:
    Steam Workshop Tutorial/Wiki
    Making a full working translation for your game and change it at runtime

    #2
    Hey!
    Nice asset. It have few bugs but very good as tutorial. Thank you!
    Rocketeer

    my portfolio
    my youtube

    Camera Volumes System
    Procedurally Instanced Meshes
    Simple Portals
    Water Flow For UDK
    Setup Swarm

    Comment


      #3
      The widgets are now shoeing but the elevator isnt working, the doors open, music plays, but when i click a level it wont work. I set floor height ans start pos. Am i missing anything?

      Comment


        #4
        Originally posted by Transform Reality LLC View Post
        The widgets are now shoeing but the elevator isnt working, the doors open, music plays, but when i click a level it wont work. I set floor height ans start pos. Am i missing anything?
        Hmm, no idea, i have no time for testing right now, but are the widget classes correct in the Details panel?
        Hobby game developer from Germany Follow me on Twitter!
        Stuff I made:
        Steam Workshop Tutorial/Wiki
        Making a full working translation for your game and change it at runtime

        Comment


          #5
          Widget classes match for elevator display and elevator menu, attached is a photo of the details menu for ElevatorDisplay Widget.
          Click image for larger version

Name:	ElevatorErrorImg.png
Views:	1
Size:	63.6 KB
ID:	1091253

          Comment


            #6
            Well then its maybe bugged.. I will take a look on it when the game jam is done
            Hobby game developer from Germany Follow me on Twitter!
            Stuff I made:
            Steam Workshop Tutorial/Wiki
            Making a full working translation for your game and change it at runtime

            Comment


              #7
              Sounds good, thanks for giving support.

              Comment


                #8
                is the game jam done?

                Comment


                  #9
                  Yeah it is, but I totally forgot that this thing is up here.. Unfortunatelly my time is a bit limited due to my own project, school, and other stuff, but if I find time, I'm gonna fix this here..
                  Hobby game developer from Germany Follow me on Twitter!
                  Stuff I made:
                  Steam Workshop Tutorial/Wiki
                  Making a full working translation for your game and change it at runtime

                  Comment


                    #10
                    10/10! Great work mate

                    Comment


                      #11
                      Seems good, but I can't get it to work. Especially now we're on 4.17!

                      This is the error in the blueprint of the main Elevator class.

                      Click image for larger version

Name:	erroredPleaseHelp.JPG
Views:	3
Size:	207.8 KB
ID:	1360718
                      Attached Files

                      Comment


                        #12
                        Hi friend can not download to your elevator project 403 ban says can you share with me?

                        Comment


                          #13
                          yes , it needs a new link , getting 403 at the link

                          Comment

                          Working...
                          X