Custom textures - trouble

echelon

2008-08-27 00:39:37

hi.

How do you make custom textures work on an online server? I've tried including it into the bsp, tried several progs, and done it the way it is described, and the bsp file even gets larger, so i know the textures are saved into the bsp, but somehow ppl cant download them automaticly.

The textures do work fine on my local machine, and IF you have the files manually installed, it will display perfect even when you're on the server, but i need it to be able to download automatic for anybody joining the server.

What am i doing wrong? Is there a better way?

Swot

2008-08-28 02:37:36

If you include custom texes into a bsp the client needs this "new" bsp.

if you just want do add some textures additionaly (something like advertising or clanbanner?) you could write a resource file..
it's a simple text file (written in notebook for example). The name depends on the map. for dm_overwatch.bsp for example: dm_overwatch.res (place it in the map folder as well)

the content of this file should be something like this:

Code: Select all

"resources"
{
"materials/project/texture01.vmt" "file"
"materials/project/texture01.vtf" "file"
}
now if a client connects to your server (and does not have cl_downloadfilter activated!) the game will automatically download all the files you have listed into the resource file.

Hopefully this is what you're looking for.