Jump to content

Kanelbolle

Members
  • Posts

    386
  • Joined

  • Last visited

Everything posted by Kanelbolle

  1. Wishlist for ME is here: https://forum.dcs.world/forum/816-wish-list/
  2. When using the trigger action "SET VISIBLE DRAW" any action in the trigger repeats even if the trigger is set to "ONCE". The drawing does not become visible either. Reproduce steps: 1. Add a marker you want to show. Uncheck the Visible check mark (not done on the picture) 2. Set up a trigger : ONCE -> TIME MORE : 5 -> SET VISIBLE MARKER : select the drawing and set up a text to see if it's running (since the marker does not become visible) 3. Run the mission and see the text repeat set-visible-draw-bug.trk
  3. Always provide a track file. How would anyone know what you did in the editor if you don't.
  4. also wewan6
  5. If it's s player server, you have to change it before you start the server where you start the server or in the config file: look for ["require_pure_clients"] = true, Or on a dedicated server you can change it in the Local WebGUI or config file. The config file is under saved games\DCS\Config
  6. The table name doesn't matter what it is called as long at it is a valid name. Have not used mist in a long time to spawn anything, but here is 1 way of using the mist.dynAdd function to spawn at trigger zone and offsetting the units position to not spawn on top of each other. See mission file and/or code: local zone = trigger.misc.getZone('TriggerZone-1') -- you can also get a random spot in the zone for each unit using mist.getRandomPointInZone -- https://wiki.hoggitworld.com/view/MIST_getRandomPointInZone St_Croix_Defense = { ["visible"] = true, ["taskSelected"] = true, ["route"] = { ["points"] = { [1] = { ["alt"] = 12, ["type"] = "Turning Point", ["action"] = "Off Road", ["alt_type"] = "BARO", ["form"] = "Off Road", ["y"] = zone.point.z, ["x"] = zone.point.x, ["speed"] = 5.5555555555556, ["task"] = { ["id"] = "ComboTask", ["params"] = { ["tasks"] = { [1] = { ["enabled"] = true, ["auto"] = true, ["id"] = "WrappedAction", ["number"] = 1, ["params"] = { ["action"] = { ["id"] = "EPLRS", ["params"] = { ["value"] = true, ["groupId"] = 1, }, -- end of ["params"] }, -- end of ["action"] }, -- end of ["params"] }, -- end of [1] [2] = { ["enabled"] = true, ["auto"] = false, ["id"] = "FireAtPoint", ["number"] = 2, ["params"] = { ["y"] = zone.point.z+500, ["x"] = zone.point.x+500, ["templateId"] = "", ["expendQtyEnabled"] = true, ["alt_type"] = 1, ["expendQty"] = 20, ["weaponType"] = 1073741822, ["zoneRadius"] = 0, }, -- end of ["params"] }, -- end of [2] }, -- end of ["tasks"] }, -- end of ["params"] }, -- end of ["task"] }, -- end of [1] }, -- end of ["points"] }, -- end of ["route"] -- ["groupId"] = 2, -- Commented out to avoid overwriting group id of existing groups ["tasks"] = { }, -- end of ["tasks"] ["hidden"] = false, ["units"] = { [1] = { ["type"] = "SAU 2-C9", ["transportable"] = { ["randomTransportable"] = false, }, -- end of ["transportable"] -- ["unitId"] = 9, -- Commented out to avoid overwriting group id of existing units ["skill"] = "High", ["y"] = zone.point.z-20, ["x"] = zone.point.x-20, ["name"] = "Ground-1-4", ["playerCanDrive"] = true, ["heading"] = 0, }, -- end of [1] [2] = { ["type"] = "SAU 2-C9", ["transportable"] = { ["randomTransportable"] = false, }, -- end of ["transportable"] -- ["unitId"] = 8, -- Commented out to avoid overwriting group id of existing units ["skill"] = "High", ["y"] = zone.point.z-40, ["x"] = zone.point.x-40, ["name"] = "Ground-1-3", ["playerCanDrive"] = true, ["heading"] = 0, }, -- end of [2] [4] = { ["type"] = "SAU 2-C9", ["transportable"] = { ["randomTransportable"] = false, }, -- end of ["transportable"] -- ["unitId"] = 6, -- Commented out to avoid overwriting group id of existing units ["skill"] = "High", ["y"] = zone.point.z-60, ["x"] = zone.point.x-60, ["name"] = "Ground-1-1", ["playerCanDrive"] = true, ["heading"] = 0, }, -- end of [4] [3] = { ["type"] = "SAU 2-C9", ["transportable"] = { ["randomTransportable"] = false, }, -- end of ["transportable"] -- ["unitId"] = 7, -- Commented out to avoid overwriting group id of existing units ["skill"] = "High", ["y"] = zone.point.z-80, ["x"] = zone.point.x-80, ["name"] = "Ground-1-2", ["playerCanDrive"] = true, ["heading"] = 0, }, -- end of [3] }, -- end of ["units"] ["y"] = zone.point.z, ["x"] = zone.point.x, ["uncontrollable"] = false, ["name"] = "Ground-1", ["start_time"] = 0, ["task"] = "Ground Nothing", } -- end of groundExam St_Croix_Defense.country = 'Russia' St_Croix_Defense.category = Group.Category.GROUND -- If you want to assign group id's -- St_Croix_Defense.groupId = mist.getNextGroupId() -- St_Croix_Defense.units[1].unitId = mist.getNextUnitId() -- St_Croix_Defense.units[2].unitId = mist.getNextUnitId() -- St_Croix_Defense.units[3].unitId = mist.getNextUnitId() -- St_Croix_Defense.units[4].unitId = mist.getNextUnitId() mist.dynAdd(St_Croix_Defense) trigger.action.outText("Spawned group " .. St_Croix_Defense.name , 10) Mist_dynAdd_test1.miz
  7. not sure where you found many of the values in this table.. never seen them in a ground unit table... i would suggest you use this one and edit it: Also i would not define Groupid and unitid... it will overwrite the existing group with that id.. https://wiki.hoggitworld.com/view/DCS_exam_group_ground
  8. Will this ever get fixed or is this just a limitation that will stay after it got broken? @BIGNEWY
  9. Not shure why this is a question... Just go to https://www.digitalcombatsimulator.com/en/ and look on the bottom right corner and you will have your answare.
  10. They have change a lot the last patches. But if it crashes because you run out VRAM and RAM, i would try setting all graphics down to the lowest just for testing and see if it still crashes. Would also check if any files have been quarantined by your antivirus. I personally exclude Windows defender from the main DCS folder and the dcs saved games folder. (Do at own risk)
  11. This isn't a native DCS Api command as far as i can tell, its a JSON API hook for DCS. You are better off asking the github project if it is possible on that page. If you want to get something on spawn in the DCS native api, you use event birth DCS event birth - DCS World Wiki - Hoggitworld.com Getting this in to the hook environment is not that easy. Never done this, but possible through flags.
  12. Can't see any documentation for a hook called onActivePlane Search results for "hook" - DCS World Wiki - Hoggitworld.com Not sure what you are trying to do, but most hook events have the playerid as the default string. Example: DCS hook onPlayerTryChangeSlot - DCS World Wiki - Hoggitworld.com local hook = {} local playerUnitList = {} function hook.onPlayerChangeSlot(playerID) local playerName = net.get_player_info(playerID, 'name') local slot = net.get_player_info(playerID, 'slot') playerUnitList[playerName] = slot end
  13. ST was removed a couple of updates ago. Both bin folders have the MT version now.
  14. The message just states that dcs wants access to dcdiag.exe to gatter crash information. Not apart of why it is crashing. Did you press "no" to include dxdialog in the dialog when it crashed ? There is no information in this post to help you. Post your dcs log file or crash rapport file. or post your log file or crash rapport file to ED's discord in the log file analyser channel
  15. Only options is uninstall some modules or make a symlink for the temp download folder to a different disk if you have one as BIGNEWY allready said. How to make a symlink for the temp folder to a different drive or USB device: https://forum.dcs.world/topic/181400-guide-how-to-make-dcs-download-updates-on-a-separate-drive/
  16. Did you try reading the readme ? From the readme: All of your Json data files are stored at this location "C:\Users\USERNAME\Saved Games\DCS_Folder\EasyStats"
  17. As far as i know there is no way to set an amount of fuel except unlimited fuel (only for Airplanes, Helicopters ) But if the convoy realistically can't reach it with the fuel it has, you can just set a waypoint to a fuel truck and make them wait there for a set amount of time with a flag or script condition that check if it is full (https://wiki.hoggitworld.com/view/DCS_func_getFuel) Other way is just use a flag, if the flag is a value, then it has been fueled and will continue. if not then it stops at a waypoint.
  18. Mission makers can place the scripts outside the mission file, so this is not an issue. Do it my self on my MP. It loads the scripts from a external script on my disk.
  19. No tests. Windows+Home unless it is an Aircraft i fly alot.
  20. Just delete the file it is pointing to manually and press retry
  21. What you can do to avoid the temporary files fill the drive under the update is to make a symlink for the temp folder to a different drive or USB device: https://forum.dcs.world/topic/181400-guide-how-to-make-dcs-download-updates-on-a-separate-drive/
  22. Don't use the broken track system so can say. Easy to find out tho. just open the .trk file with 7z or what ever and check.
  23. Fastest way to load mist is to use a trigger and load it at MISSION START with DO SCRIPT FILE. Just load the mist.lua in with the open dialog. MIST will then be embedded in to the mission and no need to load it from a file path.
  24. Try to close DCS and rename your DCS profile folder and start DCS and see if that helps. Folder is usually here: %USERPROFILE%\Saved Games\DCS.openbeta or USERPROFILE%\Saved Games\DCS
×
×
  • Create New...