Originally Posted by
best22
Whats upper number, dude?
BTW Thanks,
@best22
Have you looked in the GSC Rip Collection?
I am sure you would have found almost all your answers.
Because the Kill-cam is in slow motion.
And this: NB, Ages since I did this.
Code:
doFinalKillCamFX( camTime ) //So you can thread this and set the camtime.
{
if ( isDefined( level.doingFinalKillcamFx ) ) //If the game is doing Killcam
return; //Returning nothing.
level.doingFinalKillcamFx = true; // setting the killcam is happening now.
intoSlowMoTime = camTime; //Setts the "injected" killcam time to the intoSlowMoTime variable.
if ( intoSlowMoTime > 1.0 ) //If the intSlowMoTime is Bigger/greater then 1.0
{
intoSlowMoTime = 1.0; //Sets the intoSlowMoTime to 1.0 - Think that is the default value.
wait( camTime - 0.5 ); // Wait's for the camTime to do the - operation.
}
setDvar( "timescale", 1.0 ); //Using the SlowMotion dvar to set the slow-motion.
wait( intoSlowMoTime + .5 ); //Waiting to do the + operation.
setDvar( "timescale", 1.0 ); //Setting the slowmotion to default value
level.doingFinalKillcamFx = undefined; // the killcam is currently unknown if its happening.
}
Remember, I might not be 100% right. Since it's long time since I have done this.