Cfrag,
Great script! I too was a fan of Hardcard's work and glad that you decided to pick up the baton! Definitely appreciative of how you are able to fix the floating issue when using the "Takeoff from ground" option! I did run into a few snags though, so I have a few questions/issues....
1. After running your script and using the "-sg" option to exclude aircraft, I get a repeating "skipping group" message (e.g., << '-sg' skipping group XXXXX -sg >>) that constantly flashes once every second and doesn't go away. This message pops up right after the initial "Stop-Gap-ing" message stating which units StopGap has been applied to. I can't get these skipping group messages to go away unless I edit them out in your script.
example:
if group.name:sub(-#stopGap.ignoreMe) == stopGap.ignoreMe then
--[[ stopGap.verbose then
-trigger.action.outText("<< '-sg' skipping group " .. group.name .. ">>", 30)
end ]]--
return nil
end
if (not stopGap.isMP) and group.name:sub(-#stopGap.spIgnore) == stopGap.spIgnore then
--[[ stopGap.verbose then
trigger.action.outText("<<'-sp' !SP! skipping group " .. group.name .. ">>", 30)
end ]]--
return nil
end
Any idea on what I'm doing wrong and/or how to fix?
2. Also every time I stop the mission I've created, instead of DCS going to the mission debrief page, it give me a message stating "Cannot Open Debriefing File", skips the mission debrief page, and it brings me straight to the Mission Editor GUI. I've attached a screenshot of the message.
3. Lastly, a request. Is there a way to change the configuration in which the aircraft are being spawned into the sim? For example, all of the static hornets are spawned in with wings folded. Is there a way to have them spawn in with wings extended?
That's it! Thanks again for this great script and thanks in advance for any help/insight that you might be able to provide to fix these issues.
null