Gravity Control?

Gravity Control?

Re: Gravity Control? Posted by Naklajat on Fri Nov 26th 2004 at 8:00am
Naklajat
1137 posts
Posted 2004-11-26 8:00am
Naklajat
member
1137 posts 384 snarkmarks Registered: Nov 15th 2004 Occupation: Baron Location: Austin, Texas
i want to make an fy map... no not another iceworld clone. you get one
hint: i need a way to set negative gravity. give up? a level where you
fly around the ceiling and walk on walkways at the edges of the level.
i just thought of a name: fy_gravboots. all i need is a way to set the
gravity for the level at a negative value. i was playing around with
the sv_ commands and found that ragdolls on the ceiling just look plain
funny. any help would be rewarded with points and gold stars.
Re: Gravity Control? Posted by Hugh on Fri Nov 26th 2004 at 8:24am
Hugh
900 posts
Posted 2004-11-26 8:24am
Hugh
member
900 posts 207 snarkmarks Registered: Oct 25th 2003 Occupation: College Student Location: Amerika
If you have grav boots, wouldn't it make more sense for the gravity to just be low? Setting your gravity of 200 will really kick up you up there and take a decent amount of time to land on the walkways. Anyway, I know you can't have negative gravity i.e. have the player float naturally.
Re: Gravity Control? Posted by Naklajat on Fri Nov 26th 2004 at 8:28am
Naklajat
1137 posts
Posted 2004-11-26 8:28am
Naklajat
member
1137 posts 384 snarkmarks Registered: Nov 15th 2004 Occupation: Baron Location: Austin, Texas
i was just in the game and messing with sv_gravity. i set it to -200 in
a room filled with hostages and they all went to the ceiling after i
reset the server. there was a ragdoll magnet at the bottom
of the level, so when i killed them they would fly and hit the floor
then float back towards the ceiling. i just need to know if there is a
way to make it so that the server will automatically have a sv_gravity
setting when the level starts.
Re: Gravity Control? Posted by Hugh on Fri Nov 26th 2004 at 8:29am
Hugh
900 posts
Posted 2004-11-26 8:29am
Hugh
member
900 posts 207 snarkmarks Registered: Oct 25th 2003 Occupation: College Student Location: Amerika
Oh, well then. Color me stupid.
Re: Gravity Control? Posted by Naklajat on Fri Nov 26th 2004 at 8:34am
Naklajat
1137 posts
Posted 2004-11-26 8:34am
Naklajat
member
1137 posts 384 snarkmarks Registered: Nov 15th 2004 Occupation: Baron Location: Austin, Texas
/gets out crayons

btw i love your avatar! awesome! #1!!!!!1!1!!!!!>!@
Re: Gravity Control? Posted by Corona on Fri Nov 26th 2004 at 2:34pm
Corona
43 posts
Posted 2004-11-26 2:34pm
Corona
member
43 posts 4 snarkmarks Registered: Aug 31st 2003 Location: Holland
use the

point_servercommand entity?

O_o
Re: Gravity Control? Posted by Knare on Fri Nov 26th 2004 at 4:44pm
Knare
62 posts
Posted 2004-11-26 4:44pm
Knare
member
62 posts 6 snarkmarks Registered: Aug 20th 2004 Location: New York, US
remember if you modify grav that 800 is normal (at least for HL1 + steam + amx)
Re: Gravity Control? Posted by Dred_furst on Fri Nov 26th 2004 at 5:16pm
Dred_furst
455 posts
Posted 2004-11-26 5:16pm
455 posts 135 snarkmarks Registered: Sep 3rd 2003 Location: UK
try setting the gravity trigger (is that it still) and set it to -1.0 or something similar if it still uses the old method.
Re: Gravity Control? Posted by Naklajat on Fri Nov 26th 2004 at 6:53pm
Naklajat
1137 posts
Posted 2004-11-26 6:53pm
Naklajat
member
1137 posts 384 snarkmarks Registered: Nov 15th 2004 Occupation: Baron Location: Austin, Texas
i think youre on to something, corona. i completely missed that entity. i will look into that...

/edit

i looked into it breifly and found nothing on how to use that particular entity. any suggestions anyone?
Re: Gravity Control? Posted by Corona on Sat Nov 27th 2004 at 1:15pm
Corona
43 posts
Posted 2004-11-27 1:15pm
Corona
member
43 posts 4 snarkmarks Registered: Aug 31st 2003 Location: Holland
my guess whould be using that entity.
Give it a name, turn of smartedit and add: "sv_gravity" value = 200.
Then trigger that thing.
Re: Gravity Control? Posted by Nanodeath on Mon Nov 29th 2004 at 6:52pm
Nanodeath
356 posts
Posted 2004-11-29 6:52pm
356 posts 66 snarkmarks Registered: Nov 11th 2004 Occupation: Student - Bioengineering Location: Seattle, WA, USA
http://www.hl2world.com/wiki/index.php/Trigger_gravity

I guess that doesn't help that much, though...if gravity has to be an integer between 0 and 1...that doesn't leave a lot of options :-P "integer" was probably a mistake? Not sure exactly.
Re: Gravity Control? Posted by uberDingo on Tue Dec 28th 2004 at 4:33am
uberDingo
72 posts
Posted 2004-12-28 4:33am
72 posts 17 snarkmarks Registered: Dec 21st 2004
you cen set trigger_gravity to negative numbers. I have a 'windtunnel' on my funhouse map that when you walk into the windtunnel you pass through a trigger_gravity that sets the gravity to -.1 which makes you slowly float to the ceiling as if you where getting hit with a lot of air.

Unfortunately you have to pass through the trigger_gravity for it to effect something. When I put a ragdoll in the room it was resting on the ground .. I guess because it isnt passing through the trigger_gravity :/ But yeah, trigger_gravity works... kinda
Re: Gravity Control? Posted by Nanodeath on Tue Dec 28th 2004 at 5:13am
Nanodeath
356 posts
Posted 2004-12-28 5:13am
356 posts 66 snarkmarks Registered: Nov 11th 2004 Occupation: Student - Bioengineering Location: Seattle, WA, USA
The point_servercommand is a little odd in that you never need more than one in the level because the entity doesn't have any parameters save for a name, but I think it's the one you want (or at least it's an option). You only ever need one in the level because any server commands you want executed are passed to it by some other entity....probably a logic_auto. What I'd imagine you'd do is you'd have the logic_auto execute the server command sv_cheats 1 with 0 delay, sv_gravity -200 with 0.01 delay, and then sv_cheats 0 with 0.02 delay...maybe that's a messy way of doing it, but it would work I think.
Re: Gravity Control? Posted by Naklajat on Fri Dec 31st 2004 at 2:32am
Naklajat
1137 posts
Posted 2004-12-31 2:32am
Naklajat
member
1137 posts 384 snarkmarks Registered: Nov 15th 2004 Occupation: Baron Location: Austin, Texas
Nanodeath, you are my hero! Change that to an answer and I'll mark it
as correct. Oh yeah, and I changed it from sv_gravity -200 to
sv_gravity 100, seems more logical.