rokomah Posted May 21, 2024 Posted May 21, 2024 I want to make a simple training mission so that the pilot receives 100 points for each waypoint reached. I set mission goals... 3x trigger zones of 100 points each, but in the mission it shows me the result of the points achieved, but they are not added to the score. It doesn't add up my points, but deletes them as soon as I leave the trigger zone.
Rudel_chw Posted May 21, 2024 Posted May 21, 2024 (edited) 8 minutes ago, rokomah said: I want to make a simple training mission so that the pilot receives 100 points for each waypoint reached. Hello, The results field can only go from 0 to 100, so you need a lower value for each Waypoint. 8 minutes ago, rokomah said: I set mission goals... 3x trigger zones of 100 points each, but in the mission it shows me the result of the points achieved, but they are not added to the score. It doesn't add up my points, but deletes them as soon as I leave the trigger zone. The Results field is evaluated at the end of the mission, so make sure to save the waypoints passed info on Flags, say set the Flag "Wpt 1" to True if the aircraft ever gets inside a 1 Km (for example) trigger zone centered on Waypoint 1, then on the Goals section test for "Wpt 1" being true to award the 33 points for it. A flight path with 4 points would give an even 100 points max score, so it might be better than 3 waypoints. Edited May 21, 2024 by Rudel_chw 2 For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra For Gaming: 34" Monitor - Ryzen 3600 - 32 GB DDR4 2400 - nVidia RTX2080 - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar Mobile: iPad Pro 12.9" of 256 GB
rokomah Posted May 21, 2024 Author Posted May 21, 2024 I'm not good with Flags yet, so I kindly ask you for one example for Wpt 1 and Wpt 2(trigger zone-1 and trigger zone-2). Let's say wpt-1 (30 points), then Wpt-2 (30 points), the end of the mission, a total score of 60 points. Thank you if you can
Rudel_chw Posted May 22, 2024 Posted May 22, 2024 (edited) 2 hours ago, rokomah said: I'm not good with Flags yet, so I kindly ask you for one example for Wpt 1 and Wpt 2(trigger zone-1 and trigger zone-2). Let's say wpt-1 (30 points), then Wpt-2 (30 points), the end of the mission, a total score of 60 points. Ok, here is a sample mission, with the free Su-25T. The flight plan was two waypoints, with a 2 Km trigger zone at each, like this: There are two triggers, one for each waypoint, to record a sucessful pass over it: And this is the entry on the Goals section, one for each waypoint: Here is a video to check that the results total does work: Hope that helps to get you started. Flag Use Demo (by Rudel_chw).miz Edited May 22, 2024 by Rudel_chw 1 For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra For Gaming: 34" Monitor - Ryzen 3600 - 32 GB DDR4 2400 - nVidia RTX2080 - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar Mobile: iPad Pro 12.9" of 256 GB
Solution rokomah Posted May 22, 2024 Author Solution Posted May 22, 2024 Thank you very much. It works and I learned something new 2
Recommended Posts