Skocz do zawartości

Nowy szablon forum

mygo.pl

Stworzyliśmy dla Was nowy wygląd forum. Z pewnością znajdziesz rzeczy, które wg Ciebie mogą zostać zmienione - wspomnij o tym w specjalnym wątku.

Czytaj więcej

Jak założyć własną sieć

serwerów CS

Zastanawiasz się nad prowadzeniem własnej sieci serwerów? Przeczytaj podstawowe informacje, na które należy zwrócić uwagę, przy takim projekcie.

Czytaj więcej

Tworzymy spis sieci

dodaj swoją

Dodaj sieć do której należysz, pozwoli to na promocję i budowę ogólnopolskiej bazy sieci CS.

Czytaj więcej

RSS[L4D1] Tank Burn Damage Over Time [v1.0.0 | 14-October-2021]


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
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.

Features
  • Allow 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


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!

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
File Type: sp 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

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...