Attaching lights/teleports to things.

Discussion in 'Mapping Questions & Discussion' started by Untouch, Jan 28, 2010.

  1. Untouch

    Untouch L4: Comfortable Member

    Messages:
    187
    Positive Ratings:
    48
    2 Questions.


    1. Is there any light source that isn't a static object, no, not a dynamic light, that is still a static entity, you can't attach two static entites together.

    2. If I try to attach an info_teleport to an object and it says it can't find it.

    How do I fix this?

    Thanks.

    EDIT: Using the phys_constraint entity if you're wondering.
     
  2. Pseudo

    Pseudo L6: Sharp Member

    Messages:
    319
    Positive Ratings:
    149
    Don't use phys_constraint, just set the "parent" keyvalue. light_dynamic supports parenting.
     
  3. FaTony

    FaTony Banned

    Messages:
    902
    Positive Ratings:
    160
    1. I don't get it.
    2. phys_constraint is used only on phys_ entities. You may want to parent your info teleport or use trigger_teleport.
     
  4. Beamos

    Beamos L2: Junior Member

    Messages:
    80
    Positive Ratings:
    43
    So you want a light source that supports parenting but isn't dynamic? As in, you want a moveable light source that is static? That's not possible. A light source that can move and illuminate different surfaces as it moves is a light source that is calculated by the game. That's a dynamic light. Dynamic lighting is calculated ingame. A static light, which is what you want I think, is calculated by vrad.exe (a hammer compiler component), which is seperate from the game. Static lights are calculated outside of the game, and apply only to certain surfaces that can't change ingame (well, not normally). They are also far easier on the computer, because they're calculated in advance.
     
  5. Exist

    Exist L6: Sharp Member

    Messages:
    306
    Positive Ratings:
    136
    Pretty sure the light_dynamic dosen't work in tf2
     
  6. FaTony

    FaTony Banned

    Messages:
    902
    Positive Ratings:
    160