Raised This Month: $12 Target: $400
 3% 

[L4D2] Elevator Control (1.7) [11-Dec-2022]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Plugin ID:
6065
Plugin Version:
1.7
Plugin Category:
Fun Stuff
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    8 
    Plugin Description:
    Allows admins to control elevators.
    Old 03-31-2018 , 07:30   [L4D2] Elevator Control (1.7) [11-Dec-2022]
    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 the Lift Commands menu.
    sm_lift_up      // Makes lifts move up.
    sm_lift_down    // Makes lifts move down.
    sm_lift_open    // Opens lift doors.
    sm_lift_close   // Closes lift doors.
    sm_lift_stop    // Makes lifts stop moving. 

    CVars:

    PHP Code:
    // Elevator Control plugin version.
    l4d_lift_version 

    Changes:
    Code:
    1.7 (11-Dec-2022)
        - Changes to fix compile warnings on SourceMod 1.11.
    
    1.6 (07-Oct-2021)
        - Added commands: "sm_lift_up", "sm_lift_down", "sm_lift_open", "sm_lift_close", "sm_lift_stop" to control the lift.
    
    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 - 311 views - 22.1 KB)
    __________________

    Last edited by Silvers; 12-10-2022 at 20:25.
    Silvers is offline
    Psyk0tik
    Veteran Member
    Join Date: May 2012
    Location: Homeless
    Old 03-31-2018 , 09: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!
    __________________
    Psyk0tik is offline
    phoenix0001
    Senior Member
    Join Date: Apr 2010
    Location: China
    Old 03-31-2018 , 10: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 , 22: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 , 09:09   Re: [L4D2] Elevator Control (1.0) [31-Mar-2018]
    Reply With Quote #5

    lovely.
    PepeZukas is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 04-12-2018 , 15: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 , 08: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 , 15: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
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 06-17-2018 , 19: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 , 11: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 07:38.


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