Simple C++ FPS Template for Unreal Engine 4

As I have been preparing some Unreal Engine 4 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 server 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 exist as a newbie). The purpose of all this is to make it less intimidating to start using C++ with UE4.

Project Source at GitHub

You may also be interested in some of my other C++ Tutorials

 

5 Comments

  1. 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)

  2. 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.

Leave a Reply