Raised This Month: $12 Target: $400
 3% 

[Any] Return Trip


Post New Thread Reply   
 
Thread Tools Display Modes
Author
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Plugin ID:
2424
Plugin Version:
1.1.1
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Returns a player to their spawn point
    Old 07-05-2011 , 11:06   [Any] Return Trip
    Reply With Quote #1

    [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
    Attached Files
    File Type: sp Get Plugin or Get Source (ReturnTrip.sp - 1013 views - 2.4 KB)
    __________________

    Last edited by DarthNinja; 09-04-2011 at 09:07.
    DarthNinja is offline
    napalm00
    Veteran Member
    Join Date: Jun 2011
    Location: Italy, sadly
    Old 07-05-2011 , 11:13   Re: [Any] Return Trip
    Reply With Quote #2

    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
    napalm00 is offline
    DarthNinja
    SourceMod Plugin Approver
    Join Date: Mar 2009
    Location: PreThinkHook()
    Old 07-05-2011 , 13:05   Re: [Any] Return Trip
    Reply With Quote #3

    You'd need to describe the problem a bit better.
    __________________
    DarthNinja is offline
    napalm00
    Veteran Member
    Join Date: Jun 2011
    Location: Italy, sadly
    Old 07-05-2011 , 13:38   Re: [Any] Return Trip
    Reply With Quote #4

    Quote:
    Originally Posted by DarthNinja View Post
    You'd need to describe the problem a bit better.
    yep sorry
    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"....
    napalm00 is offline
    DarthNinja
    SourceMod Plugin Approver
    Join Date: Mar 2009
    Location: PreThinkHook()
    Old 07-05-2011 , 14:27   Re: [Any] Return Trip
    Reply With Quote #5

    Sounds more like something the map maker should fix. It's also beyond the scope of this plugin.
    __________________
    DarthNinja is offline
    KyleS
    SourceMod Plugin Approver
    Join Date: Jul 2009
    Location: Segmentation Fault.
    Old 09-03-2011 , 17:00   Re: [Any] Return Trip
    Reply With Quote #6

    Nice plugin!

    You didn't undef REQUIRE_EXTENSIONS before you included tf2, so this will only function on TF2 at the moment.
    KyleS is offline
    DarthNinja
    SourceMod Plugin Approver
    Join Date: Mar 2009
    Location: PreThinkHook()
    Old 09-04-2011 , 09:08   Re: [Any] Return Trip
    Reply With Quote #7

    Oops, forgot to do that when I merged the versions.
    Should be fixed in the latest version.
    __________________
    DarthNinja 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 06:51.


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