How could I make low gravity,or at least gas?

Discussion in 'Mapping Questions & Discussion' started by WP-69, Dec 18, 2016.

  1. WP-69

    WP-69 L1: Registered

    Messages:
    6
    Positive Ratings:
    0
    How can I make low gravity entity,and the gas like on rock_2 from TFC?
     
  2. AsG_Alligator

    aa AsG_Alligator trigger_hiss

    Messages:
    433
    Positive Ratings:
    941
    trigger_gravity allows you to change gravity force affecting players (players only, not projectiles). Note that it will set the gravity to whatever is specified in the entity and to reset it to previous strength you need another trigger_gravity.

    As for gas. If its supposed to hurt people , make a trigger_hurt volume in an area, set appropriate damage, then add a func_dustcloud or func_smokevolume with appropriate particle color.
     
    • Thanks Thanks x 1
  3. WP-69

    WP-69 L1: Registered

    Messages:
    6
    Positive Ratings:
    0
    But I want this,when somebody caps something,gas needs to enable,plus,I want to make some item for immunity for the player,so he can survive the gas.
     
  4. Uncuepa

    aa Uncuepa

    Messages:
    777
    Positive Ratings:
    1,030
    For enabling the gas you could set both the cloud and hurt triggers to start disabled, and have capping have it enable them for a time.
     
  5. WP-69

    WP-69 L1: Registered

    Messages:
    6
    Positive Ratings:
    0
    Can you tell me how to make some sort of hazmat suit,that enables players to survive the gas?
     
  6. AsG_Alligator

    aa AsG_Alligator trigger_hiss

    Messages:
    433
    Positive Ratings:
    941
    You cant.
     
  7. Three Million

    Three Million L5: Dapper Member

    Messages:
    201
    Positive Ratings:
    65
    That would be hard, assuming you want to target a specific person who grabs the suit. It would have to be some sort of plugin, and treat it like an individual entity like the briefcase.
     
  8. Crowbar

    aa Crowbar perfektoberfest

    Messages:
    1,440
    Positive Ratings:
    1,192
    Could be possible with 32 booleans indicating whether or not a certain person has the suit, and check and update that stuff, but I'm not sure it is possible actually.
     
  9. Dr. Orange

    Dr. Orange L6: Sharp Member

    Messages:
    369
    Positive Ratings:
    278
    You could fire an "AddOutput" input to the !activator that touches a trigger where the suit would be to set the player's targetname to something like "immune" and have a filter_activator_name on the trigger hurt that only allow players not named "immune" to be hurt by the gas.