RSSy MYGO.pl Opublikowano Grudzień 26, 2022 o 08:15 RSSy Udostępnij Opublikowano Grudzień 26, 2022 o 08:15 About:The plugin will block saferoom doors and freeze players in first chapters Players will not be able to leave the safe area until all players are loaded and are ready You can adjust the time to wait for loaders, the time to unlock the safe area and the time to wait for unready players You can set a percentage for example if more than 60% by default are ready, safe area will unlock You can customize doors lock/unlock through cvar Description:This plugin will block saferooms, and freeze players in first chapters, preventing anyone from leaving the safe area until all players has been loaded and are ready to play. Thanks:Silvers: For Reviewing and General Fixes. HarryPotter: For his lockdown plugin. Image:Video: Not Yet Commands:sm_lock > Force Door To Lock (Admins Only) sm_unlock > Force Door To Unlock (Admins Only) sm_ready > To Get Ready For ReadyUp Mode sm_unready > To Get Unready For ReadyUp Mode Cvars:A file named "L4D2_Door_Lock.cfg" will be created in "\cfg\sourcemod" folder. PHP Code: // This file was auto-generated by SourceMod (v1.11.0.6911) // ConVars for plugin "L4D2_Door_Lock.smx" // Enable L4D2 Door Lock Plugin // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d2_doorlock_plugin_enable "1" // Turn On The Plugin In These Game Modes. 0 = All, 1 = Coop, 2 = Survival, 4 = Versus, 8 = Scavenge. // - // Default: "0" l4d2_doorlock_game_mode "0" // How Long You Want To Lock The Safe Area (In Seconds) // - // Default: "12" l4d2_doorlock_countdown "12" // How Long Plugin Waits For Loaders Before Giving Up On Them (In Seconds) // - // Default: "30" l4d2_doorlock_loaders_time "30" // Preventing Rounds From Start Unless Players Exit Safe Area // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d2_doorlock_block_round_start "1" // Set A Glow For The Saferoom Doors // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d2_doorlock_glow_enable "1" // Set The Glow Range For Saferoom Doors // - // Default: "500" l4d2_doorlock_glow_range "500" // Set Saferoom Lock Glow Color, (0-255) Separated By Spaces. // - // Default: "255 0 0" l4d2_doorlock_lock_glow_color "255 0 0" // Set Saferoom Unlock Glow Color, (0-255) Separated By Spaces. // - // Default: "0 255 0" l4d2_doorlock_unlock_glow_color "0 255 0" // Enable Ready/Unready Feature. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d2_doorlock_enable_ready_mode "1" // Set The Minimum Percentage Required For Ready Players To Start The Round // - // Default: "60.0" l4d2_doorlock_readyup_percent "60.0" // How Long Plugin Waits For Unready Players Before Giving Up On Them (In Seconds) // - // Default: "300" l4d2_doorlock_readyup_time "300" // Display A Hint Text To Show Players How To Use ReadyUp Commands // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d2_doorlock_readyup_hinttext "1" // Set How Many Times Players Are Allowed To Use Unready Per Round. // - // Default: "2" l4d2_doorlock_unready_counts "2" Requirements:Left 4 DHooks Direct - By Silvers Installation:Make sure you have first installed left4dhooks. Put the "L4D2_Door_Lock.smx" file in your "\addons\sourcemod\plugins" folder. Updates: Code: 26-12-2022 > Version 1.0: Initial release Attached Files Get Plugin or Get Source (L4D2_Door_Lock.sp - 30.3 KB) L4D2_Door_Lock.smx (15.8 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi