Help - Search - Members - Calendar
Full Version: Frickin Light Spot
Unknown Worlds Forums > Natural Selection > Natural Selection Creation > Mapping Forum > Mapping Help and Troubleshooting
Recoup
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?
Kouji_San
Dont touch the pitch yaw roll (z x y) in the attributes list, instead set it angle (yaw) in the black circle.

Examples (using the top view in the editor as reference):
- 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.

note:
you can use the pitch yaw roll (z x y) from the attributes list if you want to smile.gif

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
Reese
You also can "cheat" using info_null

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.
Recoup
The 45 degree value change didnt work, it pointed it to the left instead. I swear, I still dont understand how all of this works despite the 90 degress north south, I mean, whats it all MEAN? wink.gif
Tequila
There's actually a field for the light_spot entity. Set it to -90 to have the light spot point downwards.
Recoup
Which value do I set to -90?
Kouji_San
darn mspaint gif compression biggrin.gif

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
Recoup
Dont worry, I just directed the two lights towards the res tower so they shine on it, and then in the next room I just made a null brush and put all the lights on IT.

EDIT: I just looked at it closer, and by god, I just GOT it! Thank you Kouji! biggrin.gif
Kouji_San
Now wheres my cookie ? sad.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.