Frickin Light Spot
Recoup
Join Date: 2004-04-25 Member: 28195Members
When I started to mess with light_spot, it seemed like a good idea, but now that I'm not with it I friggin hate it. After changing the pitch/yaw/roll info, and I close the window, and then come back, the values just reset themselves. If they didnt rest themselves, they will when I come back a third time.
BTW, what values would be needed to set this light to face in the directions of the brush?
BTW, what values would be needed to set this light to face in the directions of the brush?
Comments
<b>Examples (using the top view in the editor as reference):</b>
- 0 is from west to east
- 90 is from south to north
- 180 is from east to west
- 270 is from north to south
The other two "black circles" don't do anything...
You want the angle(yaw) to face away from the light texture, to brighten the light texture you can simply set it as a textured light (not to bright though just enough to give the impression that it is on)
To set the pitch (I believe you want it at 45degrees) just type 45 as the value for pitch from the attributes list.
<b>note:</b>
you can use the <b>pitch yaw roll (z x y)</b> from the attributes list if you want to <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo-->
the second value in the list is the one that needs to change for instance using the 45 degrees example this would be its value:
0 45 0
1) Make an info_null entity (it's a point entity)
2) Place the info_null in the exact center of where you want the light_spot to be
3) Give it a name
4) Enter that name in the target field of the light_spot.
There is another entity called info_target, that was actually designed to be used for this. The problem with it is that that entity is not deleted after lighting is compiled when it's used for this, and after lights are compiled you don't need it anymore. Basically doing it this way saves on entities, just make sure you don't specify a name for light_spot, otherwise it counts towards your total entities as well.
yaw 90 = pointing north in the top view of the editor
pitch -15 = pitched donwards at an angle of 15 degrees, you need something like -45 for the spots in your screenshot
EDIT: I just looked at it closer, and by god, I just GOT it! Thank you Kouji! <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html//emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /><!--endemo-->