Announcement

Collapse
No announcement yet.

[C++][Blueprint] Main menu and in game menu with basic game, graphics, controls and audio settings.

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

    [C++][Blueprint] Main menu and in game menu with basic game, graphics, controls and audio settings.

    README FIRST!

    This example is old and unstable and everytime a new version of the engine pop up i have problems with plugins, i strongly suggest to replicate the plugin function into a blueprint with the use of "Get Game User Settings" node and all the other nodes.
    https://docs.unrealengine.com/latest...ngs/index.html


    DOWNLOAD LINK - NOT COMPATIBLE WITH 4.12.5 AND ABOVE!

    Example Project

    Main Menu Example project - UE Version 4.10.4

    Main Menu Example project - UE Version 4.11 "As Is" (for 4.12.0 right click on .project -> switch Unreal Engine version)

    Plugin + Contents

    Only Plugin and Content - UE Version 4.10.4 - 4.11 - 4.12.0






    OVERVIEW


    Hey community,

    i want to share with you my simple main menu, the example project involve:
    • Game Instance
    • Expose C++ code to Blueprint
    • Blueprint interface
    • Event dispatchers
    • Save and load data
    • Basic widget animation
    • Change and save graphics settings via C++ (exposed as Blueprint node), no need to call console commands in Blueprint
    • Basic SoundClass hierarchy and change Volume via C++ (exposed as Blueprint node)
    • Rebindable keys (thanks to [MENTION=552]Rama[/MENTION]!).


    blueprints and source code are commented, for any question about the implementation ask here!

    The load/save system work fine in a packaged project, can cause some problem if used in editor (for obvious reasons).

    I made this menu with the help of:

    Persistent graphics settings in UE4 tutorial by Impetus Games

    Rama's UMG rebindable key system

    Archeo's UMG Radiobuttons tutorial



    This project is completely free, you can use it where you want and how you want!

    Simply credits me somewhere
    Last edited by ZioYuri78; 09-06-2016, 04:33 PM. Reason: Some typo around
    Join the Unreal Engine community on Reddit! | Twitter: @ZioYuri78

    #2
    HOW TO ADD PLUGIN AND CONTENTS TO AN EXISTING PROJECT

     
    Spoiler


    GAME INSTANCE
     
    Spoiler


    GAME SETTINGS
     
    Spoiler


    GRAPHICS SETTINGS

    Graphics settings system is based on the Persistent graphics settings in UE4 tutorial by Impetus Games, you can find the source code into the Blueprint Function Library BPGraphicsSettingsLib.cpp (.h)

    CONTROLS SETTINGS

     
    Spoiler


    AUDIO SETTINGS

     
    Spoiler


    ARCHEO RADIO BUTTONS

     
    Spoiler


    BLUEPRINT INTERFACE

     
    Spoiler


    SAVE/LOAD DATA

     
    Spoiler


    HOW TO ADD A NEW MENU/SUBMENU VOICE?

     
    Spoiler



    GAMEMODE

     
    Spoiler
    Last edited by ZioYuri78; 03-28-2016, 10:50 AM. Reason: Some typo around
    Join the Unreal Engine community on Reddit! | Twitter: @ZioYuri78

    Comment


      #3
      It looks great, i will check this out, thx for sharing

      Comment


        #4
        wow thank u [MENTION=28939]ZioYuri78[/MENTION] its looks awesome & this will help me to learn Menu & its function.

        Comment


          #5
          Thanks for this mate.

          Comment


            #6
            Cool, makes my work much faster
            "Age of Total Heroes" - RTS Pathfinding and Movement System for UE4
            RTS Camera C++ Tutorial

            Comment


              #7
              Thank you guys

              Added some explanations about Save/Load and how to add new buttons to the menu.
              Last edited by ZioYuri78; 03-12-2016, 08:47 AM.
              Join the Unreal Engine community on Reddit! | Twitter: @ZioYuri78

              Comment


                #8
                This is very very cool .... I like it Thank you !

                Comment


                  #9
                  Any chance you could add in a server list for this or PTP? there are no good templates that cover this area.

                  Comment


                    #10
                    Originally posted by OverRated_AU View Post
                    Any chance you could add in a server list for this or PTP? there are no good templates that cover this area.
                    Not in the near future, same here i still have to learn a lot about multiplayer, sorry
                    Join the Unreal Engine community on Reddit! | Twitter: @ZioYuri78

                    Comment


                      #11
                      Who cares about multiplayer, this looks too **** awesome and its free! Very much appreciated mate!

                      Comment


                        #12
                        Thanks =D !!

                        Comment


                          #13
                          Thank you for sharing ZioYuri!

                          And you're welcome re: my UE4 Key rebinding system!

                          Have fun today!



                          Rama
                          100+ UE4 C++ Tutorials on the UE4 Code Wiki, including UE4 Multi-Threading!

                          UE4 Marketplace: Melee Weapon Plugin & Compressed Binary Save System Plugin | Rama's C++ AI Jumping Videos | Vertex Snap Editor Plugin

                          Visit www.ue4code.com to see lots of videos about my C++ Creations! ♥ Rama

                          Comment


                            #14
                            Originally posted by ZioYuri78 View Post
                            Not in the near future, same here i still have to learn a lot about multiplayer, sorry
                            All good this will be some think we all will need to learn haha.

                            Comment


                              #15
                              thank you.

                              Comment

                              Working...
                              X