Page 1 of 1

moviecube preview scheduled next Sunday

Posted: January 2nd, 2010, 8:29 pm
by offtools
hi,

the release scheduled next week will also come with a preview of moviecube. its in the SVN feel free to play around and report bugs as well :)

to test moviecube start sandbox_client_32_movie and use mode 3 (coop edit):

Code: Select all

/mode 3; newmap
commands:
(most of the fps commands will work too, normal bots are disabled for the moment):

editmode:

Code: Select all

newent waypoint 
*used as waypoints and spawnpoints for characters
*attr1: character yaw when used as spawnpoint
*attr2: radius/area

Code: Select all

newcharacter [name]
*adds a new character definition, you can now add commands to the characters command queue

Code: Select all

appendactionspawn [name] [state] [waypoint map uid]
*add the spawn command to character definition referenced by param name, param state should be always 0 at the moment, param map uid is the unique identifier of the waypoint you want to spawn your character
(every map entity mapmodels, waypoints ... has a unique id, they cannot changed by users)

Code: Select all

appendactionwait [name] [state] [milliseconds]
*lets a characters wait for certain milliseconds

Code: Select all

appendactionmove [name] [state] [waypoint map uid]
*lets the character walk to a given wayoint

normal mode

Code: Select all

addcharacter [name]
*spawns a new character based on character definition given by name, you can repeat this several times

how to use this:

*go into editmode and add some waypoints:
/newent waypoint
*add a new character definiton, a temporary character will spawn in fron of you
/newcharacharacter mychar
*add some actions:
/appendactionwait mychar 0 5000
/appendactionspawn mychar 0 0
/appendactionmove mychar 0 1
/appendactionwait mychar 0 5000
/appendactionmove mychar 0 2
*leave editmode, your temp character will disapear
*spawn a real character
/addcharacter mychar
*and another one
/addcharacter mychar

have fun offtools.

Re: moviecube preview scheduled next Sunday

Posted: January 3rd, 2010, 10:40 am
by Mike
I made this an announcement :D I can't wait to check it out and I'll be sure to link this post when 2.4.1 comes out :D Thanks so much for your hard work offtools, I'm very excited to check it out :D Take care.
-mike

Re: moviecube preview scheduled next Sunday

Posted: January 10th, 2010, 8:49 pm
by offtools
we're a bit behind our deadline, but anyway. i uploaded some major changes into the svn:

recent changes:

*query model animations
*overwrites animations, overwrite IDLE animation by animation SWIM or an additional animation
*manage and run gestures (only basic commands)
*simple gui to manage characters and their actions

new commands for characters:

preloadmodel [path] - this will preload a playermodel and stores information about the animations for later use

appendactiondestroy [name] [state] - delete character
appendactionmodel [name] [state] [num] - change model, num is number of the model added by preloadmodel
appendactionspeed [name] [state] [speed] - change speed of the character
appendactionsetao [name] [state] [ao index] [animation num] - change standard animations of an character
appendactionsetgesture [anim num] - set gesture animation
appendactionsethold [name] [state] [anim num] - set animation if characters hold something in his hand
appendactiongesture [name] [state] [time in millisseconds] - do a gesture for several times

detailed docu later.

offtools.

Re: moviecube preview scheduled next Sunday

Posted: May 3rd, 2010, 3:17 pm
by GoBologna120
Do you think that eventually Moviecube could be implemented into Sandbox's other modes for cutscenes and stuff?

Re: moviecube preview scheduled next Sunday

Posted: May 31st, 2010, 8:35 am
by Mike
I think that is one of the main ideas :D I have to see what offtools is up to these days, last time I heard from him he had a crazy work schedule. Take care!
-mike

Re: moviecube preview scheduled next Sunday

Posted: May 9th, 2011, 1:08 pm
by salomonders
Boah Really Nice Tut.But i always when i add a waypoint my PAS crash.Do you know why?