PDA

View Full Version : text document -description of map


=*MDMILBURN*=
07-03-2010, 11:31 PM
you load a map in a server there is a text document on a notepad file that a player downloads with the map and it gives a hopefully brief info of the map , objectives etc. , who here knows how to include this in a map as its not done with a RES. file it has to be compiled into it

diamond-optic
07-04-2010, 01:51 AM
its not compiled into the map.. its just a txt file in the maps directory with the same filename as the map itself, just txt extension instead of bsp

=*MDMILBURN*=
07-04-2010, 11:48 AM
thanks you your help...
I added it to the res.file like this
"maps/mapname.txt"


hope this helps others

gunsofnavarone
07-25-2010, 08:37 AM
The easiest way I found to create a map .res file is to download Resgen.

http://www.slackiller.com/hlprograms/resgen110.zip

I put resgen.exe into my maps folder, then I drag and drop the specific map file onto resgen.exe. A DOS window opens up when you do this, and it creates the .res file automatically. I then upload the file to the server into the map directory.

Whenever I make new maps, I always create one of these and upload both the map and .res file at the same time.

Here is the contents of one of those files:


// dod_WSH_dixie_b2.res - created with RESGen v2.0.2.
// RESGen is made by Jeroen "ShadowLord" Bogers,
// with serveral improvements and additions by Zero3Cool.
// For more info go to http://resgen.hltools.com <<<<<This is auto-generated, and there's nothing at this link at the moment

// .res entries (26):
dod_advance.wad
dod_gon3.wad
dod_railroad_btm.wad
gfx/env/dawnbk.tga
gfx/env/dawndn.tga
gfx/env/dawnft.tga
gfx/env/dawnlf.tga
gfx/env/dawnrt.tga
gfx/env/dawnup.tga
kami-small2.wad
models/mapmodels/car021.mdl
models/mapmodels/flo_sandbags.mdl
models/mapmodels/jeep.mdl
models/mapmodels/love_tiger-tr.mdl
models/mapmodels/m4a3.mdl
models/mapmodels/wood_barrel2.mdl
models/w_aflag.mdl
models/w_gflag.mdl
models/w_wflag.mdl
small-kami.wad
sound/ambience/alliesscore.wav
sound/ambience/axisscore.wav
sound/ambience/dodambience2.wav
sound/ambience/waterrun.wav
sprites/mapsprites/caparea.spr
stadtpark.wad

The link for the download and other mapping resources can be found here:
http://www.slackiller.com/hlprograms.htm