-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drones y (1.3 and 1.6) #137
Comments
Do we have confirmation on this? |
Don't think so. It seems to be much harder than one might imagine to get anything with Y != 0 (or very close to it). 😕 |
I'm fairly sure I tested it (and will again later) but havent got the code working at this moment |
OK, here ya go... Having already adopted Drone bit 1.3=Y and 1.6=Unknown16:
I think Drone.Y is fairly convincingly close to the NPCShip.Y that probably spawned it? I don't know what Drone.Unknown16 is but it's not that close to Y. Also my total stats for ALL Drones I've EVER seen:
|
I realised a potential selection-bias above... My definition of "near" was Pythagoras on X,Y,Z. If 2 "nearest things" had similar X and Z but different Y/Unk16, I was deliberately assuming the closer Y was "closer". I repeated with pythagoras just on ONLY X,Z, ignoring Y (and Unk16), but the dump looks to be identical. |
Good enough for me. |
I would guess, then, that bit 1.5 is roll and bit 1.6 is pitch, because this would be consistent with other objects. |
The only value I've ever captured for bit 1.5 is 0, but you can see drones roll as they approach, so I don't think that's it. Ranges captured for bit 1.6 are 0.01 - 753.0635. This doesn't seem consistent with other pitch values I've seen (for example: player ships: -3.1415927 - 3.1415927, creatures: -0.49725252 - 0.4962025). |
I've updated the docs to reflect that bit 1.3 is Y. Do we want to leave this open to discuss the other unknowns on drones? |
I've only ever captured Does pitch... The other unknown...
|
Creature: X,Y,Z, Name, Heading,Pitch,Roll, .... I know Artemis protocol inconsistency is something we have learned to expect, but... How sure are we about this triplet appearing in so many different orders? Were they all tested from script files? |
the drone y seems to be stored in bit 1.4 - 1.6 is unknown I am 99% sure I tested spawning in different y's and
1.2=x
1.3=y
1.4=z
in 2.6 but dont have the test results to hand
The text was updated successfully, but these errors were encountered: