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] Ignore Physics Damage [v1.0.0 | 07-January-2021]


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

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

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


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

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ę...