Can't look inside 'Shooter Game' C++ Code of UE4

Hello,
because I want to learn more about fps controller, I downloaded the free learning template of ue4, but when i want to look inside the c++ classes theres only written ‘Could not find Code file…’.

Shooter Game:https://sb1985ue4.files.wordpress.com/2018/04/multiplayer.jpg

2 Likes

You need to right-click the .uproject file and hit “Generate Project Files”. The wizard will create a visual studio solution file which you can open to study the code files.

I got a error there.

It looks like your visual studio is missing the C++ toolchain.
Download the visual studio installer and install the c++ components.

There is a guide to setting up your visual studio here:

Scroll down to the “Visual Studio 2017 Users” part.

Make sure your Visual Studio Installation include “Game Development with C++”

You can add it if it is missing through “Add or Remove Programs” and choose “Modify” on Visual Studio.

Ok, thanks for the fast replies :slight_smile:

Btw. do you think it makes sense to look in these quite old code files (2014)

If you are referring to the shootergame project, it might be around for a long time but its constantly updated for every major UE4 release as with all EPIC templates.
There are some great code examples in that project. Its a great place to start if you are just getting into plugging away with an fps game.