> I just had a quick browse of the source and I have found the problem.
>
> the error message:
> > Warning: Unable to open sound/ for transfer
>
> means it trying to send the file "sound/" to the client. This won't work
:)
> You need to PRECACHE_* files only, not directories nor can you use
wildcards
> (i.e sound/*.wav). you need one precache per file. Also note there is a
> limit to the number of precached files (512 sounds, 512 models/others).

Also, if I remember correctly from the work I did on my Stripper2 plugin,
you don't include the directory name "sound/" when precaching sounds (the
engine automatically adds the "sound/" part to the filename).

When precaching models, the file name should be "models/filename.mdl", when
precaching sprites, it's "sprites/filename.spr", but when precaching sounds,
it's just "filename.wav".

Jeffrey "botman" Broome

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to