View Single Post
MaloModo
Veteran Member
Join Date: Aug 2008
Old 04-14-2012 , 01:47   Re: [TF2] Freak Fortress 2
#221

Quote:
Originally Posted by S_W_A_T View Post
Outcome for custom boss issues.

#1-Actully the client wasn't re-downloading the file. If you see your "mat_download" attribute, you declare the filename "spy_kruger_sweater_normal". But all i can see in the actual file, there is only "spy_kruger_sweater_normal.vtf".

If you declare the filename in the "mat_download" attribute, the plugin will automatically download the .vtf and .vmt. And since there no .vmt file for this file, the client will try to keep redownloading the non-existence file everytime they connect. To fix this. Simply place the file in the "download" attribute like so:
PHP Code:
    "mat_download"                                                //Downloads: ".vtf", ".vmt"
    
{
        
"1" "materials\freak_fortress_2\freddy\spy_kruger_sweater"
        "2" "materials\freak_fortress_2\freddy\spy_kruger_sweater_blue"
    
}
    
"download"                                                    //Downloads these files
    
{
        
"1" "materials\freak_fortress_2\freddy\spy_kruger_sweater_normal.vtf"
    

Actually that makes sense after looking at all things, including code looking for vmt and vtf. I will try it. Thanks for your time man . I will post results.
MaloModo is offline