Wikis / Unreal Wiki / Legacy:UnrealScript Source

The most convenient way to browse and search the source files is by using a dedicated class browser such as UnCodeX.

These sources are for reference only. Never attempt to compile default packages – that's not the way modding works with the Unreal engine. Instead, derive your own custom classes from the game's default classes and use an INT file to hook them into the game.

Unreal Tournament 3

Build 3487 
Build 3521 

Unreal Tournament 2004

Note: BeyondUnreal download links are broken. Please update them here if you find alternate links.

Original UnrealScript sources and .u files compiled for debugging support (obtained directly from Epic Games). From build 3323 onwards, the scripts download includes the Onslaught Bonuspack (OnslaughtBP) sources.

The UnrealScript sources also include the Onslaught C++ source code and excerpts from engine C++ code for:

Build 3369 
Build 3355 
  • No official source files or debug packages available.
Build 3339 
Build 3323 
Build 3270 
Build 3236 
Build 3204 
Build 3186 
more... 

Note: The debug .u files can only be used for exactly that: debugging your code. They will not allow you to connect to internet servers. Backup your original .u files before installing the debug packages to test your code and restore your original files if you want to play online games.

Unreal Tournament 2003

Original UnrealScript sources and .u files compiled for debugging support (obtained directly from Epic Games).

Build 2225 
Build 2199 
Build 2186 
Build 2166 
Build 2136 

Note: The debug .u files can only be used for exactly that: debugging your code. They will not allow you to connect to internet servers. Backup your original .u files before installing the debug packages to test your code and restore your original files if you want to play online games.

Postal 2

Original UnrealScript source code (from Running With Scissors' web site)

Version 1407

XIII

Version 839

Unreal and Unreal Tournament

Although you could easily extract the source code with UnrealEd, El Muerte provided downloads for the script source of these games:

The above links are dead. Here are GitHub and Bitbucket repositories containing UT99 451b exported sources.

Other Unreal Engine Games

The source files can be exported with UnrealEd's Actor Classes Browser (File -> Export All Scripts) but they might be incomplete in some UnrealEngine 2 builds due to missing subobjects in the default properties. This is one reason for Epic to make the UT2003 sources available for download.

Note that exported sources might not contain subobjects, but this isn't a problem for older engine builds like v436, because at that time subobject definitions in default properties were not supported.

Some compiler directives (those specifically pertaining to native code) are also often lost when decompiling the built-in packages instead of downloading the sources.

Also, some Unreal Engine based games have the source code removed from the shipped packages. America's Army and XIII are two such examples. When this is the case the Unreal Script code cannot be exported.

Related Topics

Page Information

2022-11-18T09:04:24.732488Z 2014-08-05T19:16:09Z 206.251.12.74 /* Unreal and Unreal Tournament */ Added GitHub repo link for UT99 sources https://wiki.beyondunreal.com/Legacy:UnrealScript Source Attribution-NonCommercial-ShareAlike 3.0