AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [Any] Return Trip (https://forums.alliedmods.net/showthread.php?t=161274)

DarthNinja 07-05-2011 11:06

[Any] Return Trip
 
1 Attachment(s)
[Any] Return Trip
Plugin Version 1.1.1



Description:
This is just a quick plugin that returns a player or players to their respective spawn locations.
Useful for surf servers, jump maps, etc.

Commands:
  • sm_returntrip <target>
  • sm_return2spawn <target>

Cvars:
  • sm_return_trip_version
    • Plugin Version

Install Instructions:

  1. Place ReturnTrip.smx into your addons/sourcemod/plugins/ folder.
Notes:
  • In TF2 the plugin will refill the player's health and ammo using TF2_RegeneratePlayer.
To Do:

Let me know if you want these features, otherwise they won't happen!

  • Add a sound effect and cvar.
  • Add a offset cvar to change how high off the respawn floor the player is teleported.
  • Add a command for clients to return themselves (For surf/jump maps) and a cvar to enable/disable the command.

Version History:
  • V1.0.0
    • Initial Release
  • V1.1.0
    • Added game detection so one version now works for all games.
      - Multi-mod version removed as it is no longer needed.
  • V1.1.1
    • Made the TF2 extension optional.
Total downloads as prior to last edit: 46

napalm00 07-05-2011 11:13

Re: [Any] Return Trip
 
o0 this might fix teleporter griefing in vs saxton hale servers!
can you add a feature that auto-teleports the players to the spawn if they go away for more than "n" Hammer Units / meters ?
other than that, awesome plugin :D

DarthNinja 07-05-2011 13:05

Re: [Any] Return Trip
 
You'd need to describe the problem a bit better.

napalm00 07-05-2011 13:38

Re: [Any] Return Trip
 
Quote:

Originally Posted by DarthNinja (Post 1504273)
You'd need to describe the problem a bit better.

yep sorry :3
sometimes on maps like vsh_ram_shacked_b6 or castle siege (while running the VS Saxton Hale mode) people can use teleport exploits to go out of the map.
In castle siege, for example, there are some tents in which you can build a teleporter exit to go in and become unkillable from hale.
It would be nice to have a plugin that would actually teleport those "exploiters" to the spawn, maybe by assigning some "restricted areas" (i.e. a 2x2 or 4x4 square) that nobody can access.
This would be a really cool plugin, in my opinion, as it would help admins stopping exploiters and such people.
I'm not sure how difficult it is to make a restricted "square".... :mrgreen:

DarthNinja 07-05-2011 14:27

Re: [Any] Return Trip
 
Sounds more like something the map maker should fix. It's also beyond the scope of this plugin.

KyleS 09-03-2011 17:00

Re: [Any] Return Trip
 
Nice plugin!

You didn't undef REQUIRE_EXTENSIONS before you included tf2, so this will only function on TF2 at the moment. :(

DarthNinja 09-04-2011 09:08

Re: [Any] Return Trip
 
Oops, forgot to do that when I merged the versions.
Should be fixed in the latest version.


All times are GMT -4. The time now is 05:10.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.