Unreal Engine Sample Usage¶
The demo for Unreal Tournament is using the same local.py
script
as the tutorial sample. There is a couple of minor differences covered
here but most of the usage is the same and documented in the section
Local Environment Usage.
Preparation for the Unreal Tournament demo¶
The project file for Unreal Tournament (located under
samples/ue4/ut4/genvid.hcl
) use an environment variable named
UTROOT
to figure out where the Unreal Tournament build is located.
Set it to your local version of Unreal.
For Windows command prompt, specify your UTROOT
variable like this:
set UTROOT=C:\UnrealTournament
If you are using a different shell, you will have to adjust. For example, if you are using Bash, then the command should instead be:
export UTROOT='C:\UnrealTournament'
You can now configure the services to run the Unreal Tournament demo with this command:
py local.py load-project samples/ue4/ut4
After that, the usage is the same as with the Tutorial Sample.