UDK Projects
Home | Download! | Get a License! | Features | nFringe FAQ | Known Issues/Bugs | nFringe Forum
This page assumes you have already installed nFringe and downloaded the Unreal Development Kit. For now, this page only given details about the very basics of setting up a project for using nFringe with UDK.
These instructions are based on nFringe 1.1.23 or later.
Setting up an nFringe project
The short way:
- Right click and save MyUdkProject.ucproj to C:\UDK\UDK-2010-05\Development\Src (or the equivalent on your machine)
- Right click and save ScriptModifiers.xml to C:\UDK\UDK-2010-05\Development\Src\Core (or the equivalent on your machine)
- Open the project in Visual Studio, and you are all ready to work!
Note that if you use a newer version of UDK with a different set of UnrealScript keywords, you may have to edit the ScriptModifiers.xml file for correct IntelliSense parsing.
The long way:
- Open the file Visual Studio
- Select File→New→Project...
- From Project types, select UnrealScript. From Templates, select UnrealEngine 3 Licensee Project. Make sure to select the following:
- Name the project UdkProject.
- For location, select C:\UDK\UDK-2010-05\Development\Src (or the equivalent on your machine)
- Uncheck “Create directory for solution”
- Click OK.
- Close Visual Studio, and open Windows Explorer to the folder C:\UDK\UDK-2010-05\Development\Src\UdkProject.
- Select the files UdkProject.sln, UdkProject.ucproj, and (if you have hidden files visible) UdkProject.suo. Press Ctrl+X or right click and select Cut.
- Move up one folder to C:\UDK\UDK-2010-05\Development\Src. Paste the files here.
- From now on, you can simply open UdkProject.sln to begin working.
Key things to remember.
I’m keeping this as short as possible so make sure to remember them. 🙂
- If a file exists in one of the packages but is not showing in Visual Studio (for example, if you use Windows Explorer to add a script file while Visual Studio is also open), perform any one of the following actions to refresh the Solution Explorer:
- Close Visual Studio, then reopen your project.
- Right click UdkProject in Solution Explorer and select Unload Project. Then right click it again and select Reload Project.
- In Visual Studio, select File→Close Solution, and then reopen the solution.
Building Scripts
Note: This step is already completed if you followed the “short” method above.
nFringe builds starting with 1.1.23 include the latest MSBuild integration for scripts. The following steps allow you to make use of automated script builds within Visual Studio.
- Right click UdkProject in Solution Explorer and select Properties.
- On the General tab:
- Select Target Game: UnrealEngine 3 Licensee
- UCC Path: ..\..\Binaries\Win32\UDK.exe.
Debugging Scripts
Note: This step is already completed if you followed the “short” method above.
- Right click UdkProject in Solution Explorer and select Properties.
- On the Debug tab:
- Start game executable: ..\..\Binaries\Win32\UDK.exe.
- To aid in debugging, I recommend checking the boxes for “Disable startup movies” and “Force windowed mode”, though this is not required.
What’s left
Here is a short list of items I think would be beneficial on this page but I just haven’t finished it yet.
- Configuration and localization files. Building a project will no longer automatically move/combine configuration and localization files. You’ll have to edit these by hand. With nFringe installed, the .ini configuration files will have syntax highlighting in Visual Studio.
Details about the project system
This section is for informational purposes only.
The ucproj file is an MSBuild xml file. For licensee and UDK projects, it uses a wildcard include to make sure that all script files in all packages are visible in Solution Explorer each time the project is opened.
<ItemGroup> <Compile Include="*\Classes\*.uc" /> <Content Include="**\*.uci" /> </ItemGroup>
By Noah, May 12, 2014 @ 4:29 pm
Unfortunately, these instructions are not up to date. The most recent version of nfringe is missing many of the fields REQUIRED for this. Please update the information so that instructions are available for newer version of nfringe.
By thelambingan, December 28, 2017 @ 8:55 am
Thanks to such a real information about nFringe project how to install and how to make a project. It solved my problem