How to subclass and then use UGameEngine?
So joeGraf suggested in my thread here that I subclass the game engine and then tell UE4 to load my version instead. I tried this, in my DefaultEngine.ini, where my project is called FlightPrototype;
I also tried the above without the 'U' at the front of the class name. This was with my UFlightGameEngine class inheriting from UGameEngine.
asked Aug 26 '14 at 02:03 PM in C++ Programming
Finally figured this out! In a project titled 'NetworkingDemo', with a UGameEngine subclass 'UNetworkedGameEngine', I added the following to my DefaultEngine.ini file:
It seems that you need to drop the preceeding 'U' from the class name. You can see this + other options for setting default classes in the BaseEngine.ini file in your Engine/Config/ folder.
answered Jul 26 '15 at 11:40 AM
What is the compile error?
Make sure you are using
instead of #include "EngineMinimal.h"
answered Aug 26 '14 at 02:13 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here