Lafith Mattara


A Template C++ Unreal Engine project

The normal way of working on a UE C++ project is in visual studio. I didn't like this, so I created an easy to use template c++ project with some helper scripts that include a bash script which you can use to open, run or compile a Unreal engine.

Project code is available here

I followed Alex Forsythe's video on the fundamentals of an unreal engine C++ project to create this template.

  1. A skeletal UE C++ project.
  2. A Python script to rename all necessary files to your preferred name.
  3. python3 rename_project.py --name [proj_name]
  4. A Batch file with all necessary commands for editing, playing, building and shipping UE project.
$./ue.bat build         Compile the modules
$./ue.bat editor        Open the project in the UE5 Editor
$./ue.bat run           Run a playable instance of the game
$./ue.bat buildexe      Build the standalone game
$./ue.bat ship          Cook and Build the standalone game for shipping

Date: 2022-07-12 Tue 00:00

Emacs 27.1 (Org mode 9.3)