Jump to content

Recommended Posts

Posted

Hello,

I am encountering a fundamental technical issue with my DCS installation. Whether I use the standard community library MOOSE (SPAWN:New) or the native game functions, I am unable to spawn and/or give orders to scripted units.

Here is a summary of our troubleshooting steps:

  1. The native function coalition.addGroup is working (I was able to successfully spawn a Su-25T).

  2. The MOOSE functions SPAWN:New and STATIC:New fail to spawn anything.

  3. Basic MOOSE functions (MESSAGE:New) and native DCS functions (trigger.action.smoke) are working perfectly.

  4. The native function Controller.setTask systematically fails with an "Unknown task" error for all standard, documented tasks (PatrolRoute, CAP, Follow, Takeoff, etc.).

I have already performed a full repair and a clean reinstall of the game, but the issue persists. I have also tried disabling overlays and running the game as an administrator.

I suspect there is a deep issue with the scripting API on my system. I am attaching my dcs.log file and a simple test mission (.miz) that reproduces the "Unknown task" error when using setTask.

Thank you for your help.

Mariannes WWII.miz dcs.log

  • 2 weeks later...
Posted

Ive taken a look at your miz and scripts and believe this is not a DCS issue

A lot of your table structures are incorrect and some 'id' values you put in simply do not exist in DCS hense the "Unknown task" Errors
and when the 'id' is valid you give it incorrect DATA than it wont accept so wont execute
(BTW) in the scripting API attempting to making a plane land at the coords of a  carrier i dont think it will do much because that would be a impossible task for the plane
i dont know atm of a better solution for this....

Anyway DCS is requires specific table structures to make task works
and even if it gets it it still does it own will 🤣

TLDR; dont take this negatively but read the hoggit task wiki bit more : https://wiki.hoggitworld.com/view/Category:Tasks
and follow the exact table structures
and try doing one task at the time and maybe use "push task" not "set task"


I have automated a lot of the task generation although working with AI is very difficult and annoying in the Scripting API
All my systems still seem to work (Sorry cant share any) so with what ive seen very sure its not DCS today ❤️

Hope this helps

  • Recently Browsing   0 members

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