[CS:S/CS:GO/DoD:S/TF2] Player Respawn
3 Attachment(s)
Player Respawn
SUMMARY I couldn't find a decent respawn plugin with admin menu support, so I decided to write one myself. Requirements: - Requires SourceMod v1.1 or greater - Slay admin flag is required - F (or root - Z) Cvars: sm_respawn_version = 1.6 (can not be changed) sm_auto_respawn - Automatically respawn dead players (Default 0) sm_auto_respawn_time - Amount of seconds to delay the respawn by (Default 0 seconds) Cmds: sm_respawn <name | #userid> (also appears under player commands in the admin menu) Installation: - respawn.smx into /addons/sourcemod/plugins - respawn.phrases.txt into /addons/sourcemod/translations - plugin.respawn.txt into /addons/sourcemod/gamedata - Only required for DoD:S Changelog: 1.0: - Initial release 1.1: - Admin Menu only shows dead players to respawn - sm_respawn will only respawn dead players now - Fixed a few lines of text that weren't translatable 1.2 - Added support for TF2 - Added support for DoD:S (Thanks Andersso and his DoD:S respawn timer plugin) - Added logging support 1.3 - Added support for CS:GO - Renamed plugin.instantrespawn.txt to plugin.respawn.txt (only required for DoD:S) 1.4 - Fixed plugin reporting that a client in spectate was respawned when using sm_respawn against that player - Added automatic respawning 1.5 - Fixed automatic respawning - Fixed not being able to use sm_respawn @all if a player was in spectate 1.6 - Fixed respawning when DeadRinger was activated in TF2 - Added sv_tags support Known issues: - You can respawn spectators using the menu, as SourceMod thinks they are dead. I am not actually sure how to fix this, if you know how feel free to show me. To do: - Nothing! If you know the respawn function for your game, let me know and I will add support for it! Please provide extra translations if you can! PLEASE NOTE: This plugin may generate an error in your SM error logs. I am powerless to stop this, as it is due to the TF2 natives. It may only happen in non-TF2 games. If you do not want the error then comment out the part for TF2 and recompile the plugin, otherwise just live with it. It is not a damaging error and will not effect anything else, the plugin still functions normally. |
Re: [CS:S] Player Respawn
You may want to add error checking to your plugin. Check to see if they're a valid entity, if they're dead, and if they're on the T/CT team. Otherwise you can end up with spectators playing on the unassigned team; stupid admins can respawn player's mid-round, and a few other nasty bugs.
|
Re: [CS:S] Player Respawn
Updated to v1.1 :) I fixed the things you mentioned Panda ;)
|
Re: [CS:S] Player Respawn
Just what I looked for our jail when nasty people freekill so we can respawn the victims. Thanks! :)
|
Re: [CS:S] Player Respawn
Some how I managed to upload a wrong version of v1.1 that wasn't showing a player had been respawned in chat. I think I have uploaded the correct version now *sigh*
|
Re: [CS:S] Player Respawn
Approved @ 196 lines.
Good job. |
Re: [CS:S] Player Respawn
Very nice, the old M3Respawn here could also respawn spectators (not that good in my opinion...)
|
Re: [CS:S/DoD/TF2] Player Respawn
Updated to v1.2 :) See changelog for more.
|
Re: [CS:S/DoD/TF2] Player Respawn
When I am running this plugin on my Dedicated Server (CS:S) which is only using Metamod + Sourcemod, then I get this error log:
Code:
L 07/26/2010 - 19:43:18: SourceMod error session started |
Re: [CS:S/DoD/TF2] Player Respawn
Quote:
As mentioned in the first post... PLEASE NOTE: Even though the plugin compiles on the forum, there is a bug within the tf2.inc file included with SourceMod (partially fixed in the next SM release). Please use the attached .smx for CS:S or DoD:S otherwise you will get an error when loading. You can either compile using "get plugin" or download the attached .smx for TF2. |
All times are GMT -4. The time now is 04:48. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.