Real information about Unreal Engine 3

Tuesday, June 12, 2012

UnrealScript Beginner's Guide

UnrealScript is the script language provided by Unreal Engine. It allows you to move your characters and cameras, play animation and special effects, even draw HUD. A UDK user only need a text editor to code in UnrealScript. When you start UDK, it will check if UnrealScript code has been modified. When you finish coding and want to test it, you can just restart UDK to recompile UnrealScript. This note will show you how to code with this simple approach.

Writing Scripts


Once you finish installing UDK, you can find UnrealScript files in the "Development\Src\UTGame\Classes" folder. Open "UTCheatManager.uc" with your text editor, and insert the following code snippet into the end of the file:
exec function SetGroundSpeed(float NewSpeed)
{
    Pawn.GroundSpeed = NewSpeed;
}
Read More

Followers

AD (728x90)

Powered by Blogger.