RSSy MYGO.pl Opublikowano Styczeń 7, 2021 o 22:50 RSSy Udostępnij Opublikowano Styczeń 7, 2021 o 22:50 Description This plugin ignores physics damage on some clients, and also removes the damage that a Tank receive from props (e.g. car). I did this because in versus matches people used to melee/shove the tv at saferoom (No Mercy map, as example) and everytime it hits a survivor, it loses an annoying 3 HP. Also felt a bit unreleastic the amount of damage the tank loses sometimes while trying to hit a car into the survivors. FeaturesConfiguring which SI should ignore physics damage. Configuring the maximum damage to be ignored by all survivors. Cvars A configuration file named "l4d_ignore_physics_damage.cfg" will automatically be created for you upon the first run in the "\cfg\sourcemod\" folder. PHP Code: // Enable/Disable the plugin. // 0 = Disable, 1 = Enable. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_ignore_physics_damage_enable "1" // Which Specials should ignore physics damage. // 1=SMOKER, 2 = BOOMER, 4 = HUNTER, 8 = SPITTER, 16 = JOCKEY, 32 = CHARGER, 64 = TANK. // Add numbers greater than 0 for multiple options. // Example: "127", ignores physics damage on all SI. // - // Default: "64" // Minimum: "0.000000" // Maximum: "127.000000" l4d_ignore_physics_damage_si "64" // Maximum physics damage to be ignored by all survivors. // 0 = OFF. // - // Default: "4.0" // Minimum: "0.000000" l4d_ignore_physics_damage_survivor "4.0" Admin Commands sm_print_cvars_l4d_ignore_physics_damage => Print the plugin related cvars and their respective values to the console. (z flag required) Change Log Spoiler 1.0.0 (07-January-2021) - Initial release. Notes The average damage that a common prop does to survivors is 3~4. Related Plugins Post Reply Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome. Installation Put the "l4d_ignore_physics_damage.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder. Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi