View Single Post
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 10-13-2010 , 22:04   Re: Problem with the "Knife Fight" Plugin for CS:S
Reply With Quote #6

Quote:
Originally Posted by ninelives View Post
Okay, in console it said, failed to load (sound.wav) probably missing from disk\repository
Quote:
Originally Posted by NoS View Post
It didn't download, you need to actually install it properly.
And if server is set to sv_pure 1, to allow clients use this file on server...
edit pure_server_whitelist.txt
You find this file from hl2 folder
Example allow knifefight sound
Code:
whitelist
{
    //
    // 3 modifiers are allowed on file specifications:
    //
    //    from_steam            - only check the Steam cache for the file (ignore anything on disk)
    //    allow_from_disk        - allow the file to come from disk
    //    check_crc            - used with allow_from_disk - server does CRC checks on the client's file to make sure it matches
    //
    //    The default modifier on all files is allow_from_disk. Thus, all files can come from disk and don't need CRC checks unless 
    //    allow_from_disk can be set at the same time as check_crc. Use the + character in between them to signify this: allow_from_disk+check_crc.


    //
    // Three types of file specifications:
    //
    //    1. directory\*.*            - refers to all files under the directory
    //    2. directory\...            - refers to all files under the directory and all directories under that (recursively)
    //    3. directory\filename        - refers to a single file
    

    //    
    // By default, when in pure server mode, most content file types are only allowed to come from Steam.
    //
    materials\...        from_steam
    models\...            from_steam
    sound\...            from_steam
    
    
    //
    // Allow custom player models. Don't do CRC checks on them because the clients may all
    // have different custom models and the server won't have them all.
    //    
    models\player\...            allow_from_disk
    materials\models\player\...    allow_from_disk

    // Allow custom sounds
    sound\knifefight\...        allow_from_disk

    //
    // Allow custom spray decals.
    //
    materials\temp\...            allow_from_disk
    materials\vgui\logos\...    allow_from_disk
    materials\vgui\logos\ui\...    allow_from_disk
    
    //
    // Allow replay browser thumbnails.
    //
    materials\vgui\replay\thumbnails\...   allow_from_disk
    
    //
    // (Uncomment and edit these for mods).
    // Allow mod resources to come from disk.
    //
    // materials\mymod\...        allow_from_disk+check_crc
    // models\mymod\...            allow_from_disk+check_crc
    // sound\mymod\...            allow_from_disk+check_crc
}
Bacardi is offline