Announcement

Collapse
No announcement yet.

Ongoing C++ Gameplay Example Series: Making a Survival Game

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

    Hi Tom,
    In 4.10.2 the InitNewPlayer in GameMode is protected how we can fix it i gave warning for that ?
    ABC Augmented Reality by UE4
    GooglePlay

    ArchVis VR

    Comment


      Originally posted by GiraffePencils View Post
      Hi, I was looking at building something using your code as a base.
      But I don't really need everything you've got, are the Sections updated to a newer engine?
      (for example if I took Section 4 branch) or will I need to migrate them myself?
      The individual sections are no longer updated to the latest engine version. The master branch still is. I recommend grabbing latest and looking for the components you wish to learn and/or use. The development of a project wasn't a linear typing exercise, I made improvements to features that made it into Section 1 in later submits etc.

      Originally posted by Vahid View Post
      Hi Tom,
      In 4.10.2 the InitNewPlayer in GameMode is protected how we can fix it i gave warning for that ?
      The function is protected, but you can still override it as before in your own gamemode class. If you want to call it manually from outside of Gamemode, I advise you not to, and look for a different solution or make your own function to handle adding players.
      Game Developer @ LODZERO - My Twitter | tomlooman.com UE4 samples & tutorials | C++ Survival Game (Open-Source)

      Comment


        hi I would like to learn something about ue4 so I started to work on your project mmm but still I couldnt handle custom character problem because of animations, also I made a new map and I created everything but when I try to launch its give me error ( windows platform ) and I cant play it such a game can you help me please ?
        Last edited by alked; 02-25-2016, 07:25 AM.

        Comment


          hi tom i need your help i trying to download your survival proyect but when i download it says that the proyect dont work that is damage the proyect

          Comment


            Originally posted by Roberto Andre View Post
            hi tom i need your help i trying to download your survival proyect but when i download it says that the proyect dont work that is damage the proyect
            Hi Roberto,

            What is the exact error you are getting? Are you downloading the ZIP file or cloning it as a git project?
            Game Developer @ LODZERO - My Twitter | tomlooman.com UE4 samples & tutorials | C++ Survival Game (Open-Source)

            Comment


              Hi Tom,
              I want to know how many player can player this Survival sample game in network ?

              And also please explain how i can play your game with my friend through internet is this possible ?
              Thanks
              Last edited by Vahid; 03-31-2016, 04:12 AM.
              ABC Augmented Reality by UE4
              GooglePlay

              ArchVis VR

              Comment


                Originally posted by Vahid View Post
                Hi Tom,
                I want to know how many player can player this Survival sample game in network ?

                And also please explain how i can play your game with my friend through internet is this possible ?
                Thanks
                Hi mate,

                The game can be played with as many players are most of other UE4 titles. It'll require some optimization to work with 32+ players, but in theory, that is possible.

                You can run the game in multiplayer as any other. I've added a few options in the main menu to make it easier to connect with your friends.

                (Make sure port 7777 is forwarded on the router from the person that hosts the server, that'll be required for others to connect to the host)
                Game Developer @ LODZERO - My Twitter | tomlooman.com UE4 samples & tutorials | C++ Survival Game (Open-Source)

                Comment


                  Originally posted by Tom Looman View Post
                  Hi mate,

                  The game can be played with as many players are most of other UE4 titles. It'll require some optimization to work with 32+ players, but in theory, that is possible.

                  You can run the game in multiplayer as any other. I've added a few options in the main menu to make it easier to connect with your friends.

                  (Make sure port 7777 is forwarded on the router from the person that hosts the server, that'll be required for others to connect to the host)
                  Thanks for your quick reply, you are very nice i learned many things from this project... My problem was I didn't download master branch I just downloaded Section-6, I'll start download that to learn more ...
                  Last edited by Vahid; 03-31-2016, 05:39 AM.
                  ABC Augmented Reality by UE4
                  GooglePlay

                  ArchVis VR

                  Comment


                    Originally posted by Vahid View Post
                    Thanks for your quick reply, you are very nice i learned many things from this project... My problem was I didn't download master branch I just downloaded Section-6, I'll start download that to learn more ...
                    It's a Level in the /Maps/ folder. When you are launching a packaged version of the game, it will open this map automatically when you launch the EXE.
                    Game Developer @ LODZERO - My Twitter | tomlooman.com UE4 samples & tutorials | C++ Survival Game (Open-Source)

                    Comment


                      I get the following error when I start the editor:

                      "Error /Game/Maps/CoopLandscape_Map : Failed import for AudioComponent /Game/Base/BP_TimeOfDayManager.Default__BP_TimeOfDayManager_C:AmbientAudioComp"

                      Any idea how to fix this?

                      Comment


                        Originally posted by Curious_Rubick View Post
                        I get the following error when I start the editor:

                        "Error /Game/Maps/CoopLandscape_Map : Failed import for AudioComponent /Game/Base/BP_TimeOfDayManager.Default__BP_TimeOfDayManager_C:AmbientAudioComp"

                        Any idea how to fix this?
                        Noticed the same when opening the project, I'll look for a fix the next time I do an upgrade of the project.
                        Game Developer @ LODZERO - My Twitter | tomlooman.com UE4 samples & tutorials | C++ Survival Game (Open-Source)

                        Comment


                          Hello, I'm not sure if this project is still active but it would be a great asset for me. Unfortunately, when trying to launch the project I receive the message:

                          The game module 'SurvivalGame' could not be loaded. There may be an operating system error or the module may not be properly set up.
                          I am running Windows 10 with Visual Studio 2015, and am trying to open the uproject file in Unreal Editor 4.10. I cloned the git repository, but am trying with the zip now (30 minute download.)

                          Last edited by MonsieurVoltaire; 04-21-2016, 04:59 PM.

                          Comment


                            Hi Tom,
                            I tried to connect with a friend by internet IP, but I couldn't.
                            It's work good when I'm connecting to another pc on lan.

                            please help how i can connect with Internet to another pc
                            ABC Augmented Reality by UE4
                            GooglePlay

                            ArchVis VR

                            Comment


                              Hi Vahid,

                              im not 100% sure how UE4 handles it, but i think you need the current public IP of your friend if he is hosting the server (most routers show it in the webinterface).
                              And you also have to enable portforwarding for the ports ue4 is using. Then connecting directly via IP should work. But im happy if someone can correct me.

                              Regards

                              Comment


                                Thanks,
                                I get public IP, by searching in google this "What's My IP" and i have the correct IP, can you explain more on portforwarding
                                ABC Augmented Reality by UE4
                                GooglePlay

                                ArchVis VR

                                Comment

                                Working...
                                X