RSSy MYGO.pl Opublikowano Październik 14, 2021 o 22:47 RSSy Udostępnij Opublikowano Październik 14, 2021 o 22:47 L4D1 ONLY Description This plugin adds burn damage over time while the tank is on fire. In L4D1, Tanks don't receive damage from fire over time, unlike L4D2. FeaturesAllow disabling the Tank dying from fire after a while. Allow configuring how often should the Tank receive burn damage while on fire. Allow configuring the burn damage amount applied to the Tank on fire. Cvars A configuration file named "l4d1_tank_burn_dot.cfg" will automatically be created for you upon the first run in the "\cfg\sourcemod\" folder. PHP Code: // Burn damage amount applied to the Tank. // 0 = OFF. // - // Default: "5.0" // Minimum: "0.000000" l4d1_tank_burn_dot_damage "5.0" // Disable Tanks dying from fire after a while. // Note: Usually controlled by "tank_burn_duration_*" cvars. // 0 = OFF, 1 = ON. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d1_tank_burn_dot_disable_suicide "1" // Enable/Disable the plugin. // 0 = Disable, 1 = Enable. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d1_tank_burn_dot_enable "1" // Interval in seconds to apply burn damage to the Tank. // - // Default: "0.5" // Minimum: "0.100000" l4d1_tank_burn_dot_interval "0.5" Related Game Cvars tank_burn_duration_vs => Number of seconds a burning Tank takes to die. (default: 30) tank_burn_duration_normal => Number of seconds a burning Tank takes to die. (default: 30) tank_burn_duration_hard => Number of seconds a burning Tank takes to die. (default: 35) tank_burn_duration_expert => Number of seconds a burning Tank takes to die. (default: 40) Admin Commands sm_print_cvars_l4d1_tank_burn_dot => Print the plugin related cvars and their respective values to the console. (z flag required) Change Log Spoiler 1.0.0 (14-October-2021) - Initial release. Notes In L4D1, Tanks don't receive damage from fire over time, unlike L4D2. tank_burn_duration_* cvars are ignored when l4d1_tank_burn_dot_disable_suicide is "1". Thank you! kadabra - for requesting. Post Reply Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome. Installation Put the "l4d1_tank_burn_dot.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder. Attached Files Get Plugin or Get Source (l4d1_tank_burn_dot.sp - 13.7 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi