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

[L4D2] MixMap - (1.1) [22/Oct/2023]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
yuzumi
Member
Join Date: Jul 2020
Plugin ID:
8573
Plugin Version:
1.1
Plugin Category:
Fun Stuff
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Random map at the map transition.
    Old 10-21-2023 , 23:51   [L4D2] MixMap - (1.1) [22/Oct/2023]
    Reply With Quote #1



    About:
    • Random map at the map transition.
    • Support player item transition. (using valve landmark and changelevel entity)
    • Support setting the maximum of random map that can be triggered throughout the process from first map to final map.
    • Support add map to random map list setting.

    Requirements:
    • Sourcemod 1.11+

    Admin Commands: (requires "z" flag)
    PHP Code:
    // add map to random map list (If the required requirements are met)
    sm_rm_addconfig
    // reload random map list
    sm_rm_reload 
    CVars:
    PHP Code:
    // 0 - plugin disable, 1 - plugin enable
    random_map_enable 1

    // Chance of random map in map transition
    random_map_chance 0.5

    // 0 = Use the entire random list, 1 = Use only official maps from random list
    random_map_only_official 1

    // Maximum number of random maps that can be triggered throughout the entire process from the first map to the final map
    random_map_max_mix_count 
    Known Issue:
    • If the item carried during the transition do not exist on the map after the transition, they will disappear or report an error. (ex. Melee weapons not unlocked on post-transition map)
    • If you unload the plugin on the way to use it, it will cause the safehouse items to be misplaced during the first transition to the map.
    • Due to the mismatch between the size of the safe house after triggering the random transition and the size of the safe house before the transition, some players will be outside the map or outside the safe house. (this plugin use team warp to temporarily avoid this issue)

    ChangeLog:
    Code:
    1.1 - use warp_to_start_area command avoid transitioned to outside safe house.
    1.0 - Initial release.
    Thanks:
    • Silvers - Source of the IsFirstMapInScenario method (in Left 4 DHooks Direct)
    • sorallll - Some help on the code and fix player_transitioned event not working properly in 4+ player.

    Installation:
    • Download "l4d2_mix_map.cfg" and put into your servers \addons\sourcemod\data\ folder.
    • Download "l4d2_mix_map.txt" and put into your servers \addons\sourcemod\gamedata\ folder.
    • Download "l4d2_mix_map.sp" and put into your servers \addons\sourcemod\scripting\ folder.
    • Compiling plugin and put into your servers \addons\sourcemod\plugins\ folder.
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d2_mix_map.sp - 287 views - 21.2 KB)
    File Type: txt l4d2_mix_map.txt (2.2 KB, 153 views)
    File Type: cfg l4d2_mix_map.cfg (2.6 KB, 180 views)
    __________________
    yuzumi is offline
    kochiurun119
    BANNED
    Join Date: Sep 2014
    Location: GB
    Old 10-24-2023 , 09:25   Re: [L4D2] MixMap - (1.1) [22/Oct/2023]
    Reply With Quote #2

    nice plugin
    kochiurun119 is offline
    Send a message via ICQ to kochiurun119 Send a message via AIM to kochiurun119 Send a message via Yahoo to kochiurun119 Send a message via Skype™ to kochiurun119
    zonbarbar
    Member
    Join Date: Jul 2022
    Old 10-24-2023 , 22:42   Re: [L4D2] MixMap - (1.1) [22/Oct/2023]
    Reply With Quote #3

    does anyone tried a game with never reached to the end
    zonbarbar is offline
    ringrr
    New Member
    Join Date: Dec 2023
    Old 12-05-2023 , 05:52   Re: [L4D2] MixMap - (1.1) [22/Oct/2023]
    Reply With Quote #4

    When I start the game, a chat message saying

    “[Mix Map] An uncharted rift in space-time has appeared. After changeLevel, you will travel to c4m5_milltown_escape ...”

    appears. How do I disable the message?
    ringrr is offline
    Reply



    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 23:45.


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