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] Weapons Skins Switch [v1.0.0 | 11-November-2020]


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
L4D2 ONLY

Description

With the L4D2 Last Stand update, some of the new things brought are new skins for weapons (e.g.: golden crowbar).

This plugin allows to change an equipped weapon skin by pressing IN_USE (E) in the same weapon with a different skin.


Features
  • Allow to switch the weapon skin with the targeted one.
  • Allow configuring to absorb the targeted skin or swap with the equipped one.

Cvars

A configuration file named "l4d2_wskin_switch.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"
l4d2_wskin_switch_enable "1"

// Swap the targeted weapon skin with the holding weapon skin.
// 0 = OFF, 1 = ON.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d2_wskin_switch_swap "1" 

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

Change Log

Spoiler


Known issues
  • The skin doesn't apply very well while on the third person (e.g. thirdpersonshoulder). You may have to swap weapons to see the changes.

Related Plugins

Conflicting Plugins

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

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

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