This site is a testing version, but all data is shared with the live forum.


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

[L4D2] AMMO PILES WITH LASER BOX v2 (EDITED)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Pizza baiana
Junior Member
Join Date: Jun 2023
Plugin ID:
8484
Plugin Version:
1.0
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    spawns laser crates along with any ammo stack (WORKS IN CUSTOMIZED CAMPAIGNS)
    Unapprover:
    Reason for Unapproving:
    Simply changed the cvar value, nothing different. Original thread already includes one that generates a config.
    Old 06-06-2023 , 15:20   [L4D2] AMMO PILES WITH LASER BOX v2 (EDITED)
    Reply With Quote #1

    CREDITS TO THE ORIGINAL PLUGIN CREATOR:

    bullet28

    original plugin: https://forums.alliedmods.net/showthread.php?p=2720162

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

    DESCRIPTION:


    this sourcemod is an edit of the plugin that gives a chance for laser crates to appear alongside any ammo piles you find across the maps you play.

    in the original plugin there was a problem that could become tiresome for those who use it on a daily basis:

    - the original plugin did not generate a cfg for the user to configure the spawn chance of appearing in the saferoom, so the user needed to use two cvars at all times to determine these two options, which made everything tiring.

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

    ABOUT THE TWO VERSIONS:


    -lfd_laserStackSpawnV2_NOsaferoom =

    (the laser box will appear along with all ammo piles scattered around the map but will not appear in the saferoom)

    -lfd_laserStackSpawnV2_YESsaferoom =

    (the laser box will appear along with all the ammo piles scattered around the map and will also appear in the saferoom)

    ============================================

    CVARS:

    lfd_laserStackSpawnV2_NOsaferoom:

    laser_autospawn_chance "100" - Chance of a laser box spawning on the ammo pile
    laser_autospawn_ignoresaferoom "1" - If set to 1 the laserboxes will not spawn in the saferoom

    lfd_laserStackSpawnV2_YESsaferoom:


    laser_autospawn_chance "100" - Chance of a laser box spawning on the ammo pile
    laser_autospawn_ignoresaferoom "0" - If set to 1 the laserboxes will not spawn in the saferoom


    in this v2 version you will still be able to manually edit the cvars.
    ============================================

    VARIATION OF THIS PLUGIN:

    there is another version of the same plugin edited and posted in the BloodyBlade comments that has some cvar improvements, if you feel interested in taking a look:

    https://forums.alliedmods.net/showpo...61&postcount=4

    (CREDITS: BloodyBlade)

    ============================================
    INSTALLATION:

    download the file and paste it in:

    \Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\plugins
    Attached Thumbnails
    Click image for larger version

Name:	1.jpg
Views:	156
Size:	77.1 KB
ID:	200801  
    Attached Files
    File Type: sp Get Plugin or Get Source (lfd_laserStackSpawnV2_YESsaferoom.sp - 126 views - 3.7 KB)
    File Type: sp Get Plugin or Get Source (lfd_laserStackSpawnV2_NOsaferoom.sp - 131 views - 3.7 KB)

    Last edited by Pizza baiana; 06-08-2023 at 08:31.
    Pizza baiana is offline
     



    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 05:04.


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