Jump to content

Lost campaign data


Hog_driver

Recommended Posts

A few years ago, I started the Basic Flight Training Qualification to learn flying the A-10C.

Some missions were a royal pain, as vehicles kept running into me when I was taxiing to the runway or triggers didn't work, but I finally got to mission 3. Then I had to stop playing and did not play DCS for a long time. When I got back and wanted to continue the campaign, I realised that the campaign is no longer active and have to start from scratch.

I wasn't very enthusiastic about it, since it took me literally two or three hours to complete the Ground Handling mission, so I decided to try another approach, namely to edit the logbook.lua file.

It's kind of "soft cheating" but I know which missions I already completed and nowadays I don't have that much time to fly them again.

So I used the editor created by Diego Molas, https://www.digitalcombatsimulator.com/en/files/486408/

to edit the logbook file.

In the case of this mission, the syntax looks more or less like this:

 

        ["created"] = "Fri Mar 12 20:55:42 2021",
                    ["player"] = "JDoe",
                    ["campaign"] = "./Mods/campaigns/A-10C - Basic Flight Training Qualification/A-10C - Basic Flight Training Qualification.cmp",
                    ["status"] = "Active",
                    ["history"] = 
                    {
                        [1] = 
                        {
                            ["datetime"] = "Fri Mar 12 20:56:32 2021",
                            ["agKills"] = 0,
                            ["aaKills"] = 0,
                            ["result"] = 100,
                            ["deathsCount"] = 0,
                            ["stage"] = 1,
                            ["mission"] = "A-10C - BFT Arrival.miz",
                        }, -- end of [1]

 

To get access to other missions, copy, paste and edit so it looks like this:

 

       [4] = 
                        {
                            ["datetime"] = "Fri Mar 12 21:07:32 2021",
                            ["agKills"] = 0,
                            ["aaKills"] = 0,
                            ["result"] = 100,
                            ["deathsCount"] = 0,
                            ["stage"] = 4,
                            ["mission"] = "A-10C - BFT03 Fly Traffic Pattern.miz",
                        }, -- end of [4]
                        [3] = 
                        {
                            ["datetime"] = "Fri Mar 12 21:03:32 2021",
                            ["agKills"] = 0,
                            ["aaKills"] = 0,
                            ["result"] = 100,
                            ["deathsCount"] = 0,
                            ["stage"] = 3,
                            ["mission"] = "A-10C - BFT02 Takeoff and EFATO.miz",
                        }, -- end of [3]
                    }, -- end of ["history"]

 

 

Mission names can be found in the following folder (if you use Open Beta):

[drive letter]:\Eagle Dynamics\DCS World OpenBeta\Mods\campaigns\A-10C - Basic Flight Training Qualification

 

I know it's not rocket science and you can figure it out yourself, but why waste time. Hope that helps 🙂

 

 

 

 


Edited by Hog_driver
  • Like 1
Link to comment
Share on other sites

  • Recently Browsing   0 members

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