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] Smart AI Tank


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
About:

This plugin improves AI Tank behaviour. Now he ignore the Survivors who using mounted machinegun.

Now Tank find as target nearest survivor.

He don't let you cut his back by melee.

Also by Cvars he can ignore or choose as victim vomited and incapacitated survivors.

If you set Cvar to choose as victim incapacitated survivors then AI Tank will be chasing nearest incapacitated survivors only on Hard and Expert difficulties because he can kill them fast.

If you set Cvar to choose as victim incapacitated and vomited survivors then AI Tank will be also chasing nearest survivor who been incapacitated or vomited.

This plugin supports only Left 4 Dead 2!


CVars:

Saved to l4d2_smart_bot_tank.cfg in your server's \cfg\sourcemod\ folder.

PHP Code:

l4d2_sbt_high_difficulties_finish_off_incapacitated
//Values: 1 / 0.
//Description: Enable/Disable finishing off survivors who gets incapacitated on Hard/Expert difficulties.
//Note: This CVar doesn't work on Easy and Normal difficulties.

l4d2_sbt_targets_vomited_survivor 
//Values: 1 / 0.
//Description: Enable/Disable targeting survivors who gets vomited. 


Known Bugs:

None at the moment.


Requirements:

1. SourceMod 1.10

2. Left4DHooks Direct

3. Put l4d2_minigun_victim.txt to gamedata folder.


Supported Gamemodes:

Now this plugin working correctly only in CO-OP.


Special Thanks:

axelnieves2012 for this plugin which served as the idea for my plugin.

BHaType for his code which allows the tank to ignore the machine gun.


P.S.

This is my first public plugin and topic in this forum. Sorry for mistakes if there are any.

Attached Files
File Type: txt l4d2_minigun_victim.txt (773 Bytes)
File Type: sp Get Plugin or Get Source (l4d2_smart_bot_tank.sp - 12.3 KB)
File Type: smx l4d2_smart_bot_tank.smx (7.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

×
×
  • Dodaj nową pozycję...