[PAID] flight destination targeting

Posted By: William

[PAID] flight destination targeting - 07/13/10 19:09

Hello,

I need a flight navigation code. Basically, the plane is targeting a destination, and when the destination gets out of view, it shows up as a small rotating panel arrow on the screen which points to the object no matter where it is(up, down, left, right).

Here is a screen-shot showing this:



I will need it to support up to 11 individual arrows pointing to 11 different objects. I would like to have the arrow pointing closer to the edge of the screen than in this image. As well, the more accurate the better.

You do not have to code the targeting when the object is on screen, just the arrows that point properly when the object is off screen. The arrows should be panels. Make a small test demo showcasing this code. Please PM me if you are interested.


I will pay $50 for this, and PayPal is required for payment.

Cheers,
Will
Posted By: NITRO777

Re: [PAID] flight destination targeting - 07/13/10 19:51

To do this properly you need somebody who is comfortable with dot product calculations because essentially you need to project the vector of the target upon a plane which is attached to the player's pan. Then determine what degree of roation it is relative to that plane.

(To be honest I never could quite wrap my head around it enough to code it wink
Posted By: Rasch

Re: [PAID] flight destination targeting - 07/13/10 20:09

The hard part would be to set the different targets i think.

The rest could be done with a 3d arrow (thin enought to look 2d) which can rotate in all axis.
Posted By: William

Re: [PAID] flight destination targeting - 07/13/10 20:39

I'm not as great at math as I'd like, so that's why I put this job up. I'm not looking for a 3d arrow that points to the nearest target. But rather 2d panel arrows that circle around the screenspace and points to their target.

I'm willing to negotiate a higher price for it if it takes a fair bit of time to code.
Posted By: Rasch

Re: [PAID] flight destination targeting - 07/13/10 21:01

What do you have done so far? I think itīs necessary to combine your targeting script with the arrow script if thereīs already one.
Posted By: William

Re: [PAID] flight destination targeting - 07/13/10 21:09

My targeting is mixed in with a bunch of other code. I don't think it's really necessary as the arrow script doesn't kick in until the entity leaves the screen. I will handle whatever shows when the entity is on the screen.
Posted By: WretchedSid

Re: [PAID] flight destination targeting - 07/13/10 21:10

Why? Three functions would be enough: One that creates an arrow and returns it's id, one that allsows you to update the target and one that removes a arrow.

The rest (updating the panels etc) could be done transparent in the background, no need to integrate it into existing code.
Posted By: DJBMASTER

Re: [PAID] flight destination targeting - 07/14/10 12:14

@William, you've gone over your PM limit, you'll need to delete some. I may have some code that can help you...
Posted By: Quad

Re: [PAID] flight destination targeting - 07/14/10 13:37

i am like: "What is it so hard around it i guess i can easily do that?"

will give it a try

edit: i created such script, around 30 lines, unlimited arrows, can be dinamacally added/removed, can point to moving objects etc. But i have some questions about your request thanks.

Posted By: MrGuest

Re: [PAID] flight destination targeting - 07/14/10 19:47

Worth a go and completed relatively quickly, so... will accept payment of $40 or $20 with credits, contact me at jks_here@hotmail.com if you are happy with that.
Posted By: William

Re: [PAID] flight destination targeting - 07/14/10 23:21

Thanks to everyone for checking this out. I believe someone has found the solution. I will post here again if I still need it to be worked out. In the meantime this job is done.
© 2024 lite-C Forums