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] Gascan Invulnerable


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Description

This plugin turns gascans invulnerable to certain damages types.
Useful to prevent griefers messing with gascans especially in finales or stripper modified maps.

Features
  • Allow configuring which gascans should be invulnerable. (Normal / Scavenge)
  • Allow configuring which type of damages are allowed to explode the gascan. (fire / blast / spit).

Cvars

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

PHP Code:

// Turn gascans invulnerable to blast damage.
// 0 = OFF, 1 = ON.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d_gascan_invul_blast_damage "1"

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

// Turn gascans invulnerable to fire damage.
// 0 = OFF, 1 = ON.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d_gascan_invul_fire_damage "1"

// Apply only for scavenge gascans.
// 0 = OFF, 1 = ON.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d_gascan_invul_scavenge_only "1"

// Turn gascans invulnerable to spit damage.
// L4D2 and scavenge gascan only.
// 0 = OFF, 1 = ON.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d_gascan_invul_spit_damage "1" 

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

Change Log

Spoiler


Notes
  • The method used to identify if is a scavenge gascan is by checking its skin. If it's greater than 0, the plugin understands that is a scavenge gascan.

To Do
  • Add option to only make invulnerable gascans already picked up.

Related Plugins

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

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

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