Point_spotlight being occluded by a lamp prop?

Point_spotlight being occluded by a lamp prop?

Re: Point_spotlight being occluded by a lamp prop? Posted by Deux on Sun Aug 14th 2005 at 5:14pm
Deux
11 posts
Posted 2005-08-14 5:14pm
Deux
member
11 posts 1 snarkmarks Registered: Aug 5th 2005 Location: England, UK
Hi guys

I'm new to mapping, so please bear with me. I've searched for the answer to this problem, but so far all though I've found lots of helpful stuff, nothing has specifically answered this problem.

I have placed a point_spotlight entity under a prop that I'm using for a light. It appears fine at run-time. But it's too low and has a hard upper edge where it doesn't meet the light. If I move the point_spotlight up higher (into the prop) then it disappears altogether.

Is there some way I can move it up to look better, but not have it occluded by the prop?

Cheers all,

Deux
Re: Point_spotlight being occluded by a lamp prop? Posted by Sphynxis on Sun Aug 14th 2005 at 6:16pm
Sphynxis
15 posts
Posted 2005-08-14 6:16pm
Sphynxis
member
15 posts 22 snarkmarks Registered: Jun 15th 2005 Occupation: Student Location: England
I've never had this problem, but you could try placing it above the
prop. Or try reducing the grid size and try and placing it more exactly.
Re: Point_spotlight being occluded by a lamp prop? Posted by Deux on Sun Aug 14th 2005 at 6:26pm
Deux
11 posts
Posted 2005-08-14 6:26pm
Deux
member
11 posts 1 snarkmarks Registered: Aug 5th 2005 Location: England, UK
Ok, what I've done is to swap the lamp for a prop_dynamic instead of a prop_static. This now lets me move the point_spotlight up so that it sits nicely with the upper part of the lamp and looks fine.

No idea what effect changing the prop type will be, but hey.. it works!

Deux
Re: Point_spotlight being occluded by a lamp prop? Posted by French Toast on Sun Aug 14th 2005 at 7:00pm
French Toast
3043 posts
Posted 2005-08-14 7:00pm
3043 posts 304 snarkmarks Registered: Jan 16th 2005 Occupation: Kicking Ass Location: Canada
Most likely it will cause the prop to not show up when you compile...
Re: Point_spotlight being occluded by a lamp prop? Posted by Deux on Mon Aug 15th 2005 at 1:10pm
Deux
11 posts
Posted 2005-08-15 1:10pm
Deux
member
11 posts 1 snarkmarks Registered: Aug 5th 2005 Location: England, UK
Thanks for the replies.

French, yes.. I thought that might be the case too, however, it shows up just fine. Actually, being at work, I don't have HL2 installed, so I can't give you exact file names. But what did happen was the lamp I was using first (big white bulb, in props_c17 folder) was showing up when compiled as a prop_dynamic. But, when I switched it to the office lamp, it didn't show up (this only showed up when compiled as prop_static). Anyway, being new, I have no idea why this is - it's all confusing to me!

But it seems to work for now. I may revisit it when I have more of the map built.

Cheers,

Deux