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

[TF2] Frontline Respawns


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Description:
This plugin allows you to respawn not just in a spawn room, but on any ally, that is undamaged or unhurt for about at least 3 seconds (~3-4). However, if your entire team is wiped out, you have to wait about 15 seconds (default time, there is convar for that one).
This in turn makes following points:
  • You must have at least 2 persons in teams at all times alive to respawn fast. Otherwise the team is punished for dying together. There's a sound played every time frontline respawn is utilized.
  • If you are seen by the enemy, you can't spawn allies for a short amount of time.
  • A disguised spy can't spawn allies, for that matter it also denies enemy frontline spawns just as well by being in line of sight.
  • A sentry gun is the only engineer building that denies frontline spawning for the enemy as well.
  • If you get hurt by the enemy (not self inflicted damage) you can't spawn allies for a short amount of time.
  • Lastly, if you don't care where to spawn but any ally will do, just say !respawn once and it will toggle that option for you. Otherwise spectate ally and press E (Medic!), and it will tell you, if it's not okay to respawn there or spawn you right away.

I play tested this with 24 bots. I had quite an amount of situations where I felt like in circus and ~10 clowns could exit a car at any moment. (by car I mean the enemy bot who turned around the corner and left my line of sight for 3 seconds, heh)
In ctf_2fort I had a moment or two, where I killed about 70 enemies in one life by having a medic heal me and picking up ammunition from dead enemies.
I recommend installing a plugin that restricts suicide (because as long as allies are nearby, losing ammo or health is not an issue that much). And maybe one to have engineers build multiple buildings, because turtling is much less useful and is a lot harder, depending on player count. Teleports itself are near useless with this.

This is basically proof of concept. I scripted this in about 2 hours just by looking at about other 3-4 plugins on this forum.
Because of the nature of this plugin, it may naturally conflict with any other respawn management system, so if you enable this one, disable the other ones.

Cvars:
sm_fr_enabled - Default 0 - Respawn disabled/enabled cvar
sm_fr_time_red - Default 15.0 - Respawn time for Red team
sm_fr_time_blue - Default 15.0 - Respawn time for Blue team

Installation:
1. frontline_respawns.smx goes to addons/sourcemod/plugins folder.
2. extract archive contents to tf folder, it doesn't replace anything, but adds resources this pluign currently utilizes.
3. change map (or load plugin) and sm_fr_enabled 1, have fun.

Current Issues:
I personally don't like that you can suicide and get fresh health and ammo. But I'm not sure how to prevent that. Other than that I haven't caught any issue of about hour of playing with it with bots.
Also I might add more convars...

Changelog:
0.0.1 - Literally first public version. Initial release so to say.

Sadly I couldn't manage to play test this on normal server with actual amount of people.

Attached Files
File Type: sp Get Plugin or Get Source (frontline_respawns.sp - 21.3 KB)
File Type: 7z tf.7z (300.1 KB)

Wyświetl pełny artykuł

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
 Udostępnij

×
×
  • Dodaj nową pozycję...