Light isn't appearing

  • If you're asking a question make sure to set the thread type to be a question!

tyler

aa
Sep 11, 2013
5,102
4,621
light_spot and point_spotlight don't appear to be working in my map. I can't figure out why and it is incredibly frustrating. I've even gone so far as to steal lights wholesale from other maps (including the light prefab vmf on this forum) and nothing works at all. The only reason I can find for this happening is if HDR brightness is -1, but it isn't -1 anywhere and anyway my light_env works perfectly.

Help please?
 

Penguin

Clinically Diagnosed with Small Mapper's Syndrome
aa
May 21, 2009
2,039
1,484
You have a leak. Load the pointfile and see where it... points.
 
Apr 13, 2009
728
309
A picture of the problem would help. You're sure the light_env is working as intended (ie the level is not fullbright) ?
 

tyler

aa
Sep 11, 2013
5,102
4,621
You have a leak. Load the pointfile and see where it... points.
I don't know what a pointfile is. I'll Google it. In the meantime, any other ideas would be nice.

A picture of the problem would help. You're sure the light_env is working as intended (ie the level is not fullbright) ?
Yes, I am sure. My map takes place at night, and the light_env is definitely making it dark out. What do you want a picture of?
 

tyler

aa
Sep 11, 2013
5,102
4,621
Okay, I don't have a pointfile. Are they automatic if I have a leak? I can't figure out a way to create them if not. For the record, when I compile I don't get any errors except relating to cubemaps which I understand is normal.

Edit: Oh man, I just realized you guys probably don't like double posting. Too late.
 

nik

L12: Fabulous Member
Aug 14, 2009
987
564
Yes, pointfiles are created automatically, so if clicking Map>Load Pointfile doesn't bring one up, then you don't have one.

Are your lights inside of something?
 
Apr 13, 2009
728
309
Yes, if there is a leak, there will be a pointfile, if no leak then no pointfile.
Then it's not a leak :p.

Ideally an in-game screenshot from the area where the light should appear and a screenshot of the 3d view in hammer where the entity is located ?
 

tyler

aa
Sep 11, 2013
5,102
4,621
Yes, pointfiles are created automatically, so if clicking Map>Load Pointfile doesn't bring one up, then you don't have one.

Are your lights inside of something?

I really doubt it. Like I said, I took other lights wholesale from existing maps. Tons of them. None work. I am probably overlooking something stupid.

This is in-game. The ceiling disappeared for some reason, but it wasn't working before anyway, so that has nothing to do with it.
38WF7.png


And in Hammer:
GfbGcl.png


If there is something else you want to see, don't be afraid to ask, especially since I don't know how this will help you.
 

tyler

aa
Sep 11, 2013
5,102
4,621
Hey, wouldn't you know it, I must be stupid.

The light was indeed inside the prop a bit, which I only noticed when I looked at that screenshot. I don't know how or why, considering I copied it straight out of that light vmf I found somewhere on this site, and that worked fine when I tested it, but whatever. I must have done it without realizing. It fixed this light, anyway.

Thanks guys.
 
Last edited by a moderator:

tyler

aa
Sep 11, 2013
5,102
4,621
Probably. I don't know. At least now I know what was wrong and can look for it later.