View Single Post
Knagg0
SourceMod Donor
Join Date: Dec 2005
Location: Germany
Old 12-05-2006 , 01:39   Re: World Decals (Map Adverts)
Reply With Quote #10

Quote:
Originally Posted by peagle
Out of interest, how come the "my_logo" line in your config doesn't have "materials" in the path?
Because the PrecacheDecal function starts in the materials dir

Is there any output on the server console?
Are the files on the server and webserver in the same/correct dir?

Did you test it with an other map?
Try this: addons/decal/de_dust2.txt

Code:
"de_dust2.txt"
{
	"my_logo"		"decals/custom/my_logo"

	"downloads"
	{
		"my_logo.vmt"	"materials/decals/custom/my_logo.vmt"
		"my_logo.vtf"	"materials/decals/custom/my_logo.vtf"
	}

	"decals"
	{
		"my_logo"	"-698.845703 -640.031250 224.579346"
		"my_logo"	"296.424500 2048.031250 -36.423077"
	}
}
The map files will only load on map start.
You have to change the map, when you edited it.

Last edited by Knagg0; 12-05-2006 at 01:43.
Knagg0 is offline