SRCDS Steam group


Models download
#1
Hello.
I have a few custom models which I want clients to download from a hosting server.
I have set up properly my sv_downloadurl. Clients are able to download maps. The problem is that the only thing that is downloadable are the maps. My directory on the host is like this
http://domain.com/maps
http://domain.com/models
http://domain.com/materials

Maps are being downloaded but the models and materials not. The path in the server and host is the same so there is no mismatching.
Can anybody solve this problem.
Reply
#2
You don't need two slashes. (//)
Reply
#3
It was a typo. My bad.
Any other suggestions?
Thanks in advance.
Reply
#4
Can you PM me the link to your URL site?
Then I can go check the file struckture.
Reply
#5
Hey. I figured it out the problem. Sorry for the lost time.
Reply
#6
Can you post the solution so that other can learn?
~ Mooga ...w00t? - SRCDS.com on Twitter
[Image: 76561197965445574.png]
Please do not PM me for server related help
fqdn Wrote:if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected. that's the 2 sentence explanation.
Reply
#7
Yes of course Smile.
The problem I had was not sv_downloadurl. The files were ok, problem was that they were not forced to be downloaded. So I used a script in eventscripts to force the download. It looks like this:
Quote:block load
{
// Mark a sound as downloadable.

//Zombie
downloadable materials/models/player/slow/berserkerin/slow_body.vmt
downloadable materials/models/player/slow/berserkerin/slow_body.vtf
downloadable materials/models/player/slow/berserkerin/slow_body_bump
downloadable models/player/slow/berserkerin/slow.dx80.vtx
downloadable models/player/slow/berserkerin/slow.dx90.vtx
downloadable models/player/slow/berserkerin/slow.mdl
downloadable models/player/slow/berserkerin/slow.phy
downloadable models/player/slow/berserkerin/slow.sw.vtx
downloadable models/player/slow/berserkerin/slow.vvd
}
event es_map_start
{
// We must mark it as downloadable again on map change.

//Zombie
downloadable materials/models/player/slow/berserkerin/slow_body.vmt
downloadable materials/models/player/slow/berserkerin/slow_body.vtf
downloadable materials/models/player/slow/berserkerin/slow_body_bump
downloadable models/player/slow/berserkerin/slow.dx80.vtx
downloadable models/player/slow/berserkerin/slow.dx90.vtx
downloadable models/player/slow/berserkerin/slow.mdl
downloadable models/player/slow/berserkerin/slow.phy
downloadable models/player/slow/berserkerin/slow.sw.vtx
downloadable models/player/slow/berserkerin/slow.vvd
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)