ItsMods
Final killcam slowmo thing - Printable Version

+- ItsMods (https://www.itsmods.com)
+-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html)
+--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html)
+--- Thread: Final killcam slowmo thing (/Thread-Final-killcam-slowmo-thing.html)



Final killcam slowmo thing - RaZ - 08-22-2012

One of my friend asked me to write a mod for him, what is slowing down the time in the final killcam.

I think I need the killcam.gsc, but I don't where to place the timescale command and how to place it for only final killcam.
He also wants a final killcam for the last kill if timelimit reached.

Also @G-Man told me I need to use an onEnd trigger, but idk how to use it.

Gametype is war/tdm and sometimes sd.

Ideas?


RE: Final killcam slowmo thing - Arteq - 08-22-2012

onEnd does not exist, I said you have to code it Tongue


RE: Final killcam slowmo thing - Sauna - 08-22-2012

i dont fully understand what you looking fore, coz final killcam slowmo popular mod.

Download and put it on MAIN folder...


you can regulate it here
open iw_30.iwd
open killcam.gsk

doFinalKillCamFX( camTime )
{
if ( isDefined( level.doingFinalKillcamFx ) )
return;
level.doingFinalKillcamFx = true;

intoSlowMoTime = camTime;
if ( intoSlowMoTime > 0.5 )
{
intoSlowMoTime = 0.5;
wait( camTime - 0.5 );
}

setDvar("timescale", .08);
wait( intoSlowMoTime + .08 );
setDvar("timescale", 1);

level.doingFinalKillcamFx = undefined;
}


if there is time limit, make it with time and with 99999999999 points, then at the last 5 seconds make it to give 99999999999 points for kill... idk maybe will help )


RE: Final killcam slowmo thing - Yamato - 08-22-2012

In _killcam.gsc change this numbers

Code:
setSlowMotion( 1.0, 0.25, intoSlowMoTime ); // start timescale, end timescale, lerp duration wait( intoSlowMoTime + .5 ); setSlowMotion( 0.25, 1, 1.0 );



RE: Final killcam slowmo thing - RaZ - 08-22-2012

Will try out all tomorrow.