Raised This Month: $18 Target: $400
 4% 

[TF2] Frontline Respawns


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Tom Fyuri
New Member
Join Date: Aug 2019
Plugin ID:
6696
Plugin Version:
0.0.1
Plugin Category:
Gameplay
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    5 
    Plugin Description:
    Spectate ally, press E, respawn. That simple!
    Old 08-31-2019 , 06:36   [TF2] Frontline Respawns
    Reply With Quote #1

    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 effect played every time front-line respawn is utilized. If you hear it right around a corner and you know it's not your allies there, brace yourself.
    • 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 front-line 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. Also dispenser counts as ally player, so it is valid spawn point.

    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 place by having a medic heal me and picking up ammunition from dead enemies. The swarm is real.
    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. You might also want to either disable freeze cam or shorten the time out of it, so players may immediately proceed to select nearest ally to spawn at.

    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 plugin currently utilizes.
    3. change map (or load plugin) and sm_fr_enabled 1, have fun.

    Current Issues/Notes:
    • I personally don't like that you can suicide and get fresh health and ammo. But I'm not sure how to prevent that.
    • With this plugin sometimes I feel like point capture times, if there are a lot of players, are ridiculous. No clue how to slow them down.
    • Naturally if there is less than 2 players in each team... this plugin doesn't exactly "work" with that right now.
    • Dispenser counts as ally player, however you will get stuck inside your own dispenser, I don't know how to solve that yet.
    • 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. Guess I am 10 years too late for this game.
    Attached Files
    File Type: 7z tf.7z (300.1 KB, 52 views)
    File Type: sp Get Plugin or Get Source (frontline_respawns.sp - 265 views - 27.0 KB)

    Last edited by Tom Fyuri; 09-04-2019 at 14:10.
    Tom Fyuri is offline
    jab2000
    AlliedModders Donor
    Join Date: Jun 2009
    Old 10-08-2019 , 05:25   Re: [TF2] Frontline Respawns
    Reply With Quote #2

    Would it be possible to releases a working fast respawn plugin?

    old ones no longer work
    https://forums.alliedmods.net/showthread.php?p=611953
    https://forums.alliedmods.net/showthread.php?t=73929
    jab2000 is offline
    Tom Fyuri
    New Member
    Join Date: Aug 2019
    Old 10-08-2019 , 05:33   Re: [TF2] Frontline Respawns
    Reply With Quote #3

    Hmm, I thought this thread was dead on arrival.

    Considering I was pretty much inspired by at least two of the plugins you have linked. I'm surprised they don't work. Though maybe it has to do with certain maps?

    I have played Team Fortress 2 for about 1 day and I haven't found anyone to play with on non normal servers - I have instantly lost appeal to the game at all. You might have more luck with asking original authors of respective plugins.

    And just to be clear - this (my) plugin has a bit different goal from just respawning at your base - this is meant to respawn you near your allies on the front line.

    Last edited by Tom Fyuri; 10-08-2019 at 05:34.
    Tom Fyuri is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 08:47.


    Powered by vBulletin®
    Copyright ©2000 - 2020, vBulletin Solutions, Inc.
    Theme made by Freecode