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

[L4D2] Witch Precache


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
CanadaRox
Member
Join Date: Dec 2009
Plugin ID:
1629
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    26 
    Plugin Description:
    If the witch/witch_bride aren't precached, it precaches to prevent crashing if a player or plugin uses "z_spawn witch" or "z_spawn witch_bride".
    Old 04-29-2010 , 19:15   [L4D2] Witch Precache
    Reply With Quote #1

    Description:
    I was playing on a 10v10 server with an option to buy infected. The map was c6m1_riverbank and I tried to purchase a witch causing the server to crash. I found that what caused the crash was z_spawn witch, because the model was not precached.
    What this plugin does is checks if the witch model and witch bride model are precached. If they aren't, it precaches to prevent crashing if a player or plugin uses "z_spawn witch" or "z_spawn witch_bride".

    CVARs:
    l4d2_witchprecache_enable 1/0 - Toggle precaching of witch models to prevent crashes caused by z_spawn witch/witch_bride (default: 1)

    Changelog:
    1.0
    - Initial release
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d2witchprecache.sp - 5589 views - 1.0 KB)

    Last edited by psychonic; 05-11-2010 at 11:35. Reason: added public cvar to post header
    CanadaRox is offline
     



    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 19:48.


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