[T1] Help with makin a movie

|baby|roach|
03-11-2003, 02:12 AM
I need to remove all the huds from my screen when I output a rec.
This is the script im using right now to do the outputting.
Is there any code that can be added to remove the huds?
thanks


// r33t screenshot dumping script
// produced by Brain^Virus, r33t scr1p70r

$filming = false;
$FPS = 25; // desired frames per second of the captured 'video'
$SPF = 1.0/$FPS; // seconds/frame. this is only here so i don't have to calculate it for each frame
$filmTimeScale = 1.0/ ($FPS + ($FPS/1.5)); // note that I *JUST* added this... it may puke on you... if it does, set it to 0.03 or lower
EditActionMap("playMap.sae");
bindcommand(keyboard0, make, "f9", TO, "roletape();"); // the on/off toggle
//bindcommand(keyboard0, break, "f9", TO, "");

function roletape(){
$filming = !$filming;
makeVideo();
}
function makeVideo(){
if($filming){
$lastSSTime = getSimTime();
$SimGame::TimeScale = $filmTimeScale;
function Game::EndFrame(){
%time = getSimTime();
if((%time - $lastSSTime) >= $SPF){
$lastSSTime = %time;
screenShot(mainWindow);
}
}
}
else{
function Game::EndFrame(){}
$SimGame::TimeScale = 1.0;
}
}

Mr. Hated
03-11-2003, 02:26 AM
the only way i know how to do that would be manually putting every hud in your script and turning them off... but im sure theres an easier way

cyclonite
03-11-2003, 02:51 AM
The easiest way is to just make a copy of your config with all the huds hidden and use that for movie making.

Wufei
03-13-2003, 10:49 AM
exactly what the above guy said. I have a seperate config folder along with a skins folder as well.