Env_shake and Trigger_Hurt on RoundEnd

Discussion in 'Mapping Questions & Discussion' started by 00000000000000000000000, Mar 30, 2009.

  1. 00000000000000000000000

    00000000000000000000000 L4: Comfortable Member

    Messages:
    175
    Positive Ratings:
    19
    I want to make the screen shake and the players to slowly get hurt when the timer runs out. I'm using an env_shake and a trigger_hurt but I don't really understand how I can get this to work.

    This is what I have at the moment, but the screen doesn't shake, and it doesn't even say stalemate and end the round. The timer runs out to 0, the trigger_hurt is enabled, but that's it. What do I do?

    [​IMG]
     
  2. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,538
    Is the effect radius of the shake big enough? I see you raised it, but try the "global shake" flag.

    Another note, SetStalemateOnTimelimit needs a parameter of 1 to work. (0 = off, 1 = on). This does not make the game stalemate when the timer runs out however, which it seems you might have thought based on your post. It causes the map to end when the mp_timelimit setting of the server is reached.

    If you want the game to stalemate when the timer finishes, you need an OnFished to trigger a game_round_win that has the appropriate settings.
     
    • Thanks Thanks x 1
  3. 00000000000000000000000

    00000000000000000000000 L4: Comfortable Member

    Messages:
    175
    Positive Ratings:
    19
    Thanks for the timer thing. I will have to test the shake though.

    Edit: I can't find a game_round_win...
     
    Last edited: Mar 30, 2009
  4. zornor

    zornor L4: Comfortable Member

    Messages:
    195
    Positive Ratings:
    23
    it's a point entity

    just send an output to it

    I forget how exactly you set it up but it should be easy.
     
    • Thanks Thanks x 1
  5. 00000000000000000000000

    00000000000000000000000 L4: Comfortable Member

    Messages:
    175
    Positive Ratings:
    19
    Thanks I got everything to work. There's another thing though. Is there a way I can make the screen fade to white, like a nuke just went off?
     
  6. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,538
    env_fade
     
    • Thanks Thanks x 1