Combat MFD

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

Moderators: winston, another_commander

Zireael
---- E L I T E ----
---- E L I T E ----
Posts: 1396
Joined: Tue Nov 09, 2010 1:44 pm

Combat MFD

Post by Zireael »

Grab it from my Dropbox folder: https://www.dropbox.com/sh/q8xqu5ymg79z ... cVC9W7mnya

It shows the shield readouts and their percentage values. I tried showing speed, but don't know how to truncate it to 5 digits.

***
I am putting NumericHUD out of use, eh, Norby?
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6312
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Combat MFD

Post by Diziet Sma »

Sounds interesting.. Got a screenshot?
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
Zireael
---- E L I T E ----
---- E L I T E ----
Posts: 1396
Joined: Tue Nov 09, 2010 1:44 pm

Re: Combat MFD

Post by Zireael »

Not yet - it was a 5 minute job before leaving for hols.
User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2691
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: Combat MFD

Post by spara »

Zireael wrote:
I tried showing speed, but don't know how to truncate it to 5 digits.
Check toFixed() and toPrecision() methods.
User avatar
StathisR
Dangerous
Dangerous
Posts: 71
Joined: Fri Jun 08, 2012 9:31 pm
Location: Serres, Greece

Re: Combat MFD

Post by StathisR »

In MFD display 1 it works fine but in display 2 it is always on and you can not disable it or cycle through the other MFDs.
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: Combat MFD 1.0

Post by Norby »

Zireael wrote:
I am putting NumericHUD out of use, eh, Norby?
I like to see as many numbers as possible, so I updated your code to use together. :)

[wiki]CombatMFD[/wiki] v1.0 is available in the oxz manager.
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: Combat MFD

Post by Norby »

There are extra functions in Combat MFD:
-current values of Shield Capacitors (over 100%),
-exact speed with [wiki]Q-Charger[/wiki] or FTL drive,
-target speed to determine if you are faster in a pursuit or flee,
-target radius to guess the strength of an unknown enemy.
Image
Zireael
---- E L I T E ----
---- E L I T E ----
Posts: 1396
Joined: Tue Nov 09, 2010 1:44 pm

Re: Combat MFD

Post by Zireael »

Dropping by for a moment to say great job, Norby!
User avatar
mossfoot
---- E L I T E ----
---- E L I T E ----
Posts: 827
Joined: Fri May 30, 2014 4:07 pm
Contact:

Re: Combat MFD

Post by mossfoot »

Should the legal status be shown before you get the targeting upgrade like that?
--
Image
Pilot: Mossfoot - Ship ID: Viaticus Rex (Cobra MKII)
Rank: Competent - Status: Clean

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

Re: Combat MFD

Post by Diziet Sma »

mossfoot wrote:
Should the legal status be shown before you get the targeting upgrade like that?
No, it definitely should not.. :wink:
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
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:

Combat MFD 1.1

Post by Norby »

Thanks for the ideas! :)
[EliteWiki] Combat MFD v1.1 features:
-Must buy as an equipment for 300cr.
-Legal status display need Scanner Targeting Enhancement.
-Show Telescope far target names without km.
-Can show Empty, Mined and Usable ship status with Towbar.
-Wormhole target supported with Wormhole Scanner equipment.
User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2691
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: Combat MFD

Post by spara »

That radius is a bit strange. How about instead showing the volume of the ship calculated from the bounding box?

I'm also a little uncomfortable with showing the actual raw shield number rather than just percentages. It's a bit of an immersion breaker for some and if there's the percentage there already, that uses the standard shield as 100, is there really any need for the raw number?

All in all, very nice Norby :D .
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: Combat MFD

Post by Norby »

I am thinked on before and choosed radius as a probably detectable parameter due to the shields is sphere-shaped. An alternative is the viewable section of the target which is measurable in a strong visual zoom but this is not tell anything about the length of the target and more complicated. Third is the mass from some kind of gravity detector but this is more far from usual things. Lastly I found that radius is the best in the case of planets and sun (targetable with Telescope), so I selected this as something about the strength of an unknown target.

The energy and shield data is not made by me here and I think also that the percent values are more natural. The exact numbers are help to determine if you have shield boosters only and provide a "little numeric hud" in the bar-based ones. How about if percent is placed first?
User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2691
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: Combat MFD

Post by spara »

Norby wrote:
I am thinked on before and choosed radius as a probably detectable parameter due to the shields is sphere-shaped. An alternative is the viewable section of the target which is measurable in a strong visual zoom but this is not tell anything about the length of the target and more complicated. Third is the mass from some kind of gravity detector but this is more far from usual things. Lastly I found that radius is the best in the case of planets and sun (targetable with Telescope), so I selected this as something about the strength of an unknown target.
Nice handwavium, works for me. Maybe "Shield radius", instead of "Radius"? There's room there.
Norby wrote:
The energy and shield data is not made by me here and I think also that the percent values are more natural. The exact numbers are help to determine if you have shield boosters only and provide a "little numeric hud" in the bar-based ones. How about if percent is placed first?
I would use game's 256 128 as a base. So that would be 100%. Then with boosters, the readout would simply be something like 125% meaning 25% better that the unboosted shields.

Edit: fixed the wrong value
Last edited by spara on Sat Jul 05, 2014 2:45 pm, edited 1 time in total.
User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2691
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: Combat MFD

Post by spara »

A couple of ideas for you to ponder as there is space there that could be utilized :mrgreen: .

Since this is a Combat MFD, a list of damaged equipment would be cool. If only percent values of the shields are shown, the top right corner of the MFD might serve this purpose. Five broken equipment would fit there as the whole sixth line needs to be left for target ship name.

Uber cool (and quite a challenge to script :) ) would be keeping track of the enemy when it's targeted and if it shoots, the combat MFD would update to show the type of weapon it has/uses. And if it launches a missile or fires the ECM, that would be tracked too. Right bottom corner might serve this purpose.

First it would be like this:

Code: Select all

Lasers: 
  unknown
Missiles: unknown
ECM: unknown
And then after a few shots and some combat it would look like this:

Code: Select all

Lasers:
  beam, pulse
Missiles: yes
ECM: yes
Post Reply