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[L4D1 & L4D2] Witch Guard (performance fork)


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Description:
This is refactored code of original work by panxiaohai + manually added some features from Marttt's fork, aimed to make it as fast (performance optimized) and crash-safe as possible.

Contains some features, which not exist in above fork.
Same vice versa, doesn't contain some feature you can find in Marttt fork.
Read ChangeLog for details.
NEW:

- API
Spoiler


Dependency:
- (optional) ThirdPersonShoulder_Detect by Lux

Settings (ConVars):
Can be found in: cfg/sourcemod/l4d_witch_guard.cfg
PHP Code:

// 0: random pose, 1: best pose, 2: specific pose (uses pose_onback cvars)
l4d_witch_guard_bestpose_onback "0"

// 0: random pose, 1: best pose, 2: specific pose (uses pose_down cvars)
l4d_witch_guard_bestpose_ondown "1"

// 0: off, 1-82: default witch pose while on back. (l4d_witch_guard_bestpose_onback must be: 2)
l4d_witch_guard_pose_onback ""

// 0: off, 1-82: default witch pose while down. (l4d_witch_guard_bestpose_onback must be: 2)
l4d_witch_guard_pose_down ""

// attack damage, 1.0: normal [0.1, 1.0]
l4d_witch_guard_damage "1.0"

// attack range
l4d_witch_guard_range "600.0"

// gun count
l4d_witch_guard_gun_count "1"

// 0: do not shot on back, 1: shot
l4d_witch_guard_shotonback "0"

// Enables/Disables other clients to steal(pick up) a Witch from other owners while on the ground. 0 = Disable, 1 = Enable.
l4d_witch_guard_steal "0"

// Show/Hide the sprite indicating which Witch in the ground is from the owner. 0 = Hide, 1 = Show.
l4d_witch_guard_spriteowner "1"

// Prioritize human players. 0 = Disable, 1 = Enable.
l4d_witch_guard_prioritize_human_players "0"

// Give witch to a random player if the killer already has one. 0 = Disable, 1 = Enable.
l4d_witch_guard_give_random "0"

// Show witch on back when some third-person actions happen? 0 = Disable (can increase performance), 1 = Enable.
l4d_witch_guard_detect_thirdperson "1"

// Enable this plugin? 0 = No, 1 = Yes.
l4d_witch_guard_enable "1"

// Weapon type given to the witch. 0 = Random, 1 = Assault Rifle, 2 = Hunting Rifle, 3 = Auto Shotgun.
l4d_witch_guard_weapon_type "0" 

Supported games:
- L4D1
- L4D2

Warning: Don't forget to remove the old plugin witch_guard_l4d.smx, if you update (he has different name!)


ChangeLog


Credits:
- @panxiaohai - original author
- @Marttt - for amazing additions in his fork
- @Lux - for third person detection plugin.
- @Mr. GameOver - for third person detection (in L4D1).
Donate
Donates are very appreciated and welcomed for further inspiration, make me happy, and make next updates came out more often:
- Patreon
- BitCoin
- Ю.Money

Attached Files
File Type: zip WitchGuard2.zip (46.7 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ę...