Messing with gravity

C

CypherLou

Guest
Is there an entity for reducing gravity or inverting it, to create effects like the giant fan from HL1?
 
trigger_vphysics_motion

Note to self: homework first, questions later.
 
I've been trying to make a map with no gravity... fiddled for hours to no avail...

Could you please explain to me how that command works?
 
y would anyone want to play without gravity mabye alittle gravity but not 0
 
yeah if it is at 0 gravity you will not fall at all....and you will be stuck slightly off the ground, only able to slowly hover around the map. make it 100 or 50....that is a lot better. hmmm it just occured to me i might not have answered your question at all. the console command in-game is sv_gravity # where the default is 600 in DM and i think 800 in CS. i have no damn clue how to set that in hammer and save it to the map.
 
giant... I want zero gravity because this mod is set in space... and hopefully you should no there is no gravity out there :)

Nuker, thanks I thought it would be something like that... but I can't find a console command sheet (very annoying trying to remember a lot of them)
 
ok i c ur point but how could u move if its zero gravity and u have no way of propelling urself anywhere if its in space
 
thats what im sayin....itd be realistic, but kind of difficult in terms of gaming.
 
You can make custom thrusters of kinds. But moving around BY YOURSELF sucks ass, you must see this?
 
Yes I do, that's why your in space ships with thrusters, using the thrusters to move around :E . (I should of explained it more in my first post) and thanks Nuker, they'll come in handy!
 
...Did I miss the part where the fairly obvious trigger_gravity was mentioned?

Trigger_vphysics_motion looks like the very thing so many of us have been searching for, though. The capacity to change a prop's gravity without reloading the map! Incredible!
 
I know, Cypher said that... I only asked for a more detailed explanation of how the command worked...
 
That would be an entity, not a command. My entire second paragraph was devoted to praising him for pointing out trigger_vphysics_motion :p
 
Oh... could be why I haven't been able to find it!

Could you please explain how this entity works? does it make the entire map a certain strength of gravity, or only a portioned part?
 
Did you know that Hammer has a nifty "Help" button in the entity properties dialogue box that, most of the time, provides useful information on the use of the entity in question? :D (Though, I must say, all too often it's not very helpful at all... but as self-recruited FGD Nazi, I guess it's my responsibility to fix that, isn't it? Argh!)

A player (players only; no physics objects) who touches a trigger_gravity will have his personal gravity scaled according to the trigger_gravity's "Gravity" property (2 means the player is twice as heavy, 0.25 one-fourth as heavy, etc.). In order to return to normal gravity, even after respawning, the player must pass through a trigger_gravity with a Gravity of 1.

I haven't messed with trigger_vphysics_motion, since I only learned of its existence about half an hour ago, but I'm willing to bet it works the same way, but for physics objects rather than players.
 
Thanks very much! and the 'help' button in hammer really should be renamed the 'hinderance' button as I can't find any info on what I want to know.
 
Then you ought to make a list of what you want to know about so that Those Who Know can assist ;)

[I wonder if I could make the FGD so useful in itself as to render 90% of all HL2 editing sites superfluous and unneeded. I think that will be my summer project. :D]
 
Back
Top