Jump to content

Finding number of kills from off-board arty or aircraft


Recommended Posts

Off-map support tally

Initialize units of type Unit

Initialize Number_of_Friendly_Units = 0

Initialize Number_of_Enemy_Units = 0

While not EOF

Units [Friendly_Units].read()

Increment Number_of_Friendly_Units

Endwhile

While not EOF

Units [Enemy_Units].read()

Increment Number_of_Enemy_Units

Endwhile

For Count increasing from 1 to Number_of_Enemy_Units

Read killed, wounded

Let Unit_Casualties_ = killed + wounded

Let Total_Enemy_Casualties = Total_Enemy_Casualties + Unit_Casualties

Endfor

For Count increasing from 1 to Number_of_Friendly_Units

Read enemy killed, wounded

Let Unit_Casualties_Inflicted = enemy killed + enemy wounded

Let Total_Casualties_Inflicted = Total_Casualties_Inflicted + Unit_Casualties_Inflicted

Endfor

Let Off-Map_support_tally = Total_Enemy_Casualties - Total_ Casualties_Inflicted

End

I'm learning, ignore me :D

Link to comment
Share on other sites

Off-map support tally

Initialize units of type Unit

Initialize Number_of_Friendly_Units = 0

Initialize Number_of_Enemy_Units = 0

While not EOF

Units [Friendly_Units].read()

Increment Number_of_Friendly_Units

Endwhile

While not EOF

Units [Enemy_Units].read()

Increment Number_of_Enemy_Units

Endwhile

For Count increasing from 1 to Number_of_Enemy_Units

Read killed, wounded

Let Unit_Casualties_ = killed + wounded

Let Total_Enemy_Casualties = Total_Enemy_Casualties + Unit_Casualties

Endfor

For Count increasing from 1 to Number_of_Friendly_Units

Read enemy killed, wounded

Let Unit_Casualties_Inflicted = enemy killed + enemy wounded

Let Total_Casualties_Inflicted = Total_Casualties_Inflicted + Unit_Casualties_Inflicted

Endfor

Let Off-Map_support_tally = Total_Enemy_Casualties - Total_ Casualties_Inflicted

End

I'm learning, ignore me :D

Consider yourself ignored.And after reading your post,consider me confused as Hell.:D

Link to comment
Share on other sites

Consider yourself ignored.And after reading your post,consider me confused as Hell.:D

Well, I figure that if it was an easy thing to do, it would have been done; but it doesn't seem to be too hard a problem. A solution is find total enemy dead, then subtract the total amount of casualties friendly units have inflicted, what remains will have been caused by off-map support; you will also need to exclude other potential causes of casualties like friendly-fire, mines etc - but I ain't gonna go there.

It's just a way of saying 'at the end of battle go through your units one by one and add up all their kills, then subtract the total from the total enemy casualties', which is it what OP should do until BF sort it out :)

Link to comment
Share on other sites

I want to know how many men were hit by my supporting 81mm mortars and how many men were hit by my AP mines. And no, subtracting the score of everything else won't tell me which got how many...

It ought to be simple, but it seems not to be - I have faith it's not simply an oversight and is actually an intractable coding problem (I guess? Seems a desirable feature they'd have in if they could... maybe I assume too much?).

I guess in your case you could just count the corpses lying around in minefields and count em up, consider any inaccuracies as a part of the sim :D

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...