Jump to content

What the fuck, Hammer?


curman

Recommended Posts

Ok I'm having major troubles on the new SDK Hammer 4.0

I want to use the HL2 Textures/Models.

So I'm told all these different methods on how to do this, I get GCFScraper and extract all these models which totally didn't work and wasted an hour of my time.

Everytime I change my gameinfo.txt it changes back when i reopen Hammer although I put it on "READ-ONLY"

So what the hell can I do? Could someone like tell me all the correct ways?

Link to comment
Share on other sites

Gameinfo.txt worked for me, although the textures did not display in-game...

Modify the gameinfo.txt inside your sdk/bin/ folder (or copy it into there if it doesn't exist) and launch Hammer using the executable in /bin/ rather than via Steam - as Steam resets the file as it launches to piss you off.

Link to comment
Share on other sites

It should look like this:

"GameInfo"


{


	FileSystem


	{


		// If running under Steam, use this info.


		Steam


		{


			ToolsAppId				211		// Tools will load the depots associated with this app ID in addition to the


											// normal SteamAppId.




			SteamAppId				220		// This will mount all the GCFs we need (240=CS:S, 220=HL2).




			SearchPaths


			{


				Game				|STEAM|.\cstrike_sample_content


				Game				|STEAM|.\cstrike


				Game				|STEAM|.\hl2		// Note: when ToolsAppId is mapped, we get its materials/editor stuff in here.


				Executable_Path		|STEAM|.\bin


			}


		}




		NonSteam


		{


			SearchPaths


			{


				Game				.


				Game				..\cstrike


				Game				..\hl2


				Executable_Path		..\bin


			}


		}




		//


		// This can be omitted and it will use the same directory as gameinfo.txt is in for the write path.


		//


		// WritePath	.			// This is 'gamedir' in the tools, and the filesystem will write into here.


	}


}


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Mapcore Discord

  • Mapcore Supporters

    Our incredible Patreon supporters keep Mapcore's lights on. If you'd like to donate, check out our Patreon announcement.

    Note: This is brand new! The format will be tweaked and rolled out to more pages soon.

×
×
  • Create New...