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

[L4D2] Switch Upgrade Ammo Types (1.0) [16-Jun-2020]


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
About:
  • Allows players press Shift + R to switch between Primary Ammo and Upgraded Ammo.
  • Allows players to carry both upgrade ammo types (Incendiary and Explosive).
  • Both upgrade ammo types keep with the weapon when it's dropped.
  • Upgraded ammo is carried over map transitions or restarts (only in coop/realism modes).
  • This plugin was really complicated to write (5 re-writes) due to multiple ammo bug issues with the engine.


Thanks:
  • strikeraot - For tons of testing and the idea and request.
  • Lux and MasterMind420 - For putting up with my rage while trying to figure out ammo bug issues.



CVars:

Saved to l4d2_switch_ammo.cfg in your servers \left4dead\cfg\sourcemod\ folder.

PHP Code:

// 0=Plugin off, 1=Plugin on.
l4d2_switch_ammo_allow "1"

// Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all).
l4d2_switch_ammo_modes ""

// Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none).
l4d2_switch_ammo_modes_off ""

// Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.
l4d2_switch_ammo_modes_tog "0"

// Switch Ammo Types plugin version.
l4d2_switch_ammo_version 



Changes:
Code:

1.0 (16-Jun-2020)
    - Initial release.



Installation:
  1. Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder.

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

×
×
  • Dodaj nową pozycję...