UDKOSC DEV: Difference between revisions
Appearance
mNo edit summary |
mNo edit summary |
||
| Line 44: | Line 44: | ||
TO DO: | |||
* Make "FollowOSCBots" a toggle and make it OSC toggled (even just via ConsoleCommand) | |||
Revision as of 20:44, 17 April 2013
SetTimer
List of exec functions: http://udn.epicgames.com/Three/ExecFunctions.html
Echo::Canyon
PREPPING START OF PIECE
- HIDE ALL SCREEN OBJECTS: ToggleScreenShotMode
- InitPiece
SpawnOSCBot
- defaults to 0,0,2000
SpawnOSCBotAt(x,y,z)
- set parameters manually
MOVING OSCPAWNBOTS:
oscstartinput
ruby osccontrol.rb localhost 7001
osccheckpawnbots
oscpawnmove
playermove teleport 0 0 1000 0
OSCMove OSCSetFreeCamera OSCStartInput
SPACING OF FOLLOWERS
- take a local vector for targeting: LocalForward = vect(-30, -30, 0)
- transform that vecto: WorldForward = LocalForward >> Rotation
TO DO:
- Make "FollowOSCBots" a toggle and make it OSC toggled (even just via ConsoleCommand)
TESTING :
OSCBot Following OSC controlled OSCPawnBot:
- SpawnPawnBot
- OSCCheckPawnBots
- OSCPawnMove
- OSCStartInput
- spawnoscbotat 50 50 500
- followoscbots
- OSCStartOutput
- OSCStartPawnBotOutput
- OSCStartBotOutput