Releaseing Maps (.res Files)

SgtBarlowSgtBarlow Level Designer Join Date: 2003-11-13 Member: 22749Members, NS2 Developer
<div class="IPBDescription">Releaseing your map properly.</div> To mappers, Their seems to be a lot of maps going round with some missing resources, the big major one is NS maps missing <a href='http://www.unknownworlds.com/ns/Mapping_Guidelines.html#The_Minimap_Sprite' target='_blank'><u>Minimaps</u></a>.


Before releaseing your map you should do the following:

<a href='http://www.unknownworlds.com/ns/Mapping_Guidelines.html#The_Minimap_Sprite' target='_blank'><u><b>Minimaps</b></u></a>

For your <b>ns_</b> map you must distribute a minimap with your release.
To create a minimap you need to <u>Create Game</u> starting a game on your map.
Once in game you need to bring down the console by pressing the <b>Tidle Key</b> ( ~ ).
Type <span style='color:orange'><b>sv_cheats 1</b></span> into console and hit <u>Enter Key</u>.
Next type <span style='color:orange'><b>buildminimap</b></span> and hit <u>Enter Key</u>
Exit from the console returning to game and you will see a blue progress bar at the base of your screen, This indicates how much of the minimap has been created. When it reaches the end and disapears from screen this means it is compleated.
You will then find the minimap in the following directory:

<b>steamApps/my_account_name/half-life/ns/sprites/minimaps/<u>ns_MY-MAP-NAME.spr</u></b>

This sprite file is the overview of your map used for the commander and players minimap view.


<a href='http://www.unknownworlds.com/ns/Mapping_Guidelines.html#File_Naming_Standards' target='_blank'><u><b>File Structure and checklist</b></u></a>

You should have a <u>basic</u> file structure ready for zipping/release and should look like this:
<span style='color:orange'>
/ns/maps/ns_MY-MAP-NAME.bsp
/ns/maps/ns_MY-MAP-NAME.txt
/ns/maps/ns_MY-MAP-NAME<b>.res</b>
/ns/sprites/minimaps/ns_MY-MAP-NAME.spr
</span>

<a href='http://www.unknownworlds.com/ns/Mapping_Guidelines.html#The_.res_File' target='_blank'><b>Createing the <u>.RES file</u></b></a>

Open WordPad or Notepad and add the following <u>standard</u> lines:
<span style='color:orange'>
maps/ns_MY-MAP-NAME.txt
maps/ns_MY-MAP-NAME.res
sprites/minimaps/ns_MY-MAP-NAME.spr
</span>

<u>Save the file as My-MAP-NAME.res</u>
<i>Make sure when you save it you slected <u>Save As: All File types</u> <b>not</b> as a .txt file. Also check you have <b>not</b> saved the file as MY-MAP-NAME.res.txt</i>

Any custom sounds / models / sprites / WAD files should also be listed in this .RES file and the file should be released with with the map `but <u>not</u> the .bsp file`, The .RES file is used by servers to make sure it downloads all the needed resources for your map, The .RES file is still valid for STEAM.
<!--emo&::tsa::--><img src='http://www.unknownworlds.com/forums/html/emoticons/tsa.gif' border='0' style='vertical-align:middle' alt='tsa.gif' /><!--endemo-->

Comments

Sign In or Register to comment.