Jump to content

Impossible to load campaigns/missions [SOLVED - sort of]


Recommended Posts

Posted (edited)

So it seems I can't load campaigns or missions.

 

 

 

DCS.log gives this message after a while

 

 

2020-03-08 08:18:05.960 DEBUG   LuaGUI: GUI Error: [string "./MissionEditor/modules/me_autobriefing.lua"]:122: attempt to concatenate field 'dialogsDir' (a nil value)
GUI debug.traceback: stack traceback:
   [C]: ?
   [string "./MissionEditor/modules/me_autobriefing.lua"]:122: in function 'create_'
   [string "./MissionEditor/modules/me_autobriefing.lua"]:355: in function 'show'
   [string "./MissionEditor/modules/me_campaign.lua"]:1013: in function 'func'
   [string "./MissionEditor/modules/me_wait_screen.lua"]:72: in function 'updater'
   [string "./Scripts/UpdateManager.lua"]:64: in function <[string "./Scripts/UpdateManager.lua"]:40>

an then hangs at the loading screen.

 

 

 

It seems like DCS does not know what "dialogsDir" is, so I have found out that

changing this line (into my me_autobriefing.lua)

 

   window = DialogLoader.spawnDialogFromFile(base.dialogsDir .. "briefing_dialog.dlg", cdata)

into this

 

   window = DialogLoader.spawnDialogFromFile("F:\\DCS World\\MissionEditor\\modules\\dialogs\\" .. "briefing_dialog.dlg", cdata)

solves the problem.

 

 

 

Obviously this is not a solution for everybody (DCS install dir will be different) but I think it still warrants a look. I must NOT be the only one with this issue.

 

 

 

Peace out.

Edited by SPAS79
Changed title.
  • Recently Browsing   0 members

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