This thread is a deviation/continuation from the 'Chance To Retreat' thread.
I've tested the retreat bonus thouroughly... and there are problems...
PRELIMINARY TEST INFORMATION
Civilization I: Germans (Horseman)
Civilization II: Americans (Infantry)
Regular Horseman (2.1.2) v. Regular Infantry (6.10.1)
Unfortified on Grassland, Horseman always attacking...
Attack = 2.0
Modified Defense = 11.0
Random Seed Off
v1.21f PTW (Conditional Zenith used 1.27f for his test)
TESTING BREAKDOWN
Tested 50 units at a time on a Grassland map. Manually attacked with every unit and recorded the results... EDIT: Note from Post #23, both units have the same retreat bonuses...
RAW DATA
===========================================
Total Trials: 1,600 Total Wins: 39 (2.4375%)
My Civ III Combat Calculator prediction is 2.852734%
200 Trials @ 100% Bonus
WIN: 5 LOSS: 65 DRAW: 130 (64.5%)
Civ III Combat Calculator prediction is 97.147266% Draw
Modified Civ III Combat Calculator prediction is 88.543818% Draw
400 Trials @ 80% Bonus
WIN: 10 LOSS: 163 DRAW: 227 (56.75%)
Civ III Combat Calculator prediction is 77.717813% Draw
Modified Civ III Combat Calculator prediction is 70.835055% Draw
200 Trials @ 66% Bonus
WIN: 4 LOSS: 91 DRAW: 105 (52.5%)
Civ III Combat Calculator prediction is 64.117196% Draw
Modified Civ III Combat Calculator prediction is 58.43892% Draw
200 Trials @ 58% Bonus
WIN: 5 LOSS: 118 DRAW: 97 (48.5%)
Civ III Combat Calculator prediction is 56.345415% Draw
Modified Civ III Combat Calculator prediction is 51.355415% Draw
200 Trials @ 50% Bonus
WIN: 5 LOSS: 113 DRAW: 92 (46%)
Civ III Combat Calculator prediction is 48.573633% Draw
Modified Civ III Combat Calculator prediction is 44.271909% Draw
200 Trials @ 34% Bonus
WIN: 3 LOSS: 135 DRAW: 62 (31%)
Civ III Combat Calculator prediction is 33.030071% Draw
Modified Civ III Combat Calculator prediction is 30.104898% Draw
200 Trials @ 0% Bonus
WIN: 7 LOSS: 193 DRAW: 0 (0%)
Civ III Combat Calculator prediction is 0% Draw
Modified Civ III Combat Calculator prediction is 0% Draw
===========================================
Conclusions:
Any comments about the analysis are appreciated...
I've tested the retreat bonus thouroughly... and there are problems...
PRELIMINARY TEST INFORMATION
Civilization I: Germans (Horseman)
Civilization II: Americans (Infantry)
Regular Horseman (2.1.2) v. Regular Infantry (6.10.1)
Unfortified on Grassland, Horseman always attacking...
Attack = 2.0
Modified Defense = 11.0
Random Seed Off
v1.21f PTW (Conditional Zenith used 1.27f for his test)
TESTING BREAKDOWN
Tested 50 units at a time on a Grassland map. Manually attacked with every unit and recorded the results... EDIT: Note from Post #23, both units have the same retreat bonuses...
- 200 Trials w/ 100% Retreat Bonus
- 400 Trials w/ 80% Retreat Bonus
- 200 Trials w/ 66% Retreat Bonus
- 200 Trials w/ 58% Retreat Bonus
- 200 Trials w/ 50% Retreat Bonus
- 200 Trials w/ 34% Retreat Bonus
- 200 Trials w/ 0% Retreat Bonus
RAW DATA
===========================================
Total Trials: 1,600 Total Wins: 39 (2.4375%)
My Civ III Combat Calculator prediction is 2.852734%
200 Trials @ 100% Bonus
WIN: 5 LOSS: 65 DRAW: 130 (64.5%)
Civ III Combat Calculator prediction is 97.147266% Draw
Modified Civ III Combat Calculator prediction is 88.543818% Draw
400 Trials @ 80% Bonus
WIN: 10 LOSS: 163 DRAW: 227 (56.75%)
Civ III Combat Calculator prediction is 77.717813% Draw
Modified Civ III Combat Calculator prediction is 70.835055% Draw
200 Trials @ 66% Bonus
WIN: 4 LOSS: 91 DRAW: 105 (52.5%)
Civ III Combat Calculator prediction is 64.117196% Draw
Modified Civ III Combat Calculator prediction is 58.43892% Draw
200 Trials @ 58% Bonus
WIN: 5 LOSS: 118 DRAW: 97 (48.5%)
Civ III Combat Calculator prediction is 56.345415% Draw
Modified Civ III Combat Calculator prediction is 51.355415% Draw
200 Trials @ 50% Bonus
WIN: 5 LOSS: 113 DRAW: 92 (46%)
Civ III Combat Calculator prediction is 48.573633% Draw
Modified Civ III Combat Calculator prediction is 44.271909% Draw
200 Trials @ 34% Bonus
WIN: 3 LOSS: 135 DRAW: 62 (31%)
Civ III Combat Calculator prediction is 33.030071% Draw
Modified Civ III Combat Calculator prediction is 30.104898% Draw
200 Trials @ 0% Bonus
WIN: 7 LOSS: 193 DRAW: 0 (0%)
Civ III Combat Calculator prediction is 0% Draw
Modified Civ III Combat Calculator prediction is 0% Draw
===========================================
Conclusions:
- It appears Conditional Zenith was correct in his test, there does appear to be an error with handling retreat bonuses of 100%, and may even be some problems with bonuses over 50%
- The 100% retreat bonus should be a retreat from every losing battle. Just like the 0% bonus provides no retreat. The 0% is functioning properly, but the 100% is not.
- At the very least Firaxis/Breakaway/Atari needs to look at the code governing retreat bonuses. I believe there is a coding problem. I for one would like to be able to mod a unit that always retreats.
- What seems odd is that the veteran and elite bonuses (58% and 66% respectively) do not seem to be working properly either, this can cause some minor problems in unmodded gameplay...
- The win percentage is very close to 'perfect accuracy', this lets me know that my calculator and the way Civ III handles combat are the same. Also, notice how my calculator comes very close to the actual retreat bonus in all cases. My calculations will always be lower than the bonus because of the infrequent wins by the horseman... I am currently using a beta-version of my calculator and will post it as soon as possible. See my signature.
- Note that the bonuses for 50% and below are very close to the test results (e.g.- 50% retreat bonus resulted in 46% retreat), but how above 50% they start to skew greatly...
- Maybe these are not percentage bonuses, but they will not accept input outside of the 0-100 range inclusive. This leads me to believe they are percentage bonuses.
Any comments about the analysis are appreciated...