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] Smoker Sharpshooter (v1.0.1, 2022-06-19)


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Description
This plugin adds a spawn chance to become a sharpshooter smoker.
You can "shoot" survivors with your tongue dealing damage.
Basically you shoot your tongue, damage is dealt and the tongue is cut, you can attack right away.

Features
Smoker can shoot survivors with his tongue instead of pulling them.

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

Code:

// This file was auto-generated by SourceMod (v1.10.0.6435)
// ConVars for plugin "l4d_smoker_sharpshooter.smx"


// Percent chance to become a smoker boxer. 1-100
// -
// Default: "50"
l4d_smoker_chance "50"

// Delay between tonguepunches 0-100
// -
// Default: "0"
l4d_smoker_tonguedelay "0"

// Damage done to survivor per tonguepunch 1-100
// -
// Default: "10"
l4d_smoker_tonguepunchdamage "10"

Public Commands
none

Admin Commands

Change Log:
1.0.1 (19-June-2022)
- Initial release.

Notes
Tested only on l4d1, might work for l4d2 though

ToDo
Atm I set miss delay and let it as it is.
SetConVarInt(FindConVar("tongue_miss_delay"), g_iCvar_delay);
Would be better to read original value and then set it to g_iCvar_delay when sharpshooter is spawned otherwise set original value.
But atm it is hot outside, my armpits smell funny and I can't get myself up to do that now.

Based on:

https://forums.alliedmods.net/showthread.php?p=2674363
Smoker Release by Axel Juan Nieves

https://forums.alliedmods.net/showthread.php?t=98794
[L4D & L4D2] Boomer Splash Damage by AtomicStryker

https://forums.alliedmods.net/showthread.php?t=234442
L4D2 - Noxious Smoker by Mortiegama

idea by eyal282 https://forums.alliedmods.net/showthread.php?p=2777620
but I got the idea all wrong, so well I release the wrong idea anyways

Thanks.

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