Fade to White?

Discussion in 'Mapping Questions & Discussion' started by Prettyman, Jun 4, 2011.

  1. Prettyman

    Prettyman L1: Registered

    Messages:
    30
    Positive Ratings:
    1
    I'm trying to create an effect where a player steps into a room, the screen fades to white, and they are teleported to another part of the map as the world fades back in. I have the teleporting part done, but the fading to white part is proving to be difficult.

    I tried using a color_correction_volume, but the color-corrector didn't allow me to go full-white. There must be a better way, like simply having a white texture overlay the screen, and have it fade in and out based on whether or not a player is in a trigger.

    Can somebody please help me out? Any help would be greatly appreciated!
     
  2. DaBeatzProject

    aa DaBeatzProject

    Messages:
    1,276
    Positive Ratings:
    1,091
    you could try env_fade! but i'm not 100% sure if it works for individual players or all players in the server. But give it a try - I used it in whalerace, with some funky results :p
     
    • Thanks Thanks x 1
  3. Prettyman

    Prettyman L1: Registered

    Messages:
    30
    Positive Ratings:
    1
    That was quick! I'll give it a shot! Thank you!

    Edit: I looked it up on the wiki, and it would be perfect, but the flag I need to activate isn't in the game. It says it's flag 4: Personal, but it isn't available in the SDK. Is there a way to make it available, or is it not functional in TF2?
     
    • Thanks Thanks x 1
    Last edited: Jun 4, 2011
  4. Languid

    Languid L5: Dapper Member

    Messages:
    240
    Positive Ratings:
    232
    env_fade works on all players in the server, from what I've used it for. I'm not sure how you'd get around that..
     
    • Thanks Thanks x 1
  5. tyler

    aa tyler snail prince, master of a ruined tower

    Messages:
    5,034
    Positive Ratings:
    3,989
  6. Prettyman

    Prettyman L1: Registered

    Messages:
    30
    Positive Ratings:
    1
    Aw, nuts. Oh well, I'll think of something. Thanks, everyone!
     
  7. honeymustard

    honeymustard L9: Fashionable Member

    Messages:
    698
    Positive Ratings:
    273
    Surely you could do something like a trigger which enables a bunch of really bright sprites in succession.
     
  8. DaBeatzProject

    aa DaBeatzProject

    Messages:
    1,276
    Positive Ratings:
    1,091
    yes but sprites don't affect the viewmodel i think, so that wouldn't really work. but reaaaaaaaaaaally bright light entities COULD do the trick though.

    like,

    REEAAAAAAAAAAAAAAAAALLLLLLYYYYYYYYY bright.
     
  9. Wander

    Wander L3: Member

    Messages:
    148
    Positive Ratings:
    42
    what about color_correction ?
    I actually thought color_correction_volume didnt work in tf2, as the dev wiki says its part of episode 1, and only for single player games apart from l4d

    You can give it a distance so it only works for players near it, and you can give it a fadein and fadeout duration

    Ive used it once in a movie theatre related map, where everyone would see black and white in a part of the spawn
    Note though that people can switch color corrections off in their video settings
     
  10. Penguin

    aa Penguin Clinically Diagnosed with Small Mapper's Syndrome

    Messages:
    1,992
    Positive Ratings:
    1,233
    does env_screenoverlay not work?
     
    • Thanks Thanks x 1
  11. Seba

    aa Seba DR. BIG FUCKER, PHD

    Messages:
    2,363
    Positive Ratings:
    2,365
    env_screenoverlay is for all players I think.
     
  12. Penguin

    aa Penguin Clinically Diagnosed with Small Mapper's Syndrome

    Messages:
    1,992
    Positive Ratings:
    1,233
    no, you can do it on a per client basis
     
  13. HellJumper

    aa HellJumper

    Messages:
    812
    Positive Ratings:
    373
    Using env_screenoverlay ?
     
  14. Empyre

    Empyre L6: Sharp Member

    Messages:
    294
    Positive Ratings:
    141
    You can expect complaints about the presence of teleports in your map. I got plenty when I tried some in my map.
     
  15. tyler

    aa tyler snail prince, master of a ruined tower

    Messages:
    5,034
    Positive Ratings:
    3,989
  16. Prettyman

    Prettyman L1: Registered

    Messages:
    30
    Positive Ratings:
    1
    I'm using them as a makeshift elevator, seeing as moving surfaces are a bit iffy in TF2. They're just to get up to the next level of a tower.