Jump to content

Kanelbolle

Members
  • Posts

    386
  • Joined

  • Last visited

Everything posted by Kanelbolle

  1. Don't know what was toxic about my reply. I just suggested to ask instead of stating that this is how things work without understanding how it works. The "No force from mission, use mine" is used in Singel player. If you join a multiplayer server as a client, this is not applied. In short, servers can enforce settings through the mission they are hosting. Now there is a more confusing thing about settings when making a mission and hosting the mission you made on a Dedicated server. If you want example "Spectate External View" in your mission, you have to have this "ON" under game settings -> "MISC." when you save the mission. If it was off when you saved, and you try and edit the config file of the "Dedicated server" to use "Spectate External View", it will have no effect. It's silly how settings work, but this is what ED cooked up to confuse us all. My personal opinion is that if you host a dedicated server, the server settings should override mission settings.
  2. I would suggest doing some more searching before posting "statements", just my opinion. Servers can force settings, client's can't override this. Al tho it's a bit confusing to do so, since there are 3 ways to set settings in DCS.
  3. It's tedious at best to set up FARP's available equipment. This would improve a lot if you can copy settings to FARP's just like Airbases.
      • 2
      • Like
  4. @Leopold I modified it in to a working example: function getGroupPos(groupname) local unit1 = Group.getByName(groupname):getUnit(1) local targetCoord = unit1:getPoint() return targetCoord end function goRoute(MoveGroupname, targetGroupName) local targetCord = getGroupPos(targetGroupName) local misTask = { id = 'Mission', params = { route = { ["points"] = { [1] = { ["alt"] = 13, ["type"] = "Turning Point", ["ETA"] = 0, ["alt_type"] = "BARO", ["formation_template"] = "", ["y"] = targetCord.z, ["x"] = targetCord.x, ["ETA_locked"] = true, ["speed"] = 30, ["action"] = "Off Road", ["task"] = { ["id"] = "ComboTask", ["params"] = { ["tasks"] = {}, }, -- end of ["params"] }, -- end of ["task"] ["speed_locked"] = true, }, -- end of [1] [2] = { ["alt"] = 13, ["type"] = "Turning Point", ["ETA"] = 65.493407534521, ["alt_type"] = "BARO", ["formation_template"] = "", ["y"] = targetCord.z, ["x"] = targetCord.x, ["ETA_locked"] = false, ["speed"] = 30.5555555555556, ["action"] = "Off Road", ["task"] = { ["id"] = "ComboTask", ["params"] = { ["tasks"] = {}, }, -- end of ["params"] }, -- end of ["task"] ["speed_locked"] = true, }, -- end of [2] }, -- end of ["points"] }, }, } local group if type(MoveGroupname) == 'string' then env.info('MoveGroupname was string, getting group') group = Group.getByName(MoveGroupname) end local groupCon = group:getController() if groupCon then env.info('groupCon is valid! Pushing task!') groupCon:pushTask(misTask) return true end end env.info('Script Loaded!') goRoute('Ground-1', 'Ground-2') And if you want it to go to a trigger zone, you can use zone = trigger.misc.getZone('zonename') if zone then targetCord =zone.point end Move_Group_to_other_Group_Location.miz
  5. Grimes already posted an example how to make units move with MIST. You just have to modify it to your need.
  6. I tested the demo and it's trash for a new comer to scripting Here is a working example (see file) ctld-140-test.miz
  7. There is a demo mission included (demo-mission.miz) in the CTLD download. Use it to see how to load it. Also use the MIST version inclided in CTLD. Be aware also that the default setup in the new version is not to add the menu by pilot name, but by Aircraft type, via the setting: -- Allow units to CTLD by aircraft type and not by pilot name - this is done everytime a player enters a new unit ctld.addPlayerAircraftByType = true Aircraft types are selected in this table: -- ******************** Transports names ********************** -- If ctld.addPlayerAircraftByType = True, comment or uncomment lines to allow aircraft's type carry CTLD ctld.aircraftTypeTable = { --%%%%% MODS %%%%% --"Bronco-OV-10A", --"Hercules", --"SK-60", --"UH-60L", --"T-45", --%%%%% CHOPPERS %%%%% --"Ka-50", --"Ka-50_3", "Mi-8MT", "Mi-24P", --"SA342L", --"SA342M", --"SA342Mistral", --"SA342Minigun", "UH-1H", "CH-47Fbl1", --%%%%% AIRCRAFTS %%%%% --"C-101EB", --"C-101CC", --"Christen Eagle II", --"L-39C", --"L-39ZA", --"MB-339A", --"MB-339APAN", --"Mirage-F1B", --"Mirage-F1BD", --"Mirage-F1BE", --"Mirage-F1BQ", --"Mirage-F1DDA", --"Su-25T", --"Yak-52", --%%%%% WARBIRDS %%%%% --"Bf-109K-4", --"Fw 190A8", --"FW-190D9", --"I-16", --"MosquitoFBMkVI", --"P-47D-30", --"P-47D-40", --"P-51D", --"P-51D-30-NA", --"SpitfireLFMkIX", --"SpitfireLFMkIXCW", --"TF-51D", }
  8. You sure you didn't make it in the "Quick Action Generator" ? This is the message that is shown when using the QAG when the mission is over. Should just go in to the mission editor and open the mission and check what trigger is ending the mission and delete it.
  9. You have ti be more specific or explain what you mean by change mission duration... If you open the Mission editor, there is no mission end unless you put a trigger that does a mission end / load mission action. How did you make the mission ?
  10. Log analyser on DCS discord points to Nvidia Drivers If you have stability or performance issues pointing to your GPU, rollback the GPU driver to version 566.36, Disable Core Parking., Verify that this is configured correctly in Windows: Game Mode disabled, Hardware accelerated GPU scheduling disabled, Core Isolation disabled Tuning Tips Remove the OH6GunnerExport script for performance reasons., Consider using DLAA., Turn off SSLR., Turn off SSAO., Tuning tips are recommendations for better FPS based on your CPU, GPU and RAM. They might result in slightly decreased display quality.
  11. Have seen a bug before on Group Alive, it did not register. Had to make a new mission from scratch to fix it. But got Group alive to work in this example .miz Red-Activate-On-Group-Alive.miz
  12. This might also be permissions. You might need to delete the file manually from the File Explorer. Had this 1 time myself. Also check that you have fee space to update.
  13. Have you tried checking for "Unit Alive" instead of group with "OR" between them ? Example: Unit Alive (Unit 1) OR Unit Alive (Unit 2) OR Unit Alive (Unit 3) OR Unit Alive (Unit 4)
  14. unitsDB = unitsDB or {} function updateUnitDB() -- Remove the old data in $unitsDB unitsDB = nil unitsDB = unitsDB or {} ----------------------------------- -- Get Red Coalition Forces ------------------- ----------------------------------- for i, gp in pairs(coalition.getGroups(1)) do local _GpName = Group.getName(gp) if _GpName ~= nil then if (Group.getByName(_GpName) and Group.getByName(_GpName):getSize() > 0) and (Group.isExist(gp) == true) then for index, _unit in pairs(gp:getUnits()) do _unitId = _unit:getID() _unitName = _unit:getName() unitsDB[tonumber(_unitId)] = {["name"] = _unitName, ["groupname"] = _GpName,} env.info('Adding to database- Id: ' .. _unitId .. ' - Name: ' .. _unitName) trigger.action.outText('Adding to database- Id: ' .. _unitId .. ' - Name: ' .. _unitName, 10) end -- for index, _unit in pairs(gp:getUnits()) do end -- if (Group.getByName(_GpName) and Group.getByName(_GpName):getSize() > 0) and (Group.isExist(gp) == true) then end -- if _GpName =~ nil then end -- for i, gp in pairs(coalition.getGroups(1)) do ----------------------------------- -- Get Blue Coalition Forces ------------------- ----------------------------------- for i, gp in pairs(coalition.getGroups(2)) do local _GpName = Group.getName(gp) if _GpName ~= nil then if (Group.getByName(_GpName) and Group.getByName(_GpName):getSize() > 0) and (Group.isExist(gp) == true) then for index, _unit in pairs(gp:getUnits()) do _unitId = _unit:getID() _unitName = _unit:getName() unitsDB[tonumber(_unitId)] = {["name"] = _unitName, ["groupname"] = _GpName,} env.info('Adding to database- Id: ' .. _unitId .. ' - Name: ' .. _unitName) trigger.action.outText('Adding to database- Id: ' .. _unitId .. ' - Name: ' .. _unitName, 10) end -- for index, _unit in pairs(gp:getUnits()) do end -- if (Group.getByName(_GpName) and Group.getByName(_GpName):getSize() > 0) and (Group.isExist(gp) == true) then end -- if _GpName =~ nil then end -- for i, gp in pairs(coalition.getGroups(2)) do end -- function updateUnitDB() function getUnitByid(id) local _id = tonumber(id) -- for index, _u in pairs(unitsDB) do -- trigger.action.outText('From database index : ' .. index .. ' - Unit Name: ' .. unitsDB[index].name, 10) -- end if unitsDB[_id] ~= nil then trigger.action.outText('From database- Name - '.. unitsDB[_id].name, 10) local _unit = Unit.getByName(unitsDB[_id].name) if _unit then return _unit else return false end end return false end Added a working .miz test file. getUnitId.miz
  15. Shot answer: You can do this by getting all groups in a coalition with coalition.getGroups and getting all the id's of all the units in all the groups with Group.getUnits then make a Database with all the id's.
  16. You have a error in the log that points to DCS not having access to a temp folder. This might ocure if DCS is runned in "Run as Administrator" (Don't run DCS in admin mode) or other user account changes have made permissions to the folder change. Try to delete this folder C:\Users\MoleU\AppData\Local\Temp\DCS\ On the cores not being used, i have no experiance with AMD, but someone told me the Game bar has to be active for AMD CPU's to schedule right.. Also you can look in to "Process Lasso" or other software that can forces cores to be used.
  17. Your windows page file is at just 16 GB. Try Setting it to manual at 64 GB on a SSD drive. Guide: https://www.howtogeek.com/126430/what-is-the-windows-page-file/ And your GPU is on the low end. Try setting the Graphic setting to the "Low" preset. You can also try and delete the files in the folders "fxo" & "metashaders2" : Under: %userprofile%\Saved Games\DCS\
  18. Rollie back to a driver that works. ED can't fix Nvidia drivers.
  19. Sounds like how it should be... chat has a team chat... if you sellect a coalition.. this changes... so. sounds like it closes because of this.
  20. It's marked "cannot produce and missing track file"... Hint hint: you have to show them with a track file, not just tell them there is a bug...
  21. Think support is given on the discord, see info on github ( https://github.com/ciribob/DCS-CTLD ) or go direct https://discordapp.com/users/421317390807203850
  22. The documentation is linked in the change log: https://www.digitalcombatsimulator.com/en/support/faq/1257/#3344308
  23. As far as I know, Neutral means it is Neutral to all slides and can not be changed.
  24. Yea, there is a reason i stay away from MODS. They are probably the cause of problems for 25% of all forum posts on here.
  25. It basically says that mist is not loaded when the command is running. Mist is nil, means there is not data. Check that you are loading Mist before the command is ran and you are on the latest version of MIST. If that does not work, check the log file and see if MIST loads with a error.
×
×
  • Create New...