RSSy MYGO.pl Opublikowano Sierpień 10, 2023 o 17:58 RSSy Udostępnij Opublikowano Sierpień 10, 2023 o 17:58 About This plugin works only in scavenge mode. It is designed to fix or manage some issues in general scavenge mode game play. Functions This plugin dose 3 things: - Fixed the bug that there are no gascans produced in the first round of a new game. (Requies Left4DHooks 1.134 or above) - Allows you select total game round number by cvar. - Allows you to chosse whether do auto reset round number and scores in the end of match or not by cvar.Cvars PHP Code: // Allow admins to use admin command to spawn gascans ? // Default: 0 l4d2_scavenge_allow_enrich_gascan "0" // Total number of rounds to set. Valid values are 1, 3, 5. // Default: 5 l4d2_scavenge_rounds "5" // Enable end match auto restart? (in case we use vanilla rematch vote) // Default: 1 l4d2_scavenge_match_end_restart "1" Admin Commander PHP Code: // Enrich all gascans immediately. Need to turn on the cvar before use. sm_enrichgascan Requiement - Left4DHooks 1.134 or above - A include file to compile.Note - This plugin is recommended to play with plugin readyup from L4D2 Competitive Rework (forward use). It is also compatiable with vanilla scavenge. - The Missing-gascan issue can actually be resolved by Lux's L4D2_ChangeLevel when switching the map. But this issue also causes when the first client entering the server and the server being defaultly running the scavenge mode. The recent update of Left4DHooks provided a better solution (which is to spawn the gascan immediately). - Part of code was from others. Credit to Eyal282, Lechuga16. Attached Files scavenge_func.inc (10.9 KB) Get Plugin or Get Source (l4d2_fix_scav_issues.sp - 5.2 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi