Simple C++ FPS Template for Unreal Engine

As I have been preparing some Unreal Engine C++ tutorials, I wanted to use the Built-in C++ FPS Template that ships with the engine as a base project and found it has VR and Touch-input code in the character class which don’t serve any purpose unless you are interested in VR and/or mobile. Since I needed a super simple C++ template to not scare people away from learning this language, I decided to create a simplified version with only the essentials for non-VR projects (That’s what you have the VR Template for these days) and make it available to all on GitHub.

To give you an idea of the changes I made, the Character class is about 1/3 the size in code compared to the built-in FPS Template with the same functionality and several unnecessary coding concepts stripped out (such as a few UPROPERTY meta keywords you don’t need to know as a newbie). The purpose of all this is to make it less intimidating to start using C++ with Unreal Engine.

Project Source at GitHub

You may also be interested in some of my other C++ Tutorials such as Using Timers in C++ or my C++ Complete Guide!

12 Responses

  1. I am 100% new at this. I’m retired military and run my own shop so I’m not completely stupid; When I click on the FPSGame.sln, the contents look nothing like yours on the video. I’ve done all steps and I’m running 4.27 on Windows 10. Thank you for any help you may have. By the way, I follow a lot of your work and find your content to be the most educational

    • Hi Jeramiah, There is no video of this “FPS Template” so I think you’re probably looking for the “Survival Game” or the “Action Roguelike” projects on my GitHub page instead.

  2. Tom, Would it be possible, you create a turorial on systems of arms (exchange of weapons etc.) in C ++ ?? Currently it only has a blueprint and I’ve seen several people in the forums asking about it, but all the tutorials that they indicate is about switching between a weapon on the floor and one that already has nothing with a fixed inventory.

  3. Hello Tom!
    There is still an error while opening SimpleFPSTemplate (StealthGameUdemy & CoopHordeShooter too) :
    The following modules are missing or built with a different engine version: UE4Editor-FPSGame.dll. And another one while trying to rebuild: FPSGame could not be compiled.
    I have UE4 ver. 4.18.2 on Win 10.

    • I suggest you try different version of UE4. I’ve noticed on Coop Horde that it works on UE4.17 for example. The crashing is probably due to missing API files as they’ve changed since Epic updates the internal framework from time to time.

  4. Hey,

    Just wanted to let you know in case you forgot to upload some DLLs to the repo, running the project from github on UE4.18 throws an error, and requires Windows 8.1 SDK to recompile the project:

    `The following modules are missing or built with a different engine version: UE4Editor-FPSGame.dll`

    The Win8.1 SDK part is easy to miss since the log disappears automatically.

    Thanks for sharing your work! 🙂

    • Thanks for pointing that out!

      The gitignore removed the .dll for submits, I updated the repo so now .dll’s are included (did the same for level built data)

Leave a comment on this post!