Questions tagged [unrealscript]

Script language used for Unreal Tournament games and the Unreal Development Kit. Called uscript for short.

Object-oriented script language used for Unreal Tournament games and the Unreal Development Kit.

87 questions
0
votes
1 answer

How do I use a variable from another class in Unreal Script?

I am working on a game, and that game has a battery life function for a flash light. Basically, when the flash light is turned on, it reduces the life and when it's off, it stops. But to achieve this, I need to access a variable that will determine…
NoobxCamper
  • 33
  • 1
  • 2
  • 14
0
votes
2 answers

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…
Ricket
  • 33,368
  • 30
  • 112
  • 143
0
votes
2 answers

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…
Ricket
  • 33,368
  • 30
  • 112
  • 143
0
votes
1 answer

Accessing unreal script variables from Kismet - UDK

I have almost 0 scripting experience with UDK, but I think what I'm trying to do is fairly simple. I want to define a variable in script that I can then access in Kismet. This is what I have so far: MyGameInfo.uc looks like this class MyGameInfo…
0
votes
2 answers

Referencing a UDK Class without its source

I'd like to modify an existing UDK game, but to do this I need to make a subclass of their custom classes. e.g. MyBroadcastHandler extends RX_BroadcastHandler Unfortunately I can't find a single way to do this without having the source code to…
Ben
  • 2,867
  • 2
  • 22
  • 32
0
votes
1 answer

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 …
user252778
0
votes
1 answer

Organic material creation in UDK

I'm trying to generate my own procedural map in UDK to create an organic ooze material. I have searched the docs at epic and I couldn't find a location to cover the topic of creating movement/transitions within the map. Is there a way with unreal…
Phlume
  • 3,075
  • 2
  • 19
  • 38
0
votes
1 answer

Vector Rotator conversions in UDK

I've looked all around and find very little by way of actual code or function examples. Hopefully when (if) they get out of beta there will be some more effort put into documentation. In UDK (2013-07 beta): 1) How do you convert a vector to a…
Neros
  • 1,139
  • 3
  • 14
  • 22
0
votes
0 answers

How to marshall a struct with a string in it from C# to unrealscript?

I am investigating what is possible with Robert Giesecke's approach to calling C# DLL Functions from Unrealscript. I have been following the fine examples Located at gamedev.net as well. (Okay, now everything is sourced :) I would like to pass a…
mherr
  • 348
  • 1
  • 7
  • 25
0
votes
1 answer

Rotating an object while remaining parallel to a plane

I have an object that I wish to be parallel to a plane. The object needs to rotate on the yaw axis while remaining parallel to the plane. Having the normal of the plane and a yaw value, how can I compute the pitch and roll values for the object? To…
0
votes
1 answer

How can I gain more freedom of camera rotation in a UDK game?

I have a game concept being designed in UDK, using a first-person camera. By default, you can only look (i.e. rotate the camera) so far up and so far down, but the effect I want to achieve is for the player to be able to look down at themselves so…
0
votes
1 answer

Is it possible to programatically create a simple 3d object on Unreal?

Is there a way to create and use a simple 3d model on the Unreal Engine?
TheXP
  • 13
  • 1
0
votes
2 answers

How to import and program in UDK

I am currently learning UDK tutorials but I dont understand how to make real game with this like exporting my maya models and its animation rigs etc etc like in unity we do. Also how do I program my characters, AI for enemies etc. Please convey your…
0
votes
1 answer

ExternalInterface problems with UnrealScript

i'm trying to call a function in UnrealScript through ActionScript using ExternalInterface.call but for some reason it wont work when i test it. the actionscript: this.onRollOver =…
0
votes
1 answer

How to print a Vector2D in unrealscript

I have this function: function AddImpulse(Vector2D impulse) { `log("ADD IMPULSE: " $ impulse); } The trouble is that I get the error "Right type is incompatible with '$'. It seems that, although the built-in vector class will automatically…
kaboomer13
  • 55
  • 9