Server Variables (Measurements)
- Strakowski
- Private First Class
- Posts: 79
- Joined: Wed Jun 24, 2009 4:40 pm
- Location: hiding somewhere in Overdoze
Server Variables (Measurements)
I was just looking at "Server Variables" on the wiki, and I noticed that the listing for the speed and jump velocities (tankSpeed and jumpVelocity) don't say what the units of measurement are, for either one . I'm doing some work with trampolines and quadratic parabolas, and I really need to know what these values signify.
I'm assuming that it's measured in worldUnits/second
but before I go ahead and make my projections, could someone verify this information?
Thanks!- Strakowski
I'm assuming that it's measured in worldUnits/second
but before I go ahead and make my projections, could someone verify this information?
Thanks!- Strakowski
-
- Private First Class
- Posts: 1400
- Joined: Sun Feb 06, 2005 5:40 pm
- Location: Somewhere over there.
Re: Server Variables (Measurements)
Both are indeed in worldUnits/second
- Strakowski
- Private First Class
- Posts: 79
- Joined: Wed Jun 24, 2009 4:40 pm
- Location: hiding somewhere in Overdoze
Re: Server Variables (Measurements)
Okay, thanks!
- optic delusion
- Special Forces
- Posts: 1054
- Joined: Sat Sep 25, 2004 2:29 pm
- Location: Planet MoFo
- Contact:
Re: Server Variables (Measurements)
the best place to find this type of info is http://shellshock.bzflag.bz/guides-bzscience.html
Take a look at my Defender game mode concept.
Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.
Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.
- Strakowski
- Private First Class
- Posts: 79
- Joined: Wed Jun 24, 2009 4:40 pm
- Location: hiding somewhere in Overdoze
Re: Server Variables (Measurements)
Oh, wow. That's awesome. This will be fantastic when planning maps. So glad you posted that.
- Strakowski
- Private First Class
- Posts: 79
- Joined: Wed Jun 24, 2009 4:40 pm
- Location: hiding somewhere in Overdoze
Re: Server Variables (Measurements)
Wait a sec... my formula is incorrect. My calculations are telling me that the default jumpVelocity would have to be a measurement of the [height at the peak of the jump].
I know that it takes 4 seconds to jump and the default jump travels 100 units. With a gravity of [9.8 units/second^2] and default speed of 25 units/second, the jump velocity can't be 19.
My equation looks like this:
j(x/25)-9.8((x/25)^2)=y
If x is 100 and y is 0, j has to be 39.2.
I know I probably made an error, could someone disprove me? (or approve, but that seems unlikely; been a while since Algebra)
I know that it takes 4 seconds to jump and the default jump travels 100 units. With a gravity of [9.8 units/second^2] and default speed of 25 units/second, the jump velocity can't be 19.
My equation looks like this:
j(x/25)-9.8((x/25)^2)=y
If x is 100 and y is 0, j has to be 39.2.
I know I probably made an error, could someone disprove me? (or approve, but that seems unlikely; been a while since Algebra)
- Spazzy McGee
- Sergeant Major
- Posts: 1405
- Joined: Mon Mar 21, 2005 4:59 pm
- Location: Planet MoFo, Sheffield Division; United Kingdom
Re: Server Variables (Measurements)
I reckon I can disprove you. Hope you can read it, I proved all the information on the shellshock site: that the height of the jump is about 19 (actually, it's closer to 18), that the length of a jump is about 100 (it's actually about 95), and that the time for the jump is 4 seconds (actually 3.8). The bit you're after is the height, which is on the right hand side.
I apologise for the poor photos. I don't have a scanner.
Most of the time, it's best to consider the horizontal and vertical components separately. I calculated the height of the jump separately from the distance travelled horizontally. All you need to remember to make things really easy, are your equations of motion:
v = u + at
v^2 = u^2 + 2as
s = ut + 0.5 at^2
They can solve any projectile problem, provided that air resistance is negligible.
I apologise for the poor photos. I don't have a scanner.
Most of the time, it's best to consider the horizontal and vertical components separately. I calculated the height of the jump separately from the distance travelled horizontally. All you need to remember to make things really easy, are your equations of motion:
v = u + at
v^2 = u^2 + 2as
s = ut + 0.5 at^2
They can solve any projectile problem, provided that air resistance is negligible.
"Life is what happens to you while you're busy making other plans." - John Lennon
Re: Server Variables (Measurements)
Reminds me of pictures of Einstein's notes... did you rip him off?Spazzy McGee wrote:I apologise for the poor photos. I don't have a scanner.
There is nothing worse than aggressive stupidity. -- Johann Wolfgang von Goethe
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln
- Strakowski
- Private First Class
- Posts: 79
- Joined: Wed Jun 24, 2009 4:40 pm
- Location: hiding somewhere in Overdoze
Re: Server Variables (Measurements)
Oh great! I knew something was a little strange. These values are all working great! Next post I make should be on the Map Releases page!
Thanks a million!- Strakowski
P.S. I found my fault in the equation; I forgot to cut the gravitational constant in half. I wrote "-9.8X^2", it should have been "-4.9x^2".
Thanks a million!- Strakowski
P.S. I found my fault in the equation; I forgot to cut the gravitational constant in half. I wrote "-9.8X^2", it should have been "-4.9x^2".
Last edited by Strakowski on Fri Sep 18, 2009 12:10 pm, edited 1 time in total.
- Spazzy McGee
- Sergeant Major
- Posts: 1405
- Joined: Mon Mar 21, 2005 4:59 pm
- Location: Planet MoFo, Sheffield Division; United Kingdom
Re: Server Variables (Measurements)
Acceleration due to gravity is not constantStrakowski wrote: forgot to cut the gravitational constant in half
"Life is what happens to you while you're busy making other plans." - John Lennon
- Strakowski
- Private First Class
- Posts: 79
- Joined: Wed Jun 24, 2009 4:40 pm
- Location: hiding somewhere in Overdoze
Re: Server Variables (Measurements)
(I think I'll go bang my head against the wall now)