Using MS Developer Studio as an UnrealScript IDE.
Author: Brandon 'GreenMarine' Reinhart
Email:
brandon@epicgames.com
With just a little bit of work you can set up Microsoft Developer Studio as an UnrealScript development environment. The first thing to do is export the UnrealScript source files. Start UnrealED and switch the browser bar to "Classes." Hit the Export All button to export the source files to disk.
Now start DevStu and create a new workspace in your Unreal Tournament directory. Add an empty windows DLL project for each source package (Core, Engine, Botpack, etc) and create a folder until the FileView called Classes. Set the folder's extension type to uc. Finally add each package's source files to their respective folder.
You can compile inside DevStu by using a custom batch file. Create a MakePackage.bat inside your UnrealTournament system directory and add some commands like this:
@ECHO OFF
del %1
ucc make
This will rebuild the argument (for example, MakePackage Wookie.u would delete Wookie.u and rebuild it). Now add a custom tool to the tools list in DevStudio. If you select "Use Output Window" the results of the build will be dumped to the Build window in Dev Studio. Finally, you can attach your custom tool to a custom button and put it on your button bar for fast access.
If you want limited context highlighting, you can run regedit and find the following key:
[HKEY_CURRENT_USER\Software\Microsoft\DevStudio\6.0\Text Editor\Tabs/Language Settings\C/C++]
Add "uc" to the FileExtensions list. Make sure DevStudio is shutdown first, otherwise it'll write over your changes when you exit. Now restart DevStudio and you've got some limited context highlighting for UnrealScript!