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

[L4D & L4D2] Random Rock Tank [v1.0.0 | 23-April-2019]


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
About

I made this plugin due to a request from a friend who asked to randomize the rocks thrown by the Tank like happens in the Sacrifice map (chapter 1) near the boats, where the Tank sometimes throws a trunk instead of a rock.

Description

The purpose of this plugin is to randomize the rock model thrown by the Tank.

Preview

TO-DO


Cvars

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

PHP Code:

// Enables/Disables the plugin. 0 = Plugin OFF, 1 = Plugin ON.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d_random_tank_rock_enabled "1"

// Turn off the plugin in these game modes, separate by commas (no spaces). Empty = none.
// Known values: coop,realism,versus,survival,scavenge,teamversus,teamscavenge,
// mutation[1-20],community[1-6],gunbrain,l4d1coop,l4d1vs,holdout,dash,shootzones.
// -
// Default: ""
l4d_random_tank_rock_gamemodes_off ""

// Turn on the plugin in these game modes, separate by commas (no spaces). Empty = all.
// Known values: coop,realism,versus,survival,scavenge,teamversus,teamscavenge,
// mutation[1-20],community[1-6],gunbrain,l4d1coop,l4d1vs,holdout,dash,shootzones.
// -
// Default: ""
l4d_random_tank_rock_gamemodes_on ""

// Turn on the plugin in these game modes.
// Known values: 0 = all, 1 = coop, 2 = survival, 4 = versus, 8 = scavenge.
// Add numbers greater than 0 for multiple options.
// Example: "3", enables for "coop" (1) and "survival" (2).
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "15.000000"
l4d_random_tank_rock_gamemodes_toggle "0"

// Which models should be applied to the rock thrown by the Tank.
// Known values: 1 = Only Rock, 2 = Only Trunk, 3 = Rock [50%] or Trunk [50%].
// -
// Default: "3"
// Minimum: "1.000000"
// Maximum: "3.000000"
l4d_random_tank_rock_type "3" 

Admin Commands

PHP Code:

sm_l4d_random_tank_rock_print_cvars // Prints the plugin related cvars and their respective values to the console. (needs "z" flag). 

Change Log

Spoiler


Thank you!

Related Plugins

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

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

Attached Files
File Type: sp Get Plugin or Get Source (l4d_random_tank_rock.sp - 15.8 KB)

Wyświetl pełny artykuł

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...