Models and lights not showing
Post Reply
Quote
Re: Models and lights not showing
Posted by LittleGetty on Sun Jan 16th at 1:25am 2005


I started playing around with hammer about a week ago, and I started making a new version of the map aim_headshot, just to actually get a map completly done. It was going pretty good so far, then I wanted to add some lights on the wall.

I went, picked out the model 'LightSconce01.mdl' and then followed a tutorial here to add light to it. I added a 'light_spot', a 'point_spotlight' and a sprite to it, followed the tutorial exactly, hoping I could finally get this to work. I compiled it and tryed it out. The lamp model did not show up at all. The light_spot did not show up at all. The only thing that I could see was a little glow. From the Sprite.

At this point, I was getting pretty mad, so I shot at the little glowing ball that was only about the size of a pistol. I shot it, and heard glass, which I'm guessing was from the lamp that was supposed to be there. It was invisible, along with the light_spot, though. If anyone could help me out on this one, I would be greatful.





Quote
Re: Models and lights not showing
Posted by rs6 on Sun Jan 16th at 1:34am 2005


Check the fade setting on the prop. its probly screwed up to the point where it is always faded out. Its happend to me more than once.

One of them should be set to -1 and the other to 0. [addsig]




Quote
Re: Models and lights not showing
Posted by LittleGetty on Sun Jan 16th at 1:40am 2005


Thanks for replying. I will go test that out.

UPDATE -

Ok, thanks, that got the model to show up.

I'm still i little confused about the light_spot and point_spotlight still not working.





Quote
Re: Models and lights not showing
Posted by StealthForte on Sun Jan 16th at 4:04am 2005


Make sure that the point_spotlight's "Spotlight Length" property will reach whatever it is pointing at, otherwise it won't light up the area. (i.e. if its 512 units from the ground and it's set to 256, the ground will not be lit up.) I've had this happen to me before, it looks very weird.





Post Reply