Author Topic: gravity  (Read 1481 times)

can you change the gravity using the console or is there an addon I could use

Here, use search before you post a topic.

Here, use search before you post a topic.
Irony is in what you just said; the download link is broken.


Badspot

  • Administrator
Even if the download was there, the implementation sounds dodgy.

If anyone is interested in making a new gravity mod, you can change the gravity and have it be correctly predicted by creating a physical zone object.

Although you can't make a physical zone bigger than 1000x1000x1000, you could make a few and get a reasonably large play area.

zone bricks/events will allow you to do this by the method stated above, however it won't be serverwide and it'll have to be set up

i'm not aware of any (existing) mod that does it other than that

Xalos made it
but you cant toggle it, i think, and it's zero gravity
and it's like "every action REQUIRES an opposite reaction"

Although you can't make a physical zone bigger than 1000x1000x1000, you could make a few and get a reasonably large play area.
Would be nice if we had some kind of setFakePhysicalZone method for a player that takes in a physical zone, and from that point on acts as if the player is inside that zone. Would fix the zone size limitation, and would allow stuff like gravity to be set on a per-player basis, so we could have low gravity playertypes or minigame settings and such.

There are some space skies that have it say you can change the gravity.

I used to have a Space RP with 0 gravity and no Self Delete. Instead of kicking/banning people I just took away their jet pack and launched then into space lol.

can't you create a zone for each player, centered on them and updated every so often?
or would the overlaps do twice the effect?

can't you create a zone for each player, centered on them and updated every so often?
or would the overlaps do twice the effect?

I've done that on several occasions for players with their own individual gravity and it works perfectly.

can't you create a zone for each player, centered on them and updated every so often?
or would the overlaps do twice the effect?
They do overlap. You could make them sufficiently small so they could never overlap, but then you'll have trouble keeping them near the player. Also, things get weird when a player interacts with a physical zone smaller than them; it only seems to notice they've entered or exited it when one face of the player crosses with the opposite face of the zone. Placing a tiny zone inside the player doesn't work, at least in the experience I had testing the climbing pick. Even if it did, you'd have to update position really frequently to make sure they never slip out.

I've done that on several occasions for players with their own individual gravity and it works perfectly.
That so? I was just testing two overlapping physical zones, and it let me jump much higher than I could in either alone. What size did you use to implement it?

how about a zero gravity playertype

There are some space skies that have it so you can change the gravity.

I used to have a Space RP with 0 gravity and no Self Delete. Instead of kicking/banning people I just took away their jet pack and launched then into space lol.

-snip-
I remember I was testing out a planet mod I was making for a DM, and I had used this method and I didn't have any of the problems you stated, for example, I went into a zone with regular gravity, hoping that it would be applied, but I still was in zero gravity from the zone I gave the player.
Also I am certain the zone was smaller then the player object.

Updating the position frequent shouldn't be a problem, since its just changing the zones location.
I don't see why come there isn't a global gravity variable, it would be useful for some gamemodes/builds.