catt42 Posted May 8, 2017 Posted May 8, 2017 Hi, I'm working on a mission with simulated aerial combat between the player and AI. The idea is to avoid that the aircrafts get destroyed, so they both can RTB afterwards. So far I set a few triggers that, when an aircraft is lightly damage, make it immortal and set the ROE on hold weapons. But it doesn't work if the pilot gets killed by the cannon or the aircraft is blown to pieces by a missile. Would it be possible to lower the damage caused by guns and missiles to a negligible value? Maybe with a script? In alternative, is there a way to detect if an immortal plane gets hit? Also, is there some known bug with the "load mission" command? It always CTD in my tests. Thanks.
Looney Posted May 10, 2017 Posted May 10, 2017 Use the MOOSE script and set the missiletrainer. This way, you can expend your ammo but you won't kill anyone. It doesn't work for bullets though, so you'll need something else for that. [sIGPIC][/sIGPIC] Commodore 64 | MOS6510 | VIC-II | SID6581 | DD 1541 | KCS Power Cartridge | 64Kb | 32Kb external | Arcade Turbo
Mano Posted May 10, 2017 Posted May 10, 2017 however the missile trainer works well when a missile is shot at a client (i.e. AI vs Player or Player vs Player). Missiles shot at AI are offensive. Moreover as Looney said, it doesn't work for cannons. [sIGPIC][/sIGPIC]
catt42 Posted May 11, 2017 Author Posted May 11, 2017 Thank you for your suggestions. I considered using missile trainer, but it wouldn't fit the purpose, for the reasons that you mentioned. I believe that a script that detects if a missile or shell get close to the plane will work, but I dont' know if it can be done.
Mano Posted May 11, 2017 Posted May 11, 2017 The missile trainer tracks missiles and gives feedback messages with launch detection, bearing and distance. You can choose whether it is offensive or not. For the ai killed I'd like to introduce a walk-around respawning dead ai when killed but I didn't manage to do that yet. Inviato dal mio ALE-L21 utilizzando Tapatalk [sIGPIC][/sIGPIC]
Recommended Posts