Trigger_gravity fails

Avatar
pestchamber
614 Posts
Posted May 17, 2009
I made a button on the ceilling and a trigger_gravity below it. I unchecked the "Clients" flag and checked "physics". I made a prop_physics made it a box model and named it "box". I put a filter on the trigger_gravity which allowed only the box. I compile and play the map. Guess what. The new gravity works for the player and NOT the cube. How do i make it work? I've seen alot of maps doing this so how do i do it? Thanks!
Advertisement
Registered users don’t see ads! Register now!
Avatar
p0rtalplayer
1,366 Posts
Posted May 17, 2009
Replied 2 hours later
If you are referring to the maps with gravity that pulls cubes towards ceiling buttons (play cpm_wccmap here to see what I mean) then they use a trigger_push. Trigger_gravity simply changes the gravity, and can't really do negative gravity very well.

For the problem that it only does the player, I have no idea why.

Avatar
pestchamber
614 Posts
Posted May 17, 2009
Replied 24 minutes later
Ok i changed to a trigger_push and it works now. Thanks! :biggrin:
Advertisement
Registered users don’t see ads! Register now!
Avatar
msleeper
4,134 Posts
Admin
Posted May 17, 2009
Replied 6 hours later
Actually you should do trigger_vphysics_push or whatever that entity is called.

trigger_gravity was used in HL1, specifically in that area where you switch on that giant fan and it "blows" you up to the top. It would affect old style func_pushables but not real physics entities.