video capture of the action

Posted By: CItrok

video capture of the action - 01/26/10 23:16

Is there any way I can record (video capture) of the movement in a terrain by any function in Lite-C?

Thanks.
Posted By: Razoron

Re: video capture of the action - 01/27/10 13:59

For what you want to record the movement? You can use fraps or apply a VIEW to an entity.
Posted By: Felixsg

Re: video capture of the action - 01/28/10 08:48

yes gstudio have a funtion
but I not renember what are
Posted By: MrGuest

Re: video capture of the action - 01/29/10 02:11

sys_record(STRING*, var mode)
then
sys_replay(STRING*)
Posted By: CItrok

Re: video capture of the action - 01/29/10 22:46

Thanks mr guest, I will try that one and give an update and the code.

Razoron, I need to know that was my path and my movement when I "done it the wrong way". (e.g. I crashed my plane)
Posted By: CItrok

Re: video capture of the action - 02/09/10 23:14

as a result of your help here the result. the code to record the movement of the camera and also of the entities. The 3 functions perform, record, stop record, and play the recording.

ofcourse in main() you should activate these functions. eg: by f1,f2, and f3

on_f1 = make_cutscene;
on_f2 = play_cutscene;
on_f3 = stop_record;

////////////////////////////////////
function make_cutscene()
{

game_save("record",1,SV_ALL-SV_INFO);
wait(1);
sys_record("record.rec",3);
}

function stop_record()
{
sys_record("record",3);
}

function play_cutscene()
{
game_load("record",3);
wait(1);
sys_replay("record.rec");
}
///
© 2024 lite-C Forums