Can I calculate like this?

Started by Mayrus
28/12/2008 15:11
Page 1 of 2
Mayrus28/12/2008 15:11

http://img220.imageshack.us/my.php?image=lolkq5.png

Is it true?

eDark28/12/2008 15:23

nope you can t ... i ll calculate it when i m back at home

cC|Stewie!28/12/2008 16:33

lol?
thats simple pythag
its a 300 block

Fliborecord holder Tournament #228/12/2008 16:44

Is that from like upper view or side view? If it's from side view, then it's pretty tricky (impossible) to calculate :P

Mayrus28/12/2008 16:44

but height difference between start and finish is 70 so its lower block i think

ova28/12/2008 17:05

youre drawing doesnt show enough what's the vector ur trying to achieve and also start and end positions

аli28/12/2008 17:54

i think u can calculate this if u know the trajectory of the player model(the accelerate when u jump, and the negativ accelerate when u beginn to fall). then u should be able to calculate which block u should jump(no duck) at the beginning after that u can simply let u fall.

SchlumPF28/12/2008 23:16(edited 28/12/2008 23:26)

edit: nvm sry didnt see taht its a view from the side :/

boom.dll29/12/2008 00:28

a^2-b^2=c^2 O_O

SchlumPF29/12/2008 00:30

a^2+b^2=c^2

аli29/12/2008 00:46

orly? u can calculate which block he should jump with pythagoras? how?

qewi29/12/2008 01:53(edited 29/12/2008 01:54)

nono, you cant take distance - heightdifference, i dont really got any good explanation but its just kinda obvious for me. you dont got the same velocity as up- and downspeed blabla, i'll let eDark explain it =PP

Grrr29/12/2008 09:05

Originally posted by SchlumPF
a^2+b^2=c^2


this is the right distance, but the other fact is that u have more time for strafing which means u could jump bigger distance (cuz of the height bonus)

SchlumPF29/12/2008 09:46

the distance for lj blocks is calculated by sqroot(x^2 + y^2) but it does not include heightdifference. since mayrus wants to calculate the block length i think edark will show us how to convert jumps with heightdifference into jumps without to compate them with each other ^^

eDark29/12/2008 15:59(edited 29/12/2008 16:07)

calculating such jumps is not so easy but first the result:
it s comparable to 243 - 244.4.

now how to calculate this ...
first you need to know how long your jump will be:
t=(268.25+Sqrt[268.25^2+2*800*(dh+18)])/800
dh=70 so we get t=0.9118838s

next we can calculate the distance:
s=prestrafe*t + 0.5*acceleration*t^2

now we have to put in some reasonable values for prestrafe and acceleration:

300-32 = 268 = 275*0.9118838 + 0.5*acc*0.9118838^2

=> acc=41.4463

now change the time to standard lj time:

275*0.73209 + 0.5*41.4463*0.73209^2=212.431

=> s=212.431+32=244,431

now again for slower prestrafe:

300-32 = 268 = 265*0.9118838 + 0.5*acc*0.9118838^2

=> acc=63.3789

265*0.73209 + 0.5*63.3789*0.73209^2=210.988

=> s=210.988+32=242,988

maybe i ll make a prog for mappers with this calculation, with anglejump and rotated blocks calculations in it...

st@mbeto. mapper29/12/2008 16:46

geek O.0 :D

st0ka29/12/2008 16:55

@eDark I bet a lot of people that aren't creating maps will find it useful as well (including me). :)

$m@r729/12/2008 18:20

@Mayrus ... man just use the SclumPF's plugin for calculating distance... you can find it by searching a little

SchlumPF29/12/2008 20:08

dont flame mayrus, even if he didnt wanted this answer or w/e i can use this calculation to add it to my emasure plugin :)

Fliborecord holder Tournament #230/12/2008 15:04

Nice eDark :P

I didn't even think to calculate it that way :D But well, it's somewhat inaccurate.. :/

Page 1 of 2

Please log in to post replies.