I spent some time trying to manually convert this. No idea if I did it properly, but I finally got it to compile. Things involved:
- Get rid of DependsOn and add a #include instead
- Replace all OVERRIDE with override. (There was one instance that didn’t need it so be careful ctrl+f replacing
- Engine.h needs #include “Slate.h” added to it
- The build ShooterGame.Build.cs needs AIModule added in PrivateDependencyModuleNames
- “#pragma once” was needed to be added somewhere. Forgot where. Compiler error will tell you.
- GetMaxSpeedModifier() changed to GetMaxSpeed()
- A ton of files need #include header files added to them. You just got to slowly sift through all the compile errors. Wherever it says something is undefined, just right click > Go to Definition on the thing in question and find the header file that contains that definition. Throw it up at the top and try again. Don’t worry about any of the IntelliSense errors. Those mostly drop out after you recompile after adding #include headers.
- SChatWidget.cpp: the bool bFoundPath has some conversion error too. I changed it to this:
bool bFoundPath = FSlateApplication::Get().FindPathToWidget(ChatEditBox.ToSharedRef(), WidgetToFocusPath, LastVisibility);