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 & L4D2] Deadly Tank Hittables [v1.0.0 | 07-January-2021]


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Description

This plugin increases the damage received from tank hittables to instant incap a survivor.

I did this because sometimes feels weird hitting a survivor with a dumpster and not incappacitating it, while with a bumper car, it always incappacitate.

Also helps tanks to be more powerful in hardcore modes.

Features
  • Configuring which teams should be affected by the new damage.
  • Configuring the minimum damage necessary to fulfil the conditions.
  • Configuring the new damage applied.

Here below I made a table to understand the average damage x model that some props do to a survivor when a tank punch it into them.

Values (rounded down) obtained from OnTakeDamage hook.

Spoiler


Cvars

A configuration file named "l4d_deadly_tank_hittables.cfg" will automatically be created for you upon the first run in the "\cfg\sourcemod\" folder.

PHP Code:

// Damage applied when fulfils all conditions.
// -
// Default: "100.0"
// Minimum: "0.000000"
l4d_deadly_tank_hittables_damage "100.0"

// Enable/Disable the plugin.
// 0 = Disable, 1 = Enable.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d_deadly_tank_hittables_enable "1"

// Minimum damage necessary received from a prop_physics to apply a deadly damage.
// -
// Default: "13.0"
// Minimum: "0.000000"
l4d_deadly_tank_hittables_mindamage "13.0"

// Plugin behaviour enabled for these teams.
// 0 = OFF, 1 = SURVIVOR, 2 = INFECTED.
// Add numbers greater than 0 for multiple options.
// Example: "3", enables for SURVIVOR and INFECTED.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "3.000000"
l4d_deadly_tank_hittables_team "1" 

Admin Commands
  • sm_print_cvars_l4d_deadly_tank_hittables => Print the plugin related cvars and their respective values to the console. (z flag required)

Change Log

Spoiler


Notes
  • This plugin doesn't affect the damage received from greater props (e.g. dumpster) unless you increase the minimum damage cvar to a value too high.

Related Plugins

To Do
  • Find a proper way to detect the physics mass instead of checking the damage.


Post Reply
  • Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome.

Installation
  • Put the "l4d_deadly_tank_hittables.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder.

Attached Files
File Type: sp Get Plugin or Get Source (l4d_deadly_tank_hittables.sp - 11.9 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ę...