This problem similar to
https://forums.alliedmods.net/showthread.php?t=212651
While trying to use env_funnel, I had to copy the flare6 sprite over from hl2mp as TF2 was missing it.
However, the texture only works when the server first boots up, after a map change, it stops working.
In the console I receive the following:
Code:
CMaterial::PrecacheVars: error loading vmt file for sprites/flare6
This is my code for precaching it.
PHP Code:
public void OnMapStart() {
AddFileToDownloadsTable("materials/sprites/flare6.vmt");
AddFileToDownloadsTable("materials/sprites/flare6.vtf");
PrecacheModel("materials/sprites/flare6.vmt", true);
}