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] Colorful Common Infected Clothes [v1.0.0 | 30-November-2020]


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
L4D1 ONLY

Description

This plugin adds more colors to the clothes of the common infected.

Features
  • Allow configuring a random or a specific color to the clothes of the common infected.

Cvars

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

PHP Code:

// Common infected clothes color.
// Use "random" for random colors.
// Use three values between 0-255 separated by spaces ("<0-255> <0-255> <0-255>"), to apply a specific color.
// Examples:
// l4d1_colorful_common_color "random"
// l4d1_colorful_common_color "255 0 0"
// -
// Default: "random"
l4d1_colorful_common_color "random"

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

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

Change Log

Spoiler


Notes
  • L4D2 isn't supported, since there is no way to change the common clothes (without modding) by now.
  • The color change was applied by using the SetEntityRenderColor function.

Thank you!
  • KadabraZz - for the request and for testing in his server.

Related Plugins

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

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

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