Miguel21 Posted May 19 Posted May 19 replaces file in the Init directory:camp_triggers_init.lua FAQ DCE (Cef & Miguel'version) In case of problem with a mission generated by CEF's DCEs, please post as many elements as possible: - the mission + the tacview + a screenshot of the bug window + Give the name of the campaign + version of the scriptsMod
Qazplm Posted June 16 Posted June 16 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?
Ressay Posted June 16 Posted June 16 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
Miguel21 Posted June 18 Posted June 18 On 6/16/2025 at 2:50 AM, Qazplm said: Hi, hello! Where is the function AddFileTriggerTempo obtained? Can it be used directly in the task script? ouha, you're bringing out a 3 year old post? not bad the AddFileTriggerTempo() function is in the MAIN_NextMission.lua file (about line 327) timing is the function's second argument I've given you an example of the integration of 3 files with this system function AddFileTriggerTempo(filename, time, predicat0, ActionPredicate0) ... end AddFileTriggerTempo("CG_ArtySpotter.lua", 2, "triggerOnce", { [1] = {["Predicate"] = "a_do_script_file"}}) if mission_ini.load_mist then AddFileTriggerTempo("mist.lua", 2, "triggerOnce", { [1] = {["Predicate"] = "a_do_script_file"}}) -- modification M60 CTLD end if mission_ini.load_CTLD then AddFileTriggerTempo("CTLD.lua", 4, "triggerOnce", { [1] = {["Predicate"] = "a_do_script_file"}}) -- modification M60 CTLD end FAQ DCE (Cef & Miguel'version) In case of problem with a mission generated by CEF's DCEs, please post as many elements as possible: - the mission + the tacview + a screenshot of the bug window + Give the name of the campaign + version of the scriptsMod
Qazplm Posted June 19 Posted June 19 12小时前,Miguel21说: ouha, you're bringing out a 3 year old post? not bad the AddFileTriggerTempo() function is in the MAIN_NextMission.lua file (about line 327) timing is the function's second argument I've given you an example of the integration of 3 files with this system function AddFileTriggerTempo(filename, time, predicat0, ActionPredicate0) ... end AddFileTriggerTempo("CG_ArtySpotter.lua", 2, "triggerOnce", { [1] = {["Predicate"] = "a_do_script_file"}}) if mission_ini.load_mist then AddFileTriggerTempo("mist.lua", 2, "triggerOnce", { [1] = {["Predicate"] = "a_do_script_file"}}) -- modification M60 CTLD end if mission_ini.load_CTLD then AddFileTriggerTempo("CTLD.lua", 4, "triggerOnce", { [1] = {["Predicate"] = "a_do_script_file"}}) -- modification M60 CTLD end Thank you. Is this function a function of DCS? Or is it from MIST or MOOSE?
Qazplm Posted June 19 Posted June 19 8分钟前,Qazplm说: Thank you. Is this function a function of DCS? Or is it from MIST or MOOSE? I don't understand either. It looks as if the function is set to trigger, once, continuously, with condition changes,...... Is it this function? I'm looking for a function that can determine the position after the player clicks the switch through the task script. Can it do it?
Miguel21 Posted June 19 Posted June 19 5 hours ago, Qazplm said: I don't understand either. It looks as if the function is set to trigger, once, continuously, with condition changes,...... Is it this function? I'm looking for a function that can determine the position after the player clicks the switch through the task script. Can it do it? it's a function of DCE for DCE ^^ if you just want to find the player's position, it all depends on the context. You want a script that has nothing to do with DCE, right? And then, what do you want to do with this position? FAQ DCE (Cef & Miguel'version) In case of problem with a mission generated by CEF's DCEs, please post as many elements as possible: - the mission + the tacview + a screenshot of the bug window + Give the name of the campaign + version of the scriptsMod
Miguel21 Posted June 19 Posted June 19 because it's “enough” to use this kind of function, taken from DCS, getPosition(), which gives x and y positions getPoint(), which gives x and z positions with something like this: local flightGroup = Group.getByName(afacFlightName) if flightGroup then local unitsAFAC = flightGroup:getUnits() local unitAFAC = unitsAFAC[1] if unitAFAC and unitAFAC:isExist() then local afacPos = unitAFAC:getPoint() local unit_Pos = unit:getPoint() local distance = math.sqrt((afacPos.x - unit_Pos.x)^2 + (afacPos.z - unit_Pos.z)^2) etc... FAQ DCE (Cef & Miguel'version) In case of problem with a mission generated by CEF's DCEs, please post as many elements as possible: - the mission + the tacview + a screenshot of the bug window + Give the name of the campaign + version of the scriptsMod
Aspiteri9 Posted July 9 Posted July 9 Hi all. I have successfully installed and played TF-71Blue. Now trying to start TF80s Blue. Keep getting "Need modules for load mission: EA_6B SH-3D A-6E" Anyone know how to accomplish this? Thanks
PB0_CEF Posted July 9 Author Posted July 9 Did you try to follow the links provided in the user file read me ? It should permit to install the mods needed in the saved games/dcs/Mods/aircraft folder… 1 [/url]All known Dynamic Campaign Engine Campaigns Last DCE news : Crisis in PG - Iran-Iraq War - TF-71 - TF80s - War over Beirut ...
Aspiteri9 Posted July 10 Posted July 10 Thanks PBO-CEF. Using the links, I got the A-6 and EA-6B. However, the SH-3D only has a PNG file in the folder. Is there another equivalent i can install?
PB0_CEF Posted July 10 Author Posted July 10 Can you please try this link : https://www.digitalcombatsimulator.com/fr/files/3316150/ It's the same link I provided in the readme but it seems to work for me : [/url]All known Dynamic Campaign Engine Campaigns Last DCE news : Crisis in PG - Iran-Iraq War - TF-71 - TF80s - War over Beirut ...
Aspiteri9 Posted Saturday at 10:15 AM Posted Saturday at 10:15 AM I used the default unzip with windows and it didnt show all the other files. With winrar, it all appeared the same as your screenshot. All working now. Thank you.
PB0_CEF Posted Saturday at 11:43 AM Author Posted Saturday at 11:43 AM 1 hour ago, Aspiteri9 said: I used the default unzip with windows and it didnt show all the other files. With winrar, it all appeared the same as your screenshot. All working now. Thank you. Cool [/url]All known Dynamic Campaign Engine Campaigns Last DCE news : Crisis in PG - Iran-Iraq War - TF-71 - TF80s - War over Beirut ...
kips Posted Sunday at 08:09 AM Posted Sunday at 08:09 AM Hello, Thank you for your work! - In the TF-71 campaign it is necessary to destroy SA-10 sites with AGM 84H slam ER, while they are all systematically intercepted. Is there a method to effectively use AGM 84H against SA-10 sites? - I've set up the campaign as described in the document (I hope). I'm playing solo in F18, and after greeting, I'm stuck with the "waiting for personnel" message. Any ideas on the problem? (Apart from the keyboard and the seat ) DCS 2.9.17.12034
PB0_CEF Posted Sunday at 11:34 PM Author Posted Sunday at 11:34 PM 15 hours ago, kips said: Hello, Thank you for your work! - In the TF-71 campaign it is necessary to destroy SA-10 sites with AGM 84H slam ER, while they are all systematically intercepted. Is there a method to effectively use AGM 84H against SA-10 sites? - I've set up the campaign as described in the document (I hope). I'm playing solo in F18, and after greeting, I'm stuck with the "waiting for personnel" message. Any ideas on the problem? (Apart from the keyboard and the seat ) DCS 2.9.17.12034 I will try this campaign again to see what the problem can be … For Sa-10 the best solution should be saturation and SEAD (human SEAD should work better) [/url]All known Dynamic Campaign Engine Campaigns Last DCE news : Crisis in PG - Iran-Iraq War - TF-71 - TF80s - War over Beirut ...
PB0_CEF Posted Tuesday at 09:53 PM Author Posted Tuesday at 09:53 PM (edited) On 7/13/2025 at 10:09 AM, kips said: - I've set up the campaign as described in the document (I hope). I'm playing solo in F18, and after greeting, I'm stuck with the "waiting for personnel" message. Any ideas on the problem? (Apart from the keyboard and the seat ) DCS 2.9.17.12034 I was able to start this campain without problem ... can you show me what screen you have to begin the campaign ? Here is mine : Do you use the DCE Manager ? Edited Tuesday at 09:54 PM by PB0_CEF [/url]All known Dynamic Campaign Engine Campaigns Last DCE news : Crisis in PG - Iran-Iraq War - TF-71 - TF80s - War over Beirut ...
kips Posted Wednesday at 09:57 AM Posted Wednesday at 09:57 AM Thank you for your feedback. To start the campaign, I had to disable deck crew in the DCS super carrier configuration. Because I was still stuck after performing the salute. Yes, of course, I used DCE Manager as indicated in the campaign documentation. I reset the campaign, and I don't have the same information as you in the screenshot.
PB0_CEF Posted 8 hours ago Author Posted 8 hours ago Si after the briefing and your spawn on the CVN bridge, you make your Hornet startup and then you can not be managed by deck crew ? I misunderstood your problem sorry … I thought it was a mission generation bug… [/url]All known Dynamic Campaign Engine Campaigns Last DCE news : Crisis in PG - Iran-Iraq War - TF-71 - TF80s - War over Beirut ...
Recommended Posts