Raised This Month: $ Target: $400
 0% 

[L4D2] Slow motion revisited?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Cuthbert
Senior Member
Join Date: Nov 2009
Old 08-17-2010 , 13:55   [L4D2] Slow motion revisited?
Reply With Quote #1

We've seen a couple of pretty good plugins recently using slow motion (Zed Time and Karma Charge), but I'm wondering if anyone else can think of good ways to implement it? I love slow motion, but it's hard to make it work well in Versus games (most implementations just piss people off).

I'd like to see a plugin that allows you adjust:

A) the timescale of the slow motion (how fast/slow it goes, up to and including freezing time).

B) the duration of the slow motion.

C) the triggers for the slow motion.
Cuthbert is offline
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Old 08-18-2010 , 12:31   Re: [L4D2] Slow motion revisited?
Reply With Quote #2

PHP Code:
stock SlowTime(const String:desiredTimeScale[] = "0.2"Float:slow_Duration, const String:re_Acceleration[] = "2.0", const String:minBlendRate[] = "1.0", const String:blendDeltaMultiplier[] = "2.0")
{
    new 
ent CreateEntityByName("func_timescale");
    
    
DispatchKeyValue(ent"desiredTimescale"desiredTimeScale);
    
DispatchKeyValue(ent"acceleration"re_Acceleration);
    
DispatchKeyValue(ent"minBlendRate"minBlendRate);
    
DispatchKeyValue(ent"blendDeltaMultiplier"blendDeltaMultiplier);
    
    
DispatchSpawn(ent);
    
AcceptEntityInput(ent"Start");
    
    
CreateTimer(slow_Duration_revertTimeSlowent);
}

public 
Action:_revertTimeSlow(Handle:timerany:ent)
{
    if(
IsValidEdict(ent))
    {
        
AcceptEntityInput(ent"Stop");
    }

As for C), that can only be done writing a plugin.
AtomicStryker is offline
Cuthbert
Senior Member
Join Date: Nov 2009
Old 08-18-2010 , 16:33   Re: [L4D2] Slow motion revisited?
Reply With Quote #3

Sweet.

Last edited by Cuthbert; 08-18-2010 at 16:36.
Cuthbert is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:50.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode