This post comes from http://www.theballthegame.com/tutorialudk.htm
The first is the directory structure of a udk game
Binaries: contains the executable file of the game. You do not need to modify the file here.
Development: contains the source code of the unrealscript file. udk searches for and compiles unrealscript in this directory.
Engine: Engine file, which should not be modified.
Udkgame: All files of a custom game. Most resource files are here.
Some directory-related information http://udn.epicgames.com/Three/DirectoryLayoutCH.html can be obtained from the udk website
Sub-Directories In udkgame:
Config: the directory contains various configuration files.
Content: stores game resource files, levels, music, models, textures, and so on.
Localization: the text here is probably used in different languages, because the literal translation of a name is localized.
Movies: stores videos.
Script: compiled unrealscript.
Splash: stores the startup screen.
The remaining directories are not important. If you need to set code version control such as SVN, the development and udkgame directories are generally set.
Unrealscript:
You can use the nfringe plug-in of Visual Studio to compile unrealscript.
Http://pixelminegames.com/nfringe/
You can also use the free uncodex
Http://sourceforge.net/projects/uncodex/
Create a new directory under the Development \ SRC \ directory. For example, "mygame ". All unrealscript files in this directory will be compiled into *. U files under udkgame \ script. * The Name Of The. U file will be the same as the directory name.
You can create a classes directory under the "mygame" directory and add three unrealscript files: mygameinfo. UC mypawn. UC and myplayercontroller. UC.
In the next step, let the udk know the changes we have made and open the udkgame \ config \ defaultengine. ini file. Find "[unrealed. editorengine]" and add "+ modeditpackages = mygame ".
+ Editpackages = utgame
+ Editpackages = uteditor
+ Editpackages = utgamecontent
+ Modeditpackages = mygame
Ensure the order because some codes have dependencies.