Apache600 Posted August 28, 2015 Posted August 28, 2015 Hey Guys, Curious to know if anyone knows how I could make it so that an A.I. aircraft could call out when they launch a missile. I know there's the "bomb in zone" condition ... but that doesn't cover this issue. I have an SU-25T that launches a SEAD Kh-25mpu at a a SAM, and just want the SU-25T to say "missile away" when he launches, or something like that. ... But I can't figure out how to do it aside from the aircraft crossing a trigger point. Any clues gentlemen? - Apache600 [sIGPIC][/sIGPIC] The Museum Relic Campaign: --> http://forums.eagle.ru/showthread.php?t=164322 Community Missions (SP & MP) --> https://forums.eagle.ru/showthread.php?t=205546
FSFIan Posted August 28, 2015 Posted August 28, 2015 With some Lua scripting, you should be able to use an event handler to detect the "weapon fired" event, check the initiator and weapon type to confirm that it is that specific unit launching that specific type of missile, and then trigger the message. DCS-BIOS | How to export CMSP, RWR, etc. through MonitorSetup.lua
Apache600 Posted August 28, 2015 Author Posted August 28, 2015 I was hoping to not have to do any .Lau stuff. That's a bit beyond me :/ [sIGPIC][/sIGPIC] The Museum Relic Campaign: --> http://forums.eagle.ru/showthread.php?t=164322 Community Missions (SP & MP) --> https://forums.eagle.ru/showthread.php?t=205546
baltic_dragon Posted August 28, 2015 Posted August 28, 2015 If you are sure that at this given moment nobody else will be shooting, you can use the "on shot" condition of the trigger coupled with another one, for instance: On shot - Su25 in zone / flag X true - sound to.... But this will only work when you are sure that Su25 will be the only shooting unit at a given moment, as "on shot" condition doesn't differentiate between the shooters. So useless in the heat of battle. For more information, please visit my website. If you want to reach me with a bug report, feedback or a question, it is best to do this via my Discord channel. Details about the WinWing draw can be found here. Also, please consider following my channel on Facebook.
DarkFire Posted August 29, 2015 Posted August 29, 2015 Do you mean aircraft in your flight or in other flights? Your wingmen do call out missile launches so I suppose if you could find that particular sound file you might be able to adapt it for use for other aircraft. System Spec: Cooler Master Cosmos C700P Black Edition case. | AMD 5950X CPU | MSI RTX-3090 GPU | 32GB HyperX Predator PC4000 RAM | | TM Warthog stick & throttle | TrackIR 5 | Samsung 980 Pro NVMe 4 SSD 1TB (boot) | Samsung 870 QVO SSD 4TB (games) | Windows 10 Pro 64-bit. Personal wish list: DCS: Su-27SM & DCS: Avro Vulcan.
Apache600 Posted August 29, 2015 Author Posted August 29, 2015 Well baltic dragon. I tried your suggestion and it seemed to work pretty well for the most part. A couple glitches came up here and there, but nothing major. Dark Fire, this would be other flights. I found a solution ... simply having them on the same comm frequency. They make the normal A.I. reports. However, i do a AI PUSH trigger to Silence them after the units they're shooting at are destroyed. Just so then I don't have to hear them make waypoint/position call outs. [sIGPIC][/sIGPIC] The Museum Relic Campaign: --> http://forums.eagle.ru/showthread.php?t=164322 Community Missions (SP & MP) --> https://forums.eagle.ru/showthread.php?t=205546
Recommended Posts