Jump to content

L39Tom

Members
  • Posts

    60
  • Joined

  • Last visited

Everything posted by L39Tom

  1. I wonder if it is possible to detect a flare in a moving zone. In an intercept scenario, dropping flares is a sign to force a plane to turn back. As soon as the intercepting fighter is near the intruder and drop flares, a trigger should occurred. Could you please give me a push?
  2. @stuartaston I think just to delete some files it is not done. Im new to lua and I try to figure out, what file affects which effect. I also need a version just with HMD-size and MSAA. Can you give us CaptYosi, jason peters, me and some others a hint, how to do such a version? @CaptYosi I also got this strange clear water-effect, even when deleting the water-file before installing the mod.
  3. Ok. Problem solved. Assigning the trigger detents with the DXs in foxy it works as it should. Thank you all for your help
  4. I think I understand. Using the DX function in foxy is exactly the same as define bottoms of the stick in DCS itself (and that works). I will give it a try tomorrow and you a feedback. Hhank you guys for your time
  5. Hi, I try to make a profile for my F16 via foxy. It works so far, but one problem is left. I want define TG1 (First Detent) for lasing ("l") and TG2 (Second Detent) for shooting ("space"). BTN TG1 /H Lasering BTN TG2 /H CAMERA/GUN_Trigger-SECOND_DETENT TG1 works perfect, TG2 not (just if you define TG2 without TG1). I think there must be some problems with the keybindings. Some idea? Please help
  6. coldViPer, you are my hero! Had the same issue. changed "weapon release"-code and it works! Thank you very much :pilotfly:
  7. Same here. Did everything as shown on wags video or discriped in forum. Mavericks parameter for launch are given, Mav X is gone, Mav in RNG and solid green box on MAV-page which shows that the Maverick gets the laser. Pressing trigger and weapon release .... nothing. I tried it over and over again, must be a bug
  8. The client/player should stay as low as possible to avoid the radar and should use the terrain to stay undetected. If getting detected a red flight should start. This is not done with checking MSL-AGL, so I wanted to combine radar detection (search radar sites - radar picture) and some visual detection (red units - Line of sight and distance). To get LOS and distance is no problem, but I have still no clue to get that radar detection.
  9. As I wanted to know when a plane gets detected by radar from a sam site, I hope the function getRadar() could bring me further. With your help Hardcard I find something interesting. 1.The boolean "unitRadar" is getting true just for search radar units. 2.In the case of a S300-site just the launcher-units gives you the "target", but just before it fires a missile. Is there an other function fits better. (In a mission I want to fire a flag when a player flies to high an gets detected by radar) PS: Try it with "isTargetDetected" aswell, but that function stays true in line of sight and radar detection after once gets true.
  10. Hi, I want to know if a unit has detected a plane and found that function: boolean, Object Unit.getRadar(Class Self ) example: unitRadar,target=Unit.getByName(red):getRadar() 1st val gets true, if the unit has a search radar. The 2nd val returns the object that has been detected, right? How can I get the name of the detected object("target")?
  11. @Hardcard Here is that mission file. Event tester.miz I will give it a try with using the numerical id enumerator, but I didn't have luck even with this code So I think the event doesn't get the host for some reason. Maybe you find a way....
  12. @Delta99 Unfortunately events on host still doesn't work even when entering spectator slot before. Now I will try to code with MIST and MOOSE. Perhaps this will work. @Hardcard Yes, sadly But somehow it must work, because DCS noticed hits on hosting clients. :book:
  13. Same aircraft, both F18. @hardcard Thanks so far. The script and the event manager works fine for joining client(s) when shooting on each other.For the hosting client no event fires for some reason. Client shoots host shot event doesnt work Host shoot client shot event works Client gets hit hit event works Host gets hit hit event doesnt work
  14. I need your help again. I want to build a dogfight trainings mission (gunsonly, maybe heaters later). 2 clients, both immortal. Every shell-hit gives you points. I thought I could do this with checking the EVENT-HIT, but it only works fine on the "joining" client. It seems there are some problems with the EVENT-management for the "hosting" client. No EVENT when the HOST gets hit. With the following code I checked the events: Does someone has an idea how to solve the problem? May be my code is trash, may be there is an other way to come further (missiles can be tracked and you can check the distance to the target, but shell....) Very thankful for some help Tom
  15. Here the working lua code: Menu in LUA.lua
  16. Hi Hardcard, I made it worked. Just another stupid fault. missionCommands.removeItemForGroup(IDval.groupID,{"SubMenu 1.1.","MainMenu 1"}) has to be missionCommands.removeItemForGroup(IDval.groupID,{"MainMenu 1","SubMenu 1.1."}) :doh: with the jet[n].active part everything works as it should! So, another problem solved. Thanks for your kind suport as everytime.
  17. Thanks again, Hardcard. You made it work. But if I use your script I do not get the right submenu all the time. Try to trigger sub 1.1. menu 10 times, most of the tries I get "sub 2.2." I shortened the check to 1sec but no difference. Do have a clue what to change? Btw, when entering sub 1.1. the submenu doesn't get removed for the client. Did that worked for you? I solve the first problem (thanks to MBOTs heli-mission). Now I get the right submenu all the time. hopefully we get that "remove"problem solved, too
  18. Hallo Hardcard. You are right. The shown trigger.action comand is wrong. But even if you delete it: none of the clients get a f10 menu. I tried every combination and take some codes together. Nothing.
  19. Ok, I'm going crazy with this radio menu. I'm trying to make a (different)radio menu for two clients. I set 2 client F18 hot at Batumi airfield. Script starts over ONCE....MORE TIME(2)...DO SCRIPT here ist the script (parts copied from other scripts) At the end there should be a radio menu (F10) for both clients. The clients should get different messages after triggering a sub menu. PS: Is it possible to remove a submenu just for one client with missionCommands.removeItemForGroup? thanks for some help
  20. I think the events are still not working correctly, especially when hosting client gets hit. https://forums.eagle.ru/showthread.php?t=236749
  21. Here the mission Hit event tester.miz
  22. Hi there, after latest update something should corrected with the events, especially with the hit event. So I made some testing with that script: AI vs AI ....works fine Player vs AI ....works fine Client vs Client ....seems still broken if Client (that runs the server) get hit ..... nothing happend if Client (that joints the server) get hit .... works fine So it seems the hit event on the server host ist still not working! Help me, if something of my script is wrong. Thanks
  23. All event handlers are bugged after one of the last updates. That bug is still reported.
  24. Not only EVENT.DEAD and EVENT.CRASH. I have some issues with all the other Events: EVENT.StartShooting EVENT.HIT (no weapon.object) etc. Seams, the whole Event-system is broke !:mad:
  25. Ok, I finally did it. I somebody is interested in it: Weapon.getDesc( EventData.weapon ).guidance will do is (without `Type´):thumbup:
×
×
  • Create New...