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

    cherybomb
    November 17, 2026 at 6:41 AM
  2. Mapcore Introductions Thread

    bergman
    November 16, 2026 at 12:21 PM
  3. [TF2] koth_arctic - revisiting my old winter map

    Hanz
    November 13, 2026 at 9:42 PM
  4. BELEK: turning Rouen into competitive FPS maps (Godot project, feedback wanted)

    zlatan24
    November 12, 2026 at 6:23 PM
  5. CS2 sticker critique | Would the eye or blade read first on an AK?

    EmberKrakenCS2
    November 9, 2026 at 10:21 PM
  6. dod_poznan

    Smile_2000
    November 9, 2026 at 9:10 AM
  7. [cs2][WIP] De_digital (A side only) Looking for Feedback

    Howw3
    November 5, 2026 at 9:22 PM
  8. Hello from Normandy: Metin, working on a tactical FPS

    Thrik
    November 2, 2026 at 10:19 PM
  9. How do I setup CS1.6 mapping on linux?

    zlatan24
    November 2, 2026 at 6:43 AM
  10. CS:S | de_honor | Map creation process by D'artagnan

    Dartagnan
    November 1, 2026 at 5:41 PM

Users Viewing This Thread

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