Jump to content

Bruce_D

Members
  • Posts

    314
  • Joined

  • Last visited

Everything posted by Bruce_D

  1. Hi, I’ve changed Grimes test and add a tanker on the mission. Now the F-117 bombs the target. It’s not a bug. Sorry for that! NZArmA TRANING_edit2.miz
  2. Hi, Tks for the answer! The reason why I didn’t index numerically the task table is because every time I do that DCS (at least on my PC) crashes. It works without index the task table. Here is the code that crashes the PC: Logs.rar testeCrash.lua AA TestCrash.miz
  3. I’ve solved the problem! I’m 100% sure that it is a bug! If the AI plane goes to refuel automatic on the tanker, all the engage tasks don’t work. Viper’s mission gave me the insight! What have I done to fix? I’ve created the follow function: function Qfuel(Gfuelplane) local fuelplane = Group.getByName(Gfuelplane):getUnit(1) local fuel = Unit.getFuel(fuelplane) local PlaneName = fuelplane:getName() local Controle = Group.getByName(Gfuelplane):getController() if fuel < 0.21 then local Refueling = { id = 'Refueling', params = {}, } Controle:pushTask(Refueling) end end Then inside the mission I’ve created a “CONTINUOUS ACTION” that does the script “Qfuel('Blue')”. I’ve attached the script and the mission. teste2.lua AA Test.miz
  4. Hi, I’ve tried your mission. It looks like a bug with the F-117. If you change the plane for another aircraft the bomb is released normally. My advice for you is to try another bomber until they fix it. I’m sorry!
  5. Hi, This is a normal behavior. Check the link: https://forums.eagle.ru/showthread.php?t=235005
  6. Hi, Post the mission here, so we can take a look. Maybe if we see the mission we can help.
  7. You have to use scripts for that. Use the getfuel function: https://wiki.hoggitworld.com/view/DCS_func_getFuel And the event handled that can be refuel start or stop: https://wiki.hoggitworld.com/view/DCS_event_refueling_stop I posted a mission on the forum that has the script that you need. Download it and feel free to use it: https://forums.eagle.ru/showthread.php?t=237991
  8. Hi, Tks for the tip! I'll try it! PlaneController is a controller for ai, I just put part of the code on this tread, but it is specified above the mission1. What I'm not sure about is this parameters in engage in zone : targetTypes = {'All', 'Air', 'Planes', 'Fighters', 'Bombers'}, I think this is the problem, but I am not sure. Tks
  9. Thank you gor your help! I will check your mission next week, as soon as I get home. And I will send you the script and the mission. Tks
  10. Hi, Tks for the answer! I am traveling right now but at soon as I arrive I will send the mission. Let try to answer the questions Yes, it does. The problem is when AI refuels at the tanker, it stops working and the plane just orbits around the tanker and don't go back to the route. My script resets the AI tasks, so the plane starts a new route that I've created. The problem is I am not using the engage func correct (or it is not working). No, all the opponents enter and stay in the zone. No, the enemies are unarmed and the plane that is on the route is armed. It is 1 F-18 against 2 transports and 2 recon planes. Day (8 am) No Excellent You can find a copy of the mission without the script on this thread: https://forums.eagle.ru/showthread.php?t=246853&page=2 Tks for the attention
  11. Hi, I need some help with “engageTargetsInZone”. This is part of my script: local Mission1 = { id = 'Mission', params = { route = { points = { [1] = { type = 'Turning Point', action = 'Fin Point', x = SPointxL, y = SPointyL, alt = SPointy, speed = 154.333333, task = { id = 'EngageTargetsInZone', params = { point = {x = SPointx, y = SPointy}, zoneRadius = 46300, targetTypes = {'All', 'Air', 'Planes', 'Fighters', 'Bombers'}, priority = 0 }, }, }, [2] = { type = 'Turning Point', action = 'Fin Point', x = SPointx, y = SPointy, alt = SPointy, speed = 154.333333, task = { id = 'Orbit', params = { pattern = 'Circle', speed = 154.333333, altitude = 7620, }, }, }, }, }, } } trigger.action.setUserFlag("2", 1) PlaneController:resetTask() PlaneController:pushTask(Mission1) What is happening: The plane goes to waypoint one and ignores the task task = { id = 'EngageTargetsInZone', params = { point = {x = SPointx, y = SPointy}, zoneRadius = 46300, targetTypes = {'All', 'Air', 'Planes', 'Fighters', 'Bombers'}, priority = 0 }, }, Then the plane goes to waypoint 2 and execute the task orbit. What am I doing wrong? Tks
  12. Tks for the information, but the situation presented on this thread has nothing to do with the 6,000 pounds limitation in Real Life. Use the mission that I’ve created and test. Even when refueling less than 6,000 pounds, AI will not refuel Drop Tanks.
  13. I can confirm that AI is not fully refueling. I did a test with F-14, F-18 and AV-8B. I've attached a mission to confirm. AAR Error.miz
  14. Hi, This is what you have to do to use auto lase. 1- Go to RIO controls and bind the “LANTIRN Slider Laser/Focus” button (I used the 'S' key). 2- Go to RIO controls and bind the “LANTIRN S4 HAT Press (Declutter/Lase Auto-Man/MGC)” button (I used a button on my joystick) 3- After binding the controls, on the RIO seat, after preparing for attack using the LANTIRN you will press the “LANTIRN Slider Laser/Focus” button and the laser code will start to flash. 4- Press the “LANTIRN S4 HAT Press (Declutter/Lase Auto-Man/MGC)” button. The ‘M’ caps will change to ‘A’. After that press the “LANTIRN Slider Laser/Focus” button again so the laser code will stop flashing. Done! Now you can use auto lase. I always use auto lase with no problems, for me is the easier way to use LGBs. Hope I could help.
  15. Hi, I’ll try to complement this tread with another situation. After air to air refueling AI will ignore the engage task and will only orbit on the waypoint. I’ve created a small mission example to show what’s happening. Tks AA Test.miz
  16. Well, This is a game, and it is a solution for the problem until they fix it
  17. Hi guys, I saw this tread and for me the TALD is working, at least for the S-300 (didn't try for other SAMs). Check on ME if you put the SAM to engage weapons, that was my solution on the SEAD mission. For me the problem is to set AI to launch the TALD. F-14 AI always do a diving bomb dropping the 4 TALDs bellow 4,000 feet and hitting the ground. After that the 4 TALDs just fly a few miles before lose speed and hitting the ground.
  18. Before jump to the backseat open the jester menu go to utilities and select inactivity to jester. After finishing bombimb remember to activate jester again, just open jester menu on the front seat and you see the option.
  19. I don’t know how to thank you enough!!! I was using first 25, then 19, then 15, but the -14 is perfect for the X52 Pro!!! Thank you!!! I wasn’t having problems with refueling, but now is 10 times easier than before. :thumbup:
  20. Could you guys be kind and share your curves. I think I need a little bit more of adjustment. Tks
  21. Do you input dead zones for the throttle?
  22. I've never tried this set. Does it improve precision? Tks, I'll try it
  23. I use to have the exactly same problem, and then I adjusted the curve of my X52 Pro to 25 and put a Dead Zone of 4. Now I can easily refuel on the S3. I know that the real F-14 does not have this curve, but my throttle is not the same as the F-14, that’s why I have to adjust. With this adjustment I didn’t have problems during dogfight. Please, don’t take me wrong, but maybe if you increase the curve you will have better results. This is my humble opinion and maybe I’m wrong. Good Luck in your flights and I hope that I could help.
  24. Hi Eldur, The TACAN for Tankers always worked for me. I always config the tanker on the “Y” channel with no problem and they always show the actual position of the plane. Could you upload a mission that you are having problems so I can see it, please? Tks
  25. Put your mission where and I'll show you what I have done to solve this problem
×
×
  • Create New...