Jump to content

Australian medals don't show properly in logbook (fix included in post)


Home Fries

Recommended Posts

For an Australian pilot, the medals do not properly display in the pilot logbook, despite displaying correctly when awarded during debriefing.

 

After troubleshooting the problem appears to be the order in which the medals are listed in db_countries.lua. While all other nations list medals in order from low tier to high tier, Australian medals are listed high to low like so:

   award('Victoria Cross', _('Victoria Cross'), 3000, 'AUS01_Victoria_Cross.png'),
   award('Cross of Valour', _('Cross of Valour'),2600, 'AUS02_Cross_of_Valour.png'),
   award('Star of Gallantry', _('Star of Gallantry'), 2200, 'AUS03_The_Star_of_Gallantry.png'),
   award('Star of Courage', _('Star of Courage'), 1600, 'AUS04_Star_of_Courage.png'),    
   award('Distinguished Service Cross', _('Distinguished Service  Cross'), 800, 'AUS05_Distinguished_Service_Cross.png'),                                  

So when the first award (the Distinguished Service Cross) is awarded at 800 points, it lists in the logbook as

           ["awards"] = 
           {
               [21] = 
               {
                   [5] = "Distinguished Service Cross",
               }, -- end of [21]
           }, -- end of ["awards"]

It appears that since there is a [5] entry without entries 1-4, the medal does not display in the pilot log.

 

Changing the logbook entry to

[1] = "Distinguished Service Cross",

allows it to be displayed in the logbook, and reordering the medals to

   award('Distinguished Service Cross', _('Distinguished Service Cross'), 800, 'AUS05_Distinguished_Service_Cross.png'),
   award('Star of Courage', _('Star of Courage'), 1600, 'AUS04_Star_of_Courage.png'),    
   award('Star of Gallantry', _('Star of Gallantry'), 2200, 'AUS03_The_Star_of_Gallantry.png'),
   award('Cross of Valour', _('Cross of Valour'),2600, 'AUS02_Cross_of_Valour.png'),
   award('Victoria Cross', _('Victoria Cross'), 3000, 'AUS01_Victoria_Cross.png'),

should allow the medals to be entered into the logbook with the correct number

Link to comment
Share on other sites

  • 1 year later...

Still borked :) ; but who needs medals anyway?


Edited by Teapot

"A true 'sandbox flight sim' requires hi-fidelity flyable non-combat utility/support aircraft."

Wishlist Terrains - Bigger maps

Wishlist Modules - A variety of utility aircraft to better reflect the support role. E.g. Flying the Hornet ... big yawn ... flying a Caribou on a beer run to Singapore? Count me in. Extracting a Recon Patrol from a hastily prepared landing strip at a random 6 figure grid reference? Now yer talking!

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...

logbook is broken since april 2014. It does not record time, kil,..all info for each plane. Well DCS is a game without save.



[sIGPIC][/sIGPIC]

 

Intel I5 3570K OC@4.2Ghz - Asus P8Z77-v - Gainward Nvidia GTX770 2go - G.Skill 8Go RAM DDR3 - Hotas Cougar + Warthog - TrackIR 5

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...