Frickin Light Spot

RecoupRecoup 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?

Comments

  • Kouji_SanKouji_San Sr. Hινε Uρкεερεг - EUPT Deputy The Netherlands Join Date: 2003-05-13 Member: 16271Members, NS2 Playtester, Squad Five Blue
    edited June 2004
    Dont touch the <b>pitch yaw roll (z x y)</b> in the attributes list, instead set it angle (yaw) in the black circle.

    <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
  • ReeseReese Join Date: 2003-05-08 Member: 16143Members
    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.
  • RecoupRecoup Join Date: 2004-04-25 Member: 28195Members
    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? <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html//emoticons/wink.gif' border='0' style='vertical-align:middle' alt='wink.gif' /><!--endemo-->
  • TequilaTequila Join Date: 2003-08-13 Member: 19660Members
    edited June 2004
    There's actually a field for the light_spot entity. Set it to -90 to have the light spot point downwards.
  • RecoupRecoup Join Date: 2004-04-25 Member: 28195Members
    Which value do I set to -90?
  • Kouji_SanKouji_San Sr. Hινε Uρкεερεг - EUPT Deputy The Netherlands Join Date: 2003-05-13 Member: 16271Members, NS2 Playtester, Squad Five Blue
    edited June 2004
    darn mspaint gif compression <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html//emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /><!--endemo-->

    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
  • RecoupRecoup Join Date: 2004-04-25 Member: 28195Members
    edited June 2004
    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! <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html//emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /><!--endemo-->
  • Kouji_SanKouji_San Sr. Hινε Uρкεερεг - EUPT Deputy The Netherlands Join Date: 2003-05-13 Member: 16271Members, NS2 Playtester, Squad Five Blue
    Now wheres my cookie ? <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html//emoticons/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif' /><!--endemo-->
Sign In or Register to comment.