This is how you can get a real-time damage report on enemy aircraft in single player. First, acknowledgements to FG28_Kodiak in
this thread, post 15. I'm reposting because I don't think this got the coverage it deserved and also to include a few specific instructions for those who haven't used script before. Also, there are some screenshots!
I find this really useful in learning how to target enemy aircraft since you get immediate information which is much more detailed than seeing a bit of aircraft fall off. I find it interesting how much lead you can pour into a bomber from their six without
any damage whatever whereas a single shot in just the right place has dramatic effect.
Instructions:
1. Open a single mission in FMB. You can use either of the attached examples at the bottom of this post if you haven’t made your own.
2. Click Edit, Script and then click on the Script tab.
3. Paste FG28_Kodiak’s code in the window and save:
Code:
using System;
using maddox.game;
using maddox.game.world;
public class Mission : maddox.game.AMission
{
public override void OnAircraftDamaged(int missionNumber, string shortName, AiAircraft Aircraft, AiDamageInitiator DamageFrom, part.NamedDamageTypes WhatDamaged)
{
base.OnAircraftDamaged(missionNumber, shortName, Aircraft, DamageFrom, WhatDamaged);
if (DamageFrom.Player != null )
{
GamePlay.gpLogServer (null, "{0} hits {1} : {2} \n", new object [] {DamageFrom.Player, shortName, WhatDamaged});//Test
}
}
}
That's it, just save the mission and play. When you fire successfully on an aircraft (not just enemy) you will see a damage report as in this screenshot (click to enlarge):

on Flickr
And as you can see you still get the usual status messages, in this case after the enemy has crashed:

on Flickr
The mission which these screenshots were taken from is attached (Dornier_Hunt_1, a very simple training mission I use). FG28_Kodiak's original mission (OnAircarftDamaged1) is also attached. You can open either of these in FMB and see the script as described above. To fly them you should extract the two files to your Documents\1C SoftClub\il-2 sturmovik cliffs of dover\missions\Single folder. You can then find it in the Single Missions menu.
Attachment 6868
Attachment 6869
Enjoy and thanks again to FG28_Kodiak!