How to add low gravity on maps Created 7 years ago2016-09-03 00:46:13 UTC by Invader4000 Invader4000

Created 7 years ago2016-09-03 00:46:13 UTC by Invader4000 Invader4000

Posted 7 years ago2016-09-03 00:46:13 UTC Post #331528
I don't like the idea of manually setting the cvar sv_gravity to add low gravity.
And yes, i've heard there's this Brush Entity called trigger_gravity but i don't know how it works or how to set it up :C
Posted 7 years ago2016-09-03 01:52:40 UTC Post #331529
Yes use the entity.

trigger_gravity

Just type a number between 0 & 1 in the gravity value.

0 is zero-g while 1 is maximum gravity and earth like.
Posted 7 years ago2016-09-03 02:18:04 UTC Post #331530
Just bear in mind that 0 is literally zero. If you get stuck in the ceiling there's no way back down.
Posted 7 years ago2016-09-05 03:36:07 UTC Post #331571
I don't like that idea...
I dont even know how to use a brush entity lol

How to make low gravity balanced? Like when you slowly approach the floor when you jump?

If i dont find an answer i guess i'll find another way.
Posted 7 years ago2016-09-05 04:17:13 UTC Post #331572
The gravity effect is within the dlls coded. You can't change it's effect without custom code. But it's fairly well made anyhow so it should be just fine. Play with the values.

But seriously I suggest you begin with the basics first before messing around with gravity or any sort of ambitious ideas.

Learn how to place and use brush based entities first. Another tip I can gladly give you. Place a Barney onto the map when you build your rooms. My very first map I build would have been perfect for giants but made my npcs look like insects in comparison. Make sure to lower the size of the grid the minus and plus icons top left corner in hammer editor. Makes it easier to build in the right size.
Posted 7 years ago2016-09-05 04:19:03 UTC Post #331574
Just set it to a really low value like 0.01.

A brush entity is, at its most basic, a prism to which you CTRL+T and set it to an entity (in this case trigger_gravity). When it's a trigger_ type entity, it's invisible ingame and when the player walks through it, its effects happen. So if you walk through a trigger_gravity that is set to 0.1, gravity will be low until you walk through another trigger_gravity that sets it back to 1.
Posted 7 years ago2016-09-05 05:19:29 UTC Post #331576
Oh okay. So im going to put several brush entities on each player start?

By the way i think im getting it now. Thanks for the help! :heart:
You must be logged in to post a response.