1

Topic: Teeworlds' "physics" information?

So hey...

I'll just get right to it. I want to know some of Teeworlds' "physics" information for the race map I'm currently making. I'm not sure if I'm using the correct terminology so I'll give you an example...

Let's say I wanted to know how long it would take my tee, walking at normal speed, to get across a 1,000 unit bridge. (in this case, a "unit" equals the length or the width of one tee) I'd first need to know how fast a tee normally walks without getting a boost. I did my own tedious calculations and found that a tee walks about 16 units per second, meaning, it would take him about 1 minute and 2 seconds to get across a 1,000 unit bridge. (hurrah for math!)

So anywho, now that you know what I'm talking about, does anyone know:

The velocity of a falling tee? (with no additional factors. A factor would be blasting down which obviously means the tee would be falling faster...)
The delay time between a rocket launcher's shots? (when holding the mouse down)
The velocity of a falling grenade?

I assume all the physics information is somewhere for public use like, perhaps, in the coding? I don't know how to read codding but if it is in there, can someone teach me how to understand it? Thanks. smile

p.s. if you're wondering what I'm trying to accomplish, I'm trying to perfectly time the instantaneous explosions of 3 (and perhaps 4, if I'm talented enough) grenades to get a mega boost/jump. Normally you only have enough airtime to shoot one grenade directly above you and another underneath you before the first one hits the ground, however, I was trying to find a creative way to use multiple teleports and a long fall to eliminate airtime problems. However doing that without knowing specific factors is like trying to pin a fly's wings against a tree at the distance of 40 yards with only one shot... and you can't kill it. It's nearly impossible. So I'm hoping to God someone knows the information I need that I may just do some calculations once and get it right rather than spend my whole day guessing... and failing. mad

Give others the respect you wish to be respected with. In the mean time, enjoy the website!

2

Re: Teeworlds' "physics" information?

Just for your information, those tricks have already been done. You can see some in this video by Ubu.

3 (edited by Dune 2011-12-13 11:06:04)

Re: Teeworlds' "physics" information?

The dbg_tuning 1 gives you most of the information you need, but then you've got to solve several systems of differential equations. I tried to do that for bot grenade aiming, but it was definitely too hard to.
I suggest you to do this intuitively, maths won't help you much unless you've got a degree or something.

Not Luck, Just Magic.

4 (edited by Bee 2011-12-13 19:32:08)

Re: Teeworlds' "physics" information?

heinrich5991 wrote:

Just for your information, those tricks have already been done. You can see some in this video by Ubu.

I was trying to make it where anyone could easily do it which is the main difference.

Dune wrote:

The dbg_tuning 1 gives you most of the information you need, but then you've got to solve several systems of differential equations. I tried to do that for bot grenade aiming, but it was definitely too hard to.
I suggest you to do this intuitively, maths won't help you much unless you've got a degree or something.

And where is dbg_tuning 1? I'll take a swing at understanding the equation format first. If I can't do it, I'll go back to guessing which will likely lead to me just moving on. lol

:edit: never mind. I figured it out. big_smile however the numbers are useless to me unless I know what they are referring to. How do I tell what the number's mean?

Give others the respect you wish to be respected with. In the mean time, enjoy the website!

5

Re: Teeworlds' "physics" information?

Well this isn't that hard because you don't have to make exact calculations but a rather rough estimate from which on you trial and error.
So the things you need to know are 1) acceleration/gravity and 2) if/what the velocity limit for grenades is
I'm pretty sure for tees themselves there's one. Someone used to modding or coding on the physics might know more.