|
Post by amitp on Sept 8, 2013 18:40:44 GMT -5
Rob, can you describe the f, df, maxtraverse values in a turret? Facing is f, in deci-degrees. I don't quite understand df and maxtraverse. Is df the speed at which the turret turns, and maxtraverse the most it will turn? Is maxtraverse measured end-to-end or center-to-end? Thanks
|
|
|
Post by rob on Sept 10, 2013 9:47:08 GMT -5
You are pretty much dead right.
f is the rest angle (facing) in ddeg.
df is the rotation speed in ddeg/s.
maxtraverse is the arc through which the turret can rotate, measured in ddeg end-to-end centered on f. maxtraverse of zero means no limitation on traverse; 1800 is the biggest number you'll see for maxtraverse due to some ancient limitations of the turret tracking code.
|
|
|
Post by amitp on Sept 10, 2013 11:05:29 GMT -5
Ah, thanks! I'm trying to come up with a visualization of the firing angles for each tank, but I've been unhappy with all the visualizations I've tried so far. The current version of the viewer has one stab at it but I'll probably remove if it I can't make it look good. You can mouse over the weapon and it'll show you which angles it covers.
|
|
|
Post by rob on Sept 10, 2013 12:03:50 GMT -5
Amit, that's super cool!
Did you try drawing arcs only for turrets, not for each gun? The game logic only does per-turret aiming anyway...
|
|
|
Post by amitp on Sept 10, 2013 20:00:56 GMT -5
A previous visualization was only turrets, and it was cleaner, but it didn't account for guns being in different locations. But the current visualization is so messy that I will probably go back to per-turret. And it'd be even simpler if I centered it on the tank instead of the turret. That way I could use a clean concentric circle approach similar to shields.
|
|