LowGrav

Expand and mod your server.
Post Reply
User avatar
Spectre
Private First Class
Private First Class
Posts: 174
Joined: Sat May 24, 2008 2:33 pm

LowGrav

Post by Spectre » Tue Sep 09, 2008 6:12 pm

I suspect this is a bit much, but is there any way to create a plugin that:

A: Finds player Z coord
B: Compares it to a certain Z coord
C: Reduces gravity if player Z coord is lower than coord specified

I have water in mind...
Keeping Latin alive in 2766 AUC.

User avatar
A Meteorite
Private First Class
Private First Class
Posts: 1786
Joined: Thu Apr 28, 2005 12:56 am
Location: California, U.S.
Contact:

Post by A Meteorite » Tue Sep 09, 2008 6:24 pm

2.0 based protocol, by limitation, can not change player physics dynamically.

I do not know if this has been implemented in 2.99, but I know a lot of per-player type modification work has been done (or planned).

The only thing one could do is change gravity for all players at that exact instant (but, as I remember back in the day playing around with gravity variables, you can affect gravity while in mid-jump, you'd have to also have the gravity stay in effect until you no longer want that player affected, such as falling to the ground).
Image
Owner @ BZFX
Core Admin @ CAN

Email me: bzmet…@gmail.com

User avatar
blast
General
General
Posts: 4751
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Post by blast » Thu Sep 11, 2008 3:02 am

The next version of BZFlag will have a Low Gravity flag, if that's of interest.

As for making gravity different in different areas, can't really do that, not even in 2.99.x (which is the development version for 3.0.0). That kind of thing has been discussed, but that's as far as it got.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

Post Reply