1. Forums
  2. Discord
  3. About Mapcore
  4. Patreon Supporters
  • Login
  • Register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • More Options
  1. Mapcore
  2. Discussions
  3. Off-Topic

What the fuck, Hammer?

  • curman
  • November 24, 2004 at 8:02 PM
  • curman
    • November 24, 2004 at 8:02 PM
    • #1

    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?

  • ShaDoW
    • November 24, 2004 at 8:51 PM
    • #2

    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.

  • curman
    • November 24, 2004 at 9:13 PM
    • #3

    When's full release? it worked for me before and then the next day it didn't

  • Taylor
    • November 24, 2004 at 9:16 PM
    • #4

    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.

  • st0lve
    • November 24, 2004 at 9:25 PM
    • #5

    It should look like this:

    Code
    "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.
    
    
    
    
    	}
    
    
    
    
    }
    Display More
  • JynxDaddy
    • November 24, 2004 at 10:30 PM
    • #6

    This worked for me.

    http://www.snarkpit.com/editing.php?pag ... HL2&id=119

    Follow it EXCACTLY

  • Duff-e
    • November 24, 2004 at 10:50 PM
    • #7

    oh god....is that code....have they some how incorporated code into mapping.....yea im never touching hammer again

  • Taylor
    • November 24, 2004 at 11:38 PM
    • #8

    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.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!

Register Yourself Login
Discord

The Mapcore Discord is our lively IRC channel of the 2000s reborn. Chat about level design, gaming, and more.

Latest Posts

  1. Custom Gamemodes Contest

    Angel
    July 20, 2026 at 11:46 AM
  2. FAQ

    Angel
    July 20, 2026 at 10:14 AM
  3. Tangerine

    Harry Poster
    July 18, 2026 at 11:10 AM
  4. Any of the old guard still around? D:

    Warby
    July 12, 2026 at 8:23 PM
  5. About our archived forums

    Thrik
    June 30, 2026 at 2:12 PM
  6. Mapcore Discord

    mason_fan123
    June 24, 2026 at 8:52 PM
  7. [CS2] Valley

    Serialmapper
    June 22, 2026 at 11:56 AM
  8. Free Music / SFX Resource - Over 2500 Tracks

    Eric Matyas
    June 18, 2026 at 12:32 PM
  9. Pango [WIP]

    Elowen
    June 11, 2026 at 10:13 AM
  10. [CS2] Dvina

    Jeremy Rivera
    June 11, 2026 at 10:03 AM

Users Viewing This Thread

  • 1 Guest
  1. Privacy Policy
  2. Contact
Powered by WoltLab Suite™