I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

Difference between revisions of "Set up a package directory"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
m
m (Base Game Package)
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
For UE3 the location of where we create our package directories changed somewhat from UE2. Instead of residing in the games {[[Base Directory]]} they now belong in a new location, which does also depend if youre working with UT3 or UDK. For UDK the directory was changed to the base development directory allowing for more access to script then UT3 modding would allow. As far as Im aware UDK does not support our second method for using a 'mod system' but UT3 and UT2004 do.
 
For UE3 the location of where we create our package directories changed somewhat from UE2. Instead of residing in the games {[[Base Directory]]} they now belong in a new location, which does also depend if youre working with UT3 or UDK. For UDK the directory was changed to the base development directory allowing for more access to script then UT3 modding would allow. As far as Im aware UDK does not support our second method for using a 'mod system' but UT3 and UT2004 do.
  
ou will need to first make the ''package'' directory and then the ''Classes'' directory. The following example shows the package folders being:
+
You will need to first make the ''package'' directory and then the ''Classes'' directory.<br>
 
+
<br>
 
+
The following example shows the directories in which to create your package directory:<br>
 
:'''UT2004''' - {[[Base Directory]]}\System <sub></sub><br>
 
:'''UT2004''' - {[[Base Directory]]}\System <sub></sub><br>
 
:'''UT3''' - {[[User Documents Directory]]}\My Games\Unreal Tournament 3\UTGame\Src<br>
 
:'''UT3''' - {[[User Documents Directory]]}\My Games\Unreal Tournament 3\UTGame\Src<br>
 
:'''UDK''' - {[[Base Directory]]}\Development\Src<br>
 
:'''UDK''' - {[[Base Directory]]}\Development\Src<br>
 
+
<br>
 
You should have a directory structure like:<br>
 
You should have a directory structure like:<br>
 
:'''UT2004''' - {[[Base Directory]]}\System\{'''Your Package'''}\Classes<br>
 
:'''UT2004''' - {[[Base Directory]]}\System\{'''Your Package'''}\Classes<br>
Line 19: Line 19:
  
 
==Mod System Package==
 
==Mod System Package==
 +
The following example shows the directories in which to create your package directory:<br>
 
:'''UT2004''' - {[[Base Directory]]}\{'''YourMod'''}\{'''YourModPackage'''}\          '''<&ndash;''' ''UnrealScript package for your mod''
 
:'''UT2004''' - {[[Base Directory]]}\{'''YourMod'''}\{'''YourModPackage'''}\          '''<&ndash;''' ''UnrealScript package for your mod''
 
+
<br>
 
You should have a directory structure like:<br>
 
You should have a directory structure like:<br>
 
:'''UT2004''' -{[[Base Directory]]}\{'''YourMod'''}\{'''YourModPackage'''}\Classes  '''<&ndash;''' ''put you source code here''<br>
 
:'''UT2004''' -{[[Base Directory]]}\{'''YourMod'''}\{'''YourModPackage'''}\Classes  '''<&ndash;''' ''put you source code here''<br>

Latest revision as of 01:20, 23 May 2010

There are two methods of setting up package directories, the first doesnt include the use of a 'mod system' the second does. There are various reasons for using each of these which will be explained later.

Base Game Package[edit]

For UE3 the location of where we create our package directories changed somewhat from UE2. Instead of residing in the games {Base Directory} they now belong in a new location, which does also depend if youre working with UT3 or UDK. For UDK the directory was changed to the base development directory allowing for more access to script then UT3 modding would allow. As far as Im aware UDK does not support our second method for using a 'mod system' but UT3 and UT2004 do.

You will need to first make the package directory and then the Classes directory.

The following example shows the directories in which to create your package directory:

UT2004 - {Base Directory}\System
UT3 - {User Documents Directory}\My Games\Unreal Tournament 3\UTGame\Src
UDK - {Base Directory}\Development\Src


You should have a directory structure like:

UT2004 - {Base Directory}\System\{Your Package}\Classes
UT3 - {User Documents Directory}\My Games\Unreal Tournament 3\UTGame\Src\{Your Package}\Classes
UDK - {Base Directory}\Development\Src\{Your Package}\Classes

Mod System Package[edit]

The following example shows the directories in which to create your package directory:

UT2004 - {Base Directory}\{YourMod}\{YourModPackage}\ <– UnrealScript package for your mod


You should have a directory structure like:

UT2004 -{Base Directory}\{YourMod}\{YourModPackage}\Classes <– put you source code here