r/hammer • • 2h ago

Unsolved Garry's Mod hammer editor "file write failure" & "Couldn't open" issue

Post image
3 Upvotes

Whenever I try to compile any of my maps, they say file write failure and the map changes don't apply.
a few times the compiler also had stated "couldn't open {map name}" but i was unable to reproduce that to get a screenshot.
This applies to all of my maps without exception, and I don't know what the problem is.
Any help would be appreciated


r/hammer • • 4h ago

Level transition error.

2 Upvotes

Hello, lately I found this subreddit and I thought that maybe here someone would actually help me. This is a problem that I've been dealing with since summer. I'm creating a mod for hl1, everything was going well. And since I'm new in using hammer (in this case J.A.C.K) I was surprised that I could fix most errors. But this doesn't, what matters is in this video. I used this tutorial to fix my problem. It fixed most of the problems (like the weapon couldn't appear on the map it was transited to). But for some reason the player would appear out side of the map. Can someone explain it to me, in form of a video? Or, find another way for this to work. Thank you.


r/hammer • • 6h ago

Unsolved Dark surfaces/lighting error on my Gmod map.

Thumbnail
gallery
5 Upvotes

Can someone please explain and/or offer a fix for these weird lighting artifacts on the walls? For some reason it appears regardless of the light positioning but when I took one of my template pieces to an area lit by the skybox, it was perfectly fine. First two images are ingame with and without fullbright and the last image is the hammer++ lighting preview. The map itself is in Garry's mod.


r/hammer • • 1d ago

Solved My map now crashes all of a sudden when I try to load it in-game and I'm frustrated.

2 Upvotes

So I'm nearly done with this map I've been making, but L4D has decided it's just gonna crash before it even finishes loading it. I've already verified file integrity, disabled all addons, recompiled the map. Every other map, official or custom, works perfectly fine.

This only seemed to happen after I tried launching the map through the editor instead of through the console, which is what I was doing before.

I'm just pissed because I was nearly done with it, I just needed to finish the nav mesh, which I can only do in-game.

UPDATE: So turns out the nav file was corrupted, as removing it fixes the crashing. It also appears that most of the backups are corrupted as well, so I just decided to start over.


r/hammer • • 1d ago

Garry's mod Gmod hammer editor won't let me save any maps after recent update

Post image
2 Upvotes

This has happened once before after a Gmod update but I don't remember how it was resolved.
This error occurs whenever I try to save my map regardless of which map I attempt to save?
If anyone has a solution to fix this it would be greatly appreciated.


r/hammer • • 1d ago

Unsolved Light going through walls? (CS2 Hammer)

Thumbnail
gallery
5 Upvotes

For some reason the lighting appears broken when I bake it, nothing like the path-traced preview. How can I fix this? Thanks in advance


r/hammer • • 1d ago

Source Memorizer Logic?

1 Upvotes

Is it possible for I/O to be remembered between maps? Say for example; a player kills an NPC in a multi-map campaign, and that NPC's death is later used as I/O in the next map, or third map.

is there a way for I/O to travel between maps?

Furthermore, if this is possible; would it then be possible for Hammer to then forget said I/O? Such as blocking it in some way?


r/hammer • • 1d ago

Unsolved How do I import custom textures onto objects?

Thumbnail
gallery
19 Upvotes

Second image is an example of what it should look like, mocked up in Blender.


r/hammer • • 1d ago

Brazilian Lake house (based on a real place) Defuse map

Thumbnail gallery
9 Upvotes

r/hammer • • 1d ago

Source 2 New York map update

Thumbnail
gallery
31 Upvotes

I didn't bake the lighting


r/hammer • • 1d ago

Unsolved Does anyone know how I can approach this?

Thumbnail
gallery
12 Upvotes

I know this might have something to do with the entity func_areaportal, but I want to enforce the culling if the player looks or noclips too high. gm_construct used as an example at the end since it also uses a Skybox.


r/hammer • • 1d ago

Porting a map I always wanted to play

Thumbnail
gallery
13 Upvotes

r/hammer • • 2d ago

Fluff How could I go about making a laser gun in Portal 2?

Post image
4 Upvotes

I've studied several custom-weapon tutorials, but most of them were either severely outdated or just incorrect. I'd just like to make a weapon that fires a laser beam when you left-click.

How can I do that?


r/hammer • • 2d ago

TF2 I think i finished making a spawn for blue team and pretty much the entire map itself, is this better one?

Thumbnail
gallery
34 Upvotes

r/hammer • • 2d ago

Fluff am i going to hell for this?

Post image
41 Upvotes

r/hammer • • 3d ago

Solved [NMRIH] Prop Problems

2 Upvotes

I've been making a custom prop for something I've been working on and I've been having a few issues adding it into hammer.

The game has everything packed into VPK files and uses a seperate folder called "Custom" for everything else that gets added

There is also this readme File which was inside the Custom folder

When the game boots, this folder is automatically scanned for VPK files or

subfolders. Each subfolder or VPK is added as a search path, so the files

inside those VPK's or subfolders will override the default game files.

See gameinfo.txt for more details.

For example, you might have the following file structure:

**nmrih/custom/my_custom_stuff/   <<< This subfolder will be added as a search path**

**nmrih/custom/my_custom_stuff/models/custom_model.mdl**

**nmrih/custom/my_custom_stuff/materials/custom_material.vmt**

**nmrih/custom/my_custom_stuff/materials/vgui/custom_ui_thing.res**

**nmrih/custom/some_mod.vpk       <<< This VPK will be added as a search path**

**nmrih/custom/another_mod.vpk    <<< This VPK will be added as a search path**

Mounting a VPK to the filesystem is more efficient than adding a subfolder,

as each time the engine needs to open a file, it will need to make a call to the

operating system to search the folder. VPKs can therefore be searched by the engine

much more efficiently. Each subfolder is a new search path that must be checked each

time the engine tries to open a file. So, for optimal load times, always use VPK files

and don't make any subfolders in this folder!

Note that the following directory structure is NOT correct:

**nmrih/custom/models/my_model.mdl**

That will add the directory "nmrih/custom/models" as a search path, in which case the

file my_model.mdl actually exists at the root of the game's virtual filesystem.

Instead, you would use something like:

**nmrih/custom/my_custom_stuff/models/my_model.mdl**

Downloaded Workshop add-ons are not stored here, if you wish to find your add-on data,

go to <your Steam directory>/steamapps/workshop/content/224260

Here are the folders I'm working with. The Prop is called NY_Arch_1 for reference

CUSTOM FOLDER

Inside the Custom Folders I have currently these 3 Folders

MODELSRC

└──NY_ARCH_1

Folder
QC File

MODELS

Folder

MATERIALS

└──EXAMPLE

└──────MODEL

Folder
VMT File
VTF File

HLMV

HLMV Error and Preview

I can't find the issue any help is appreciated

Thanks!


r/hammer • • 3d ago

Remaking half life: Residual Life map for gmod.

Post image
33 Upvotes

r/hammer • • 3d ago

how do i fix this

Post image
2 Upvotes

I see nothing intel I click the block tool but I still see nothing I only see the outline


r/hammer • • 3d ago

Unsolved how to fix this weird texture

Post image
18 Upvotes

i have texture lock scaling enabled and still it doesnt work


r/hammer • • 3d ago

Garry's mod Would this type of brushwork cause any problem?

6 Upvotes

r/hammer • • 3d ago

CS_bergshamra

Post image
13 Upvotes

I need help to fix an old map i loved to play. It takes place in Bergshamra in Sweden. When to many players are joining they get killed by worldspawn, can someone fix the problem please ? Here is the link to decompiled map file. https://drive.google.com/file/d/1IXAWHMK-URhpYpkDOQZRalk5ll4jO5Zw/view?usp=drive_link

I know someone out there can fix this!


r/hammer • • 3d ago

Unsolved What is this?

Thumbnail
gallery
4 Upvotes

i cannot do anything its just these black screen viewports and the 3d viewport keeps flickering
im using the latest hammer++ version with a mapbase config please help me fix this


r/hammer • • 3d ago

Unsolved HashVec issue. Cannot seem to find any points outside valid range. Any help?

Post image
3 Upvotes

basically every time i try to run the map it gives me a hashvec error saying that a point is outside the valid range. However, I can't see any brushes or entities that lie outside the skybox brushes that might be causing this issue. Alt+P also shows no errors so I can't identify what may be causing this issue. Could I get some help figuring this out? I have the log listed below:

-------------------------------------------------------------------------------

Running command:

cd "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\bin\win64"

-------------------------------------------------------------------------------

-------------------------------------------------------------------------------

Running command:

"C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\bin\win64\vbsp.exe" -game "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod" "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\maps\gm_riggedfts.vmf"

-------------------------------------------------------------------------------

Valve Software - vbsp.exe (Nov 12 2026) - Garry's Mod Edition (64-bit)

Adding mount.cfg path: 'C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf'

Adding mount.cfg path: 'C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\hl2'

Adding mount.cfg path: 'C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\left4dead2'

16 threads

materialPath: C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\materials

Loading C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\maps\gm_riggedfts.vmf

Can't find surfaceprop upholstery for material PLASTER/CEILING_INSULATION02, using default

Brush 48035: bounds out of range

Brush 48037: bounds out of range

fixing up env_cubemap materials on brush sides...

ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0)

ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0)

Processing areas...done (0)

Building Faces...done (1)

Chop Details...done (0)

Find Visible Detail Sides...

Merged 78 detail faces...done (0)

Merging details...done (0)

FixTjuncs...

PruneNodes...

WriteBSP...

HashVec: point outside valid range

-------------------------------------------------------------------------------

Command failed with return code 0x1!

** Screenshot the WHOLE window when showing this compile log

** Or upload the .log file generated beside your VMF

-------------------------------------------------------------------------------

2 command(s) finished in 1 second

Press a key to close.


r/hammer • • 4d ago

Garry's mod Map ive been working on

Thumbnail
gallery
116 Upvotes

Ive been working on this map on and off for like 3 years now, and i never seem to get anywhere XD dont ever think this one will be finished, but maybe one day...