Help with "The floor is lava"

Discussion in 'Mapping Questions & Discussion' started by The_Gl!tch.exe, Aug 15, 2018.

  1. The_Gl!tch.exe

    The_Gl!tch.exe L2: Junior Member

    Messages:
    88
    Positive Ratings:
    1
    Hello there :)
    I'm currently working on a trade map (it's also my first map)
    and I've made a section in the map where the floor is lava and you have to walk on the areas next to it.
    I've also created a trigger-multiple "thing" which works on players who touch the lava.

    I've created a point_clientcommand and named it "lava_fire"
    I've also created two trigger_multiple output commands:
    -- hurtme 50 (causes 50 damage)
    -- addcond 22 (causes a ignition reaction without fire)

    This is how it looks so far:
    https://i.imgur.com/kjF1Z12.jpg


    The problems I have now:
    1. addcond 22 doesn't work (It only works if only sv_cheats 1 is active)
    2. sv_cheats 1 and sv_cheats 0 always appear in text chat: https://i.imgur.com/3CdHsEM.jpg

    If there is a way to fix this please tell me.
    (In order to repeat the entire process I've decided to create the same outputs again but with a delay)

    You can also give me a new suggestion
    :)
     
  2. DrSquishy

    aa DrSquishy ???

    Messages:
    1,227
    Positive Ratings:
    802
    To get 'lava' working, you can try a trigger_hurt with the damage type set to 'ignite' for if people die (and then set the damage to whatever), and a trigger_add_tf_player_condition that applies the burning effect to them, equivalent to addcond 22. Just scroll down the list until you find it. Set the duration of it to -1 so they will be on fire for the entire time they are touching the trigger + afterburn
     
    • Thanks Thanks x 1
    • Agree Agree x 1
  3. VoidWarrior22

    VoidWarrior22 L1: Registered

    Messages:
    35
    Positive Ratings:
    18
    it is much easier to just use trigger_ignite
     
    • Thanks Thanks x 2
    • Agree Agree x 2