Jump to content

vctpil

Members
  • Posts

    694
  • Joined

  • Last visited

Everything posted by vctpil

  1. Now this one : SWITCHED CONDITION (AGM88 inside zone) > MISSILE IN ZONE (AGM-88, 1, Red zone) > UNIT AI OFF (SA6) - FLAG ON (1) SWITCHED CONDITION (AGM88 outside zone) > TIME SINCE FLAG (1, 15) > UNIT AI ON (SA6) - FLAG OFF (1) 1. The SAM activate when the aircraft is entering its detection zone (the yellow circle) 2. I fire a HARM and the SAM de-activate when the missile is entering the red zone 3. The SAM re-activate 15 seconds after the HARM has enter the red zone Playing with the timing and the size of the trigger zone are apparently the only solutions to de-activate/activate the SAM, because there is no MISSILE OUTSIDE ZONE option.
  2. I tried this one, just to concentrate on THE problem (no more green zone to de-activate/activate the SAM) : SWITCHED CONDITION (AGM88 inside zone) > MISSILE IN ZONE (AGM-88, 1, Red zone) > UNIT AI OFF (SA6) 1. The SAM activate when the aircraft is entering its detection zone (the yellow circle) 2. I fire a HARM and the SAM de-activate when the missile is entering the red zone 3. When the missile is destroyed, the SAM DOES NOT RE-ACTIVATE I don't understand why the SAM does not re-activate because the conditions are filled.
  3. Hi, Wow, that's amazing, the way you are trying to solve the problem. The thing is the SAM detect the aircraft when entering its detection zone, not from the green zone. The first idea is to delay the activation of the SAM. This part is working with what I did. I am going to try with the missile only to see if this part is working correctly. Thanks a lot.
  4. Here's the last .miz in attached. If you test it, everything is working fine, unless that if you fire the HARM and it is destroyed, the SAM will not re-activate again. If someone can have a look, please. Thank you. Test 2.miz
  5. This is what I am trying to do : https://forums.eagle.ru/showpost.php?p=4242610&postcount=13 Instead of the time delay, I would like to randomize the SAM activation. There is different possibility from 1 to 4, with or without flag. At the moment I try to insert the point 5, nothing is working correctly.
  6. "Why do you insist on using flags?" Because I cannot use a random condition without flag, as far as I know. Switched Condition > FA18 inside green zone > Flag 1 On Switched Condition > FA18 outside green zone > Flag 2 On Switched Condition > Flag 1 is true > SAM AI On - FLAG 1 OFF Switched Condition > Flag 2 is true > SAM AI Off - FLAG 2 OFF Like that ? Still not working, the SAM still activate toot early.
  7. Let's take another example : The aircraft is flying toward the SAM, cross the detection zone (SAM de-activate), cross the green zone (SAM activate) Switched Condition > FA18 inside green zone > Flag 1 On Switched Condition > FA18 outside green zone > Flag 2 On Switched Condition > Flag 1 is true > SAM AI On Switched Condition > Flag 2 is true > SAM AI Off When the FA18 cross the detection zone, the SAM activate ?!? According to the second trigger, it should not, the FA18 is still outside the green zone. How can it be possible ?!?
  8. Thanks for your answer. This one is not working as I want, when the aircraft is entering the SAM detection zone, the SAM activate. I want it activate only when entering the green zone (smaller zone than the detection zone). For anything I tried, entering or exiting the zone and the SAM activate or not is working perfectly. When you introduce the HARM, everything stop working properly. Question : on your trigger 2, flag 1 OFF, is there a difference for the flag 1 to true or false ? In my logic, when the flag 1 off, it can't be true or false.
  9. I have read the new manual specifically for that, still don't understant. I am just trying to increase the realism of SAM with trigger and flags for 5 days already, and that does not work. https://forums.eagle.ru/showthread.php?p=4245333#post4245333
  10. MISSION START (SA6 AI OFF) > > UNIT AI OFF (SA6) REPETITIVE ACTION (FA18 inside zone, NO EVENT) > UNIT INSIDE ZONE (FA18 Pilot, SA6 AI ON) > UNIT AI ON (SA6) REPETITIVE ACTION (FA18 outside zone, NO EVENT) > UNIT OUTSIDE ZONE (FA18 Pilot, SA6 AI ON) > UNIT AI OFF (SA6) REPETITIVE ACTION (HARM inside zone, NO EVENT) > MISSILE IN ZONE (AGM-88C, 1, SA6 AI OFF) > UNIT AI OFF (SA6) - FLAG ON (1) REPETITIVE ACTION (SA6 random, NO EVENT) > FLAG IS TRUE (1) > FLAG SET RANDOM VALUE (1, 0, 100) REPETITIVE ACTION (SA6 AI ON, NO EVENT) > FLAG IS LESS (1, 10) > UNIT AI ON (SA6) - FLAG OFF (1) With the addition in red, the SA6 does not appear at all (no HARM fires). First appearance only concern the first two lines, so the SA6 must appears. Really don't understand. What kind of logic have FLAGs ?
  11. Hi, I tried a lot to play with FLAGs to create complex mission, but I always fail. Always. Thanks to all people that help me to solve problem via the forum, but the use of FLAGs is still really obscur to me. I am just unable to set a flag and be sure that is working as is suppose to, even by reproducing example found in the forum. So, please, a guide to specific use of FLAGs is necessary, in my opinion. Thanks.
  12. MISSION START (SA6 AI OFF) > > UNIT AI OFF (SA6) REPETITIVE ACTION (FA18 inside zone, NO EVENT) > UNIT INSIDE ZONE (FA18 Pilot, SA6 AI ON) > UNIT AI ON (SA6) REPETITIVE ACTION (FA18 outside zone, NO EVENT) > UNIT OUTSIDE ZONE (FA18 Pilot, SA6 AI ON) > UNIT AI OFF (SA6) REPETITIVE ACTION (HARM inside zone, NO EVENT) > MISSILE IN ZONE (AGM-88C, 1, SA6 AI OFF) > UNIT AI OFF (SA6) - FLAG ON (1) REPETITIVE ACTION (SA6 random, NO EVENT) > > FLAG SET RANDOM VALUE (1, 0, 100) REPETITIVE ACTION (SA6 AI ON, NO EVENT) > FLAG IS LESS (1, 10) > UNIT AI ON (SA6) - FLAG OFF (1) With that, the SA6 still always activate as soon as the HARM is destroyed. :cry:
  13. Hi, I tried to use a randomization event to activate the SA6 after its de-activation due to the HARM as follow : MISSION START (SA6 AI OFF) > > UNIT AI OFF (SA6) REPETITIVE ACTION (FA18 inside zone, NO EVENT) > UNIT INSIDE ZONE (FA18 Pilot, SA6 AI ON) > UNIT AI ON (SA6) REPETITIVE ACTION (FA18 outside zone, NO EVENT) > UNIT OUTSIDE ZONE (FA18 Pilot, SA6 AI ON) > UNIT AI OFF (SA6) REPETITIVE ACTION (HARM inside zone, NO EVENT) > MISSILE IN ZONE (AGM-88C, 1, SA6 AI OFF) > UNIT AI OFF (SA6) - FLAG SET RANDOM VALUE (1, 0, 100) REPETITIVE ACTION (Delay SA6 AI ON, NO EVENT) > FLAG IS LESS (1, 50) > UNIT AI ON (SA6) - FLAG OFF (1) Is someone can explain why that does not work ? I enter the zone, and the SAM does not activate (I did not even fire the HARM). Thanks.
  14. Don't know why, when I edit the file, dcs doesn't want start. My screen stay black.
  15. Thanks for this version, sound interesting to understand how flags are working. Just a question, why using switched? Because the use of flag true/false?
  16. Quite difficult to explain like that. You have to use the X:COCKPIT PERFORM CLICKABLE ACTION() I am using the F/A-18C, and it is difficult to explain because there are some function I never find (or because there are not available yet). Refer to the new DCS user manual 2020 pages 154-155. Which aircraft are you flying ?
  17. alt.sanity, thanks you also, I did not see yours because I was writing my answer.
  18. Hi, Thanks a lot dark_wood, it works. I just add a condition at mission start to set the SAM AI to OFF, otherwise, the SAM activate as soon as I enter its detection range. Purpose : - SAM activate later than normal and de-activate when aircraft escape a zone - If a AGM-88 is fired, the SAM de-activate In summary : Place 2 trigger zones : SA6 AI ON - SA6 AI OFF MISSION START (SA6 AI OFF) > > UNIT AI OFF (SA6) REPETITIVE ACTION (FA18 inside zone, NO EVENT) > UNIT INSIDE ZONE (FA18 Pilot, SA6 AI ON) > UNIT AI ON (SA6) REPETITIVE ACTION (FA18 outside zone, NO EVENT) > UNIT OUTSIDE ZONE (FA18 Pilot, SA6 AI ON) > UNIT AI OFF (SA6) REPETITIVE ACTION (HARM inside zone, NO EVENT) > MISSILE IN ZONE (AGM-88C, 1, SA6 AI OFF) > UNIT AI OFF (SA6) - FLAG ON (1) REPETITIVE ACTION (Delay SA6 AI ON, NO EVENT) > TIME SINCE FLAG (1, 10) > UNIT AI ON (SA6) - FLAG OFF (1) That's great, thanks again to everyone. Exorcet : the SAM should re-active after 10 seconds, but it depend if its stay on the same position of if it is try to escape. That help a little for randomization.
  19. I tried simple scenario with HARM and flags, mission in attached. That does not work, the SAM does not activate again when the HARM disappear. Each time I tried with the HARM and flags, something is wrong. I think I don't understand the logic of flags ON/OFF/TRUE/FALSE, because sometimes is ok, sometimes not! Edit : it seems to work when there is 2 possibilities : aircraft "inside zone" and "outside zone", but there is only "missile in zone" and not "missile outside zone". No idea how to solve this problem. Test 2.miz
  20. Hi, Thanks to for your help. Here's the mission file in attached. Very simple, the aircraft is flying straight, SAM and aircraft are immortal for test. Waypoint 1 : limit of SAM detection but it will not activate Waypoint 2 : the SAM activate What is working with flags : 1. The aircraft is entering the detection of the SAM but it does not activate 2. The aircraft is entering the green zone, the SAM activate 3. The aircraft is exiting the green zone, the SAM de-activate Now, I set a condition for the HARM without flags : 4. If a HARM is entering the red zone, the SAM de-activate 5. When the HARM disappear and the aircraft is in the green zone, the SAM activate 6. If the aircraft is leaving the green zone, the SAM de-activate Til now, everything is working perfectly. The question is : if I want the SAM to activate with a delay after the HARM disappear, I have to use flags, correct ? I am still looking for a solution, and I am going to try your solution : REPETITIVE ACTION > UNIT INSIDE ZONE or HARM in ZONE > UNIT AI ON, Flag 1 true REPETITIVE ACTION > UNIT OUTSIDE ZONE > UNIT AI OFF, Flag 1 false REPETITIVE ACTION > time since flag 1 - 30 seconds > do something else Thank you again. Test.miz
  21. Very, good, so "correct as is". Thanks you very much.
  22. Thanks, but this is not working as I want. I have tried flag on, off, true, false, once, repetitive, switched... Still don't understand how the flag are working. :cry: Just don't know what to do. So, let's me explain with more details. Look at the attached screenshot. 1. The aircraft is flying without knowing that there is a SAM (Sam inactive) 2. The aircraft enter in the detection range, but the SAM is still inactive 3. The aircraft reach the green zone and the SAM activate 4. if the aircraft turn back and exit the green zone, the SAM de-activate 5. if the aircraft fire an HARM, and the HARM enter the red zone, the SAM de-activate 6. When the HARM disappear (the SAM is immortal for the purpose of test), the SAM activate again. I would like to introduce a time delay at this moment for the SAM not to activate right away. Right now, I don't understant why the SAM is still active when I exit the green zone. Should be simple, but I don't understand. I am on this problem for 3 days already. Thanks for your patience.
  23. This one drive me crazy. When the aircraft is outside the zone, the SAM should de-activate, but its is not! HELP!
  24. I tried something more simple, still does not work. Is anybody can explain how those :furious::furious::furious: flag logic is working ? Thanks.
  25. Triggers in attached. I don't know why, the SAM does not activate when the aircraft is still in the zone and HARM is not present. Any idea ? Thanks.
×
×
  • Create New...