Time for action — Configuring ConTEXT
Now we'll set up ConTEXT to make reading UnrealScript easier, and use it to compile scripts with a single button press.
-
Now we're going to set up an UnrealScript highlighter. Highlighters make code easier to read by color coding keywords for a programming language. Since each language has different keywords, we need a highlighter specific to UnrealScript. Close ConTEXT and find the UnrealScript.chl file included with this book, or head to http://wiki.beyondunreal.com/ConTEXT and follow the instructions for the UnrealScript highlighter. Once you have your .chl file, place it in ConTEXT's Highlighters folder.
What just happened?
ConTEXT is now set up to compile our UnrealScript files; all we have to do is press F9. The first time we do this it will also recompile Epic's UnrealScript files, this is normal. The compiler may also show up in a separate window instead of at the bottom of ConTEXT, this is also normal.
Starting to feel like a programmer yet? Now that we're able to compile code we just need an easy way to browse through Epic's UnrealScript source code, and to do that we're going to install another small program, UnCodeX.
UnCodeX
We can write our own code with ConTEXT, but now we need something to make sense of the Development\Src folder. There are over 2,000 files in there! This is where UnCodeX comes in. UnCodeX organizes the files into a class tree so that we can easily browse through them and see their relationship to each other. It also allows us to quickly search through the source code, which is where the line numbers in ConTEXT come in handy when we're searching through our own code.
'Online Game' 카테고리의 다른 글
Using Memory Correctly (0) | 2011.12.24 |
---|---|
코스프레? 귀엽다~~ (0) | 2011.03.04 |
World of Warcraft adds another half million subscribers (0) | 2008.12.26 |
Lunia Chronicle (0) | 2008.12.19 |
Gunz Hack loltastic.dll (0) | 2008.12.16 |