Light messes up =(

Discussion in 'Mapping Questions & Discussion' started by Mr Egg, Nov 1, 2010.

  1. Mr Egg

    Mr Egg L1: Registered

    Messages:
    31
    Positive Ratings:
    0
    Why is this so dark ?

    [​IMG]
     
  2. tyler

    aa tyler snail prince, master of a ruined tower

    Messages:
    5,031
    Positive Ratings:
    3,975
    You either need to add more lights or make the current ones brighter.

    The color of the light should be a series of numbers like "255 255 255 200" or something. Change the last number to change the brightness, with higher numbers being brighter. Try a test with 1200 and go from there.
     
  3. Mr Egg

    Mr Egg L1: Registered

    Messages:
    31
    Positive Ratings:
    0
    Yeah but shouldn't there be a like ambient light ?
     
  4. tyler

    aa tyler snail prince, master of a ruined tower

    Messages:
    5,031
    Positive Ratings:
    3,975
    Did you make light_env? Is it configured right? Is this indoors?

    If it's indoors ambient light won't be there.

    Most ambient light in TF2 is just a low brightness light entity or two, I think.
     
  5. Mr Egg

    Mr Egg L1: Registered

    Messages:
    31
    Positive Ratings:
    0
    This is indoors, I made a few light_env, yes, but I don't know how to configure it right...
     
  6. tyler

    aa tyler snail prince, master of a ruined tower

    Messages:
    5,031
    Positive Ratings:
    3,975
  7. Mr Egg

    Mr Egg L1: Registered

    Messages:
    31
    Positive Ratings:
    0
    It worked well before, and I didn't have that much lights... What causes it ? Maybe it's a leak !
    I tried running the pointfile, but it shows only a weird red string that begins and ends out of thin air
     
  8. tyler

    aa tyler snail prince, master of a ruined tower

    Messages:
    5,031
    Positive Ratings:
    3,975
  9. Mr Egg

    Mr Egg L1: Registered

    Messages:
    31
    Positive Ratings:
    0
    But then I don't know how to read it :
    [​IMG]

    It goes from nowhere to nowhere !
     
  10. tyler

    aa tyler snail prince, master of a ruined tower

    Messages:
    5,031
    Positive Ratings:
    3,975
    Are you sure it isn't going through geometry?

    Turn off all your func_details and see if there is a void.
     
  11. REEJ

    REEJ L7: Fancy Member

    Messages:
    437
    Positive Ratings:
    167
    edit your light_spot color
    255 255 255 1000
    red value is what you're looking for,
    usually 600+ start to be bright enough
     
  12. Mr Egg

    Mr Egg L1: Registered

    Messages:
    31
    Positive Ratings:
    0
    How do I do that ? Indeed it goes through a geometrical shape, but not between two of them. That's weird.

    By "that" I mean turning off my func_details

    Things keep getting weirder... When I run the map it's perfectly bright, and water is really buggy (it can't be seen, and instead of it there is the background repeating itself as I move...
     
    Last edited: Nov 1, 2010
  13. Pocket

    aa Pocket func_croc

    Messages:
    4,477
    Positive Ratings:
    2,205
    To "turn off" certain parts of the map, use the VisGroups toolbar on the right. Under Auto, you can toggle "World Details -> Func Detail". If there are holes in what's left, you made a func_detail out of something you shouldn't have.

    And remember to turn all your visgroups back on when you compile.
     
  14. Mr Egg

    Mr Egg L1: Registered

    Messages:
    31
    Positive Ratings:
    0
    When I turn off my func_details there's some walls that disappear, but I don't know how to see if there's a void.
     
  15. Mr Egg

    Mr Egg L1: Registered

    Messages:
    31
    Positive Ratings:
    0
    I think my pointfile is broken. I made a leak on purpose and the pointfile was still the same, beginning nowhere and ending the same way.
     
  16. Terr

    aa Terr Cranky Coder

    Messages:
    1,591
    Positive Ratings:
    405
    If it begins "nowhere" that probably means you have an entity with an "origin" point that somehow got moved out into the void. This is a problem since leak-testing is done by going through all your entities' origin-points (typically in the center of the entity) and making sure none of them can reach the void.

    Make sure :helpers: is on, and then select all of your entities. If you see a blue sphere (3d view) or a small white circle (2d view) at one end of the leak-line, that's a good sign that you've got misplaced origins.

    Find the entity causing the problem, and use center origins on it.

    You could also just use center-origins on your whole map, but if you have certain entities (like rotating doors) you'll need to revisit them and check that they still work right.
     
    Last edited: Nov 1, 2010
  17. RaVaGe

    aa RaVaGe

    Messages:
    723
    Positive Ratings:
    1,017
    You probably have an entity at the outside of the map.

    EDIT: Oops grilled
     
    Last edited: Nov 1, 2010
  18. Mr Egg

    Mr Egg L1: Registered

    Messages:
    31
    Positive Ratings:
    0
    i don't think I've got an entity outside the map. The leak begins inside, not in the void.

    And my pointfile is weird : it says it can't find the one with the name of my map, so i load the test.lin. Is it ok ?
     
    Last edited: Nov 1, 2010
  19. Terr

    aa Terr Cranky Coder

    Messages:
    1,591
    Positive Ratings:
    405
    If Hammer says it can't find the point-file, that generally means it simply does not exist. Loading any other .lin file is not useful.
     
  20. Mr Egg

    Mr Egg L1: Registered

    Messages:
    31
    Positive Ratings:
    0
    Oh... Then what's with the lights and the bizarre water ?