Page 1 of 1
Compass target info
Posted: Sat Nov 17, 2012 12:36 pm
by spara
Hello.
Now that there are OXPs that bring ETA and distance to target to hud I would like to propose something futher.
In my visions there is an info-box in the hud that would show all sorts of target information including ETA, distance, type etc and a small rotating object. When there is a target lock, info-box would show that target otherwise it would show space compass target.
Oxp wise this would require scriptable textual hud elements and the small rotating object. Especially the rotating object would be real nice
.
Re: Compass target info
Posted: Sat Nov 17, 2012 3:02 pm
by Wildeblood
spara wrote:Now that there are OXPs that bring ETA and distance to target to hud...
And other things, too.
spara wrote:In my visions there is an info-box in the hud that would show all sorts of target information including ETA, distance, type etc and a small rotating object. When there is a target lock, info-box would show that target otherwise it would show space compass target.
Oxp wise this would require scriptable textual hud elements and the small rotating object. Especially the rotating object would be real nice
.
The "rotating object" (a model of the ship being targeted?) is easy now. It is things like that that cim added the visual effects for. Putting any kind of text on the HUD is a pain.
OXP-wise you have to switch HUD files, or switch equipment, and have pre-defined text (Have you tried Wide-Screen HUD in trunk, with the compass mode labels?). There is no method for writing variable text onto the HUD, other than a console/comms message. I used to have a Target Analyser script that dumped info about the target into comms messages (not console messages), but it always caused the game to stutter, so I did away with it, and went for re-writing the .displayName instead in Combat Assistant. (Oh, so there is another method, after all.)
Oolite-wise, get into HeadUpDisplay.m and try tweaking the code for the reticle box to change the information it displays, the way the wormhole scanner mode does. (I once changed its colours to be blue and yellow, instead of red and green. But that's as far as I got.
)
Hmm... Really all we need is the ability to put a line feed in the .displayName, and over-ride the reticle's following the target around the screen to make it stay in one place.
Re: Compass target info
Posted: Sat Nov 17, 2012 4:40 pm
by spara
Overall I have not ventured to the trunk yet. Too bad there's only 24 hours in a day. But I have been reading about all messages regarding it.
Wildeblood wrote:
The "rotating object" (a model of the ship being targeted?) is easy now. It is things like that that cim added the visual effects for.
This will be so cool
. Usually the target is just a dark dot in the center of the crosshair. It's all the same what it looks like and what kind of textures it has. But when it rotates in an info box, then all those fancy ship oxps will benefit.
Wildeblood wrote:
Oolite-wise, get into HeadUpDisplay.m and try tweaking the code for the reticle box to change the information it displays, the way the wormhole scanner mode does. (I once changed its colours to be blue and yellow, instead of red and green. But that's as far as I got.
)
This is very tempting, but I think I'll stay away from the source. It would probably consume all my freetime and that would not be desirable (family...)
. Respect to you all that have gone that deep into the dark side.
Re: Compass target info
Posted: Sat Nov 17, 2012 5:57 pm
by Commander McLane
spara wrote:Wildeblood wrote:The "rotating object" (a model of the ship being targeted?) is easy now. It is things like that that cim added the visual effects for.
This will be so cool
. Usually the target is just a dark dot in the center of the crosshair. It's all the same what it looks like and what kind of textures it has. But when it rotates in an info box, then all those fancy ship oxps will benefit.
You could also just fly closer to your target.
Re: Compass target info
Posted: Sat Nov 17, 2012 6:00 pm
by spara
Commander McLane wrote:spara wrote:Wildeblood wrote:The "rotating object" (a model of the ship being targeted?) is easy now. It is things like that that cim added the visual effects for.
This will be so cool
. Usually the target is just a dark dot in the center of the crosshair. It's all the same what it looks like and what kind of textures it has. But when it rotates in an info box, then all those fancy ship oxps will benefit.
You could also just fly closer to your target.
Not wise with my deadly Adder.
.
Re: Compass target info
Posted: Sat Nov 17, 2012 6:02 pm
by Wildeblood
Commander McLane wrote:spara wrote:Usually the target is just a dark dot in the center of the crosshair. It's all the same what it looks like and what kind of textures it has. But when it rotates in an info box, then all those fancy ship oxps will benefit.
You could also just fly closer to your target.
Shoosh, McLane. You're giving away trade secrets.
Re: Compass target info
Posted: Sun Nov 18, 2012 10:13 am
by Disembodied
(Old Spacers' Advice moved to the
Old Spacers' Advice Thread. Bring your own pipe ...
)
Re: Compass target info
Posted: Tue Nov 20, 2012 7:47 am
by spara
One more to this topic. Current destination eta and updating tsc oxps would benefit a lot from message received message received event. Could that be implemented?