unrealscript

Which programming languages support states on the language-level?

UnrealScript has always impressed me, somewhat, with it its intrinsic support for states (and latent functions) by grouping/overloading functions and fields into blocks like: state() SomeState { ... function void Foo() { GotoState('SomeOtherState'); } ... } Which is quite a bit cleaner than using loads of s...

Resources for UnrealScript

Now that the Unreal Development Kit is out and free to use by anyone, I am pretty excited to try it out. My understanding is that the programming is done through scripting in UnrealScript, I am wondering if any of you guys know of any good articles, tutorials, books, and references for Unreal Script or the Unreal Development Kit. Docume...

Cannot place KActorSpawnable - UnrealScript

I hope someone here can help me, i been trying to create an placeable actor that will be player controller, but when I try to add it via the "Actor Classes" windows, there is nothing there. class BallBall extends KActorSpawnable placeable; defaultproperties { Begin Object Name=StaticMeshComponent0 StaticMesh=StaticMesh'...

UDK "Error, Accessing a member of _'s within class through a context expression requires explicit 'Outer'"

I get the following error in the UDK Frontend when I try to make my project: C:\UDK\UDK-2010-03\Development\Src\FixIt\Classes\ZInteraction.uc(58) : Error, Accessing a member of GameUISceneClient's within class through a context expression requires explicit 'Outer' The class ZInteraction extends Interaction. Line 58 is: GetSceneCli...

UDK "Error, Unrecognized member 'OpenMenu' in class 'GameUISceneClient'"

Upon compiling, I am getting the following error: C:\UDK\UDK-2010-03\Development\Src\FixIt\Classes\ZInteraction.uc(41) : Error, Unrecognized member 'OpenMenu' in class 'GameUISceneClient' Line 41 is the following: GetSceneClient().OpenMenu("ZInterface.ZNLGWindow"); But when I search for OpenMenu, I find that it is indeed defi...

UDK "Error, 'DefaultMesh': Bad command or expression"

I'm porting UT3 code to UDK, and I am getting the following compile error with the UDK compiler: C:\UDK\UDK-2010-03\Development\Src\FixIt\Classes\ZPawn.uc(25) : Error, 'DefaultMesh': Bad command or expression The ZPawn class extends UTPawn. Line 25 is the following: DefaultMesh = SkeletalMesh(DynamicLoadObject(ZBotOwner(Owner).M...

UDK SettingsScene variable

I am in the process of porting a script from UT3 to UDK. The script is for class ZOUIFrontEnd_MainMenu extends UTUIFrontEnd_MainMenu. I'm getting the following compiler error: C:\UDK\UDK-2010-03\Development\Src\FixIt\Classes\ZOUIFrontEnd_MainMenu.uc(18) : Error, Bad or missing expression in Call to 'OpenSceneByName', parameter 1 T...

UDK Where did AnimatedCamera go??

I'm porting a game from UT3 to UDK. One of the classes is a subclass of AnimatedCamera. However, AnimatedCamera seems to be missing from the UDK, as the compiler kindly tells me: Error, Superclass AnimatedCamera of class ZCam not found Where did AnimatedCamera go? ...

UDK "Error, Unrecognized member 'FocalPoint' in class ..."

I'm porting a UT3 game to UDK. It uses a large code library and I'm getting this compiler error: C:\UDK\UDK-2010-03\Development\Src\FixIt\Classes\ZController_FireWeapon.uc(129) : Error, Unrecognized member 'FocalPoint' in class 'ZController' ZController extends UTBot. This is the referenced line: Agent.FocalPoint = ObjectOfAttent...

Getting Started with UDK

I've been trying for a couple of days now to learn UDK, but I seem to be stuck at making that leap to understanding how everything works together. I understand the syntax, that's all well and good, and I pretty much get how classes and .ini files interact. As for the API, I have the entire reference as pretty decent Doxygen-style HTML ou...