-
Notifications
You must be signed in to change notification settings - Fork 3
Home
UDKOSC
9/19/2012
Version 1.0 of OSCControl has been added to the project. Documentation on getting started with OSCControl and remote control of UDKOSC camera and actors can be found at: https://github.com/robertkhamilton/udkosc/blob/master/Scripts/getting_started.txt
9/07/2012 Added a proper stop call in .dll as well as fixed jumping
9/04/2012 Now actor speed is reset after manual stop is called (before next player move X,Y,Z call)
9/03/2012 Added much needed "playermove stop 1" call as actors set upon a given vector would not ever stop. whoops. Currently can only be manually called outside of a block. Should reset actor speed when next playermove is called.
9/02/2012
Scripting Overview:
playermove
- playermove calls require method, param, val, (slewtime in ms), userid e.g. "playermove x 100 1000 1"
- actor motion can be stopped by calling "playermove stop 1" at any time outside of a block = STOP calls don't reset the currentval of PLAYERSPEED
cameramove
- cameramove calls don't require userid
e.g. "cameramove pitch 360 10000"
cameramove pitch, yaw and roll values are all scaled to allow degree input (i.e. 0-360) through use of the UDK scaling factor of 182.044403
Console commands: useable console commands are defined in the script generator and can be called with the method call "console" e.g.
- "console behindview"
OSC bundles
- OSC bundles are created by creating block commands, started with "[" and ended with "]"
- all slew values for each block command are created and sorted before generation
wait
- the message "wait" will call a ms Sleep command in Ruby
Comments
- comments are any lines prefaced with a "#" followed by a space
EXAMPLE SCRIPT:
[ cameramove pitch -90 100 cameramove x -300 5000 cameramove z 300 500 ] console behindview [ cameramove pitch 90 1000 cameramove yaw -130 1000 ] [ playermove speed 500 20 1 playermove x 5000 3000 1 ] playermove stop 1
8/25/2012
Created scripting language for creating UDKOSC movement gestures and Ruby OSC generating code.
Download from https://github.com/robertkhamilton/udkosc in the Scripts directory
Currently supports basic movement gestures: PlayerMove (X,Y,Z, Jump, Speed, UserID, time slew) CameraMove (X,Y,Z,Speed, time slew) Wait Block Messages - i.e. gestures to be created simultaneously as OSC bundles Time slews for gestures generate streams of OSC messages or bundles
07/12/2012
Camera Control by OSC enabled: behindview OSCMove OSCSetFreeCamera OSCStartInput Camera Pitch, Yaw, Roll + Relative (to Pawn.Location) and Absolute (to 0.0, 0.0, 0.0 World Coordinates) - OSCSetFreeCamera toggles between Relative and Absolute coordinates - OSCMove toggle between standard control and OSCControl (both for PlayerController/Pawn and for Camera) Using "behindview" makes Pawn visible as 3rd-Party actor
05/19/2012
Bumping up to UDK-2012-03 version Had to add line to DefaultEngine.ini "+NonNativePackages="
1/09/2011
- updated UDKOSC-specific classes and configs to compile for UDK-2011-12
- added compiled oscpack dll to project
- added docs directory with Unreal Frontend profile config and documentation for install
More details on the initial development of UDKOSC can be found: