Trigger_gravity Question
DEADspartan
Join Date: 2003-06-30 Member: 17821Members
<div class="IPBDescription">question about low gravity areas</div> Hi, ive been working on a map and have been trying to create a low gravity area that is seperate from the rest of the map, i actually don know if this can be done, but if anyone knows how do set that brush entity up plz post telling me <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo--> thankyou
i want it to be about sv_gravity 300, but im not sure how to set the entity up to where it would work that way. thank you
i want it to be about sv_gravity 300, but im not sure how to set the entity up to where it would work that way. thank you
Comments
~ DarkATi
at the moment im using a trigger_push but it dosent seem to make em go up. Direction and all that is ok, what do i do. btw i have it targetting up where i want it to go.
Likewise, structures placed always start above the ground (for aliens anyway, not sure about marines) and then fall into place. With pushes in there, the structures will actually go smack into thceiling, and that just isn't good.
No, you can't simulate gravity effects (other than high gravity, but why bother) with pushes, you actually have to get the server settings to change (forcing them) and that does it universally, so either the whole thing is low grav, or nothing is low grav.
Sorry <!--emo&???--><img src='http://www.unknownworlds.com/forums/html/emoticons/confused.gif' border='0' style='vertical-align:middle' alt='confused.gif'><!--endemo-->
[EDIT]
One more thing: If a player is ducking, a push will affect him differently, so don't even try to use pushes because ducking will allow severe exploiting
[/EDIT]
/me removes push from map <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif'><!--endemo-->
I guess its to do with how and when the physics are calculated. The Quake engine is not perfect. The sv_gravity setting affects calculations in the actual engine (hl.exe), which are carried out every frame (eg: around 60 times per second on a half decent server). If I remember correctly, some other calculations, such as a trigger_push modifing a players velocity, would only be carried out 10 times per second. The physics of the game are not nice and 'unified', and using a trigger_push to simulate lower gravity is a bit of a hack. The result is a slightly less accurate final velocity. And of course stuff like lag screws things up even more.
In other words, you will get something resembling lower gravity which may well suit your purpose, but don't use it for anything 'critical'.