Forums » General

Is there a plugin for...

May 09, 2012 Woodlander link
...displaying your ships x y z position in the hud when your flying about in a sector? Is this something that could be written in lau if the plugin doesn't exist yet?
May 09, 2012 drazed link
The short answer is NO! The long and convoluted answer is, using roid-id's and trilateration it is possible to get an offset x-y-z position, but the accuracy would be questionable and the x-y-z would be an offset from an arbitrary point rather then an actual x-y-z. This would also require scanning/tracking a bunch of roids, plotting their distances to each other, and using this data to infer their locations relative t o each other.

Hope that helps :)
May 09, 2012 roguelazer link
There used to be, but people found it a little too easy to make auto-flying bots with it.
May 09, 2012 Pizzasgood link
May 09, 2012 Shapenaji link
I still don't know why the auto-flying bots would be such a bad thing... we could really use a multiple jump autopilot.

Only real problem I see is auto-trading, and that could be solved by obscuring position data inside no-fire zones.
May 09, 2012 Pizzasgood link
Well, you could still have the bot line up with the docking bay from outside the NFZ, and then just fly straight. I actually do this manually sometimes if I'm flying a heavy load - line up, lock turbo, and walk away to refill my water bottle or feed the cats. By the time I get back my ship is in the station.

Having the bot actually get it lined up well enough to do that could be difficult though, depending on how precise the data returned is, and whether or not it includes orientation.
May 09, 2012 Woodlander link
roguelazer: Ah yes, I hadn't thought about it like that. It would be fairly easy for someone who knew what they were doing to have all manner of automations up and running client side if the right api calls were made available. And I'm guessing the devs don't want that?

Pizzasgood: Thanks for the link to the zip file but it seems to be dead. Even if the code doesn't work anymore I'd still be interested in having a butchers? Assuming you don't mind of course?

Its a real shame, if theres one thing that would be really useful it'd be knowing where you are in a sector. I guess the only way of having such a feature would be if the devs implemented it into the actual game code one day. That way everyone would be able to see their sector position in the hud but they wouldn't have access to the actual x y z data programmatically.
May 09, 2012 Conflict Diamond link
I've said it before: X2 and those games had an "Ecliptic Projector" to display a z=0 grid of the sector onto the HUD, and another upgrade to add x=0 and y=0 grids (I forget what they called those. Anyway, I always thought that idea would help vo a lot.
May 09, 2012 Pizzasgood link
Huh, not sure how it got lost. Anyway, I reuploaded it, so the link works now.
May 10, 2012 Woodlander link
FOFL. I downloaded the zip, had a look at the code, scratched me sweed for a second or two, then had another look at what the zip file is called. Nice one. :)