Unreal 3 Mods

Download Report

Transcript Unreal 3 Mods

Unreal 3 Total Conversion
Matthew Sable
4/7/2015
Initial Setup


Make sure your game is patched & up-to-date.
(Steam-linked games will do this automatically.)
For code reference, you can download the
latest Unreal Tournament 3 source code from
here:
http://udn.epicgames.com/Three/UT3ModHome.html

Note: You should NEVER recompile the
original Unreal Engine. The intent is to use
inheritance to create a mod based off the
original files.
4/7/2015
Mod Directory Structure (1)



In this case, your mod folder will be located in
your game’s installation directory. This is
either:
Non-Steam based: C:\Program Files\Unreal
Tournament 3 or UDK
Steam based: C:\Program
Files\Steam\steamapps\common\unreal
tournament 3
This means that your mod is stored LOCALLY
on a machine. TAKE THE FOLDER WITH
YOU WHEN YOU'RE DONE!
4/7/2015

Mod Directory Structure (2)

The directory structure for your mod should be:

MyConversion

-Config

--Published

-Src

--MyPackage

---Classes
4/7/2015
The "Config" Folder




Here, you create "sandbox" .ini files for your
specific mod.
These are derived from .ini files located in
UTGame
Designed to override behavior in UTGame
The 2 you'll be most concerned with are
DefaultEditor.ini & DefaultEngine.ini
4/7/2015
DefaultEditor.ini
[Configuration]
BasedOn=..\UTGame\Config\DefaultEditor.ini
[ModPackages]
ModPackagesInPath=..\MyConversion\Src
ModOutputDir=..\MyConversion\CookedPC\Script
ModPackages=MyPackage
4/7/2015
DefaultEngine.ini
[FullScreenMovie]

-StartupMovies=Copyright_PC

-StartupMovies=EpicLogo

-StartupMovies=MidwayLogo

-StartupMovies=UE3_logo

-StartupMovies=Nvidia_PC

-StartupMovies=Intel_Duo_Logo

-StartupMovies=UT_loadmovie1

[Core.System]

+Paths=..\MyConversion\Content

+SeekFreePCPaths=..\MyConversion\CookedPC

;-Paths=..\UTGame\Content

;-SeekFreePCPaths=..\UTGame\CookedPC

MaxStaleCacheSize=100

MaxOverallCacheSize=300

[Configuration]
4/7/2015
BasedOn=..\UTGame\Config\DefaultEngine.ini

The "Src" Folder


You create a subfolder with your package
name, then a folder under that called "Classes",
and that's where you put your UC files.
Bear in mind that a mod can consist of multiple
packages. Simply create another folder and
another "Classes" folder for each one.
4/7/2015
Compilation (1)

To make this easy, we'll create a shortcut

1.Create a shortcut to the game executable

2.Right click to adjust it's properties

3.At the end of the "Target" section, append the
following: make -mod=..\MyConversion\Config
4/7/2015
Compilation (2)






After you compile, you'll find a new folder has been
created for your mod.
WinXP: C:\Documents & Settings\mdsable\My
Documents\My Games\Unreal Tournament 3\My
Conversion
Vista & 7: C:\Users\Matthew\Documents\My
Games\Unreal Tournament 3\MyConversion
If it compiled successfully, within "Config" it should
have created your user specific INI files, based off the
Default INIs you made earlier.
("UTEditor" & "UTEngine")
You'll also see an "Unpublished" folder, and if you dig
down you'll find your "MyPackage.u" file.
4/7/2015
The “Published" Folder




You'll put your ".u" files here.
Currently, your ".u" files are considered
"Unpublished."
By default, UT3 runs "Published" content.
"Published" content should go in your "Config"
folder.
4/7/2015
Playing Your Mod

To make this easy, we'll create a shortcut

1.Create a shortcut to the game executible

2.Right click to adjust it's properties

3.At the end of the "Target" section, append the
following: -mod=..\MyConversion\Config
4/7/2015
Self Containment & Distribution (1)

Custom configuration files are created for each package.

They are titled "UT(package name)"

They are located in




WinXP: C:\Documents & Settings\mdsable\My Documents\My
Games\Unreal Tournament 3\UTGame\Config\UTMyPackage
Vista & 7: C:\Users\Matthew\Documents\My Games\Unreal
Tournament 3\UTGame\Config\UTMyPackage
Take these files and place them in your mod's "Config" folder.
IF YOU DON’T GRAB THESE FILES, YOU WILL FIND THAT
YOUR MOD CONTENT HAS BEEN LEFT ON THE
COMPUTER YOU COMPILED IT ON! IT DIDN’T COME WITH
YOU!
4/7/2015
Self Containment & Distribution (2)



You mod's folder should be placed in the
game's install path to play properly:
Non-Steam based: C:\Program Files\Unreal
Tournament 3
Steam based: C:\Program
Files\Steam\steamapps\common\unreal
tournament 3
Resources






Most Helpful Link:
http://gearsforums.epicgames.com/showthread.php?t=638009
http://forums.epicgames.com/showthread.php?t=620607
http://udn.epicgames.com/Files/UT3/Mods/UT3ScriptSource_1.
5.rar
http://www.jadeskaggs.com/2009/03/26/setting-up-visualstudio-2008-for-unrealscript-development-with-nfringe/
http://udn.epicgames.com/Three/UT3Mods.html#Mod%20Autho
ring%20for%20Unreal%20Tournament%203
http://www.moddb.com/games/unreal-tournament3/tutorials/unreal-learning-1-my-first-unreal-tournament-3mutator
4/7/2015