RSSy MYGO.pl Opublikowano Czerwiec 2, 2022 o 23:23 RSSy Udostępnij Opublikowano Czerwiec 2, 2022 o 23:23 About:Create up to 4 barricades where doors and windows 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:No cost system for building. Please do not request. If someone wants to write a system it can be added in. L4D2 progress bar shows the icon and text of the last action performed. Don't know if it's possible to change. 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_barricade.cfg in your servers \cfg\sourcemod\ folder. PHP Code: // 0=Plugin off, 1=Plugin on. l4d_barricade_allow "1" // 0=Default game damage. Amount of damage to cause to planks when shoved by a Common Infected. l4d_barricade_damage_common "250" // 0=Default game damage. Amount of damage to cause to planks when shoved by a Special Infected. l4d_barricade_damage_infected "250" // 0=Default game damage. Amount of damage to cause to planks when shoved by a Survivor. l4d_barricade_damage_survivor "250" // 0=Default game damage. Amount of damage to cause to planks when shoved by a Tank. l4d_barricade_damage_tank "0" // Health of each plank. l4d_barricade_health "500" // Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all). l4d_barricade_modes "" // Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none). l4d_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_barricade_modes_tog "0" // Range required by Survivors to an open doorway to create planks. Large values may affect other nearby doorways. l4d_barricade_range "100.0" // How long does it take to build 1 plank. l4d_barricade_time "5.0" // How long must someone be holding +USE before building starts. l4d_barricade_time_press "0.3" // How long after building a plank to make the player wait until they can build again. l4d_barricade_time_wait "0.5" // 1=Doors. 2=Windows. 3=Both. Where can barricades be built. l4d_barricade_types "3" Changes: Code: 1.1 (03-June-2022) - Common infected now attack the planks! - Plugin now supports building barricades in broken Window frames. - Plugin renamed to "Barricades - Doors and Windows". - All cvars renamed. 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_barricade.sp - 31.3 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi