| closedtext document -description of map |
| Started by =*MDMILBURN*= on 07-03-2010, 10:31 PM |
Threads: 11
Joined: Jun 2008
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
Threads: 103
Joined: May 2005
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
Threads: 11
Joined: Jun 2008
thanks you your help...nI added it to the res.file like thisn"maps/mapname.txt"nnnhope this helps others
Threads: 28
Joined: Sep 2008
The easiest way I found to create a map .res file is to download Resgen.rnrnhttp://www.slackiller.com/hlprograms/resgen110.ziprnrnI 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.rnrnWhenever I make new maps, I always create one of these and upload both the map and .res file at the same time.rnrnHere is the contents of one of those files:rnrnrn// dod_WSH_dixie_b2.res - created with RESGen v2.0.2.rn// RESGen is made by Jeroen "ShadowLord" Bogers,rn// with serveral improvements and additions by Zero3Cool.rn// For more info go to http://resgen.hltools.com <<<<<This is auto-generated, and there's nothing at this link at the momentrnrn// .res entries (26):rndod_advance.wadrndod_gon3.wadrndod_railroad_btm.wadrngfx/env/dawnbk.tgarngfx/env/dawndn.tgarngfx/env/dawnft.tgarngfx/env/dawnlf.tgarngfx/env/dawnrt.tgarngfx/env/dawnup.tgarnkami-small2.wadrnmodels/mapmodels/car021.mdlrnmodels/mapmodels/flo_sandbags.mdlrnmodels/mapmodels/jeep.mdlrnmodels/mapmodels/love_tiger-tr.mdlrnmodels/mapmodels/m4a3.mdlrnmodels/mapmodels/wood_barrel2.mdlrnmodels/w_aflag.mdlrnmodels/w_gflag.mdlrnmodels/w_wflag.mdlrnsmall-kami.wadrnsound/ambience/alliesscore.wavrnsound/ambience/axisscore.wavrnsound/ambience/dodambience2.wavrnsound/ambience/waterrun.wavrnsprites/mapsprites/caparea.sprrnstadtpark.wadrnrnThe link for the download and other mapping resources can be found here:rnhttp://www.slackiller.com/hlprograms.htm

