Jump to content

St3v3f

Members
  • Posts

    499
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by St3v3f

  1. http://forums.eagle.ru/showthread.php?t=47877&page=9 Posts 83 and 84 tell you what to do to change coalitions in an existing mission.
  2. Just use mist.getUnitsInZones on each of the zones, shouldn't be hard
  3. Great that you like it :)
  4. Are you using a non-english keyboard layout?
  5. First, questions like that are better placed in the Mission Builder's Corner As far as I know, there is no current way of getting the waypoints that a CA player sets.
  6. Open the .miz with 7zip or another archiver program and delete the Config folder out of it
  7. Holding down an MFD button for several seconds causes this, just clear the warning and continue ;)
  8. Try assigning them tasks like CAP or Fighter Sweep after you've spawned them with
  9. I believe the default zoom is determined by GlobalCameraViewAngleLimits in Server.lua. It determines the min and max zoom levels, and default is just in the middle
  10. There is a bug that makes everything blurry if you quit a multiplayer session and connect to a new one without restarting DCS, maybe this is what's happening to you? If so, you should be able to work around this by restarting DCS every time you quit a session.
  11. I don't know if that is possible. I tried doing that, but world.searchObjects didn't return anything after units were destroyed.
  12. The task you're looking for is "Refueling"
  13. The ILS system has been recently changed and is apparently still WIP To have the horizontal needle working in ILS mode, you need to turn off the steerpoint button and have only EGI and ILS enabled
  14. Well, BS2 is the best module anyways, so it's not wasted money anyways ;) And of course, it will bug you about the activation every time you launch multiplayer or a mission...
  15. Just to specify: For this purpose, it is enough for the module to be installed. It does not need to be owned or activated. Same goes for other things, like setting radio frequencies for the P-51
  16. Still, it's most likely gonna have a different ID. But like said before, it's just a matter of changing the filename
  17. To my knowledge, there is no functionality available to manipulate such things after a mission started
  18. You are either missing power (turn on L/R generators) or your weapons system is not powered (covered switch right of ejection seat switches)
  19. for pointId,point in pairs(group["route"]["points"]) do local x = point.x; local y = point.y; -- TODO check XY -> XZ for inversion local lat, lon = coord.LOtoLL(mist.utils.makeVec3(point)) local coord = mist.tostringLL(lat, lon, 3) routeFile:write( group.name .. ";" .. pointId .. ";" .. coord .. ";" )
  20. Well somehow it works as you want it to for me. The weird thing is, at the moment I can't even figure out why your script despawns anything at all. if not Unit.getByName(name) then table.insert(deactivateUnits[coaName][airbase], name) end if a unit is active, it shouldn't be added to the table and therefore shouldn't be deactivated later... I'm hanging out on your teamspeak, maybe we can work it out together there
  21. I've just tested it with Anapa but it ran just fine. When all from the red defense group were dead, both side's aircraft got deactivated. Just remember that you spawn a barracks in the same group as the vehicles, so that's gotta be destroyed as well before Group.getByName("Anapa Red Vehicles") will return nil
  22. Right, it takes a table of strings but not a table of zones
  23. What do you mean? Still working for me. If you want to change your defaults, it's in DCS World\Mods\aircrafts\Ka-50\Cockpit\Scripts\ARK\ARK.lua Original: mode = ADF_ADF receiver_mode = ADF_RECEIVER_TLF homer_selection_method = ADF_HOMER_SELECTION_AUTO channel = 1 volume = 0.5 channels = { [1] = runway_homer_pair(Airdrome[Krasnodar],nil,localizedAirdromeName(terrainAirdromes[Krasnodar])), [2] = runway_homer_pair(Airdrome[Maykop] ,nil,localizedAirdromeName(terrainAirdromes[Maykop])), [3] = runway_homer_pair(Airdrome[Krymsk] ,nil,localizedAirdromeName(terrainAirdromes[Krymsk])), [4] = runway_homer_pair(Airdrome[Anapa] ,nil,localizedAirdromeName(terrainAirdromes[Anapa])), [5] = runway_homer_pair(Airdrome[Mozdok] ,nil,localizedAirdromeName(terrainAirdromes[Mozdok])), [6] = runway_homer_pair(Airdrome[Nalchick] ,nil,localizedAirdromeName(terrainAirdromes[Nalchick])), [7] = runway_homer_pair(Airdrome[MinVody] ,nil,localizedAirdromeName(terrainAirdromes[MinVody])), [8] = { [ADF_HOMER_FAR] = NDB(beacons["Кисловодск"]), [ADF_HOMER_NEAR] = NDB(beacons["Передовая"]) } } Just replace one of them with another one from my list and it works. To pack it into a mission, import it as Scripts\Aircrafts\ka-50\Cockpit\ARK\ARK.lua into the .miz
  24. I've had a look into the code and it looks like you can either give it a string or a single group. So either mist.groupToRandomZone('groupname', .... mist.groupToRandomZone(Group.getByName('groupname'), .... but not multiple groups. As for zones, it can deal with either a string, a triggerzone or a table of zone names That means you can use: 'zoneName' trigger.misc.getZone('zoneName') or just any table that looks the same, for instance: zone = {point = Unit.getByName('unitName'):getPosition().p, radius = 10000} or a table of zone names:zones = { 'zoneName1', 'zoneName2' }
×
×
  • Create New...