Jump to content

wolle

Members
  • Posts

    1079
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by wolle

  1. The rotor RPM in the Huey is automatically regulated by a governor. In normal flight your throttle will always be fully open, and you don't need to touch it. I typically touch the throttle only upon start-up of the helicopter. So, in short, the throttle is not very important during normal flight. Hope that helps.
  2. Has there been any word yet about what is actually contained in the new update?
  3. I have noticed this as well in the past: the table returned by the scripting function Group.getUnits() often also contains units that do not exist any more. Have not yet tested why and when that happens exactly. Anyone knows?
  4. Yes, works perfectly for me now. I guess the next step is to get the corrections we discovered to Grimes' attention. Should we PM him?
  5. Hi Sven, I attached two logs (both covering one minute), one before the correction, one after the following correction: if eventData and eventData:isExist() then if eventData:getCategory() == 1 then -- normal groups instead of the old if eventData then if eventData:getCategory() == 1 then -- normal groups Unfortunately I could get your debug version to work with my particular mission, so this is just the regular log output. In the log before correction, look for lines "INFO SCRIPTING: mist.scheduleFunction, error in scheduled function: [string "C:\Users\Markus\AppData\Local\Temp\DCS\/~mi..."]:4241: Object doesn't exist" I attached the uncorrected version of mist, and also the corrected one, and also the mission I used for this test (with the correct MIST script) Airmobile Assault.miz Mistv3_3Incorrect.lua Mistv3_3Markus.lua LogBeforeCorrection.txt LogForCorrectedMIST.txt
  6. Hi Sven, I have narrowed down the issue I am having to the following: In the same lines that we have talked about: for eventId, eventData in pairs(tempSpawnedUnits) do if eventData then if eventData:getCategory() == 1 then -- normal groups local match = false if #groupsToAdd > 0 then -- if groups are expected for groupId, groupData in pairs(groupsToAdd) do -- iterate through known groups to add if (type(groupData) == 'string' and groupData == eventData:getGroup():getName()) or (type(groupData) == 'table' and groupData.name == eventData:getGroup():getName()) then -- already added, do nothing match = true break end end The issue that causes me problems is the line: if eventData:getCategory() == 1 then -- normal groups The issue is the following: if, at the time of execution of the code one group does not exist any more (e.g. it has been killed), the loop will terminate prematurely (with a message "Object doesn't exist" in the log file), and the remaining new groups will not be added. Make sense? I'll look into it in more detail tonight.
  7. Hi Sven, Thanks for the explanations, I think I now understand the issue Unit table vs. string. Now that I understand it a little better, let me do some more tests tonight, using the mist file you provided. I would gladly send you my mission, but it is a complicated mission. I feel I would owe you to simplify it before I send it to you.
  8. Hi Sven, I am sad to say making your corrections did not solve the problem I am having. Some groups still don't make it into the databases. Looking at the correction you mention, do I have to replace "eventData:getGroup():getName()" everywhere by "(eventData:getName()):getGroup():getName()"? This code appears also in several lines you have not indicated to require that change... Haven't tried that yet. Have I interpreted the Grimes' code correctly that eventData contains the initiator unit of a spawning event. If so, it should not be required to get its name before calling getGroup(), correct? In your opinion, what type of object is eventData? Looking at Grimes' code I start to suspect that some spawning events do not trigger a "world.event.S_EVENT_BIRTH". What do you think of this?
  9. Hi Sven, u da man. I hope I'll have time to test that out tonight, Wolle
  10. Hi Sven, Now that I know others have that problem too, I will also try to investigate further ...
  11. Many thanks, Imp!
  12. how to contact wingmen/flight? Same question here as in the OP. How to contact the wingman? In the mission editor the frequency of the wingman is 127.5 and greyed out (i.e. unchangeable). When I try to use the same radio that I use to contact ATC (which works), but set it to 127.5 and try to contact the wingmen, no response :helpsmilie:
  13. MIST3.3: some dynamically added groups not added to mist.DBs.groupsByName Hi, Starting with MIST 3.3 I have the problem that some of the dynamically added groups do not appear in mist.DBs.groupsByName and mist.DBs.unitsByName tables. The same missions work flawlessly in MIST3.2, but in MIST3.3 it appears that only those dynamically added units that are generated close to mission start get updated into the DBs. Those units generated later on in missions never make it into the DBs. I have not yet investigated this carefully. At this point I want to find out if anyone else has that problem, and/or if there is interest to investigate this more thoroughly.
  14. Sochi Olympics Hostage Crisis (Huey version) I attached the Huey version of the original Mi-8 mission (found here http://www.digitalcombatsimulator.com/en/files/580899/) SochiOlympicsHuey.miz
  15. Sochi Olympics Hostage Crisis Name: Sochi Olympics Hostage Crisis Author: wolle Mission type: SP Controllable: Mi-8 Quick Summary (5 lines): - Follow Mi-24 escort helicopter in formation to Sochi. - Local operative will identify building for you. - Crew chief will call out instructions to pilot to achieve a stable hover at the correct height over the building roof. - Once in a stable hover, 10 troops will fast-rope onto the building roof. - Pick up troops once they have secured the building. It is important that the insertion is done quickly, otherwise the hostage takers may have enough time to defend against this operation. Link/Download: http://www.digitalcombatsimulator.com/en/files/580899/ Full brief: A so-far unidentified group has taken control of a high-rise building in downtown Sochi that houses olympic athletes. Negotiations with the group have failed. The decision has been made to send in a team of 10 Russian special forces to free the hostages. The Russian forces will be airlifted in by helicopter and inserted by fast-roping onto the roof of the building.
  16. The attached mission includes (amongst other things) CSAR tasks for the Mi-8 The Helicopter War Jan 18.miz
  17. Hi Imp, Great job finishing the campaign:thumbup: Btw how did you get past the "Outpost 'Docker'" mission, for me it crashes a couple of mins into the mission (reported here http://forums.eagle.ru/showthread.php?t=118354)
  18. Makes one wonder why there are no warning sounds when the helicopter enters a flight regime where there is danger to enter VRS (low forward speed and high vertical speed). Would be mighty useful, but there must be a reason it is not so useful in practice (or do some choppers have that?)
  19. I attach a mission where you need to do a fast-rope insertion of troops onto the roof of a building from a Mi-8 (wrong forum I know..) Let me know what you think. SochiOlympics.miz
  20. Either that, or that group has been taken care of by another chopper (i.e. AI choppers). For example, if you are homing in on a downed pilot, you will loose the ADF signal as soon as the guy got rescued by another chopper...
  21. not at my gaming computer now, so I can't watch your track. Just want to make sure you have the "control helper" special option for the Mi-8 unchecked. If it is checked, the computer will keep the Mi-8 level and ignores any trimming you might attempt. Probably not the cause for your problems, just to make sure...
  22. spoil the oil, SP bombing mission for Mi-8 Name: spoil the oil Author: wolle Mission type: SP Controllable: Mi-8 Quick Summary (5 lines): - Bomb oil platforms in a Mi-8. - Use ADF to locate - Once close to the bombing target, crew chief will call out instructions to the pilot to guide the pilot directly over the bombing target - You are loaded with 6 bombs, and there are 3 oil platforms to destroy Link/Download: http://www.digitalcombatsimulator.com/en/files/567047/ Full brief: Russian military depots near Sochi have been raided by Georgian forces several times over the last days. Russia has decided to strike back at Georgian interests in the region. For political/diplomatic reasons the Russian leadership decided to conduct a mission with a small footprint using the cover of night. Your Mi-8 is loaded with 6 bombs. Your mission is to destroy Georgian oil platforms off the coast of Gudauta.
  23. Thanks man! Much appreciated.
  24. How to access info about static objects, say an oil platform created in the mission editor. Say I want to get its position, or if it is destroyed or not. I would know how to do that for a unit (Unit.getPosition(Unit.getByName('unitname')).p), but that doesn't work for static objects. I also tried Object.getPosition(Object.getByName('unitname')).p and Static.getPosition(Static.getByName('unitname')).p), results in error messages :helpsmilie:
  25. a simple Mi-8 bombing mission I put together a simple Mi-8 bombing mission. Features: Bomb a Georgian oil platform off the coast of Gudauta. Get there using the ARK-UD ADF system. Once close to the bombing target, the crew chief will call out instructions to the pilot to guide the pilot to the bomb release spot. Mi8BomberMission.miz
×
×
  • Create New...