Baron of Hell
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > Doom Speed Demos > Combining Demos - Possible or Not?
Pages (2): « 1 [2]  
Author
All times are GMT. The time now is 02:54. Post New Thread    Post A Reply
DEMOn
Member


Posts: 562
Registered: 09-02


the thread that Grazza linked tells all.
the vector generates the speed as it does in Quake. the polar coordinate system that DOOM uses allows for angled movement to be faster than straight movement.
the deception is that with SR40 and SR50 you aren't actually moving at an angle. You are telling DOOM to calculate the vector as if you were moving at an angle.
although the speed varies, I'd like to have a mathematical answer to the speed that wall-running gives. :)

__________________
I kill dead people.
Everyone should die.

Old Post 08-01-03 16:49 #
DEMOn is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Adam Hegyi
Mini-Member


Posts: 60
Registered: 03-02


Let me clarify some of the details here.

Grazza already gave the details on the math involved here, that is, the strafing value in LMPC is the sideways input and the forward/backward value is the forward/backward input. While straferunning these are combined the way Grazza described it, so strafe40+GF50 becomes 10*sqrt(41) ~64 at the angle of arctan(0.8) ~ 38.66 degrees and strafe40+GF50 becomes 10*sqrt(50) ~ 70.7 at 45 degrees. See the Pythagorean Theorem for details :)

Note that these are still input values, they cannot be directly translated to speed as there are various other factors such as friction. We can't simply state that strafe40 running is ~28% faster than normal running or strafe50 running is ~10% faster than strafe40 running because the physics is complicated. However, in a straight line when the player doesn't get touched by any objects except the ground, it is true that the top speeds achieved are proportional to the input values (50, ~64 and ~71).

So the values 40 and 50 have nothing to do with the angle the running's at (see above), nor the units covered per second (which are much higher as Fredrik hinted, actually by simple forward top speed running you cover about 580 units/sec.)

There is some misunderstanding about the terms strafe40 and strafe50 here. Normally, strafe40 means sideways movement only (which is represented in LMPC as SR40 and SL40), strafe50 likewise. strafe40+forward (or backward) is what we call straferunning, in this case strafe40 running. Sometimes that gets abbreviated to SR40 running which is a bit confusing as SR40 in LMPC only refers to strafe right. Or even worse, the "running" is omitted and SR40 itself is referred to "strafe40 running" which is even more confusing. With the LMPC naming, strafe40 running can be GF50/GB50 + SL40/SR40 and strafe50 running can be GF50/GB50 + SL50/SR50.

As for wallrunning, I believe the reason behind it is still unknown. My tests show that when achieving the top speed, wallrunning is exactly twice as fast as normal running. More precisely, strafe40 wallrunning is twice as fast as strafe40 running and strafe50 wallrunning is twice as fast as strafe50 running. Surely there is some reason behind this as well...

__________________
"I can't wait to see a nightmare run through DOOM2, it's just gotta be impossible!" - John Romero

Old Post 08-02-03 16:08 #
Adam Hegyi is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 02:54. Post New Thread    Post A Reply
Pages (2): « 1 [2]  
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > Doom Speed Demos > Combining Demos - Possible or Not?

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.