Raised This Month: $119 Target: $400

[L4D2] Dead Infected Ghosts (1.0) [2012-Jul-13]

Post New Thread Reply   
Thread Tools Display Modes
Senior Member
Join Date: Sep 2011
Plugin ID:
Plugin Version:
Plugin Category:
Fun Stuff
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    Plugin Description:
    Shows a temporary ghost where a Special Infected died
    Old 07-13-2012 , 22:31   [L4D2] Dead Infected Ghosts (1.0) [2012-Jul-13]
    Reply With Quote #1


    After a Special Infected has been killed, a ghostly remnant of the infected soul will fade in, linger, and then fade-out (thanks to Mr. Zero for glow stocks). Each Special Infected has their own ghost color, configurable via cvar. This plugin uses Silvers' method of game mode enabling (on/off/tog), so you can disable it for versus if you're afraid of it making people rage quit for some reason.


    PHP Code:
    // Print debug output (7=all)
    l4d2_deadghost_debug "0"

    // Enables plugin
    l4d2_deadghost_enable "1"

    // Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all).
    l4d2_deadghost_modes ""

    // Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none).
    l4d2_deadghost_modes_off ""

    // Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.
    l4d2_deadghost_modes_tog "0"

    // Comma-separated RGB color for boomer's ghost
    l4d2_deadghost_boomercolor "0,255,100"

    // Comma-separated RGB color for charger's ghost
    l4d2_deadghost_chargercolor "255,70,0"

    // Comma-separated RGB color for hunter's ghost
    l4d2_deadghost_huntercolor "255,0,0"

    // Comma-separated RGB color for jockey's ghost
    l4d2_deadghost_jockeycolor "255,255,0"

    // Comma-separated RGB color for smoker's ghost
    l4d2_deadghost_smokercolor "0,0,255"

    // Comma-separated RGB color for spitter's ghost
    l4d2_deadghost_spittercolor "100,255,0"

    // Comma-separated RGB color for tank's ghost
    l4d2_deadghost_tankcolor "255,170,0" 



    Click "Get Plugin" and place in your plugins folder

    Attached Files
    File Type: sp Get Plugin or Get Source (l4d2_deadghosts.sp - 1084 views - 16.1 KB)

    Last edited by dcx2; 07-13-2012 at 23:34.
    dcx2 is offline
    Senior Member
    Join Date: May 2012
    Location: Liverpool UK
    Old 07-27-2014 , 17:08   Re: [L4D2] Dead Infected Ghosts (1.0) [2012-Jul-13]
    Reply With Quote #2

    Seem to be getting this error spamming the logs

    [SM] Plugin encountered error 15: Array index is out of bounds
    [SM] Displaying call stack trace for plugin "l4d2_deadghosts.smx":
    [SM] [0] Line 335, /home/groups/alliedmodders/forums/files/1/5/5/8/2/0/106407.attach::OnPlayerRunCmd()
    Munch is offline
    Junior Member
    Join Date: Jan 2013
    Old 07-24-2016 , 06:29   Re: [L4D2] Dead Infected Ghosts (1.0) [2012-Jul-13]
    Reply With Quote #3

    This plugin is cool... but there are 2 things which i would like to modify:

    1. When the infected dies, the glow remain will animate for a few seconds, sometimes animating though the entire lifespawn of the glow. I would like to force it static at all times

    2. The speed at witch the glow appears is slightly different from when the infected dies, it appears after a few ms ... I would like this modified to the exact moment when death occurs...

    I am not sure where to mess with the variables, so I'm asking either the author or someone else who is more knowledgeable.
    TinKode is offline

    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 05:41.

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