Spotlight sprites

Discussion in 'Mapping Questions & Discussion' started by Earl, Nov 10, 2009.

  1. Earl

    Earl L6: Sharp Member

    Messages:
    284
    Positive Ratings:
    37
    Is there a good way to make the spot/floodlight sprites always align on an arbitrary axis? I have a few flood lights that point at an oblique angle, and I can't get the light beam sprite to align properly.
     
  2. UKCS-Alias

    aa UKCS-Alias Mann vs Machine... or... Mapper vs Meta?

    Messages:
    1,264
    Positive Ratings:
    748
    Valve uses a particle system for their lights. I dont know its exact name but just check one of their maps and youll find it.
     
  3. Psy

    aa Psy The Imp Queen

    Messages:
    1,705
    Positive Ratings:
    1,467
    • Thanks Thanks x 1
  4. x6herbius

    aa x6herbius

    Messages:
    377
    Positive Ratings:
    271
    I'd definitely recommend point_spotlight. Just angle it to the same as your light source and it should handle all the sprite orientation/visiblilty itself. If you're looking into the spotlight from the front you see a halo, from the side it's a light beam and other angles mix between the two.
     
  5. UKCS-Alias

    aa UKCS-Alias Mann vs Machine... or... Mapper vs Meta?

    Messages:
    1,264
    Positive Ratings:
    748
    They also use particle systems. I think thats only in the later maps though. I think it depends on the area though as particle systems are heavier to use. But im 100% sure they use them as i copy my lights (and edit them ofcourse to be ideal for my map) and particles from other maps most of the time.
     
  6. Earl

    Earl L6: Sharp Member

    Messages:
    284
    Positive Ratings:
    37
    So i finally got around to compiling with a point_spotlight, and nothing shows up. Any ideas?
     
  7. Dr. KillPatient

    Dr. KillPatient L3: Member

    Messages:
    115
    Positive Ratings:
    8
    I believe there's a Start On flag in the spotlight's properties, make sure it's checked.
     
    • Thanks Thanks x 1
  8. Dr. ROCKZO

    Dr. ROCKZO L8: Fancy Shmancy Member

    Messages:
    580
    Positive Ratings:
    159
    Also make sure it's not inside anything, like a spotlight prop for example, an easier and more efficient way to do things would be to use Radaka's Lighting Family. A great Resource made for copying and pasting premade lights into your map.
     
    • Thanks Thanks x 1
  9. Earl

    Earl L6: Sharp Member

    Messages:
    284
    Positive Ratings:
    37
    Yeah, the "start on" flag was the problem. Tricky Valve...