Serving Custom Maps
Wyzcrak
Pot Pie Aficionado Join Date: 2002-12-04 Member: 10447Forum Moderators, Constellation, NS2 Playtester, Squad Five Blue
<div class="IPBDescription">through the HLDS or w/ sv_downloadurl...</div> When I host ns_custommap on my beta4a server, players connecting don't get all of the map files downloaded. I don't see anything about it in the bug database, and I thought I'd run it past you guys before I submit it.
Has anyone else experienced this? When players connect, they download the map and are able to join just fine, but they don't get the minimap (they see players and res nodes and hives on the minimap, but no "blue" areas where walkways and floors are -- they see entitities on the minimap but not the minimap itself).
I am thoroughly confident that all files are in their proper locations in order to serve custom maps from the server.
Has anyone else experienced this? When players connect, they download the map and are able to join just fine, but they don't get the minimap (they see players and res nodes and hives on the minimap, but no "blue" areas where walkways and floors are -- they see entitities on the minimap but not the minimap itself).
I am thoroughly confident that all files are in their proper locations in order to serve custom maps from the server.
Comments
in order for clients to download all parts of the map there must be a res file
this is simply a 'txt' file with the txt extension changed to res
the filename sould be the same as the map name e.g.
ns_nancy.bsp should have ns_nancy.res (obviously nancy doesnt need 1 as it isnt custom)
int here you need to specify all files (bar the bsp) associated with the map.
e.g. ns_siege007.bsp would have ns_siege007.res and in there you would have
sprites/minimaps/ns_siege007.spr
this file should be in your maps folder.
This then tells the server to send the .spr file along with the map.
You can download a automated res file creater <a href='http://www.unitedadmins.com/resgen.php' target='_blank'>here</a> , while i havent used it myself (i prefere manual touch) people have said it works fine