• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Request] Final killcam Slowmo only on predefined maps.
#1
Hello, before i had slowmo killcam but too many players was whining that its too laggy or too stupid, but i (not only me) like it and i was looking a way to make it torn on\off, but i didnt found anything. now i think what if it possible to place a code that will torn on slowmo in some maps.

if(getDvar("mapname") == "mp_favela")
{
do_slowmo
}

But im not sure if there exist any dvars or commands for torning on slowmo. It would be greate if some of you help me with this. Thank you.
  Reply
#2
solved

Code:
doFinalKillCamFX( camTime )
{
    if ( isDefined( level.doingFinalKillcamFx ) )
        return;
    level.doingFinalKillcamFx = true;
    if(getDvar("mapname") == "mp_rust"  || getDvar("mapname") == "mp_quarry" )
    {
    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;
    }
    else
    {
        intoSlowMoTime = camTime;
    if ( intoSlowMoTime > 1.5 )
    {
        intoSlowMoTime = 1.5;
        wait( camTime - 1.5 );
    }
    
    setDvar("timescale", 1);
    wait( intoSlowMoTime + 1 );
    setDvar("timescale", 1);
    
    level.doingFinalKillcamFx = undefined;
    }
}
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Problem with Rain Effects on Maps mitchhacker 5 4,409 10-22-2013, 00:46
Last Post: mitchhacker
  Search Plugin Fluid Killcam N3xT_974 1 2,839 09-10-2013, 20:27
Last Post: Nekochan
  [Release] Semi hardcore 1.1 beta (Killcam on and ff off) atenziono 61 34,921 08-09-2013, 18:13
Last Post: OzonE
Star [Release] 8 new Zombie maps for ItsZombieMod mahafy00 31 31,707 07-20-2013, 07:28
Last Post: benm4a
  [Release] Clean Maps of DObjs Yamato 13 8,535 06-15-2013, 10:51
Last Post: Yamato
Information [Tutorial] Adding DLC Maps as Custom Maps. Nekochan 151 137,401 05-25-2013, 01:05
Last Post: Nero Z zero
  QS Mod by GeKKo v 6.5 with Custom Maps GeKKoFL0X 35 28,631 05-21-2013, 19:30
Last Post: [HARD] Tony.
Star [Release] xKMod LIVE v1.1 - Final Release | Competitive Mod XeroK 1,375 805,058 05-05-2013, 19:14
Last Post: ulli_123
  Playable DLC maps. Erik The Born 4 3,794 03-08-2013, 17:30
Last Post: Erik The Born
  for new DLC maps First_Semyon 4 3,414 02-04-2013, 12:03
Last Post: JariZ

Forum Jump:


Users browsing this thread: 1 Guest(s)