• Welcome to Battlezone Universe.
 

News:

Welcome to the BZU Archive dated December 24, 2009. Topics and posts are in read-only mode. Those with accounts will be able to login and browse anything the account had access granted to at the time. No changes to permissions will be made to be given access to particular content. If you have any questions, please reach out to squirrelof09/Rapazzini.

Main Menu

BZ2 hovercraft physics

Started by appel, July 24, 2008, 08:25:21 AM

Previous topic - Next topic

appel

Hi

I'm making a game demo and I want to include a BZ2-like hovercraft unit, that handles in the same way as a BZ2 hovercraft unit.

What information I need is all the variables that are used for the physics of the unit, and a short description of those variable.

Thank you :)

Red Devil

How's this?

[HoverCraftClass]
velocForward = 30.0 //
velocReverse = 18.0 //
velocStrafe = 14.0 //
accelThrust = 24.0 //acceleration
accelBrake = 75.0 //braking
accelDragStop = 5.8 //how fast it stops once hands are off controls
accelJump = 15.0

setAltitude = 1.0 // how high off the ground

alphaTrack = 22.0 //springs speed it rights itself
alphaDamp = 8.0 //shocks

pitchPitch = 0.19 //nose up
pitchThrust = 0.09 //nose down

rollStrafe = 0.01 //rolls while strafing
omegaSpin = 6.0 //spinning in place speed
omegaTurn = 2.0 //turning while moving speed
alphaSteer = 4.5 //how fast it responds to steering
rollSteer = 0.1 //rolls while steering
What box???

appel

Quote from: Red Devil on July 24, 2008, 09:57:11 AM
How's this?

[HoverCraftClass]
velocForward = 30.0 //
velocReverse = 18.0 //
velocStrafe = 14.0 //
accelThrust = 24.0 //acceleration
accelBrake = 75.0 //braking
accelDragStop = 5.8 //how fast it stops once hands are off controls
accelJump = 15.0

setAltitude = 1.0 // how high off the ground

alphaTrack = 22.0 //springs speed it rights itself
alphaDamp = 8.0 //shocks

pitchPitch = 0.19 //nose up
pitchThrust = 0.09 //nose down

rollStrafe = 0.01 //rolls while strafing
omegaSpin = 6.0 //spinning in place speed
omegaTurn = 2.0 //turning while moving speed
alphaSteer = 4.5 //how fast it responds to steering
rollSteer = 0.1 //rolls while steering


Thank, what I needed. I might need some more description of the following:

QuotepitchPitch = 0.19 //nose up
pitchThrust = 0.09 //nose down
I know what pitch is but how do these variables control the pitch of the hovercraft? Is there a maxUpPitch and maxDownPitch? What does pitchThrust actually do? Does it control how fast the vehicles pitch'es?

QuoteomegaSpin = 6.0 //spinning in place speed
omegaTurn = 2.0 //turning while moving speed
Is this the yaw speed? Why are there two? What's the difference between "spin" and "turn"?

QuoterollSteer = 0.1 //rolls while steering
Does the vehicle roll when yawing? I don't understand.

Red Devil

pitchThrust is how much the nose tilts down when you step on the gas.

pitchPitch is how much the nose tilts up and down when you move the mouse when you're just sitting on the ground.

omegaSpin is how fast you spin while standing still.
omegaTurn is how fast you turn while moving.

rollSteer is how much it rolls while moving and steering.
What box???

appel

Are there any differences in this set of variables between 1.2 and 1.3?

Red Devil

What box???

appel

Great, thanks Red Devil, I got all I need for now.  8-)

General BlackDragon

I think there's more to it then that, some 1.3 free'ed up values in physics arnt there?



*****General BlackDragon*****

AcneVulgaris

Quote from: appel on July 24, 2008, 08:25:21 AM

I'm making a game demo and I want to include a BZ2-like hovercraft unit, that handles in the same way as a BZ2 hovercraft unit.



What are you using to make your demo?

appel

Quote from: AcneVulgaris on July 24, 2008, 05:11:57 PM
What are you using to make your demo?

If you mean in terms of programming, then I'm using jME (java monkey engine library), it's OpenGL and Java. I'm also using jME-Physics2 library for the physics part.

appel

Quote from: General BlackDragon on July 24, 2008, 11:49:55 AM
I think there's more to it then that, some 1.3 free'ed up values in physics arnt there?

I wonder if there are some "hidden" variables, inside the game engine. Or maybe they are all in config files? I need to get 1.3pb4 to check these config files out.

TheJamsh

theres many many preset variables inthe game that are indeed hidden.

check out the changelog files to see all the ones GSH freed up and made externally adjustable... you could always speak to him about the internal variables but hes not aroud too often and is busy, try and grab him on the BZII chat thing in multiplayer


BZII Expansion Pack Development Leader. Coming Soon.

OvermindDL1

GSH said he exposed the internal vars for the ship/weapon/etc.. classes when he went through a spree doing so about a year or three ago.  That is what so much of the new stuff in the ODFs were.

Generated by OvermindDL1's Signature Auto-Add Script via GreaseMonkey


Avatar


Feared_1