curman Posted November 24, 2004 Report Share Posted November 24, 2004 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? Quote Link to comment Share on other sites More sharing options...
ShaDoW Posted November 24, 2004 Report Share Posted November 24, 2004 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. Quote Link to comment Share on other sites More sharing options...
curman Posted November 24, 2004 Author Report Share Posted November 24, 2004 When's full release? it worked for me before and then the next day it didn't Quote Link to comment Share on other sites More sharing options...
Taylor Posted November 24, 2004 Report Share Posted November 24, 2004 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. Quote Link to comment Share on other sites More sharing options...
st0lve Posted November 24, 2004 Report Share Posted November 24, 2004 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. } } Quote Link to comment Share on other sites More sharing options...
JynxDaddy Posted November 24, 2004 Report Share Posted November 24, 2004 This worked for me. http://www.snarkpit.com/editing.php?pag ... HL2&id=119 Follow it EXCACTLY Quote Link to comment Share on other sites More sharing options...
Duff-e Posted November 24, 2004 Report Share Posted November 24, 2004 oh god....is that code....have they some how incorporated code into mapping.....yea im never touching hammer again Quote Link to comment Share on other sites More sharing options...
Taylor Posted November 24, 2004 Report Share Posted November 24, 2004 That's just a configuration file, hammer doesn't have any coding or scripting in it. Which is a concept shared with no other current engine, really. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.