Jump to content

Recommended Posts

  • 4 weeks later...
Posted
2022/8/7 PM9点33分,Miguel21说:

Hi,
we start slowly to install some scripts like this.
mist and CTLD are already installed, I have to make room for the F10 menu and it will work.
However, you have to activate them in the conf_mod

To add others, it's not very complicated but you have to tinker with some files

you have to put the file(s) in the folder
Mods\tech\DCE\ScriptsMod.NG\Mission Scripts

Then add 2 lines in the file MAIN_NextMission.lua
look for example how the Fuel_Check.lua script is added:

1st line (about line number 243)
AddFileTrigger("Fuel_Check.lua")
if you need a precise timing, use the function
AddFileTriggerTempo(filename, time, predicate0, ActionPredicate0)

like for example mist with 2 seconds
AddFileTriggerTempo("mist.lua", 2, "triggerOnce", { [1] = {["Predicate"] = "a_do_script_file"}})

2nd line (about line 663)
miz:zipAddFile("l10n/DEFAULT/Fuel_Check.lua", "../../ScriptsMod."..versionPackageICM.."/Mission Scripts/Fuel_Check.lua")

Translated with www.DeepL.com/Translator (free version)

Hi, hello! Where is the function AddFileTriggerTempo obtained? Can it be used directly in the task script?

Posted
On 5/19/2025 at 9:46 AM, Miguel21 said:

these are actually old campaigns, but the messages that appear are more for the campaignMaker, here, if you accept 2 or 3 errors, the mission will be generated, right?

Yes, it will be generated but it is not fully functioning, the progress is not working and all missions show a core of 50 and nothing is saved, I will try the Iran Iraq War Campaign

  • Recently Browsing   0 members

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