gravity?


(PleaseMYOB) #1

Wishful thinking I’m sure but…

Can I specify a center point of gravity?

I want to make a small planet you can walk ALL over, not just the top half…

:drink: CHEERS

edit—

Sry, I forgot to add, this is for SOF2


(Codja X) #2

nope.


(PleaseMYOB) #3

Didn’t think so… Thanks


(WolfWings) #4

Well… I’ll butt in here. There’s no way by DEFAULT to make such a trick work.

Technically, the engine is capable, but not with the stock code. I’ve re-worked the wallwalk mod (tremulous.sourceforge.net) to respect the idea of level-wide gravity using set ‘points of gravity’ littered around the level as an experiment before, which was amusing when the grenade launcher started being used as you’d have grenades taking wonderfully-excentric orbitting paths before they’d get anywhere.

But yeah, Codja was correct. Unless you’re making a mod, no, gravity has to be straight down. :slight_smile:


(PleaseMYOB) #5

Purly out of curiousity, what is involved with making a mod…

Is there a perticular program to use?

I know its nothing I’ll do now, but I would like to read up on it, so when I’m ready to move onto something more that mapping, I have a good idea of what I’m getting into…

THANKS


(WolfWings) #6

It involves getting the source code for the base game physics and logic (the client and server-side .DLL’s or .QVM’s or so-forth, depending on the Q3-based engine in question, I dunno what SOF2 uses) and modifying them to use the new physics. It’s a bit beyond explainable in a single forum post, there’s entire web sites devoted to mod-making. :slight_smile:


(Mr_Tickles) #7

Don’t forget you’d have to alter the player’s field of view aswell, meaning that you’ll need to add roll to the players screen.

In other words, players walking in the bottom of your planet would be walking on their heads.


(WolfWings) #8

As I said. You have to alter the game physics and game logic. The view angles and player-model rotation are part of the game logic in this case, specifically, the client-side game logic being (indirectly) controlled by the gravity-vector the server assigns everyone. :slight_smile: