View previous topic :: View next topic |
Author |
Message |
Chris
Joined: 05 Aug 2006 Posts: 78
|
|
Back to top |
|
 |
Sajt
Joined: 16 Oct 2004 Posts: 1026
|
Posted: Mon Oct 09, 2006 10:16 pm Post subject: |
|
|
That's a lot of lines of code for just doing 'result = vlen(trace_endpos - self.origin)
Also your scale seems to be odd. The accepted scale is 8 quake units = 12 inches, yours seems to be 6 inches.
Other than that it's nifty I guess  _________________ F. A. Špork, an enlightened nobleman and a great patron of art, had a stately Baroque spa complex built on the banks of the River Labe. |
|
Back to top |
|
 |
Chris
Joined: 05 Aug 2006 Posts: 78
|
Posted: Mon Oct 09, 2006 11:21 pm Post subject: |
|
|
First site i saw it said 16 qu = 1ft, i guess its actually closer to 8. Also for mathematical history purposes i used the real 3d distance formula. So ya I'll change it from devinding by 16 to 8. Also changed the inches from 1 1/3 to 2/3.
Number wise it looked better by 16, mainly because the quake guy hauls ass from 0-60mph when running and by 16 the numbers look more realistic in terms of distance.
 |
|
Back to top |
|
 |
Urre

Joined: 05 Nov 2004 Posts: 1073 Location: Sweden
|
Posted: Tue Oct 10, 2006 11:50 am Post subject: |
|
|
Correct measurements are 8 qu = 1 foot, or 12 inch. 1 qu is 1.5 inches. Ask feh in #darkplaces, he knows  _________________ Look out for Twigboy |
|
Back to top |
|
 |
Sajt
Joined: 16 Oct 2004 Posts: 1026
|
Posted: Tue Oct 10, 2006 7:17 pm Post subject: |
|
|
Well, feh's 8 qu = 12 inches is the most accepted one when you're forced to accept a scale, but usually people just leave them at quake units because Quake has no consistent scale anyway.
The 'real' distance stuff you use is the same as vlen(trace_endpos - self.origin). _________________ F. A. Špork, an enlightened nobleman and a great patron of art, had a stately Baroque spa complex built on the banks of the River Labe. |
|
Back to top |
|
 |
Spike
Joined: 05 Nov 2004 Posts: 944 Location: UK
|
Posted: Wed Oct 11, 2006 5:26 pm Post subject: |
|
|
I demand leagues!
But yeah, quakeguy is 32 qu wide and 52 high, so he's pretty fat. quakeunits clearly have a different scale in different axis...
Oh, and regarding that rotating doors tut, I think you have to use self.ltime rather than time if you want velocity / avelocity to work as predicted. Something about movetype_push being absurd... _________________ What's a signature? |
|
Back to top |
|
 |
FrikaC Site Admin

Joined: 08 Oct 2004 Posts: 947
|
Posted: Wed Oct 11, 2006 7:27 pm Post subject: |
|
|
Must have cubits. |
|
Back to top |
|
 |
|