executing server commands

executing server commands

Re: executing server commands Posted by Dragon_Slayer on Sat Aug 26th 2006 at 1:20am
Dragon_Slayer
12 posts
Posted 2006-08-26 1:20am
12 posts 1 snarkmarks Registered: Aug 22nd 2006 Occupation: College Student Location: USA
OK, i am making a map that will have low gravity. When i play the map, i have to make the map low grav myself in consoleby using "sv_gravity 100". All i need to know is how i can change the grav so when the map starts, the grav will already be low? What can i do in hammer to get the desired effect? :grenade:
Re: executing server commands Posted by Orpheus on Sat Aug 26th 2006 at 1:24am
Orpheus
13860 posts
Posted 2006-08-26 1:24am
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
Dunno if its still relevant.

In HL1 you had to add an effect over the whole map by using the AAA trigger and setting the entity for lowering the grav.

I assume that HL2 has a similar action required to do this too.

You will need to add the entity to effect everyone upon spawning.

I will not make this yellow because my answer is to incomplete but it will point you toward the right direction. :smile:

The best things in life, aren't things.
Re: executing server commands Posted by omegaslayer on Sat Aug 26th 2006 at 7:27pm
omegaslayer
2481 posts
Posted 2006-08-26 7:27pm
2481 posts 595 snarkmarks Registered: Jan 16th 2004 Occupation: Sr. DevOPS Engineer Location: Seattle, WA
point_servercommand is something your looking for I think (set it up so
when the map spawns it triggers this entity). With it you can have the
map put in a command to the console. Be wary though. It tends to get
tricky whether you have sv_cheats set to 1 or 0.
Posting And You
Re: executing server commands Posted by Dark_Kilauea on Sun Aug 27th 2006 at 3:35am
Dark_Kilauea
629 posts
Posted 2006-08-27 3:35am
629 posts 123 snarkmarks Registered: Apr 15th 2005 Occupation: Fast Food Location: USA
Trigger_gravity should still do fine :smile:
Dark_Kilauea
DVS Administration
http://www.dvstudio-production.com/
Re: executing server commands Posted by Dragon_Slayer on Tue Aug 29th 2006 at 12:43am
Dragon_Slayer
12 posts
Posted 2006-08-29 12:43am
12 posts 1 snarkmarks Registered: Aug 22nd 2006 Occupation: College Student Location: USA
Well, the trigger_Gravity only works when you walk into it. I need something that sets grav at the beginning of the map...also making any prop low grav also. When shooting a prop through a trigger_gravity, i see no effect.
Re: executing server commands Posted by Stadric on Tue Aug 29th 2006 at 2:59am
Stadric
848 posts
Posted 2006-08-29 2:59am
Stadric
member
848 posts 585 snarkmarks Registered: Jun 3rd 2005 Occupation: Slacker Location: Here
Omega slayer has your answer. Use a servercommand, and give it an output to command via a logic_auto, and set the parameter to a server gravity value: sv_gravity 100, 600, 80000000000000000, etc.
Also change the texture of the dock. Docks are rarely tile. -Facepunch
As I Lay Dying