Raised This Month: $32 Target: $400
 8% 

[L4D & L4D2] Spec2Ghost Teleport (1.6) [30-Jul-2022]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Plugin ID:
2974
Plugin Version:
1.6
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    4 
    Plugin Description:
    Teleports special infected, who are entering ghost mode, to where they were spectating.
    Old 05-27-2012 , 12:31   [L4D & L4D2] Spec2Ghost Teleport (1.6) [30-Jul-2022]
    Reply With Quote #1

    About:
    • Teleports special infected, who are entering ghost mode (after spectating while dead), to where they were spectating.
    • Without this plugin, the game would teleport you near the survivors.
    • The only cvar: l4d_spec2ghost_version


    Thanks for support and testing:
    • Dont Fear The Reaper
    • Dr!fter


    Changes:
    Code:
    1.6 (30-Jul-2022)
        - Recompiled against SourceMod version 1.11 and Left4DHooks version 1.111. Thanks to "Hawkins" for reporting error messages with Left4DHooks version 1.110.
    
    1.5 (08-Mar-2022)
        - Plugin now teleports to the same eye angles. Thanks to "Eyal282" for reporting.
    
    1.4 (04-Dec-2021)
        - Minor change to code to fix a bad coding practice.
        - The stuck method test no longer requires Left4DHooks and defaults to the games selected spawn position if they are stuck.
        - The method for finding a nearby valid area still requires Left4DHooks.
    
    1.3 (28-Apr-2021)
        - Optionally uses Left4DHooks 1.36+ to detect if a players stuck and finds a valid area nearby. Thanks to "Voevoda" for reporting and testing.
        - Added commmand "sm_stucktest" to test and teleport yourself to a nearby area if stuck. Uses the same method for detection and fixing.
        - Now ignores the players location when first spawning on each new round. Thanks to "s.m.a.c head" and "Beatles" for reporting.
    
    1.2a (24-Sep-2020)
        - Compatibility update for L4D2's "The Last Stand" update.
        - GameData .txt file updated.
    
    1.2 (10-May-2020)
        - Added better error log message when gamedata file is missing.
        - Various changes to tidy up code.
    
    1.1.1 (21-Jul-2018)
        - Changed a CreateTimer with RequestFrame, for faster response to teleport.
        - Updated gamedata offsets in L4D1 and L4D2 so the plugin works again.
    
    1.1 (05-May-2018)
        - Converted plugin source to the latest syntax utilizing methodmaps. Requires SourceMod 1.8 or newer.
    
    1.0 (27-May-2012)
        - Initial release.

    Compiling:
    1. Put the DHooks (Dynamic Hooks) include into your \addons\sourcemod\scripting\include\ folder.
    2. Put the plugins .sp file into your scripting folder and compile the plugin.


    Requirements:

    Installation:
    • Download the .zip and extract the files to their respective folders in your servers \addons\sourcemod\ folder.
    • This plugin was compiled with DHooks (Dynamic Hooks) version 1.0.6.
    Attached Files
    File Type: zip l4d_spec2ghost.zip (11.3 KB, 214 views)
    __________________

    Last edited by Silvers; 09-07-2023 at 22:10.
    Silvers is offline
    DaN1kyM
    Junior Member
    Join Date: Apr 2012
    Location: Russia =)
    Old 05-27-2012 , 13:00   Re: L4D & L4D2] Spec2Ghost Teleport (1.0) [27-May-2012]
    Reply With Quote #2

    THX dude
    DaN1kyM is offline
    Simca
    Senior Member
    Join Date: Feb 2012
    Old 05-27-2012 , 21:40   Re: L4D & L4D2] Spec2Ghost Teleport (1.0) [27-May-2012]
    Reply With Quote #3

    OOhh nice idea. I'll try it Thanks.
    Simca is offline
    s.m.a.c head
    Senior Member
    Join Date: Apr 2012
    Location: Liverpool
    Old 07-06-2012 , 02:37   Re: [L4D & L4D2] Spec2Ghost Teleport (1.0) [27-May-2012]
    Reply With Quote #4

    trying sounds fantastic =))
    s.m.a.c head is offline
    s.m.a.c head
    Senior Member
    Join Date: Apr 2012
    Location: Liverpool
    Old 07-06-2012 , 12:55   Re: [L4D & L4D2] Spec2Ghost Teleport (1.0) [27-May-2012]
    Reply With Quote #5

    ok works nice +)
    {BUG}
    at the end of a map it when you change from survivor to infected it spawns you in the end safe room instead of the start safe room , Now I know its only a matter of pressing E but you would be surprised
    Hope this can be fixed without too much bother
    but good work indeed its awesome
    s.m.a.c head is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 07-06-2012 , 14:47   Re: [L4D & L4D2] Spec2Ghost Teleport (1.0) [27-May-2012]
    Reply With Quote #6

    Quote:
    Originally Posted by s.m.a.c head View Post
    ok works nice +)
    {BUG}
    at the end of a map it when you change from survivor to infected it spawns you in the end safe room instead of the start safe room , Now I know its only a matter of pressing E but you would be surprised
    Hope this can be fixed without too much bother
    but good work indeed its awesome
    Oh well, not something I will bother to fix.
    __________________
    Silvers is offline
    s.m.a.c head
    Senior Member
    Join Date: Apr 2012
    Location: Liverpool
    Old 07-07-2012 , 03:18   Re: [L4D & L4D2] Spec2Ghost Teleport (1.0) [27-May-2012]
    Reply With Quote #7

    also a strange new bug that ties two characters together and makes the game unplayable you have no control (then on being ghost and back to zombie was stuck every time )
    also made the tank on swap appear under the map then on being ghost and back to zombie was stuck every time

    Why you want bother to fix ? its a good plugin man ,
    s.m.a.c head is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 07-07-2012 , 05:49   Re: [L4D & L4D2] Spec2Ghost Teleport (1.0) [27-May-2012]
    Reply With Quote #8

    Because you're spawning inside the world, that's also not something I will fix, press E to teleport back into the world.
    __________________
    Silvers is offline
    s.m.a.c head
    Senior Member
    Join Date: Apr 2012
    Location: Liverpool
    Old 09-27-2012 , 05:53   Re: [L4D & L4D2] Spec2Ghost Teleport (1.0) [27-May-2012]
    Reply With Quote #9

    is there no way to have something that auto presses E at the start of a round ?
    s.m.a.c head is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 07-21-2018 , 07:07   Re: [L4D & L4D2] Spec2Ghost Teleport (1.1.1) [21-Jul-2018]
    Reply With Quote #10

    Quote:
    1.1.1 (21-Jul-2018)
    - Changed a CreateTimer with RequestFrame, for faster response to teleport.
    - Updated gamedata offsets in L4D1 and L4D2 so the plugin works again.

    Quote:
    Originally Posted by s.m.a.c head View Post
    is there no way to have something that auto presses E at the start of a round ?
    Sure, but why?
    __________________

    Last edited by Silvers; 07-21-2018 at 07:07.
    Silvers is offline
    Reply



    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 23:16.


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