Raised This Month: $9 Target: $400
 2% 

[L4D2] Elevator Control (1.5) [18-May-2020]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Silvers
AlliedModders Donor
Join Date: Aug 2010
Location: SpaceX
Plugin ID:
6065
Plugin Version:
1.5
Plugin Category:
Fun Stuff
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    16 
    Plugin Description:
    Allows admins to control elevators.
    Old 03-31-2018 , 08:30   [L4D2] Elevator Control (1.5) [18-May-2020]
    Reply With Quote #1

    About:
    • Originally created on 17-Apr-2011.
    • Unreleased because of potential admin abuse against players.
    • Currently L4D2 only, but L4D1 is easily possible.


    Thanks:
    • Visual77 - For converting the plugin to the new syntax


    Supporting Other Maps:
    • Use Stripper Source to dump the map
    • Find the func_button or logic_relay which calls MoveToFloor
    • Copy the needed lines to open/close/move up/move down.
    • We copy the stuff instead of calling func_button so survivors can still press it.
    • Certain maps will not have a top/bottom floor, which must be created else it's one way.


    Admin Commands: (requires "z" flag)
    PHP Code:
    sm_lift    // Opens a menu to control doors/up/down/stop. 

    CVars:

    PHP Code:
    // Elevator Control plugin version.
    l4d_lift_version 

    Changes:
    Code:
    1.5 (18-May-2020)
        - Fixed the last updating breaking the plugin. Thanks to "DrDarkTempler" for reporting.
    
    1.4 (10-May-2020)
        - Various changes to tidy up code.
    
    1.3 (18-Jun-2018)
        - Added support for "c3m1_plankcountry" ferry crossing, as requested by "Pyc".
    
    1.2 (05-May-2018)
        - Converted plugin source to the latest syntax utilizing methodmaps. Requires SourceMod 1.8 or newer.
    
    1.1 (12-Apr-2018)
        - New Syntax - Thanks to "Visual77"
        - Added "Stop" elevator option.
        - Fixed not working after round restart.
    
    1.0 (31-Mar-2018)
        - Initial release.
        - Originally created on 17-Apr-2011.

    Installation:
    1. Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder.
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_lift_control.sp - 308 views - 20.2 KB)
    __________________

    Last edited by Silvers; 05-18-2020 at 11:59.
    Silvers is offline
    Crasher_3637
    AlliedModders Donor
    Join Date: May 2012
    Old 03-31-2018 , 10:39   Re: [L4D2] Elevator Control (1.0) [31-Mar-2018]
    Reply With Quote #2

    This sounds amazing, can't wait to try it out! Thanks for the release!
    __________________
    AFK like JFK
    Crasher_3637 is offline
    phoenix0001
    Senior Member
    Join Date: Apr 2010
    Location: China
    Old 03-31-2018 , 11:34   Re: [L4D2] Elevator Control (1.0) [31-Mar-2018]
    Reply With Quote #3

    Cool, perfect.
    __________________
    I like this BBS sharing of spirit

    I come from China, my English is poor
    phoenix0001 is offline
    Striker black
    Member
    Join Date: Apr 2013
    Old 04-02-2018 , 23:37   Re: [L4D2] Elevator Control (1.0) [31-Mar-2018]
    Reply With Quote #4

    Silver, I love all your accessories and best of all esque you're still alive, do you have steam account?
    Striker black is offline
    PepeZukas
    Member
    Join Date: Oct 2015
    Location: Banana Republic
    Old 04-03-2018 , 10:09   Re: [L4D2] Elevator Control (1.0) [31-Mar-2018]
    Reply With Quote #5

    lovely.
    PepeZukas is offline
    Silvers
    AlliedModders Donor
    Join Date: Aug 2010
    Location: SpaceX
    Old 04-12-2018 , 16:15   Re: [L4D2] Elevator Control (1.1) [12-Apr-2018]
    Reply With Quote #6

    Recommend updating to fix round_start throwing errors.
    __________________
    Silvers is offline
    PepeZukas
    Member
    Join Date: Oct 2015
    Location: Banana Republic
    Old 04-19-2018 , 09:27   Re: [L4D2] Elevator Control (1.1) [12-Apr-2018]
    Reply With Quote #7

    Code:
    Couldn't find any entities named elevator_ragdoll, which point_template elevator_template is specifying.
    WARNING: orator at 13631 15151 433 missing modelname
    Attempting to precache model, but model name is NULL
    Precache called on a point_template that has no templates: elevator_template
    PepeZukas is offline
    Pyc
    Senior Member
    Join Date: Jan 2014
    Old 06-12-2018 , 16:19   Re: [L4D2] Elevator Control (1.2) [05-May-2018]
    Reply With Quote #8

    hey! nice plugin! possible add boat? map c3m1
    Pyc is offline
    Silvers
    AlliedModders Donor
    Join Date: Aug 2010
    Location: SpaceX
    Old 06-17-2018 , 20:26   Re: [L4D2] Elevator Control (1.2) [05-May-2018]
    Reply With Quote #9

    Quote:
    Originally Posted by PepeZukas View Post
    Code:
    Couldn't find any entities named elevator_ragdoll, which point_template elevator_template is specifying.
    WARNING: orator at 13631 15151 433 missing modelname
    Attempting to precache model, but model name is NULL
    Precache called on a point_template that has no templates: elevator_template
    Afaik these are from the map itself and not the plugin.


    Quote:
    Originally Posted by Pyc View Post
    hey! nice plugin! possible add boat? map c3m1
    Added, thanks.
    __________________
    Silvers is offline
    PepeZukas
    Member
    Join Date: Oct 2015
    Location: Banana Republic
    Old 06-24-2018 , 12:23   Re: [L4D2] Elevator Control (1.3) [18-Jun-2018]
    Reply With Quote #10

    Is any way to add support for "c3m1_plankcountry" using version 1.1 encoding? My version of SM is 5949.
    PepeZukas is offline
    Reply


    Thread Tools
    Display Modes

    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:13.


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