Raised This Month: $ Target: $400
 0% 

[L4D2] Nuke - v1.5 | The City Will Get Nuked After Countdown Time Passes


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
alasfourom
Senior Member
Join Date: Feb 2022
Location: Saudi Arabia
Plugin ID:
8133
Plugin Version:
1.4
Plugin Category:
Fun Stuff
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    City Will Be Nuked After Countdown Time Passes
    Old 07-24-2022 , 21:16   [L4D2] Nuke - v1.5 | The City Will Get Nuked After Countdown Time Passes
    Reply With Quote #1

    About:
    • A missile was launched by the government to stop the virus spread
    • The countdown will start after the survivors leave the saferoom
    • The only way to stop the countdown is by reaching the check point


    Description:
    • Nuke countdown will start as soon as a survivor leaves the saferoom, when time reaches ZERO, survivors will be nuked, with explosions and white fading effect, and then players will be incapped and slayed later on. Countdown only stop when a survivor reaches the check point.


    Thanks:
    • Grey83: Rewrote the whole script, and fixed errors
    • honorcode23 (l4d2_custom_commands): Since explosion script was taken from it
    • Peace-Maker: Understanding the concept of fading
    • Silvers: For F18 Airstrikes Plugin (modified by SupermenCJ) Multiple script fixes, and fixed a bug


    Video:

    Commands:
    • sm_nuke > Print Nuke Countdown To Players


    Cvars:
    • A file named "L4D2_Nuke.cfg" will be created in "\cfg\sourcemod" folder.

    PHP Code:
    // This file was auto-generated by SourceMod (v1.11.0.6884)
    // ConVars for plugin "L4D2_Nuke.smx"


    // Enable L4D2 Nuke Plugin
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d2_nuke_enable "1"

    // Set The Time In Seconds At Which Players Will Be Nuked
    // -
    // Default: "600.0"
    // Minimum: "1.000000"
    // Maximum: "5400.000000"
    l4d2_nuke_timer "600.0"

    // At What Time In Seconds You Want The Hint Text Announcement To Be Displayed
    // -
    // Default: "90.0"
    // Minimum: "0.000000"
    // Maximum: "5400.000000"
    l4d2_nuke_announcer "90.0"

    // Allow Nuke Plugin At Finals Only
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d2_nuke_finals "1"

    // Pausing Nuke Countdown When A Survivor Reaches The Check Point
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d2_nuke_pause "1"

    // Allow Explosion Effect When Players Are Nuked [ Disable If The Explosion Crashes Your Game ]
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d2_nuke_explosion "1"

    // Allow White Fading Effect When Players Are Nuked
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d2_nuke_fade "1"

    // Display Nuke Warning Text When Players Leave Saferoom
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d2_nuke_warning "1" 

    Requirements:
    • None


    Versions:
    • For the main plugin L4D2_Nuke.smx > This one is tested and is working fine, but not using the F18 Airstrike
    • For L4D2_Nuke_v2.0.smx > This version was untested enough, it combined f18 Airstrike plugin by Silvers


    Installation:
    • Put the "L4D2_Nuke.smx" file in your "\addons\sourcemod\plugins" folder.
    • If you are planning to use "L4D2_Nuke_v2.0.smx" you need to remove the old plugin (L4D2_Nuke.smx located in "\addons\sourcemod\plugins" folder) and the old cfg file (L4D2_Nuke.cfg located in "\addons\sourcemod\plugins" folder), then put the new "L4D2_Nuke_v2.0.smx" in "\addons\sourcemod\plugins" folder.


    Updates:
    Code:
    • 06/9/2022 > Version 2.0: Added a test version, combied with Silvers F18 Airstrike plugin
    • 02/8/2022 > Version 1.5: Added a new cvar to allow plugin only at final maps
    • 31/7/2022 > Version 1.4: Added a new cvar requested by MedicDTI
    • 31/7/2022 > Version 1.3: Multiple countless fixes by Silvers
    • 30/7/2022 > Version 1.2.4: Thanks To Silvers, fixed a bug
    • 30/7/2022 > Version 1.2.3: Added a new cvar to enable/disable plugin, fixed a bug
    • 28/7/2022 > Version 1.2.2: Tried to fix a bug, Thanks Grey83
    • 26/7/2022 > Version 1.2.1: Changed the method to incap players to "SDKHooks_TakeDamage"
    • 26-7-2022 > Version 1.2: Added fading effect, incap players Before slaying to be more realastic and added 2 more cvars
    • 26-7-2022 > Version 1.1: Fixed announcement timer
    • 24-7-2022 > Version 1.0: Initial release
    Attached Files
    File Type: sp Get Plugin or Get Source (L4D2_Nuke.sp - 590 views - 11.2 KB)
    File Type: sp Get Plugin or Get Source (L4D2_Nuke_v2.0.sp - 530 views - 31.8 KB)

    Last edited by alasfourom; 09-07-2022 at 18:14. Reason: Updated
    alasfourom 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 00:59.


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