Raised This Month: $154 Target: $400
 38% 

[TF2] Fast Teleports


Post New Thread Reply   
 
Thread Tools Display Modes
Author
kim_perm
Member
Join Date: Sep 2007
Location: Perm, Russia
Plugin ID:
1638
Plugin Version:
0.0.2
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    54 
    Plugin Description:
    Change the time the teleport takes to recharge
    Old 05-04-2010 , 01:44   [TF2] Fast Teleports
    Reply With Quote #1

    TF2 Fast Teleport Tool

    Description:

    You will be able to change the time it takes to a teleport to recharge

    Idea:
    From original TF2 Teleport Tools ( http://forums.alliedmods.net/showthread.php?t=66670 )

    Reason:
    Old plugin is broken by Valve update.

    Cvars:
    • sm_tele_on (Default: 1) - Enable/Disable fast teleports
    • sm_teleblue_time (Default: 0.3) - Amount of time for blue tele to recharge, (Valve default for first level teleports: 10.0). Value 0.0 to disable plugin for blue team.
    • sm_telered_time (Default: 0.3) - Amount of time for red tele to recharge, (Valve default for first level teleports: 10.0). Value 0.0 to disable plugin for red team.
    Changelog:
    0.0.2
    Added native for individual recharge time. Added teletest.sp plugin, as sample for native usage.
    0.0.1
    Initial release.
    Attached Files
    File Type: sp Get Plugin or Get Source (tf2fastteleports.sp - 1612 views - 5.2 KB)
    File Type: sp Get Plugin or Get Source (teletest.sp - 257 views - 461 Bytes)
    File Type: inc tf2fasttele.inc (812 Bytes, 319 views)

    Last edited by kim_perm; 10-25-2011 at 05:42. Reason: New include uploaded
    kim_perm is offline
    Scone
    Senior Member
    Join Date: Apr 2010
    Location: England
    Old 05-04-2010 , 11:44   Re: [TF2] Fast Teleports
    Reply With Quote #2

    Looks good! One minor suggestion though - because the GetMaxClients() function will be depreciated in a future release, it's recommended that you use the global variable "MaxClients" instead.
    __________________
    Scone is offline
    noodleboy347
    SourceMod Donor
    Join Date: Mar 2009
    Old 05-04-2010 , 19:23   Re: [TF2] Fast Teleports
    Reply With Quote #3

    Wait why not use the one you posted? http://forums.alliedmods.net/showthread.php?t=66670
    noodleboy347 is offline
    alinayg
    Senior Member
    Join Date: Apr 2009
    Location: USA, RI
    Old 05-06-2010 , 13:53   Re: [TF2] Fast Teleports
    Reply With Quote #4

    Quote:
    Originally Posted by noodleboy347 View Post
    Wait why not use the one you posted? http://forums.alliedmods.net/showthread.php?t=66670
    It doesn't work. Also when the new engi update comes out, this might be broken again.
    __________________
    alinayg is offline
    kim_perm
    Member
    Join Date: Sep 2007
    Location: Perm, Russia
    Old 05-08-2010 , 01:07   Re: [TF2] Fast Teleports
    Reply With Quote #5

    Quote:
    Originally Posted by Scone View Post
    Looks good! One minor suggestion though - because the GetMaxClients() function will be depreciated in a future release, it's recommended that you use the global variable "MaxClients" instead.
    10x! Plugin reuploaded
    kim_perm is offline
    bouncer
    Veteran Member
    Join Date: Apr 2009
    Old 05-10-2010 , 18:17   Re: [TF2] Fast Teleports
    Reply With Quote #6

    Hey could you make a custom cvar to control how long those with flag "o" would have their teleporter recharge time?

    I am planning to use this for donators only, so donators would get instant charge, so I need this for custom flag o , so they have instant charge.
    __________________


    bouncer is offline
    alinayg
    Senior Member
    Join Date: Apr 2009
    Location: USA, RI
    Old 05-11-2010 , 02:13   Re: [TF2] Fast Teleports
    Reply With Quote #7

    I find it unfair that people get boost's in game that modify game play for donating, as someone said on our forum " Paying to cheat " But it's your choise, you can always edit the plugin source.

    Awesome plugin btw, good job.
    __________________
    alinayg is offline
    kim_perm
    Member
    Join Date: Sep 2007
    Location: Perm, Russia
    Old 05-11-2010 , 04:15   Re: [TF2] Fast Teleports
    Reply With Quote #8

    Quote:
    Originally Posted by bouncer View Post
    Hey could you make a custom cvar to control how long those with flag "o" would have their teleporter recharge time?

    I am planning to use this for donators only, so donators would get instant charge, so I need this for custom flag o , so they have instant charge.
    I don't want add same right's check to plugin, cas IMHO it's bad style. I add a native for individual time control. If you want use this plugin only for donators - set sm_teleblue_time and sm_telered_time to 0.0 and call SetTeleporterTime for every donator joining to your server. And be shure what you reset teletime for donator who disconnect from server (call SetTeleporterTime with time = 0.0).

    PS: And I agree with alinayg, I'll never play on servers where same people have "legal cheats" for they money. But it is on your conscience.
    PPS: May somebody check plugin for correctly "native mechanism" usage? I just copypaste it from other plugin, and not truly shure that I do all by Rules

    Last edited by kim_perm; 05-11-2010 at 04:41.
    kim_perm is offline
    Munra
    Senior Member
    Join Date: May 2004
    Old 05-18-2010 , 10:40   Re: [TF2] Fast Teleports
    Reply With Quote #9

    Plugin installed and it seems to be working fine!
    __________________
    http://anbservers.net
    My Plugins
    PMs for support will be ignored please use the plugin topic for support.
    Munra is offline
    bottswana
    Junior Member
    Join Date: Apr 2011
    Old 04-30-2011 , 11:39   Re: [TF2] Fast Teleports
    Reply With Quote #10

    This plugin isnt working on our server anymore.
    It's spamming this into your error logs everytime someone uses a teleporter.

    L 04/30/2011 - 11:52:10: [SM] Displaying call stack trace for plugin "tf2fastteleports.smx":
    L 04/30/2011 - 11:52:10: [SM] [0] Line 109, /home/groups/alliedmodders/forums/files/3/0/9/9/1/65502.attach::event_player_teleported()
    L 04/30/2011 - 11:52:22: [SM] Native "SetEntPropFloat" reported: Property "m_flRechargeTime" not found (entity 0/worldspawn)
    bottswana 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 10:12.


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