How to implent cut scenes?
by Alexander B · in Torque 3D Professional · 02/22/2010 (6:31 am) · 48 replies
I want to have cutscenes in my game. Not ingame cutscenes like what GMK and Verve does but acual pre-made cutscenes.
What I want to do is get the cutsecene in an ogg file, make a trigger that activates the cutscene ingame and if possible goes to the next mission or the main menu.
I relize that I will probaly have to use theora but I don't really understand it or how to use it.
What I want to do is get the cutsecene in an ogg file, make a trigger that activates the cutscene ingame and if possible goes to the next mission or the main menu.
I relize that I will probaly have to use theora but I don't really understand it or how to use it.
#42
Works perfectly fine here. Video plays then loads the level.
Do you remember changing something before it stopped working?
Other than that, the only reason I can imagine right now is a race condition somewhere in the player code that will produce a false positive on the isPlaybackDone() call.
03/13/2010 (7:22 am)
Works perfectly fine here. Video plays then loads the level.
Do you remember changing something before it stopped working?
Other than that, the only reason I can imagine right now is a race condition somewhere in the player code that will produce a false positive on the isPlaybackDone() call.
#43
03/13/2010 (4:41 pm)
I am using the AIkit which changes my player.cs files. I would send you the files however that is not allowed. Is there a particular part of one of the the scripts that makes the cutscene work? Also if possible, please put in another trigger to launch another cutscene and let me know if it works.
#44
Anyway, even if you can't please just reply as quickly as you can as I need to finish this game soon. Thanks heaps for your help once again though :)
03/17/2010 (11:10 pm)
Rene, does it work? I hate to annoy you with this, but can we plase talk over some IM program as it would be a lot faster and easier rather then us both waiting ages for replies from each other on here. Anyway, even if you can't please just reply as quickly as you can as I need to finish this game soon. Thanks heaps for your help once again though :)
#45
EDIT: Sound in torque isn't working at all so theora is fine. Anyway my problems still exist. Are you able to do anything rene or as stuck as i am?
EDIT 2: Sounds fixed and theora works fine with sound.
EDIT 3: Could this help at all? http://www.torquepowered.com/community/forums/viewthread/41433
03/20/2010 (3:45 am)
Now there is no sound. I went back to an older version where I am sure the sound worked and it didn't. I am very confused. Theora is barley working so Rene, what can I do now?EDIT: Sound in torque isn't working at all so theora is fine. Anyway my problems still exist. Are you able to do anything rene or as stuck as i am?
EDIT 2: Sounds fixed and theora works fine with sound.
EDIT 3: Could this help at all? http://www.torquepowered.com/community/forums/viewthread/41433
#46
Sorry, heads deep in other stuff. Very little time at the moment.
Video sound showing problems may be related to the sound init problem I mentioned above. That is fixed in 1.1. IIRC that behavior could even be sporadic.
In my tests, GuiTheoraCtrl in T3D never showed signs of trouble but I have another round of testing on my list to happen before 1.1 final.
If there is no sound at all, then the sound init failed or wasn't run at all. I have changed the scripts in 1.1 to really exhaustively try all options available before failing on the sound init (in 1.0 it uses the current stored settings and just fails if they don't work).
The thread you refer to is using the exact same method as the code here (polling the playback status).
03/22/2010 (3:07 am)
Sorry, heads deep in other stuff. Very little time at the moment.
Video sound showing problems may be related to the sound init problem I mentioned above. That is fixed in 1.1. IIRC that behavior could even be sporadic.
In my tests, GuiTheoraCtrl in T3D never showed signs of trouble but I have another round of testing on my list to happen before 1.1 final.
If there is no sound at all, then the sound init failed or wasn't run at all. I have changed the scripts in 1.1 to really exhaustively try all options available before failing on the sound init (in 1.0 it uses the current stored settings and just fails if they don't work).
The thread you refer to is using the exact same method as the code here (polling the playback status).
#47
Also the sound is fine so no worry there thank god.
03/22/2010 (4:06 am)
Here is my updated scripts and GUI. It works by telling the game how long to show the cutscene for. Heres a link to the new GUI and trigger: mmorpglord.com/cutscene/Cutsceneupdated.rarAlso the sound is fine so no worry there thank god.
#48
03/25/2010 (7:55 pm)
Cutscenes have been fixed. I will post a resource soon on how to do it. Thanks rene and scooby for your help :)
Torque Owner Alexander B