Author Topic: Is there a console command to reduce gravity?  (Read 1752 times)

I've been making a Space Zombies game, but normal gravity is still in place! Is there a console command to make it low gravity?

There is a way to change gravity but don't have it on me now. Alternatively you can use zonebricks, they have a zero gravity brick. https://forum.blockland.us/index.php?topic=63807.0

I think gravity used to be specified in the map files
not sure what the value to be changed/function call is, but looking through some of the old maps might reveal what value was being set

If there was a map that used it, it was probably just spawning a giant physical zone.

isn't there a gravity change thing in one of the FFCs

I think gravity used to be specified in the map files
not sure what the value to be changed/function call is, but looking through some of the old maps might reveal what value was being set
If there was a map that used it, it was probably just spawning a giant physical zone.
can confirm

isn't there a gravity change thing in one of the FFCs
no

No, but there is a few things that can do something similar.

1. Environmental Atmosphere.
I had an atmosphere thing where it would cause really low gravity. I don't have it anymore, but I assume it's still out there.

2. Zone Bricks.
You can get the Zonebrick pack and use the Zero-Gravity zone and bounce around in it.

3. Playertype: Bouncy Player.
There is an add-on that gives the player a bouncy playstyle once getting the Playertype.

4. Weapon: Bouncy Gun.
There is a new gun that has bouncy properties. The bullets bounce around everywhere. And a cool little effect as a bonus: The gun itself bounces too once dropped.


That's all I know that has low-gravity, No gravity and bouncing properties. I hope this helps you. Have a cookie.  :cookie:


1. Environmental Atmosphere.
I had an atmosphere thing where it would cause really low gravity. I don't have it anymore, but I assume it's still out there.

2. Zone Bricks.
You can get the Zonebrick pack and use the Zero-Gravity zone and bounce around in it.

3. Playertype: Bouncy Player.
There is an add-on that gives the player a bouncy playstyle once getting the Playertype.

4. Weapon: Bouncy Gun.
There is a new gun that has bouncy properties. The bullets bounce around everywhere. And a cool little effect as a bonus: The gun itself bounces too once dropped.


That's all I know that has low-gravity, No gravity and bouncing properties. I hope this helps you. Have a cookie.  :cookie:
Maybe, but there is a few things that can do something similar.


new physicalZone(zombieSpaceZone)
{
    gravityMod = 0;
    polyhedron = "0 0 0 1 0 0 0 -1 0 0 0 1";
    position = "0 0 0";
    scale = "5000 5000 5000";
};

then modify it's position using zombieSpaceZone.setTransform(whatever);
the position is where the bottom left corner is (i think), so move it according to that

the position is where the bottom left corner is (i think), so move it according to that
noedit, thanks
the front bottom left corner


new physicalZone(zombieSpaceZone)
{
    gravityMod = 0;
    polyhedron = "0 0 0 1 0 0 0 -1 0 0 0 1";
    position = "0 0 0";
    scale = "5000 5000 5000";
};

enter it in console?

or you can just set the polyhedron to "-0.5 -0.5 -0.5 1 0 0 0 1 0 0 0 1" and it will be the center of the zone

or you can just set the polyhedron to "-0.5 -0.5 -0.5 1 0 0 0 1 0 0 0 1" and it will be the center of the zone
oh sweet thanks