RSSy MYGO.pl Opublikowano Czerwiec 3, 2021 o 20:14 RSSy Udostępnij Opublikowano Czerwiec 3, 2021 o 20:14 Related Plugins:[L4D2] Hunter Pounce Damage [L4D2] Melee Range [L4D2] Spitter Acid Damage [L4D & L4D2] PipeBomb Damage Modifier [L4D & L4D2] Tongue Damage [L4D & L4D2] Witch Damage - Block Insta-Kill About:Specify or scale the damage Pipebombs, Propane, Oxygen, Melee and Chainsaw damage caused to common infected. Examples:Can make melee weapons require 2 strikes to kill common. Can make explosions only remove half the health of common infected. Options to specify a damage value, scale the damage according to maximum health or scale the games original damage. Default cvars to demonstrate plugin, customise to your liking. Thanks:Lux - For some ideas. Cvars: PHP Code: // 0=Plugin off, 1=Plugin on. l4d_common_health_allow "1" // Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all). l4d_common_health_modes "" // Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none). l4d_common_health_modes_off "" // Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together. l4d_common_health_modes_tog "0" // 0.0=Off (games default damage). Amount of damage each Melee weapon hit causes to a common infected, or scale according to related cvar. l4d_common_health_chainsaw "50.0" // 0=Deal the damage value specified. 1=Deal the specified damage value as a percentage of their maximum health. 2=Scale original damage. l4d_common_health_chainsaw2 "1" // 0.0=Off (games default damage). Amount of damage each Melee weapon hit causes to a common infected, or scale according to related cvar. l4d_common_health_melee "50.0" // 0=Deal the damage value specified. 1=Deal the specified damage value as a percentage of their maximum health. 2=Scale original damage. l4d_common_health_melee2 "1" // 0.0=Off (games default damage). Amount of damage each Oxygen Tank explosion causes to a common infected, or scale according to related cvar. l4d_common_health_oxygen "100.0" // 0=Deal the damage value specified. 1=Deal the specified damage value as a percentage of their maximum health. 2=Scale original damage. l4d_common_health_oxygen2 "1" // 0.0=Off (games default damage). Amount of damage each Pipebomb explosion causes to a common infected, or scale according to related cvar. l4d_common_health_pipebomb "50.0" // 0=Deal the damage value specified. 1=Deal the specified damage value as a percentage of their maximum health. 2=Scale original damage. l4d_common_health_pipebomb2 "0" // 0.0=Off (games default damage). Amount of damage each Propane explosion causes to a common infected, or scale according to related cvar. l4d_common_health_propane "100.0" // 0=Deal the damage value specified. 1=Deal the specified damage value as a percentage of their maximum health. 2=Scale original damage. l4d_common_health_propane2 "1" Changes: Code: 1.0 (03-Jun-2021) - 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_common_health.sp - 17.5 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi