Quote:
|
Originally Posted by Sildae
Use a loop to test increasing powers simulating shoot, until you have found one that works for the distance.
|
sike, that's a terrible way
just calculate the projectile physics, like i did
v = dt
d=1/2at^2 + vit
simultaneous equations, or whatever it's called, the time is the same in both equations (well, the time is double in the v=dt equation)
the information about projectile movement can be found in newfeatures.txt
i used a constant zangle of 45 degrees
i could just post you the entire script but that might be against the rules?