Announcement

Collapse
No announcement yet.

How save showing items in UMG ???

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

    How save showing items in UMG ???

    Hello UE4 Community !!

    Before starting, sorry if there is little mistakes in my thread my english is not very good :-(

    So. I have a working menu in UE4 create with UMG (Unreal Motion Graphics UI Designer) and blueprint. I have create working graphics settings and i want that the player who choose graphics know what he have choosed. So i have found an idea, when the player click on graphics settings, an indicator appear on the bottom. Look this picture if u don't understand :

    Click image for larger version

Name:	ShowMenu.JPG
Views:	1
Size:	138.3 KB
ID:	1195906

    So, when the player ( client ) choose "Haut" ( = Hight --> in french ) an indicator ( red for the example )appear on the bottom. BUT when he have choose all parameters and he have left the menu for play the game the settings are saved but not the indicators ( i don't know how to ) AND i want make a program who saved all indicators "Visible" when he click on the button "Retour" ( =Return --> in french) and after, set visibility to "Hidden".


    I don't know how i can do this, i hope that someone could help me


    Thanks a lot,


    Gaby !

    #2
    You need to save these choices somewhere (In .ini, .txt, save file) after player made them, and then, after this option menu opens again, load all the saved info from saved file(if it's exist), it's not that hard, really, with VictoryPlugin by Rama you can save it to txt, for quick debugging, but it'll be best to use Unreal Engine 4 native save system, I think it will work like a charm for it.

    Best of luck.
    English is not my native language. So yeaaah. :3

    Comment


      #3
      Ok thanks for ur quick replie !

      I'm new to blueprints so can u explain a little more ?
      But ur idea is very good !)
      I have already the VictoryPlugin by Rama for my keybinding menu

      Again thanks,




      Gaby
      Last edited by GabyDEV; 09-28-2016, 02:38 AM.

      Comment


        #4
        I have find a way more simply but i don't know how i can do this in blueprint :-(

        For the graphics settings, i have take a super simple way : When the player click on a button, a console command is executed. Console commands looks like this :

        Code:
        r.ViewDistanceScale 0.7
        To access to the graphics settings I have a "submenu" check this image :

        Click image for larger version

Name:	submenuoptions.JPG
Views:	1
Size:	144.4 KB
ID:	1116084

        "Option Graphique" = Graphics Options in french.

        So, when the player click on this button, i need that the blueprint script check if ( for example )

        Code:
        r.ViewDistanceScale
        is on 0.7 and if it's true, set the visibility of the "border" ( on the first post, the colored lines ) on true.





        doon't know if it's possible in blueprint,


        Thanks a lot,


        Gaby

        Comment


          #5
          Someone get an idea ?

          Comment


            #6
            Originally posted by GabyDEV View Post
            Someone get an idea ?
            One good tutorial with save system is here:
            Www.shootertutorial.com
            Im sure it will help you.

            Comment

            Working...
            X