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

[L4D2] Random / Next Map [v1.1 | 8 May 2021]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
pan0s
Senior Member
Join Date: Nov 2017
Plugin ID:
7628
Plugin Version:
1.1
Plugin Category:
General Purpose
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 05-03-2021 , 19:46   [L4D2] Random / Next Map [v1.1 | 8 May 2021]
    Reply With Quote #1

    Description:
    It is a very simple plugin for changing random /next map when the end of the finale chapter.
    Notice: You can add maps into the source only, no .txt/.cfg map list provided for editing.

    Update Log:
    Code:
    v1.1 (8 May 2021)
    - Added repeating random maps detection - Added random custom/official or both of custom/official maps
    v1.0 (4 May 2021)
    - Initialize plugin
    Admin commands
    • Type !rm to change a random map immediately.
    • Type !nm to change a next map immediately. (on the finale chapter only, if not, it will use a random map.)

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


    // Random map including official maps?
    // 0=Off, 1=On
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    14d2_random_offical_on "1"

    // How many random maps changed, then allow repeating changed maps?
    // 0=Never until all map changed once
    // -
    // Default: "0"
    // Minimum: "0.000000"
    l4d2_custom_random_repeat_num "0"

    // How many seconds does it wait for the changing map after finale win?
    // -
    // Default: "5.0"
    // Minimum: "0.000000"
    l4d2_maps_delay "5.0"

    // Next map is random?
    // 0=Off, 1=On
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d2_maps_random_on "1"

    // L4D2 auto change next map version
    // -
    // Default: "v1.1"
    l4d2_maps_version "v1.1"

    // Random map including custom maps?
    // 0=Off, 1=On
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d2_random_custom_on "1" 
    Notice:
    If you found anybugs, please feel free to let me know.

    Pre-Installation:
    Nope.

    Installation:
    unzip .zip to sourcemod directory.

    Translations:
    Only en, chi, zho
    Attached Files
    File Type: zip l4d2_nextmap_v1.1.zip (19.2 KB, 1089 views)
    __________________

    Last edited by pan0s; 03-24-2022 at 08:29.
    pan0s 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 15:21.


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