Defining textures in a second game configuration

Defining textures in a second game configuration

Re: Defining textures in a second game configuration Posted by glenc on Sun Nov 14th 2004 at 5:24pm
glenc
19 posts
Posted 2004-11-14 5:24pm
glenc
member
19 posts 12 snarkmarks Registered: Nov 14th 2004
So I followed the first time config instructions for Hammer and am able to make CS maps no problem.

However, when I try to create a second game configuration, I get the following message in Hammer when starting a new map:

"No textures are available for use with that game. You must set
them up in the Textures tab of the Options dialog box before you can
edit maps for this game."

Okay, I assume by Textures tab they mean Materials tab, but when I look
there, there's already something in there called "textures.wad" (which
doesn't seem to exist anywhere on my HD btw).

Anyway I've tried this with a custom FGD as well as the plain old base.fgd and both give me the same result.

Anyone know of a workaround or is this just a bug in Hammer?
Re: Defining textures in a second game configuration Posted by ReNo on Sun Nov 14th 2004 at 5:40pm
ReNo
5457 posts
Posted 2004-11-14 5:40pm
ReNo
member
5457 posts 1991 snarkmarks Registered: Aug 22nd 2001 Occupation: Level Designer Location: Scotland
Is this game config you are setting up for a HL1 engine game or a Source engine game?
Re: Defining textures in a second game configuration Posted by Leperous on Sun Nov 14th 2004 at 6:26pm
Leperous
3382 posts
Posted 2004-11-14 6:26pm
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
This is a Hammer problem which I hope will be fixed this week.

Create your second game configuration, and exit Hammer. Open the gamecfg.ini file in your sourcesdk/bin directory, and copy & paste the CS:Source settings into where they would go for your new config (you'll see when you open the file).

The textures used are, I think, currently defined in the gameinfo.txt file- one of the Hammer config lines will point to the directory containing this, but I'm not sure which right now (I have moved a lot of files around so I'm not sure how it compares to a fresh install!). However, at this stage you can only use the CS:Source textures, so there isn't actually any point in making a second game configuration yet!
Re: Defining textures in a second game configuration Posted by glenc on Sun Nov 14th 2004 at 7:51pm
glenc
19 posts
Posted 2004-11-14 7:51pm
glenc
member
19 posts 12 snarkmarks Registered: Nov 14th 2004
Awesome - that worked!

Need the new FDG for a new mod - defining custom entities :smile:

Thanks again,

glen