Dirt Posted August 7, 2011 Share Posted August 7, 2011 I have been trying to create a Hard Deck for a training mission that would allow a player to takeoff from a support base and fly into a training range for High altitude bombing practice, then return to the base. I have tried triggers, flags and combination of both with no success. Here is what I am trying to achieve. Takeoff alt. 0 Climb above 14000 ft. Hard Deck 8000 ft. in target zone Bomb targets in target zone without going below 8000 ft and if you do go below 8000 ft a message telling you that you have violated the 8000 ft hard deck and to RTB Return to base and land The bottom line is the only time I want the message to show is when you are in the Hard Deck Zone. Any ideas on a solution. Thanks Link to comment Share on other sites More sharing options...
blaster454 Posted August 7, 2011 Share Posted August 7, 2011 Any ideas on a solution. Thanks Couldn't you use a trigger to define the range zone then set a flag when the player is inside that zone. After that test for the player's altitude and if is is less than 8,000 feet and the zone flag is set, send your message to RTB? WH_Blaster (Larry) :beer: US Air Force (Retired, 1961-1981) Join us for fun with the DCS series and other games at the War Hawks Squad website ... we are a mature gaming group that enjoys realism and having fun! http://war-hawks.net System: i7=950 @ 3.3 GHz, GA-X58-UDR3 MB, 6GB RAM, GTX770, 256GB system SSD, 128GB gaming SSD, TIR5, TM HOTAS WH, HannsG 28-in, Acer 23-in touch screen. Link to comment Share on other sites More sharing options...
nomdeplume Posted August 7, 2011 Share Posted August 7, 2011 If your hard deck zone is far enough from the takeoff point that you can expect/require the player to be above 8,000 feet by the time they reach it, then blaster's solution is the easiest. For that, you'd create a trigger zone (let's call it "HARD DECK AREA") and have a trigger with two conditions: 1. Unit <player> altitude less than 8000 2. Unit <player> inside zone <HARD DECK AREA> Action would be set to a flag to true. You can then have a separate trigger activated by that flag being set that displays/plays the message, and optionally use it as part of the scoring criteria (i.e. no points if that flag is set). If your hard deck area is too close to the airfield, you'll need to have another trigger to set a flag when the player climbs to the minimum altitude, and then add another condition to the above trigger of that flag being true. That way, the deck will only come into effect once they've reached a certain altitude. You'll need to devise a method for determining when the mission is over though so you can avoid triggering the hard deck alert when they go to land. Another option would be to add a custom radio option to allow the player to report that they're ready to begin. You can then check they're at a reasonable altitude and/or within a particular area, and then start checking for the minimum altitude. Then when the player is done, they can use another radio option to report they're finished and you can stop checking the deck that way. Link to comment Share on other sites More sharing options...
Dirt Posted August 7, 2011 Author Share Posted August 7, 2011 Thank you both, I thought I had it worked out. I was thinking along the same lines as the both of you, but the problem was....I was to close to the target area and it was tripping on me. Once I moved my plane a greater distance from the range, all was fine. Thank You. Link to comment Share on other sites More sharing options...
WildFire Posted August 8, 2011 Share Posted August 8, 2011 You could also have a trigger for.... Units altitude greater than 9000>>>> Flag 1 true Flag 1 On and units altitude less than 8000>>>> message The point of putting the altitude a thousand feet higher is because in case while ingress you just pass 8000 perhaps you drop a little altitude turning or something and pass back into the zone too soon. Setting it 1000 feet higher will insure the player is sufficiently above the hard deck to begin with and that he wont be going down a full 1000 feet by accident. Link to comment Share on other sites More sharing options...
ZoomBoy27 Posted August 8, 2011 Share Posted August 8, 2011 You can also use a Switched condition ZoomBoy My Flight Sims Page - Link to My Blog - Sims and Things - DCS Stuff++ - Up-to-Speed Guides to the old Lockon A10A and Su-25T - Some missions [needs update] Link to comment Share on other sites More sharing options...
Recommended Posts