Game Demo recording headaches
by Lateral Punk · in Torque Game Engine · 10/20/2004 (12:41 pm) · 6 replies
Hi,
I want to make 'replays' of my games so that they can be played once the game is over and the score board is up (kinda like what you see in the need for speed games). I figured using Torque game demo recording feature is what i'm looking, as oppose to journaling. Is this correct, or can jornaling be also uselful for me? Assuming, that game recording is what i should be using, i will like to explain to you my problems. I startup my mission, then press F3 to startrecording. play for a while, and the press F4 to stop the recording. Then i check my recordings directory and a see a new .rec file. So far so good. Then i exit the mission, and back at the main menu, I have bound F2 to load the recordings dialog. there i choose my recording to play back. and unfortunately my game crashes. May i add i am using 1.2.2 with Synapases lighting pack attached. here is where the game crashes when i try to play back any recordings that i make:
it seems that mDataBlock is NULL, and that's why the game is crashing. May i also add, that my client is a flying vehicle and NOT a player class. I'm making a flight simulator. So i'm just confused wrt whether the acutal recording process was buggy or the playback is. any help is greatly appreciated. also, if anyone can suggest another way of getting the same behaviour would be great. I did a search on the forums for recordings, and I read a lot of messages claiming that recordings is not a fully working feature. is this true? What are it's limitations?
thanks
I want to make 'replays' of my games so that they can be played once the game is over and the score board is up (kinda like what you see in the need for speed games). I figured using Torque game demo recording feature is what i'm looking, as oppose to journaling. Is this correct, or can jornaling be also uselful for me? Assuming, that game recording is what i should be using, i will like to explain to you my problems. I startup my mission, then press F3 to startrecording. play for a while, and the press F4 to stop the recording. Then i check my recordings directory and a see a new .rec file. So far so good. Then i exit the mission, and back at the main menu, I have bound F2 to load the recordings dialog. there i choose my recording to play back. and unfortunately my game crashes. May i add i am using 1.2.2 with Synapases lighting pack attached. here is where the game crashes when i try to play back any recordings that i make:
it seems that mDataBlock is NULL, and that's why the game is crashing. May i also add, that my client is a flying vehicle and NOT a player class. I'm making a flight simulator. So i'm just confused wrt whether the acutal recording process was buggy or the playback is. any help is greatly appreciated. also, if anyone can suggest another way of getting the same behaviour would be great. I did a search on the forums for recordings, and I read a lot of messages claiming that recordings is not a fully working feature. is this true? What are it's limitations?
thanks
#2
This is the wrong area of the forums to post code. Please edit your post and try the Private SDK forums.
Thanks.
10/21/2004 (6:24 pm)
Kuni,This is the wrong area of the forums to post code. Please edit your post and try the Private SDK forums.
Thanks.
#3
10/22/2004 (6:10 am)
Sorry about that. I just removed the code. Anyways, I wouldn't mind trying the latest lighting pack update, but i still must ask you. Does recording work flawlessly for you? I mean i tried it on a barebone 1_2_2 build, and it was far from perfect. It would only playback the last few seconds of the recording, the rest of the time was spent just loading the recording up. I don't really want to update to the new lighting pack just to get recordings working if they aren't compleete in the first place. please let me know
#4
It's working perfectly, but as far as I remember I've fixed some issues, since it's done a long time ago I don't remember exactly where the fixes are, but I'll see if I can make a diff to find these.
10/23/2004 (2:46 pm)
Kuni, It's working perfectly, but as far as I remember I've fixed some issues, since it's done a long time ago I don't remember exactly where the fixes are, but I'll see if I can make a diff to find these.
#5
At least that's the behavior I get with recordings.
Nick
10/25/2004 (5:07 am)
That's right, it doesn't work flawlessly with stock TGE. It skips the beginning and the camera seems to be shifted a little to the left. And sometimes, playback crashes the engine.At least that's the behavior I get with recordings.
Nick
#6
can you explain to me if updating to the latest lighting pack should do the job? Or is it more than that. preferablly i don't want to update, becasue i don't want to break anything else. If you can direct me to where the fixes that relate only to recordings are, that would be great. or else just tell me to strictuly upgrade would be great help too.
thanks
10/26/2004 (7:42 am)
Marcelo,can you explain to me if updating to the latest lighting pack should do the job? Or is it more than that. preferablly i don't want to update, becasue i don't want to break anything else. If you can direct me to where the fixes that relate only to recordings are, that would be great. or else just tell me to strictuly upgrade would be great help too.
thanks
Torque Owner Marcelo Oliveira
Recordings and playing is working ok on my games.