Jump to content

Recommended Posts

Posted

Ok, does anyone know if you can modify the dropdown box in the multiplayer GUI?

The one you can use to select folders to navigate to your missions?

 

Hoping it is cause it would make swapping between squad, public and training missions a lot easier for the 159th server admins.

 

Any ideas?

[sIGPIC][/sIGPIC]

The keeper of all mathematical knowledge and the oracle of flight modeling.:)
Posted

Hi, you should be able too.

 

I don't fly online but you could take a look in the DCS World\Scripts\net folder and it's sub-folders

 

You can open and edit .dlg files with notepad or the like.

Posted

Here you go, Falcon:

 

Edit {DCS}\Scripts\UserFiles.lua to include the lines in red. Modify according to your system.

 

local lfs = require('lfs')

sysTracksPath = lfs.currentdir() .. 'Missions\\Tracks\\'
userMissionPath = lfs.writedir()..'Missions\\'
userTrackPath = lfs.writedir()..'Tracks\\'
sysCampaignPath = lfs.currentdir() .. 'Missions\\Campaigns\\'
userCampaignPath = lfs.writedir() .. 'Missions\\Campaigns\\'
userMoviePath = lfs.writedir() .. 'Movies\\'
[color=Red]userSquadMissionPath = lfs.writedir()..'Missions\\Squad\\'
userPublicMissionPath = lfs.writedir()..'Missions\\Public\\'
userServmanMissionPath = lfs.currentdir()..'Missions\\Multiplayer\\'
[/color]
function initLocations()
   function _(str) return str end
   lfs.add_location(_('My Missions'), userMissionPath)
[color=Red]    lfs.add_location(_('Squad Missions'), userSquadMissionPath)
   lfs.add_location(_('Public Missions'), userPublicMissionPath)
   lfs.add_location(_('Servman Missions'), userServmanMissionPath)
[/color]end
initLocations()

Posted (edited)

Awesome, so why haven't you done this on the Squad server yet Ajax?:D

btw, can we also use full directory paths instead of the ones above starting from the main game directory?

ie, c:/users/username/missions/squad

Edited by 159th_Falcon

[sIGPIC][/sIGPIC]

The keeper of all mathematical knowledge and the oracle of flight modeling.:)
Posted (edited)

Well, Falcon, I figured it out just this morning and TBH never thought about it before you asked the question.:)

 

I presume full file paths are acceptable, but I haven't tested it.

 

Edit: Full pathnames work fine.

Edited by ajax
  • Like 1
  • Recently Browsing   0 members

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