Low gravity without cheats using wheel_of_doom entity

Discussion in 'Mapping Questions & Discussion' started by Three Million, Oct 24, 2016.

  1. Three Million

    Three Million L5: Dapper Member

    Messages:
    201
    Positive Ratings:
    65
    On the wheel_of_doom (WOD) point entity, there is an option for everyone to moonjump (low gravity). I am curious to how this is possible since changing gravity usually requires sv_cheats. I de-compiled koth_lakeside_event and looked at the WOD but couldn’t find anything. Any feedback on this?
     
  2. Nicky

    aa Nicky Lets try something new!

    Messages:
    912
    Positive Ratings:
    1,698
    I believe the entity you're looking for is trigger_gravity. It's a brush entity, so create a brush with the trigger texture, surround the entire map with it, and make it this entity. Here is the link to the VDC page on it: https://developer.valvesoftware.com/wiki/Trigger_gravity

    Though I would test your wheel of doom first without this entity. I've never used the wheel of doom before, but I wouldn't be surprised if changing the gravity is automatically done when that affect is picked by the wheel.
     
  3. ics

    aa ics http://ics-base.net

    Messages:
    696
    Positive Ratings:
    424
    I dont think the wheel needs trigger brushes. I tried to find out how the jarate rain works and i did noticed it required a brush entity at the sky. But it was the only one that did. But i never found out how to trigger the rain itself with the wheel.
     
  4. Crash

    aa Crash func_nerd

    Messages:
    3,184
    Positive Ratings:
    4,884
    Off topic, but the jarate rain works in Moonshine event. This is how I had it set up:

    [​IMG]
     
  5. Three Million

    Three Million L5: Dapper Member

    Messages:
    201
    Positive Ratings:
    65
    More off topic, this is somewhat if not exactly what happens on koth lakeside event

    I couldn't find any on koth lakeside event, that's where the Moonjump WOD event exsists.
     
  6. ics

    aa ics http://ics-base.net

    Messages:
    696
    Positive Ratings:
    424
    I know how the jarate rain itself works, i just couldnt trigger it manually without the wheel or wheel itself, unless the wheel randomly picked that option itself.

    But lakeside doesn't use triggers. The wheel its own entity handles everything by itself except the jatate rain cloud is the only one.
     
  7. Three Million

    Three Million L5: Dapper Member

    Messages:
    201
    Positive Ratings:
    65
    So if the WOD is self sufficient should it be hard coded into the entity?
     
  8. ics

    aa ics http://ics-base.net

    Messages:
    696
    Positive Ratings:
    424
    If you are simply looking for making gravity, you can use trigger texture and make that as entity trigger_add_tf_player_condition
    and set the condition for example TF_COND_SPACE_GRAVITY.
     
  9. Three Million

    Three Million L5: Dapper Member

    Messages:
    201
    Positive Ratings:
    65
    Well not so much as making gravity, but being able to control it via a set of buttons. Like a button for low, med, and high. Right now I have a func_button set to trigger the trigger_gravity, but I cant figure out how to change the boolean multiplier
     
  10. sooshey

    aa sooshey :3c

    Messages:
    522
    Positive Ratings:
    418
    I guess you could just have 3 triggers, one for each intensity you want. I don't know if there's a way to make the gravity higher than normal without sv_gravity.
     
  11. Three Million

    Three Million L5: Dapper Member

    Messages:
    201
    Positive Ratings:
    65
    Been playing around with this for a while, nothing seems to work. I am trying to change the Gravity value dynamically via a trigger or button. Or something. Anyone know how to change values on the fly?

    Capture2.PNG