Raised This Month: $32 Target: $400
 8% 

[L4D2] Matrix Time (V1.3)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Caps Lock Fuck Yeah
Member
Join Date: Oct 2010
Plugin ID:
2174
Plugin Version:
1.3
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    1 
    Plugin Description:
    Survivors get slow-mo time for killing infected
    Old 01-15-2011 , 07:40   [L4D2] Matrix Time (V1.3)
    Reply With Quote #1

    Hello.
    This is my first plugin that actually provides some content.
    What it does is when the survivors kill a specific number of zombies(configurable by cvar), They can activate a period of slow-motion(Also configurable by cvar).
    The cvars are...
    Code:
    // This file was auto-generated by SourceMod (v1.4.0-dev)
    // ConVars for plugin "l4d2_matrix_time.smx"
    
    
    // Should a message be announced when you activate slowdown?
    // -
    // Default: "0"
    l4d2_mt_adminannounce "0"
    
    // Matrix time duration, multiplied by resulting timescale modification
    // -
    // Default: "10"
    l4d2_mt_duration "10"
    
    // Zombie glow color
    // -
    // Default: "255"
    l4d2_mt_glowcolor "255"
    
    // Should infected glow during matrix time?
    // -
    // Default: "1"
    l4d2_mt_glowenabled "1"
    
    // Kills needed to enable matrix time
    // -
    // Default: "50"
    l4d2_mt_killsneeded "50"
    
    // Matrix timescale multiplier
    // -
    // Default: "0.2"
    l4d2_mt_multiplier "0.2"
    
    // Reset the players killcount at round end?
    // -
    // Default: "0"
    l4d2_mt_resetonend "0"
    
    // Current version of Matrix Time
    // -
    // Default: "1.1"
    matrixtime_version "1.1"
    There are 2 commands
    • sm_matrixkills - Shows how many more kills are needed to be able to activate Matrix Time
    • sm_forcematrix - Admin command, Toggles Slow Motion for a specified amount of time

    A youtube video is here, I made it at 40 am in 10 minutes, so i will probably upload a new one sometime later.
    Code:
    http://www.youtube.com/watch?v=l2pbpT709LA
    Credit goes to McFlurry for his work in the l4d2 Zed Time plugin.

    Update 1.1
    Code:
    Added Green colored text
    When a client activates Matrix Time, A message is printed with their name, and expected duration
    Added a check so that Matrix Time can only be run by one person at a time
    Added a bot-check.
    Changed the activation method from Crouch and Shoot, to Crouch and +use
    Update 1.2
    Code:
    Added 2 new cvars(l4d2_mt_glowenabled,l4d2_mt_glowcolor)
    l4d2_mt_glowenabled makes every common zombie glow.
    l4d2_mt_glowcolor changes the glow color, it has an interesting way of working, so try it out, 255 is bright red, 255255255 is banana yellow.
    Update 1.3
    Code:
    Added 2 new admin commands, sm_glowzomies, sm_stopglow
    Fixed a rather silly spelling error
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d2_matrix_time.sp - 4294 views - 8.3 KB)

    Last edited by Caps Lock Fuck Yeah; 03-04-2011 at 18:43. Reason: Update 1.3
    Caps Lock Fuck Yeah is offline
    Zbeer
    SourceMod Donor
    Join Date: Aug 2010
    Old 01-15-2011 , 08:44   Re: [L4D2] Matrix Time
    Reply With Quote #2

    Nice ideia, but I think that must be improved it with some cvars:

    - matrix time after activating witch or tank;
    - matrix time after killing witch or tank;
    - matrix time by killing classes (example: only boomer);
    - matrix time only for the killer (when killing infecteds).

    Thanks!
    Zbeer is offline
    Elektramode
    Senior Member
    Join Date: Mar 2010
    Old 01-15-2011 , 09:04   Re: [L4D2] Matrix Time
    Reply With Quote #3

    Quote:
    Originally Posted by Zbeer View Post
    Nice ideia, but I think that must be improved it with some cvars:

    - matrix time after activating witch or tank;
    - matrix time after killing witch or tank;
    - matrix time by killing classes (example: only boomer);
    - matrix time only for the killer (when killing infecteds).

    Thanks!
    If you want all of that then go download Mcflurries version of this, its pretty much what you mentioned, I recommend with this is to take a different approach with the slow motion plugin
    Elektramode is offline
    mugen
    Member
    Join Date: Jun 2010
    Old 01-15-2011 , 10:34   Re: [L4D2] Matrix Time
    Reply With Quote #4

    Gj CAPSLOCK works no errors im happy with it cooll future keep it on.Keep it simple thats the best

    Maby you can make the
    Announcement a nice color -_-

    Last edited by mugen; 01-15-2011 at 10:41.
    mugen is offline
    Zbeer
    SourceMod Donor
    Join Date: Aug 2010
    Old 01-15-2011 , 11:35   Re: [L4D2] Matrix Time
    Reply With Quote #5

    Quote:
    Originally Posted by Elektramode View Post
    If you want all of that then go download Mcflurries version of this, its pretty much what you mentioned, I recommend with this is to take a different approach with the slow motion plugin
    Wow! Thanks. It is all there!
    Zbeer is offline
    Caps Lock Fuck Yeah
    Member
    Join Date: Oct 2010
    Old 01-17-2011 , 15:40   Re: [L4D2] Matrix Time
    Reply With Quote #6

    Update 1.1
    See update log in OP
    Caps Lock Fuck Yeah is offline
    Caps Lock Fuck Yeah
    Member
    Join Date: Oct 2010
    Old 01-18-2011 , 18:16   Re: [L4D2] Matrix Time
    Reply With Quote #7

    Update 1.2
    Check updatelog

    EDIT: If anyone has any ideas or requests that they would like to see, leave a message and i'll try my best to implement them.

    Last edited by Caps Lock Fuck Yeah; 01-18-2011 at 18:21.
    Caps Lock Fuck Yeah is offline
    Caps Lock Fuck Yeah
    Member
    Join Date: Oct 2010
    Old 03-04-2011 , 18:44   Re: [L4D2] Matrix Time (V1.3)
    Reply With Quote #8

    UpdateBump
    Still taking requests
    Caps Lock Fuck Yeah is offline
    w1nk
    Junior Member
    Join Date: Sep 2010
    Old 03-05-2011 , 07:18   Re: [L4D2] Matrix Time (V1.3)
    Reply With Quote #9

    Difference between this one?
    w1nk is offline
    Caps Lock Fuck Yeah
    Member
    Join Date: Oct 2010
    Old 03-05-2011 , 16:21   Re: [L4D2] Matrix Time (V1.3)
    Reply With Quote #10

    Quote:
    Originally Posted by w1nk View Post
    Difference between this one?
    If you cared to read either plugin, his only works when you kill a zombie, or use a pipe-bomb.
    Mine waits until survivors get a certain amount of kills, and allows them to press Crouch+Use to trigger slow-motion.
    Caps Lock Fuck Yeah 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 02:26.


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