Announcement

Collapse
No announcement yet.

[HELP] Level Completion System

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

    [UDK] [HELP] Level Completion System

    Hello Guys!!!

    I just want to add a simple "level progression system" on my game. My design idea for my game, is to let the player play the same level many times, each time he can accomplish a specific achievement, like kill all enemies with a headshot, kill all enemies with a knife, kill enemies without being spotted, and so on.

    I am organizing my game into missions, each mission the player plays to accomplish these achievements, and because this I plan to let the player play each mission, each level at any time, even the campaign missions. I mean, everything will be unlocked for the player play (as I don't like whenever the player gets stuck, and I plan to make my game HARD, Dark Souls like).

    However, for allowing the player to feel some feeling of accomplishment, I want that whenever the player completes a mission, the thumbnail of this mission (map) changes to another image on which will have kinda badget saying "Mission Accomplished".

    My idea, is to have for each map kinda global boolean variable (like mission1complete, mission2complete), and set it to true whenever the player completes the mission/map (all gameplay is done in kismet), so after setting this variable to true, it would have to be saved in a file, so whenever the player starts the game, the UDKFrontEnd will check this variable status from the file (to which was saved the variable) and then change the map thumbnail.

    How can I do this? I am using default UDK Scaleform HUD and Menus.

    Cheers!
    https://sites.google.com/view/udkultimate/


    #2
    you need some simplified form of savegame system. search around for the udn gems savegame which is based on basicsaveobject
    Follow me on Twitter!
    Developer of Elium - Prison Escape
    Local Image-Based Lighting for UE4

    Comment


      #3
      Originally posted by Chosker View Post
      you need some simplified form of savegame system. search around for the udn gems savegame which is based on basicsaveobject
      Hello my friend, yes, I have been digging arround, and found that: https://docs.unrealengine.com/udk/Th...ee%20as%20JSon

      It seems that kismet variables can be saved to a JSON file.

      Thanks, I will try it and if i have some doubts, or be stuck, I will post here. My only concern is that I don't know if a JSON file can be saved to the PS3/Xbox360 HDD.

      Cheers!
      https://sites.google.com/view/udkultimate/

      Comment


        #4
        For saving I used this a lot.
        http://web.archive.org/web/201605041...mateSaveSystem

        But lately have been using this as one:
        https://forums.unrealengine.com/lega...ve-load-kismet

        Its the most simple one you can get for kismet.

        Comment


          #5
          Originally posted by O_and_N View Post
          For saving I used this a lot.
          http://web.archive.org/web/201605041...mateSaveSystem

          But lately have been using this as one:
          https://forums.unrealengine.com/lega...ve-load-kismet

          Its the most simple one you can get for kismet.
          WOW mate!!! Thanks!

          I remember this kismet save system, yeah. This is what I want, everything on kismet. As this does not rely on an external dll, it might work on consoles! I will just have to later take a look on how to read kismet variables in Unreal Script, so my GFXLauncher Class, which reads the thumbnail image, make it read the level completed var, and load the custom thumbnail for the map.
          Last edited by NIDAL NIJM GAMES; 01-13-2020, 03:00 PM.
          https://sites.google.com/view/udkultimate/

          Comment


            #6
            If you manage to upgrade it, please share.Im not sure, but i think strings were not working or not implemented?

            Comment


              #7
              Long story short, kismet, Kismet global event triggers you can make a campaign of it, I think.

              Look there is a function call, to call a event in kismet, I don't remember how. Google it.

              Like ok if kismet event pepitu triggers level completes. or bHasGotTheMagicalstick = true; the magical stick would be a kismet variable.


              On event pipitu() would be something like you kill an enemy, then the event kismet pepituKilled() would be called and or bool of kismet set to true or level complete, we don't have event dispatchers here like in UE4, but who cares they won't event run in packaged builds for some reason.....

              Heard about archetypes? Set an enemy to bIsPepitu to true and go for it on the level, do you know what im saying?

              P.S read the thread and it's about save system, config files maaaaaaaaaan.
              Some cool unreal projects you may like!


              Developer of GOTA - Survivalism Gladiatorial game Buy the game google gladiators of the arena steam https://store.steampowered.com/app/7..._Of_The_Arena/

              Download the demo Download the demo
              external link Dropbox DropBox

              Become a c++ Professional now C++ Networking Tutorial

              Comment


                #8
                Originally posted by Neongho View Post
                Long story short, kismet, Kismet global event triggers you can make a campaign of it, I think.

                Look there is a function call, to call a event in kismet, I don't remember how. Google it.

                Like ok if kismet event pepitu triggers level completes. or bHasGotTheMagicalstick = true; the magical stick would be a kismet variable.


                On event pipitu() would be something like you kill an enemy, then the event kismet pepituKilled() would be called and or bool of kismet set to true or level complete, we don't have event dispatchers here like in UE4, but who cares they won't event run in packaged builds for some reason.....

                Heard about archetypes? Set an enemy to bIsPepitu to true and go for it on the level, do you know what im saying?

                P.S read the thread and it's about save system, config files maaaaaaaaaan.
                Thanks man for the ideas. Yeah, I will go for kismet save system, because config files save method will work only on PC, but I need it to work on PS3 and Xbox360. I am afraid ini files can't be changed in console build of UDK. Anyway, I will try, test, and showcase it here.
                https://sites.google.com/view/udkultimate/

                Comment


                  #9
                  aha….. thanks for the info my friend.
                  Some cool unreal projects you may like!


                  Developer of GOTA - Survivalism Gladiatorial game Buy the game google gladiators of the arena steam https://store.steampowered.com/app/7..._Of_The_Arena/

                  Download the demo Download the demo
                  external link Dropbox DropBox

                  Become a c++ Professional now C++ Networking Tutorial

                  Comment

                  Working...
                  X