RSSy MYGO.pl Opublikowano Luty 26, 2021 o 20:13 RSSy Udostępnij Opublikowano Luty 26, 2021 o 20:13 L4D1 ONLY L4D2 version link Description This plugin adds wounds to common infecteds on spawn. Wounds are damages to common infected bodies. The logic may fail in some cases cause I didn't find a proper way to detect it 100%. FeaturesAllow setting the chance to common infecteds spawn without an arm (left/right). Allow setting the chance to common infecteds spawn without head (headless). Allow spawning headless common infecteds. Allow blowing the head when a common infected is hit on the head. Cvars A configuration file named "l4d1_wounded_commons.cfg" will automatically be created for you upon the first run in the "\cfg\sourcemod\" folder. PHP Code: // Behead a common infected every time it is hit on the head. // 0 = OFF, 1 = ON. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d1_wounded_commons_behead_headshot "1" // Enable/Disable the plugin. // 0 = Disable, 1 = Enable. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d1_wounded_commons_enabled "1" // Spawn headless common infected. // 0 = OFF, 1 = ON. // - // Default: "0" // Minimum: "0.000000" // Maximum: "1.000000" l4d1_wounded_commons_headless "0" // Chance to apply an arm (left/right) wound on common infected spawn. // 0 = OFF. // - // Default: "33.0" // Minimum: "0.000000" // Maximum: "100.000000" l4d1_wounded_commons_wound_arm_chance "33.0" // Chance to apply a head wound (headless) on common infected spawn. // 0 = OFF. // - // Default: "5.0" // Minimum: "0.000000" // Maximum: "100.000000" l4d1_wounded_commons_wound_head_chance "5.0" Change Log Spoiler 1.0.0 (26-February-2021) - Initial release. Admin Commands sm_wound => Set the body value of the target common infected at crosshair. Increment the value by one when no args are specified (starting from 0 on new targets). Example: no args -> sm_wound / with args -> sm_wound 4. (z flag required) sm_woundinfo => Output to the chat the bodt value of the target common infected at crosshair. (z flag required) sm_print_cvars_l4d1_wounded_commons => Print the plugin related cvars and their respective values to the console. (z flag required) Notes Some models have different body values. I tried my best but didn't find a logic on the values. Only arms and heads wounds are rendered by this plugin. Plugin may not affect clients that uses "low violence" settings. There are no changes to hitboxes, headless zombies can still be killed with headshots. Thank you! kadabra - for testing in his server. Related Plugins [L4D2] Wounded Commons by Marttt [L4D2]Enhancement_System GoreOnly by Lux [L4D2] Gore by DiscoBBQ [L4D] Gore by DiscoBBQ [L4D1] Colorful Common Infected Clothes by Marttt Post Reply Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome. Installation Put the "l4d1_wounded_commons.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder. Attached Files Get Plugin or Get Source (l4d1_wounded_commons.sp - 22.9 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi