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

[L4D2] Saferoom Lock: Scavenge (v1.2.2)[08-Oct-2022]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Earendil
Senior Member
Join Date: Jan 2020
Location: Spain
Plugin ID:
7687
Plugin Version:
1.2.2
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    2 
    Plugin Description:
    Players must complete a small scavenge event to unlock the saferoom
    Old 06-18-2021 , 13:18   [L4D2] Saferoom Lock: Scavenge (v1.2.2)[08-Oct-2022]
    Reply With Quote #1

    Saferoom Lock: Scavenge

    v 1.2.2



    Description:
    - Antirush plugin that forces the entire team of survivors to cooperate to complete the level.
    - Saferoom doors are blocked, when a player tries to open it the scavenge will begin.
    - Players must fill the generator with the required amount of gascans.
    - When the generator is filled, door will be unlocked and players will be able to pass to the next level.
    - Plugin includes an editor to allow server admins to customize the generator and gascan positions.
    - Plugin includes a generic config for maps to block saferoom door.
    - Not all maps have door blocked. I have not blocked doors in maps that have a final mini-gauntlet event like the rollercoaster in Dark Carnival, or the church holdout in Death Toll. If you want to block these saferoom doors, do it by yourself and don't ask me to do that.
    - This plugins supports translations (currently english and spanish).

    Credits:
    - Silvers: for helping with the standalone plugin to prevent the use of non-scavenge gascans.

    Installation:
    - Unzip the contents zip file inside left4dead2/addons/sourcemod.

    - Optional: [L4D2] Scavenge Pouring - Unleaded Gas only. Install Silvers plugin and set l4d2_block_gascan_types "1".
    Admin commands:
    PHP Code:
    sm_sls_menu // Open menu to edit scavenge item positions.
    sm_sls_editor <0/1// Toggles editor mode: 0 = editor off, 1 = editor on
    sm_sls_generator // Sets generator position
    sm_sls_genmodel <1-4>// Changes generator model
    sm_sls_nozzlepos <-1/0/1// Changes the position of the nozzle (-1 = left, 0 = center, 1 = right)
    sm_sls_gascan // Sets gascan spawn position
    sm_sls_save // Save map config into file
    sm_sls_mark // Mark entity for manipulation (unmarks previous entity)
    sm_sls_unmark // Unmark entity
    sm_sls_delete // Delete marked entity
    sm_sls_move // Move current marked entity
    sm_sls_rotate // Rotate current marked entity
    sm_sls_wipe // Wipe scavenge entities in the map
    sm_sls_load // Load map config 
    ConVars:
    PHP Code:
    // 0 = Plugin Off. 1 = Plugin On
    l4d2_sls_enable "1"

    // Amount of gascans needed to unlock saferoom.
    l4d2_sls_gascan_amount "8"

    // RGB color of the generator, separate values by commas, no spaces.
    // Use -1 on a value to make it random.
    l4d2_sls_generatorcolor "234,171,102"

    // RGB glowing color of the generator nozzle, separate values by commas, no spaces.
    // Use -1 on a value to make it random.
    l4d2_sls_nozzleglowcolor "255,31,26"

    // Sets the skin of the gascan. 0 = Random skin.
    // 1 = Orange skin. 2 = Green sking. 3 = Diesel skin.
    l4d2_sls_gascanskin "0"

    //Amount of panic events to create while scavenge is active and not completed. -1 = infinite
    l4d2_sls_panicamount "0" 
    Changelog:
    Code:
    * 1.2.2 (08-Oct-2022)
    - Fixed problems with custom maps/addons that created more scavenge events, deleting their entities.
    * 1.2.1 (20-Jul-2021)
    - Fixed bug on Dead Center, The Passing and The Last Stand finales, where map scavenges crashed after round restart.
    * 1.2 (05-Jul-2021)
    - Saferoom door outputs are unhooked when scavenge ends. - Fixed compatibility with Silvers plugin [L4D & L4D2] Saferoom Door Spam Protection 1.11+ - Thanks to GL_INS for reporting and testing. - Thanks to Silvers for support and showing and helping with compatibility.
    * 1.1.1 (29-Jun-2021)
    - Fixed an error in spanish translation causing some editor menu options to be displayed in spanish. - Deleted unused functions.
    * 1.1 (20-Jun-2021)
    - Fixed error with reading cfg file, thanks to VladimirTk for pointing the bug. - Saferoom door now is detected by its distance to the generator (prevents bugs). - Plugin can force panic events when scavenge starts (new ConVar).
    * 1.0 (18-Jun-2021)
    - Initial release.
    Attached Files
    File Type: zip l4d2_safelockscavenge.zip (69.0 KB, 350 views)

    Last edited by Earendil; 10-13-2022 at 05:55. Reason: Update to 1.2.2
    Earendil is offline
    Earendil
    Senior Member
    Join Date: Jan 2020
    Location: Spain
    Old 06-18-2021 , 13:18   Re: [L4D2] Saferoom Lock: Scavenge
    Reply With Quote #2

    Reserved for editor tutorial.
    Earendil is offline
    Sev
    Veteran Member
    Join Date: May 2010
    Old 06-18-2021 , 16:03   Re: [L4D2] Saferoom Lock: Scavenge
    Reply With Quote #3

    LMAO!

    What a great, innovative idea on such an old, longlasting issue.
    Sev is offline
    VladimirTk
    Senior Member
    Join Date: Apr 2021
    Location: Perú - Latino América
    Old 06-18-2021 , 18:52   Re: [L4D2] Saferoom Lock: Scavenge
    Reply With Quote #4

    Is an extra installation necessary or is it possible that this add-on collides with another? Maybe against SKYY events, install it where it should be and it does not generate the scavenge events that I mention
    What am I missing?
    Excuse me, I don't speak English at all
    VladimirTk is offline
    Earendil
    Senior Member
    Join Date: Jan 2020
    Location: Spain
    Old 06-19-2021 , 06:05   Re: [L4D2] Saferoom Lock: Scavenge
    Reply With Quote #5

    Quote:
    Originally Posted by VladimirTk View Post
    Is an extra installation necessary or is it possible that this add-on collides with another? Maybe against SKYY events, install it where it should be and it does not generate the scavenge events that I mention
    What am I missing?
    Excuse me, I don't speak English at all
    So the scavenge event is not called. Maybe some plugin is interfering and doesn't allow my plugin to find the saferoom door. So if you can see the generator in the map, but the door opens correctly and does not start the scavenge... Then yeah, we have a compatibility problem
    Earendil is offline
    VladimirTk
    Senior Member
    Join Date: Apr 2021
    Location: Perú - Latino América
    Old 06-19-2021 , 11:18   Re: [L4D2] Saferoom Lock: Scavenge
    Reply With Quote #6

    in console

    Configuration file "data/l4d2_safelockscavenge.txt" not found.
    Plugin can't spawn scavenge entities, plugin will not work.

    I checked that folder and if I have it installed

    Last edited by VladimirTk; 06-19-2021 at 11:19.
    VladimirTk is offline
    VladimirTk
    Senior Member
    Join Date: Apr 2021
    Location: Perú - Latino América
    Old 06-19-2021 , 11:28   Re: [L4D2] Saferoom Lock: Scavenge
    Reply With Quote #7

    Quote:
    Originally Posted by Earendil View Post
    So the scavenge event is not called. Maybe some plugin is interfering and doesn't allow my plugin to find the saferoom door. So if you can see the generator in the map, but the door opens correctly and does not start the scavenge... Then yeah, we have a compatibility problem

    I found the problem, it is because of the file type
    in its publication the file l4d2_safelockscavenge.cfg is downloaded
    but the plugin requires l4d2_safelockscavenge.txt


    Here

    addons/sourcemod/data/l4d2_safelockscavenge.txt

    -----------------------------------------------------------

    I really liked your plugin so they no longer rushean on my server, thanks
    Attached Files
    File Type: txt l4d2_safelockscavenge.txt (100.9 KB, 244 views)

    Last edited by VladimirTk; 06-19-2021 at 11:30.
    VladimirTk is offline
    Earendil
    Senior Member
    Join Date: Jan 2020
    Location: Spain
    Old 06-20-2021 , 12:48   Re: [L4D2] Saferoom Lock: Scavenge
    Reply With Quote #8

    Quote:
    Originally Posted by VladimirTk View Post
    I found the problem, it is because of the file type
    in its publication the file l4d2_safelockscavenge.cfg is downloaded
    but the plugin requires l4d2_safelockscavenge.txt
    Ok now plugin should work with .cfg file, thanks.
    Earendil is offline
    Maur0
    Senior Member
    Join Date: Aug 2020
    Old 06-21-2021 , 13:21   Re: [L4D2] Saferoom Lock: Scavenge
    Reply With Quote #9

    Hello. I loved this plugin and it makes it a challenge when it comes to testing to reach the saferoom by completing one last objective.

    Even so, with version 1.1 it improved and now it works perfect. But there is a problem, when I start the scavenge and I go to place the cans, it does not make a notification noise and it shows me on the HUD how many cans we have completed. Even so when I fill all the cans on the map, the door remains unlocked but the HUD stays at 0/8 without even counting the cans you filled.

    I do not know what this problem will be and I do not know what error it will be. If you know, I appreciate it.
    Maur0 is offline
    Sev
    Veteran Member
    Join Date: May 2010
    Old 06-25-2021 , 06:10   Re: [L4D2] Saferoom Lock: Scavenge
    Reply With Quote #10

    Sometimes some of the cans don't spawn. Not sure if its a config issue or whatnot when it picks the cans to spawn. No error in the logs either.

    Last edited by Sev; 06-25-2021 at 06:10.
    Sev 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 13:34.


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