Thread Rating:
  • 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,854 10-22-2013, 00:46
Last Post: mitchhacker
  Search Plugin Fluid Killcam N3xT_974 1 3,063 09-10-2013, 20:27
Last Post: Nekochan
  [Release] Semi hardcore 1.1 beta (Killcam on and ff off) atenziono 61 37,876 08-09-2013, 18:13
Last Post: OzonE
Star [Release] 8 new Zombie maps for ItsZombieMod mahafy00 31 33,037 07-20-2013, 07:28
Last Post: benm4a
  [Release] Clean Maps of DObjs Yamato 13 9,408 06-15-2013, 10:51
Last Post: Yamato
Information [Tutorial] Adding DLC Maps as Custom Maps. Nekochan 151 155,974 05-25-2013, 01:05
Last Post: Nero Z zero
  QS Mod by GeKKo v 6.5 with Custom Maps GeKKoFL0X 35 30,650 05-21-2013, 19:30
Last Post: [HARD] Tony.
Star [Release] xKMod LIVE v1.1 - Final Release | Competitive Mod XeroK 1,375 882,305 05-05-2013, 19:14
Last Post: ulli_123
  Playable DLC maps. Erik The Born 4 4,198 03-08-2013, 17:30
Last Post: Erik The Born
  for new DLC maps First_Semyon 4 3,837 02-04-2013, 12:03
Last Post: JariZ

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.