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[L4D2] Random SI Models [v1.0.0 | 01-December-2020]


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
L4D2 ONLY

Description

This plugin turns the Special Infected models more random.

Currently support the vanilla models from:
  • Smoker (L4D2 and L4D1 models)
  • Boomer (L4D2, Boomette and L4D1 models)
  • Hunter (L4D2 and L4D1 models)
  • Witch (Witch and Witch Bride models)
  • Tank (L4D2, DLC and L4D1 models)

Features
  • Allow configuring which models should each SI spawn.

Cvars

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

PHP Code:

// Random model for Boomer.
// 0 = Disable. 1 = Enable L4D2 model. 2 = Enable Boomette model. 4 = Enable L4D1 model.
// Add numbers greater than 0 for multiple options.
// Example: "3", enables L4D2 and Boomette model.
// -
// Default: "7"
// Minimum: "0.000000"
// Maximum: "7.000000"
l4d2_random_si_model_boomer "7"

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

// Random model for Hunter.
// 0 = Disable. 1 = Enable L4D2 model. 2 = Enable L4D1 model.
// Add numbers greater than 0 for multiple options.
// Example: "3", enables L4D2 and L4D1 model.
// -
// Default: "3"
// Minimum: "0.000000"
// Maximum: "3.000000"
l4d2_random_si_model_hunter "3"

// Random model for Smoker.
// 0 = Disable. 1 = Enable L4D2 model. 2 = Enable L4D1 model.
// Add numbers greater than 0 for multiple options.
// Example: "3", enables L4D2 and L4D1 model.
// -
// Default: "3"
// Minimum: "0.000000"
// Maximum: "3.000000"
l4d2_random_si_model_smoker "3"

// Random model for Tank.
// 0 = Disable. 1 = Enable L4D2 model. 2 = Enable L4D2 DLC model. 4 = Enable L4D1 model.
// Add numbers greater than 0 for multiple options.
// Example: "5", enables L4D2 and L4D1 model.
// -
// Default: "7"
// Minimum: "0.000000"
// Maximum: "7.000000"
l4d2_random_si_model_tank "7"

// Random model for Witch.
// 0 = Disable. 1 = Enable Witch model. 2 = Enable Witch bride model.
// Add numbers greater than 0 for multiple options.
// Example: "3", enables the Witch and Witch Bride model.
// -
// Default: "3"
// Minimum: "0.000000"
// Maximum: "3.000000"
l4d2_random_si_model_witch "3" 

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

Change Log

Spoiler


Notes
  • This plugin precache some entities.
  • The exploded_boomette.mdl model is also precached cause otherwise the server crashes when a boomette dies.
  • May not work properly on some custom maps.

Thank you!

Related Plugins


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

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

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