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[L4D & L4D2] Chainsaw Buff v1.0 [28-2-22]


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
about
  • my friends sometime complains chainsaw so useless, well this kinda easy to solve
  • what does i do? hit target or firing will gain adrenaline and temp health
  • hit zombies can refill chainsaw fuel, all configurable
  • reference some code from Left 4 Dhooks Direct and SMLib
  • this is my realism part

ConVar

PHP Code:

// Enabled 'Chainsaw Buff'
chainsaw_buff_enabled "1"

// gain adrenaline duration when every firing
chainsaw_buff_fire_adrenaline "0.02"

// gain buff health when every firing
chainsaw_buff_fire_buff "0.03"

// gain adrenaline duration when hitted
chainsaw_buff_hit_adrenaline "0.1"

// gain buff health when hitted
chainsaw_buff_hit_buff "0.1"

// refill the fuel when hitted -1:whole clip 1.5:refill 1.5sec fuel
chainsaw_buff_hit_refill "-1" 


Game ConVar / Hint
this below cvar is created by game, you can set they on server.cfg etc
PHP Code:

// higher this value will make chainsaw attack hitbox wider but more randomizer
chainsaw_attack_cone 30 //30 mean hit angel

// higher will make chainsaw attack hitbox gets farther
chainsaw_attack_distance 50

// chainsaw dps equal damage/interval = 1000
chainsaw_damage 100
chainsaw_hit_interval 0.1

ammo_chainsaw_max 20 


todo
  • may add damage resistance when firing



changelog
  • v1.0 just released; 2-2-22

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