Please help! Created 18 years ago2005-12-04 02:34:30 UTC by HLDG83 HLDG83

Created 18 years ago2005-12-04 02:34:30 UTC by HLDG83 HLDG83

Posted 18 years ago2005-12-04 02:34:30 UTC Post #150343
Hi everyone! I wanted to create Half-Life maps so I downloaded the Hammer Editor and found this website. The tutorial about making the room and placing the light was helpful, but I have a problem. The last step is to press F9 and the game runs so I can test out my map, but it gives me an error everytime:

WARNING: couldn't open valve/tfc.wad

What do I do? I check the valve folder and there is no such file!
Posted 18 years ago2005-12-04 03:03:07 UTC Post #150345
The error is self-explanatory. It's basically stating that there is no tfc.wad in the valve folder.

If you need the wad, then either copy it into the valve folder (not too recommended) or if you know how, -wadinclude it into the map (probably the best option but will make the map bigger in file size).

However, if you don't need the wad, just remove it from the texture list and recompile it.
Posted 18 years ago2005-12-04 03:16:35 UTC Post #150346
Thank you! I found and copied the file and it worked. I got to run around my small room in circles, I am so happy!

Thanks again for helping! :D
Posted 18 years ago2005-12-04 06:00:01 UTC Post #150347
Save your self some time and grief by learning how to use -wadinclude in your HLCSG compile. If the map is just for you and you are learning/practicing..why not, just a bit of increased filesize on maps you will probably delete anyhow as you progress in skill.

To use this function is fairly basic...first of all make sure you are using a version of Zoner's Halflife Tools...(ZHLT)
http://ammahls.com/index.php?page=downloadcat&cat=tools

I'm assuming as a new mapper, you are using Hammer to do your compiles...if you are, press f9 and clickie the "expert" button. On your HLCSG command line it will say $csg_exe....leave that be. In the parameters part I'd have mine set like this with a basic setup.

$path$file -wadinclude nameofwadhere -high.... I put the .wad file I am using to include in the map right in my core hammer directory so I don't need have to type in pathnames...heheh lazy like that :)
You don't need to put .wad on the filename when using -wadinclude either :)

Here is some documentation on this from ZHLT on the -wadinclude function...

-wadinclude :: file Place textures used from wad specified into bsp.

This option will cause csg to include used textures from the named wadfile into the bsp. It does partial name matching, is not case sensitive, and can also match directory names. If multiple includes need to be done, -wadinclude must be specified multiple times, once for each include. Only textures actually used in the map are included into the bsp.

Happy mapping man! :cyclops:
You must be logged in to post a response.