Re: Gravity Control?
Posted by Naklajat on
Fri Nov 26th 2004 at 8:00am
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
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
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
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
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
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
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
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
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
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 uberDingo on
Tue Dec 28th 2004 at 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
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
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.