Page 1 of 1
Change gravity in new maps? help please
Posted: Tue Nov 29, 2005 3:21 pm
by XenoPHoXx
Hi there
I build maps for about two years now
and i was wondering how i could change the gravity in a mpmap
without the result that all my maps have 0 gravity..
Im building a On the Moon map thats why....
and my gravity must be that good that people still be able too jump
but higher than normal and don't when they hit the ground break the're legs
hope someone can help me
greetzz XenoPHoXx
Posted: Tue Nov 29, 2005 3:51 pm
by PKM
it's the manual way but in the server pull up your console and type the following:
(you won't be able to jump)
the above change will only last the duration of the map you type it in. to change it back type :
Posted: Tue Nov 29, 2005 4:10 pm
by Elgan
in your map set a key for world like so
$world gravity 650
doesnt have to be 650. This will only effect your map unlike a cvar:)
you can also put that in the map script. above waittill prespawn somewhere.
Posted: Tue Nov 29, 2005 6:18 pm
by Rookie One.pl
Increasing the jump height involves state files, though, and removing falling damage needs setting the dmflags cvar to 8.
Posted: Tue Nov 29, 2005 7:56 pm
by Elgan
prob get the better moon feeling just changing gravity, maybe 750 , i dunno what the moon feels like or what its gravity is or what earths gravity and quakes has in common.
Posted: Wed Nov 30, 2005 2:05 am
by LeadHead
I would say that the easiest way to change the gravity would to add
$world gravity [variable]
to your map script like Elgan said, or you can change it in MOHRadiant. With nothing selected, press "n" and scroll down to "worldspawn" and enter the key/value pairs of
key: gravity
value: [variable]
Both work just as equally though.
FYI, the default gravity is 800. You probably already know that, but I know that when I first started mapping for MOHAA I didn't.
Posted: Thu Dec 01, 2005 10:16 pm
by XenoPHoXx
thanks guys i will do the last thing