Gravity

Discussion in 'Mapping Questions & Discussion' started by Araluex, Jun 14, 2015.

  1. Araluex

    Araluex L1: Registered

    Messages:
    14
    Positive Ratings:
    0
    Hi everyone,

    I have a trigger_gravity with the gravity set to 0.2. However, even when a player leaves the area of the trigger_gravity brush, they still have 0.2 gravity.

    How do I make it so that the player only has 0.2 gravity within the brush, and as soon as they leave it they return to normal gravity.

    Thanks!
     
  2. Vincent

    aa Vincent 🔨 Grandmaster Lizard Wizard Jedi 🔨

    Messages:
    914
    Positive Ratings:
    581
    OnEndTouch
    Then from there you set their gravity back.
     
  3. Araluex

    Araluex L1: Registered

    Messages:
    14
    Positive Ratings:
    0
    I'm a bit confused. I have my gravity set at 0.2. When I go to the outputs tab, what are the exact options I need to choose?
     
  4. Vel0city

    aa Vel0city func_fish

    Messages:
    1,938
    Positive Ratings:
    1,540
    Gravity settings apply once you hit the trigger but it doesn't reset to normal when you leave the trigger, even with OnEndTouch. Surround the trigger with the lower gravity by a trigger with normal gravity to reset players back to normal gravity.

    TopHattWaffle did a video on manipulating gravity and player speed once, here.
     
    • Thanks Thanks x 1
  5. Kill_the_Bug

    Kill_the_Bug L14: Epic Member

    Messages:
    1,489
    Positive Ratings:
    245
    I have this set up on my lost horizon map.

    1. 1 brush for the low gravity (your .2) area (s) - when the player hits it they are effected by the low gravity.
    2. 1 brush next to it with gravity set to normal (1) - soon as they leave the low gravity, gravity is returned to normal
    3. 1 brush in spawn with normal (1) gravity so that is players are killed in the low grav (since it continues after death) are returned back to normal gravity when they respwan.

    Note - re flags - they don't seem to work all that well < but I need to experiment with them more - I wanted to make my rockets curve < however you might be able to do this by using a push entity that effects particles only and not the players
     
    • Thanks Thanks x 1
    Last edited: Jun 15, 2015