Losses screen

Field of Glory II is a turn-based tactical game set during the Rise of Rome from 280 BC to 25 BC.
Post Reply
tyronec
Brigadier-General - Elite Grenadier
Brigadier-General - Elite Grenadier
Posts: 2029
Joined: Sat Dec 06, 2014 11:09 am

Losses screen

Post by tyronec »

Is that normal, that the on map losses (5) do not tally with the losses screen (4) ?
d.jpg
d.jpg (197.97 KiB) Viewed 1153 times
rbodleyscott
Field of Glory 2
Field of Glory 2
Posts: 28322
Joined: Sun Dec 04, 2005 6:25 pm

Re: Losses screen

Post by rbodleyscott »

Yes. It is due to rounding errors, when calculating the killed and wounded. The game rounds down all fractions (unless code is added to round ones above 0.5 up). Also bearing in mind that the game you depicted is being played with a 50% strength modifier.

People occasionally notice this and raise the issue when only one unit has suffered losses. Of course, later in the game any rounding errors in the report tend to be unnoticeable.

Look at it this way, Medieval scribes made mistakes when reporting the "butcher's bill" to the leader - if he even bothered to ask.
Richard Bodley Scott

Image
Pixel
Sergeant First Class - Panzer IIIL
Sergeant First Class - Panzer IIIL
Posts: 386
Joined: Mon Oct 06, 2014 2:52 am

Re: Losses screen

Post by Pixel »

Ah yes we must keep those monks scribbling away writing of all our glorious deeds on the field of battle. A few exaggerated claims or occasional rounding errors shall not mar the grand tales of chivalric feats of daring do! I hear the Prior has a way with words. Pray that the monks of his scriptorium do not mock your most ignominious defeats though.

Image
Image Image
tyronec
Brigadier-General - Elite Grenadier
Brigadier-General - Elite Grenadier
Posts: 2029
Joined: Sat Dec 06, 2014 11:09 am

Re: Losses screen

Post by tyronec »

Thanks Richard. Obviously it is not an issue for game play, just hadn't realised that casualties were in partial men rather than whole numbers.
rbodleyscott
Field of Glory 2
Field of Glory 2
Posts: 28322
Joined: Sun Dec 04, 2005 6:25 pm

Re: Losses screen

Post by rbodleyscott »

tyronec wrote: Tue Jun 08, 2021 5:22 am Thanks Richard. Obviously it is not an issue for game play, just hadn't realised that casualties were in partial men rather than whole numbers.
They aren't, but the report divides the losses between killed and wounded, and that does require division, which gets rounded down. Of course we could make the total add up correctly with a little more code, but it probably isn't worth the effort.
Richard Bodley Scott

Image
Post Reply

Return to “Field of Glory II”