Missions Persistente

Procédures d'installation compatibles au garage
Répondre
Avatar de l’utilisateur
HotStick
Messages : 3778
Inscription : 28 oct. 2011, 10:59
Localisation : Marseille
Contact :

Missions Persistente

Message par HotStick »

Manip à à garder sous le coude pour activer le fait d'avoir une mission persistente:

Source:
https://www.digitalcombatsimulator.com/ ... s/3306695/

Extrait:

To Enable Persistency:

Inside your DCS installation there is a folder called Scripts. Inside that there is a file called MissionScripting.lua, if you want persistency to work, edit this file (make a backup first if you like) and make the bit that looks like this:

do
sanitizeModule('os')
sanitizeModule('io')
sanitizeModule('lfs')
require = nil
loadlib = nil
end

Look like this instead:

do
sanitizeModule('os')
--sanitizeModule('io')
--sanitizeModule('lfs')
require = nil
loadlib = nil
end

Once you have done that, start DCS and launch the mission. The mission will then write out a list of dead units and statics to a pair of lua files inside the DCS root folder (it will update this list periodically, every 2.5 minutes at the moment). Once these files exist, the mission will load those files when it starts up and remove the units and statics that were previously destroyed so you can pick up wh ere you left off

Note: MissionScripting.lua will need to be changed any time an update or repair is run.

Avatar de l’utilisateur
Moos
Messages : 1901
Inscription : 31 oct. 2011, 18:17
Localisation : LFBO

Re: Missions Persistente

Message par Moos »

Cool :good:

Pense aussi à verrouiller la pause dans les paramètres du serveur, pour éviter qu'elle saute chaque fois que quelqu'un rentre :rooll:
Image Image
Image Image
J'aime me beurrer la biscotte

Avatar de l’utilisateur
HotStick
Messages : 3778
Inscription : 28 oct. 2011, 10:59
Localisation : Marseille
Contact :

Re: Missions Persistente

Message par HotStick »

Je n'ai pas trouvé l'option !

Répondre