Raised This Month: $7 Target: $400
 1% 

[L4D & L4D2] Infected Ghost Everywhere


Post New Thread Reply   
 
Thread Tools Display Modes
Author
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Plugin ID:
994
Plugin Version:
1.5
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Replaces L4Ds Stock Infected Teleport System
    Old 07-11-2009 , 11:42   [L4D & L4D2] Infected Ghost Everywhere
    Reply With Quote #1

    Are you too annoyed by the default L4D(2) teleport System as Infected Ghost? It always brings you to the Survivor who is farthest (navigation wise), and then doesn't even turn you in his running direction. If he's running for it, you have a hard time spawning infront of him.

    Also, you can't ever warp to Survivors splitting behind the lead one.


    Well, NOT ANYMORE

    This Plugin completely replaces the default system. By pressing (or holding) USE you now get teleported to every other Player in turn (one each second, so you don't shoot past your target). Also, it has you face the same way the Target is facing, so you can immediatly charge past him and find an ambush spot.

    [ Version 1.3 includes teleporting to Infected. Both as feature and because i cannot get them rid of in function output ]

    As an added bonus you get a small over-crosshair-message about who you just teleported to.


    This plugin comes in two version because it was originally built for a new Sourcemod 1.3 command. To use the SM 1.3 Version, you need .. well Sourcemod 1.3

    I've also written a Version for SM 1.2 using good ol' OnGameFrame, which in theory uses up somewhat more server resources.


    Changelog

    1.0 - First Release
    1.1 - Added Fallback code if all else fails.
    1.2 - Complete Code Rework. Should work a lot better now
    1.3 - Extensive Bugfixing
    1.4 - Should not teleport to dead Bots anymore
    1.5 - code cleanup
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_infectedghosteverywhere_SM1.3.sp - 4121 views - 2.9 KB)
    File Type: sp Get Plugin or Get Source (l4d_infectedghosteverywhere.sp - 2927 views - 3.0 KB)

    Last edited by AtomicStryker; 11-20-2009 at 11:48.
    AtomicStryker is offline
    El Goretto
    Junior Member
    Join Date: Jan 2009
    Location: France
    Old 07-11-2009 , 17:46   Re: [L4D] Infected Ghost Everywhere
    Reply With Quote #2

    Damned, 2 wonderful plugins in a week...
    AtomicStryker, are you on drugs or what?

    Thank you (again) for this one, I'll test it soon.
    El Goretto is offline
    olj
    Veteran Member
    Join Date: Jun 2009
    Old 07-12-2009 , 08:44   Re: [L4D] Infected Ghost Everywhere
    Reply With Quote #3

    Quote:
    Originally Posted by El Goretto View Post
    Damned, 2 wonderful plugins in a week...
    AtomicStryker, are you on drugs or what?

    Thank you (again) for this one, I'll test it soon.
    THATS 3 PLUGINS DUDE. He also attached "Boomer splash damage" plugin somewhere in "cloud damage" plugin thread. Hm, that doesnt work for bots.

    Last edited by olj; 07-12-2009 at 08:56.
    olj is offline
    olj
    Veteran Member
    Join Date: Jun 2009
    Old 07-13-2009 , 15:45   Re: [L4D] Infected Ghost Everywhere
    Reply With Quote #4

    Dude, it doesnt work. I played 10 vs 10 and it didnt work at all. What build of 1.3 source mod actually needed, mb i have old snapshot of 1.3 version.
    olj is offline
    Antithasys
    Moderator
    Join Date: Apr 2008
    Old 07-13-2009 , 17:29   Re: [L4D] Infected Ghost Everywhere
    Reply With Quote #5

    Please update your public cvar with the notify flag and your plugin will be approved.

    Reference: http://forums.alliedmods.net/showthread.php?t=57142
    __________________
    [my plugins]

    When you think about asking a question... consider what have you tried?
    Antithasys is offline
    AtomicStryker
    Veteran Member
    Join Date: Apr 2009
    Location: Teutonia!!
    Old 07-13-2009 , 18:46   Re: [L4D] Infected Ghost Everywhere
    Reply With Quote #6

    Quote:
    Originally Posted by Antithasys View Post
    Please update your public cvar with the notify flag and your plugin will be approved.

    Reference: http://forums.alliedmods.net/showthread.php?t=57142


    PHP Code:
    #define CVAR_FLAGS FCVAR_PLUGIN|FCVAR_SPONLY|FCVAR_NOTIFY 
    uhhhh ?



    Quote:
    Originally Posted by olj View Post
    Dude, it doesnt work. I played 10 vs 10 and it didnt work at all. What build of 1.3 source mod actually needed, mb i have old snapshot of 1.3 version.
    You need the one that has OnClientCmd in it, i think 2711


    I've just tested it myself again, it works, but also found a loophole that might glitch out the entire thing. I've added sort of an debugging command at the end .. now it should work at all times, even if you might have to press use twice.

    Last edited by AtomicStryker; 07-13-2009 at 18:56.
    AtomicStryker is offline
    AngryVag
    Member
    Join Date: Jun 2009
    Old 07-13-2009 , 21:00   Re: [L4D] Infected Ghost Everywhere
    Reply With Quote #7

    L 07/13/2009 - 18:23:25: SourceMod error session started
    L 07/13/2009 - 18:23:25: Info (map "l4d_vs_hospital02_subway") (file "errors_20090713.log")
    L 07/13/2009 - 18:23:25: [SM] Native "GetClientAbsOrigin" reported: Client 5 is not in game
    L 07/13/2009 - 18:23:25: [SM] Displaying call stack trace for plugin "l4d_infectedghosteverywhere.smx":
    L 07/13/2009 - 18:23:25: [SM] [0] Line 98, /home/groups/alliedmodders/forums/files/5/2/2/3/3/45265.attach:layerPressesUse()
    L 07/13/2009 - 18:23:25: [SM] [1] Line 50, /home/groups/alliedmodders/forums/files/5/2/2/3/3/45265.attach::OnGameFrame()
    L 07/13/2009 - 18:23:26: [SM] Native "GetClientAbsOrigin" reported: Client 5 is not in game
    L 07/13/2009 - 18:23:26: [SM] Displaying call stack trace for plugin "l4d_infectedghosteverywhere.smx":
    L 07/13/2009 - 18:23:26: [SM] [0] Line 98, /home/groups/alliedmodders/forums/files/5/2/2/3/3/45265.attach:layerPressesUse()
    L 07/13/2009 - 18:23:26: [SM] [1] Line 50, /home/groups/alliedmodders/forums/files/5/2/2/3/3/45265.attach::OnGameFrame()
    L 07/13/2009 - 181:11: Error log file session closed.
    __________________
    AngryVag is offline
    olj
    Veteran Member
    Join Date: Jun 2009
    Old 07-14-2009 , 05:00   Re: [L4D] Infected Ghost Everywhere
    Reply With Quote #8

    OK i will check what version i have and will get 1.1 version of plugin also.
    olj is offline
    AtomicStryker
    Veteran Member
    Join Date: Apr 2009
    Location: Teutonia!!
    Old 07-14-2009 , 05:22   Re: [L4D] Infected Ghost Everywhere
    Reply With Quote #9

    Quote:
    Originally Posted by AngryVag View Post
    L 07/13/2009 - 18:23:25: [SM] Native "GetClientAbsOrigin" reported: Client 5 is not in game
    And another plugin gives me this error in a line that had a if IsClientIngame infront of it

    Well. I've added what should be a fix to these messages.
    AtomicStryker is offline
    olj
    Veteran Member
    Join Date: Jun 2009
    Old 07-14-2009 , 12:52   Re: [L4D] Infected Ghost Everywhere
    Reply With Quote #10

    Ok, i have 2690 version, lol. I think its kinda old so i will upgrade later (im reading scripting manuals now).
    olj 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 01:48.


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