Thunderbolts and Lightning

Discussion in 'Mapping Questions & Discussion' started by bobotype, Oct 30, 2014.

  1. bobotype

    bobotype L1: Registered

    Messages:
    39
    Positive Ratings:
    16
    Twofold question.
    What would be a good way to add cheap thunder booms, and lightning flashes, to my map without dropping the FPS or whatever too much?
    Thank you in advance
    :)
     
  2. ibex

    aa ibex

    Messages:
    255
    Positive Ratings:
    369
    Might not be exactly what you are looking for, but I think I remember doomsday having a white light flash after the rocket explodes.
    ---
    I'm finding an env_screenoverlay, with two logic relays that fire to the env_screenoverlay as well as an env_tonemap_controller. What I'm assuming is happening is that they are using the tonemap_controller to do the fade in and out to the white screenoverlay...so I don't know if it will be fast enough for a lightning flash, but you could probably try (the current duration is something like 0.2 seconds, so you could reduce by half to made achieve the affect you are looking for).
    There is a lot of particularly technical stuff in there that I don't fully understand, but if you have time you can try playing with the settings.
    These can again be found in sd_doomsday.
    ---
    As for the sound, I bet there is some sound file around somewhere of thunder that you'd just set to play at whatever time after the lightning flash through another logic_relay. (Come to think of it there is probably something from HL2 (so just checking vdc found some HL2 lightning sprites and sounds, but that again is HL2: https://developer.valvesoftware.com/wiki/Lightning))
     
    • Thanks Thanks x 1
  3. henke37

    aa henke37

    Messages:
    1,912
    Positive Ratings:
    446
    Thundermountain does thunder by putting the sound generating entity on a tracktrain that circles the map.
     
    • Thanks Thanks x 1
  4. bobotype

    bobotype L1: Registered

    Messages:
    39
    Positive Ratings:
    16
    Thanks man, that's quite informative. I'll try and find the thunder file/.

    That amuses me and you gave me the idea of getting around making a track by triggering the thunder when a point is captured [or when someone mentions Frau Blucher], thank you :)
     
  5. nightwatch

    aa nightwatch

    Messages:
    640
    Positive Ratings:
    446
    very very frightening
     
    • Thanks Thanks x 1