Lights and Objects

Discussion in 'Mapping Questions & Discussion' started by Stormcaller3801, Jul 13, 2009.

  1. Stormcaller3801

    Stormcaller3801 L5: Dapper Member

    Messages:
    249
    Positive Ratings:
    28
    This is likely a foolish question on my part, but I just had an idea and I'd like to see if it would work.

    Could you attach a light to a moving object? For instance, let's say you're making a custom cart, and you want a light on the front. Could you parent a light_dynamic to the cart, so that as it moves around the light swings around and illuminates various things?
     
  2. Dr. Spud

    aa Dr. Spud Grossly Incandescent

    Messages:
    878
    Positive Ratings:
    800
    It's possible, but it would be very expensive to render.
     
  3. Stormcaller3801

    Stormcaller3801 L5: Dapper Member

    Messages:
    249
    Positive Ratings:
    28
    That seems to keep coming up with my ideas.
     
  4. Psy

    aa Psy The Imp Queen

    Messages:
    1,705
    Positive Ratings:
    1,466
    Not really. One dynamic light isn't very expensive from my experience.
     
  5. SiniStarR

    SiniStarR L8: Fancy Shmancy Member

    Messages:
    585
    Positive Ratings:
    116
    i think it just depends really. As long as theirs enough optimization and you dont go crazy/overboard with this type of lighting it should be fine.
     
  6. (s2a) yahodahan

    (s2a) yahodahan L3: Member

    Messages:
    144
    Positive Ratings:
    18
    I may have done something massivly wrong, but a single dynamic light in my level was halving the framrate each time it flashed on- really not acceptable. Far as I know, I didn't do anything special other than tell it to "blink", but it may be a special case.

    Anywho, I'd be careful with it :p run the map and type "+showbudget" in the console, there's a special graph line just for dynamic lights. (mine was screaming to the limit with every blink...lol).

    gl, would be a cool effect- if it doesn't kaboom everything :)