RSSy MYGO.pl Opublikowano Czerwiec 1, 2022 o 19:38 RSSy Udostępnij Opublikowano Czerwiec 1, 2022 o 19:38 About:Create up to 4 barricades where doors have been broken. Supports double doors with a larger plank. Cvars to customize build time and delays. Cvars to customize plank health and shove damage. Issues:Common Infected may not attack the barricades and just stand there. No cost system for building. Please do not request. If someone wants to write a system it can be added in. Thanks:Maur0 - For the request. Toranks - Lots of help testing. Admin Commands: (requires "z" flag) PHP Code: sm_doors_glow // Debug testing command to show all doors. Cvars: Saved to l4d_door_barricade.cfg in your servers \cfg\sourcemod\ folder. PHP Code: // 0=Plugin off, 1=Plugin on. l4d_door_barricade_allow "1" // 0=Default game damage. Amount of damage to cause to planks when shoved by a Common Infected. l4d_door_barricade_damage_common "250" // 0=Default game damage. Amount of damage to cause to planks when shoved by a Special Infected. l4d_door_barricade_damage_infected "250" // 0=Default game damage. Amount of damage to cause to planks when shoved by a Survivor. l4d_door_barricade_damage_survivor "250" // 0=Default game damage. Amount of damage to cause to planks when shoved by a Tank. l4d_door_barricade_damage_tank "0" // Health of each plank. l4d_door_barricade_health "500" // Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all). l4d_door_barricade_modes "" // Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none). l4d_door_barricade_modes_off "" // Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together. l4d_door_barricade_modes_tog "0" // Range required by Survivors to an open doorway to create planks. Large values may affect other nearby doorways. l4d_door_barricade_range "100.0" // How long does it take to build 1 plank. l4d_door_barricade_time "5.0" // How long must someone be holding +USE before building starts. l4d_door_barricade_time_press "0.3" // How long after building a plank to make the player wait until they can build again. l4d_door_barricade_time_wait "0.5" Changes: Code: 1.0 (01-Jun-2022) - Initial Release. Installation:Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder. Attached Files Get Plugin or Get Source (l4d_door_barricade.sp - 27.1 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi