News:

Come Chat with us live! Learn how HERE!

Main Menu

Per-axis gravity?

Started by Taiyo.uk, December 04, 2007, 06:35:05 PM

Taiyo.uk

Is it feasible to implement per-axis "gravity" for the purposes of creating flow effects (as in water currents, strong wind, etc.)?

Odin

Well you could take the gravity simulation code and modify it to allow things such as weight and "push" entities in maps.

epsy

you can only change gravity up or down with quake

however, there are some engines that can do such use of wind, to suck a player, or to throw it
generates pretty sweet gameplay :)

maybe you could use some target_push?
Warning: All opinions expressed in my posts are mine and mine alone. Any connection to any group I am affiliated with - be it the ArmagetronAd Developers or any other group, is purely coincidental unless otherwise expressly stated. Don't be a dolt when you read my posts, as they *may* require some brainpower and thinking (also purely coincidental). Any opinion in my posts not expressed by me are purely figments of your imagination and will be dealt with accordingly.
SigTemplate by Khasla.

Paradox

Hmm, what would be neat would be for allowing mappers to make different areas change as the point of gravity. Imagine, press a button, and presto, the wall is now the floor.

∧OMG ENTROPY∧

Supertanker

That would be really useful, especially for space maps. I was trying to use loads of trigger_pushes but it just got annoying. But would the player have to be re-oriented to face the gravity?

Paradox

I think it would re-orient them like the alien wallwalk style of re-orientation.

∧OMG ENTROPY∧

Taiyo.uk

Well, I was thinking of just being able to apply arbitrary vector acceleration to players. The drawmodels can be rotated easily enough but the bounding boxes can't be rotated, so that would make real player re-orientation difficult.

The alien wallwalk re-orientation does not rotate the bboxen relies on the wallwalking alien bboxen being cubes or nearly cubes (see the player sizes).


Paradox

Hence why dretches bboxes are square.

This would require quite a bit of work, but it would turn out to be really cool.

∧OMG ENTROPY∧

Josellis

lol, yeh, that's would be awesome...

Imagine all these small rooms and tunnels with each a different gravity direction... you enter a room and you fall to the wall, and you go in another and you fall on the roof.... or even better, a constantly changing gravity, you fall on the floor, then slide to on wall, then slide again onto another wall, then slide on the roof, lol. There could be some really interesting battles.....

Knowitall66

Not for aliens make biting things even more difficult if you keep being thrown around,

epsy

#10
destroy the bbox then rebuild it in the new orientation ? or quake can't destroy a bbox without killing the player? no...i already seen a trem mod where i seen players without any bbox...probably on benmachine...

so, except if you want the players to rotate hell slow, i think destroying it and rebuilding it on the fly won't be that weird

edit: 1/ btw,as for now a trigger_value with a negative value as gravity will not work
2/ if such a feature has to be included, i wish gravity could not only be linear, but also point based ( attracting everything to it, or sucking on one side and pushing on the other )
3/ oh, and if the player wouldn't need to jump ;)
Warning: All opinions expressed in my posts are mine and mine alone. Any connection to any group I am affiliated with - be it the ArmagetronAd Developers or any other group, is purely coincidental unless otherwise expressly stated. Don't be a dolt when you read my posts, as they *may* require some brainpower and thinking (also purely coincidental). Any opinion in my posts not expressed by me are purely figments of your imagination and will be dealt with accordingly.
SigTemplate by Khasla.

Paradox

If such features could be implemented, tremulous could become like a mix between portals and quake.

Hmmm....

∧OMG ENTROPY∧