Jump to content

Recommended Posts

Posted

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?

Posted

I'd love to give you a real answer, but I haven't found a way to do this either.

The best advice I can give you right now; would be to wait for the full SDK release. However, I know there are ways to do this.

Posted

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.

Posted

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.


	}


}


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.

  • Mapcore Supporters

    aphexjh       Badroenis       celery⭐      EGO DEATH ⭐      Freaky_Banana      FMPONE ⭐      Harry Godden      JimWood ⭐      JSadones      poLemin      Vaya

    Funds go towards hosting and license costs, Discord server boosts, and more. If you'd like to donate, check out our Patreon announcement.

×
×
  • Create New...