Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

New Arrival in search for Fighter HUD

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: another_commander, winston

User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6311
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: New Arrival in search for Fighter HUD

Post by Diziet Sma »

cim wrote:
I think the right way to do this would be to have a "targetModel" HUD dial, which re-renders the target to an appropriate position and scale (and probably with the correct orientation relative to the player ship, too). Could render it as a textured+lit 3-D object, or as a flat-colour wireframe.

This isn't entirely straightforward to do because it involves a rendering mode switch in an inconvenient place, but should be possible. Whether I have time to look at it before 1.82 I have no idea, but maybe someone else will.
:shock:

O. M. G.

You mean that could actually be done in Oolite? Having seen what ED does in this regard, I've been thinking for a while now that such a thing in Oolite would be both seriously cool, and useful. Being able to see the orientation of your opponent when they're off-screen is most helpful in combat, since it allows you to make an informed guess at what they're trying to do.

Please, please, please do this! :D
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
User avatar
Wildeblood
---- E L I T E ----
---- E L I T E ----
Posts: 2290
Joined: Sat Jun 11, 2011 6:07 am
Location: Western Australia

Re: New Arrival in search for Fighter HUD

Post by Wildeblood »

cim wrote:
Diziet Sma wrote:
Which actually brings up the main obstacle to such a feature.. dealing with OXP-added ships.
While OXPers could reasonably easily (if slightly time-consuming) put in pictures for all core ships, I think the right way to do this would be to have a "targetModel" HUD dial, which re-renders the target to an appropriate position and scale (and probably with the correct orientation relative to the player ship, too).
Isn't that what Norby's Telescope OXP does?

What would be useful is a custom image dial that works the same way as the custom text dial. That could be used for an image of the player ship, target ship, selected equipment, species of the npc communicating with you, your girl in every port, etc.
User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2676
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: New Arrival in search for Fighter HUD

Post by spara »

Wildeblood wrote:
cim wrote:
Diziet Sma wrote:
Which actually brings up the main obstacle to such a feature.. dealing with OXP-added ships.
While OXPers could reasonably easily (if slightly time-consuming) put in pictures for all core ships, I think the right way to do this would be to have a "targetModel" HUD dial, which re-renders the target to an appropriate position and scale (and probably with the correct orientation relative to the player ship, too).
Isn't that what Norby's Telescope OXP does?
It does that by using visualEffects that need to be defined in effectdata.plist. So all the ships still need to be defined in the oxp. If there was a way to create a VisualEffect straight from shipdata.plist, then that would not be needed.
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: New Arrival in search for Fighter HUD

Post by cim »

Wildeblood wrote:
What would be useful is a custom image dial that works the same way as the custom text dial. That could be used for an image of the player ship, target ship, selected equipment, species of the npc communicating with you, your girl in every port, etc.
Should be possible. Switch it too fast and you might run into problems with texture loading, but it probably doesn't matter if it blanks for a few frames when switching for most applications. I'll add it to the list.
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: New Arrival in search for Fighter HUD

Post by Smivs »

<grins at the possibilities>
Commander Smivs, the friendliest Gourd this side of Riedquat.
Zireael
---- E L I T E ----
---- E L I T E ----
Posts: 1396
Joined: Tue Nov 09, 2010 1:44 pm

Re: New Arrival in search for Fighter HUD

Post by Zireael »

Smivs wrote:
<grins at the possibilities>
<grins too>
User avatar
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2577
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

Re: New Arrival in search for Fighter HUD

Post by Norby »

spara wrote:
Wildeblood wrote:
Isn't that what Norby's Telescope OXP does?
It does that by using visualEffects that need to be defined in effectdata.plist. So all the ships still need to be defined in the oxp. If there was a way to create a VisualEffect straight from shipdata.plist, then that would not be needed.
Cim said more about the problems of a VisualEffect solution in Github. I described some others in the wiki.

Nonetheless there was a version of dertien's MiLHUD which repositioned the visual target of [wiki]Telescope[/wiki] to the bottom part of the screen. I think this is the maximum what an oxp can do currently, but with core changes everything is possible. ;)
Post Reply