Author Topic: Gravitize bricks  (Read 1476 times)

Seeing as we finally have a low gravity space map I was wondering if it would be possible to make a tool that can Gravitize bricks?

The concept is really just this: Tool hits brick, brick makes a Field of X height, anyone who enters Field will be pushed downwards. The feild will be as large and wide as the largeness and wideness of the brick that's been gravitized.

I imagined three possible ways of doing this, and I've listed them from less difficult (I think) to most difficult.

1- Hit a brick with the Grav-tool once, and it will create a gravity field Height equal to the height of a Blocko character. Anyone who enters the field will be sucked downwards.

2- Hit a brick with the Grav-tool once, and then set the gravity field distance (height) manually using chat, or better yet with a Gui. This would be nice to make taller fields for, let's say, hangars and spaceship docks.

3- Hit the brick once with the tool to gravitize it. It will produce a gravity field directly upwards and going up to a specific height (blocko character height, or some other height). Hit the brick a second time and it will become a Gravity Ceiling brick, which will not produce gravity but any gravity brick found underneath it will extend it's feild upwards until it hits that ceiling brick.

Example:   Not Grav-Ceiling       Grav Ceiling
                   ______                    ______
                                                 |   |   |
                                                 |   |   |
                   |   |   |                   |   |   |          o
                   V  V  V                     V  V  V         II
                   ______                    ______         /  \ Blocko character height

               Gravitized baseplates/plates/whatever

Now, hit the brick a third time and it becomes just a regular brick again.
For the grav ceiling/grav floor interaction:

Grav floor looks for grav ceiling above it
Detected grav ceiling-> take distance from grav floor to grav ceiling, set distance as field height
Could not detect grav ceiling -> set field height as a default height

But then again I utterly suck at C++ and programming so I don't know.

What do you guys think?
« Last Edit: November 08, 2007, 03:26:40 PM by Muffinmix »

If you mean a floor which lets you stay on a floor when the rest of it is 0G like "Planets" (I think you do...?) then you can use the Mission Editor to create a zone with normal gravity inside the physicalzone with 0G.

If you mean a ceiling which reverses gravity, that's impossible with the current engine.

If you mean a floor which lets you stay on a floor when the rest of it is 0G like "Planets" (I think you do...?) then you can use the Mission Editor to create a zone with normal gravity inside the physicalzone with 0G.

Something like that, except without using the map editor.

Also grav-ceilings is just a regular brick that's been "Tagged", and any gravity brick underneath will extend the height of it's field up to that brick. So instead of using the default height value, it will use the Distance value from the grav floor brick itself to the grav ceiling brick as the height value of the field.


that would be really cool, like if some one made a tube out of bricks and it sucked the player down into a room of a compound  :cookieMonster:

that would be really cool, like if some one made a tube out of bricks and it sucked the player down into a room of a compound  :cookieMonster:

Not really what I meant but yeah, I figure you could change the direction of the force as well.

that would be really cool, like if some one made a tube out of bricks and it sucked the player down into a room of a compound  :cookieMonster:
i am working on a stationary tube that sucks you in