Hi. WHO knows how to make an ingame switch that will disable and enable gravity?
Posted by Orpheus on Wed Jan 5th at 9:16pm 2005
Orpheus
member
13860 posts
1547 snarkmarks
Registered: Aug 26th 2001
Location: Long Oklahoma - USA

Occupation: Long Haul Trucking
Posted by Orpheus on Wed Jan 5th at 9:27pm 2005
[addsig]Orpheus
member
13860 posts
1547 snarkmarks
Registered: Aug 26th 2001
Location: Long Oklahoma - USA

Occupation: Long Haul Trucking
Posted by Orpheus on Wed Jan 5th at 9:51pm 2005
*sighs*
thanx for the wet ass bud..
can someone please answer this guy, he doesn't seem inclined to fix the second typo ![]()
Orpheus
member
13860 posts
1547 snarkmarks
Registered: Aug 26th 2001
Location: Long Oklahoma - USA

Occupation: Long Haul Trucking
Posted by RaPtoR on Wed Jan 5th at 10:05pm 2005
Just enclose the area witch you want to change the gravity in, with a huge solid. Then tie it to entry "trigger_gravity". It's keyvalues should be:
Name: gravitytut (example, you can use any name)
Startdisabled: No (if you want the gravity on at start)
Gravity: 0 (You can change it to any value between 0 and 1, for example: 0.16 would be moon gravity)
Now make a button witch will control the trigger_gravity, place it somewhere and remember to set the target to "gravitytut" or whatever you named your trigger_gravity brush to.
That should do the trick!
[addsig]
Posted by alingrecea on Wed Jan 5th at 10:49pm 2005
Posted by Leperous on Wed Jan 5th at 11:30pm 2005
Start from the beginning- just make a trigger_gravity in the volume where you want lower gravity, and set the "gravity" property. Check that works, then make some kind of Output (e.g. on a func_button) that toggles the trigger_gravity entity.
There is entity help given by the way, which explains all this sort of thing- click the "help" button when editing an entity.
Leperous
member
3382 posts
788 snarkmarks
Registered: Aug 21st 2001
Location: UK
Occupation: Lazy student
Posted by alingrecea on Thu Jan 6th at 6:21am 2005
Posted by ALEXtheGreat on Fri Jan 7th at 12:03am 2005
member
9 posts
1 snarkmarks
Registered: Jan 6th 2005
Location: Sverige

Occupation: School
Posted by uberDingo on Fri Jan 7th at 6:04am 2005
if you use the trigger_gravity and tie it to a brush you dont make it the entire size of the area you want that gravity in. it's a trigger so when you pass through it it takes effect.. so if you entered a small trigger_gravity brush then you would have that gravity applied to you the entire time afterwards, wether you where in that brush or not. That being the case I think that it wont give you the effect unless you go into the brush.. I mean, I don't know if it will effect you if you start off inside the brush, if that makes sense. also, you have to texture the brush with a trigger texture.
if that doesn't work for you check out my goof around map I made. There's a 'wind tunnel' section in there where I turn the gravity to -.1 so you float to the ceiling as if being pushed by a lot of air.
http://www.roadtripauctions.com/moc/funhouse.rar
Snarkpit v6.1.0 created this page in 0.1416 seconds.

