Withdrawal not working

pmurnion

Chieftain
Joined
Dec 23, 2008
Messages
9
I'm used to Civ4 cheating like mad at the combat odds. Its not the 90% odds but still losing (thats what probability means!). It's when you have a 80% chance to win and you re-roll the fight four times, losing three in a row (thats 0.20 ^ 3 or 0.008 probability of happening). So yeah, Civ 4 cheats - and lies to you about the odds. But this is different. I just attacked a defender with a horse archer with the flanking I and II promotions. So while the combat odds were a miserly 5% the withdrawal chance was 48%. I re-ran the fight 12 times with no withdrawals, dead every time. So the likelihood of that happening is 0.52 ^ 12 or near zero. Is the cheating just worse for special outcomes like withdraw or is the withdraw mechanic just broken?
It's interesting because on the forums a lot of people recommend a mob of cavalry with high withdraw skills who can 'soak up' the first round of combat with an enemy. I never found that to be the case. With every mounted unit, combat I and II was always far superior to flanking I and II, in my experience. Funny (and disappointing) how the AI cheating just makes parts of the game effectively dead, like the way the AI can always see subs so you dont use them ...
 
I don't think the odds displayed are perfect, but I'm fairly confident the AI doesn't "cheat" when it comes to combat. I think what's happening here is you haven't selected the random seed on reloading option, meaning the result of combat is "predestined" so to speak at the beginning of your turn. You could re-roll ten million times and it would always be the same result.

Kind regards,
Ita Bear
 
That aside combat is better than flanking anyway except for the rare mounted units not immune to first strikes (flanking 2 gives that bonus) or to get Sentry on one unit.
 
Withdrawal works as intended. The only question is really if/why are using it at all. If you are reloading the same game save, then you are also probbaly reloading the same seed. You will get the same combat odds from running the same attack from the same save immediately after loading it. I just tested it myself. You simply did not have "random seed on reloading" ticked when creating a custom game. I had the same combat outcomes (deaths, damage dealt, withdrawals) each time.

Anyway, here's my Flanking II vs. Combat II demo for you:

10 Flanking I and II Cavs-----10 Rifles in city-----10 Combat I and II Cavs

I set up a custom game with unpromoted rifles in a city for the AI and cavs with different promotions on each side. I reloaded with random seeds. I had each stack attack 10 separate times against the riflemen.

Next, I promoted all the rifles to City Garrison III and ran the same 10-attack-each-stack test again with random seeds.

On average, the Flanking II stack survives with a few more cavs (1-2 unit survival edge) than Combat II cavs will while damaging all the riflemen in the process. However, the Combat II cavs kill on average more unpromoted riflemen to compensate and approx 1-2 more CG III rifleman on average than the Flanking II cavs against the promoted rifle stack.

Basically, the only use case withdrawal has is when you are fighting against units with such superior strength that the combat odds are horrifically out of your favor and you aren't using seige. This is typical of some Immortal and Diety plays where you don't have time to/don't want to march 1 tile at a time with seige and would rather spend all your hammers/gold on rushing out a single attacking unit to overwhelm the enemy quickly. You will have a much higher withdrawal chance than Combat II (typically slightly over 50%,) meaning that you will be able to damage the top defenders without losing your cav units quite as much against combat odds that look grim. I play on Immortal a lot, and I have occasionally used this strategy. However, I find that I promote to Combat II far more often because at the end of the day, you need garrisoning units to guard the wounded cavalry eventually if your push fizzles out, or else those turbo-damaged withdrawn cavs are worthless and free experience for the enemy. They'll need to therefore ride with the rest of the attacking stack forward, or have garrisoning units left behind. The point of cavalry is to rush forward to take cities (most common) or crush the enemy stack ideally in your own turf or before getting too deep into their territory, outside of cities, so you don't need to worry about massive defenses in the enemy's home. Flanking II is essentially a poor-man's substitute for siege when speed is needed for your strategy to work and you're trying to save every hammer possible put into your attacking units. That being said, it can easily spiral away from you if not planned correctly and/or if the withdrawal coin flips screw you over, and I'd rather attack with CRIII cannons than Flanking II cavs lolol

Let me know if you have any more questions or want to see some screen shots of the befores and afters.
 
Last edited:
Withdrawal works as intended. The only question is really if/why are using it at all. If you are reloading the same game save, then you are also probbaly reloading the same seed. You will get the same combat odds from running the same attack from the same save immediately after loading it. I just tested it myself. You simply did not have "random seed on reloading" ticked when creating a custom game. I had the same combat outcomes (deaths, damage dealt, withdrawals) each time.

Anyway, here's my Flanking II vs. Combat II demo for you:

10 Flanking I and II Cavs-----10 Rifles in city-----10 Combat I and II Cavs

I set up a custom game with unpromoted rifles in a city for the AI and cavs with different promotions on each side. I reloaded with random seeds. I had each stack attack 10 separate times against the riflemen.

Next, I promoted all the rifles to City Garrison III and ran the same 10-attack-each-stack test again with random seeds.

On average, the Flanking II stack survives with a few more cavs (1-2 unit survival edge) than Combat II cavs will while damaging all the riflemen in the process. However, the Combat II cavs kill on average more unpromoted riflemen to compensate and approx 1-2 more CG III rifleman on average than the Flanking II cavs against the promoted rifle stack.

Basically, the only use case withdrawal has is when you are fighting against units with such superior strength that the combat odds are horrifically out of your favor and you aren't using seige. This is typical of some Immortal and Diety plays where you don't have time to/don't want to march 1 tile at a time with seige and would rather spend all your hammers/gold on rushing out a single attacking unit to overwhelm the enemy quickly. You will have a much higher withdrawal chance than Combat II (typically slightly over 50%,) meaning that you will be able to damage the top defenders without losing your cav units quite as much against combat odds that look grim. I play on Immortal a lot, and I have occasionally used this strategy. However, I find that I promote to Combat II far more often because at the end of the day, you need garrisoning units to guard the wounded cavalry eventually if your push fizzles out, or else those turbo-damaged withdrawn cavs are worthless and free experience for the enemy. They'll need to therefore ride with the rest of the attacking stack forward, or have garrisoning units left behind. The point of cavalry is to rush forward to take cities (most common) or crush the enemy stack ideally in your own turf or before getting too deep into their territory, outside of cities, so you don't need to worry about massive defenses in the enemy's home. Flanking II is essentially a poor-man's substitute for siege when speed is needed for your strategy to work and you're trying to save every hammer possible put into your attacking units. That being said, it can easily spiral away from you if not planned correctly and/or if the withdrawal coin flips screw you over, and I'd rather attack with CRIII cannons than Flanking II cavs lolol

Let me know if you have any more questions or want to see some screen shots of the befores and afters.
I think OP had “random seed” on by basis of their post stating that the 80% odds took four attempts with 1st three attempts being Ls. I don’t think its the seed or the game cheating, but just that we’re more likely to notice the bad rolls, especially if you’re rerolling on losses. No one rerolls on wins , so we only really notice when we get bad luck. Rolling three straight losses on 80% is 0.00
08, but thats actually only 1 in 125; not impossible odds. Playing this game many times, you’re bound to get that happen several times in your gaming life. You’re going to remember that, and not the time your spearman beat a tank at full health.

Ironically, the only time the AI “cheats” in this situation, is by design with random seed off. The game doesnt really just lock the seed, but also the “result”. Try it, if you attack an LB with a Mace, and the mace loses, youre going to get that result every time any mace faces the LB, even if you select a different one in your stack, at least thsts thr way it seems.
 
The random numbers generated by computers are not truly random and I've seen this stuff in all kinds of different games. But it is rare. One handy tool I've used to make adjustments when this has been a problem is a sledgehammer.
 
I think OP had “random seed” on by basis of their post stating that the 80% odds took four attempts with 1st three attempts being Ls. I don’t think its the seed or the game cheating, but just that we’re more likely to notice the bad rolls, especially if you’re rerolling on losses. No one rerolls on wins , so we only really notice when we get bad luck. Rolling three straight losses on 80% is 0.00
08, but thats actually only 1 in 125; not impossible odds. Playing this game many times, you’re bound to get that happen several times in your gaming life. You’re going to remember that, and not the time your spearman beat a tank at full health.

Ironically, the only time the AI “cheats” in this situation, is by design with random seed off. The game doesnt really just lock the seed, but also the “result”. Try it, if you attack an LB with a Mace, and the mace loses, youre going to get that result every time any mace faces the LB, even if you select a different one in your stack, at least thsts thr way it seems.
Thanks, at least you realised that I had 'random seed' on. Obviously the 'experiment' would be pointless otherwise so most of the replies here are irrelevant. But I disagree with your comment on what I am 'noticing'. Yes. its a known bias that people remember negative results more often but thats not really relevant to a case where an experiment is being run and the results are tabulated carefully (if that was the case science as we know it wouldnt work).
I have run this (multi-run) experiment many times in different games and I get the same result reliably - that is a conbat that is given (say) 80% probability of success in actual fact only wins (say) 1 in 3 times, so actually 33%. In other words what actually happens is markedly different from what we're being told will happen. I'm not giving an opinion, its a reliable set of actual results. So opinions in response are not useful, even from experienced gamers. I'll stand corrected if I see actual results which differ markedly from mine (and concur with the game stated predictions), or I'm shown code from the game that indicates that the numbers stated are correct.
 
I wouldn't reload to get results. Here's an easier and more reliable way: use world builder to create a large (e.g. 100) stack of identical attackers and a large stack of identical defenders with promotions adjusted to give you the desired odds. Send the attackers one by one and record the results of how many win their fights.
 
Thanks, at least you realised that I had 'random seed' on. Obviously the 'experiment' would be pointless otherwise so most of the replies here are irrelevant. But I disagree with your comment on what I am 'noticing'. Yes. its a known bias that people remember negative results more often but thats not really relevant to a case where an experiment is being run and the results are tabulated carefully (if that was the case science as we know it wouldnt work).
I have run this (multi-run) experiment many times in different games and I get the same result reliably - that is a conbat that is given (say) 80% probability of success in actual fact only wins (say) 1 in 3 times, so actually 33%. In other words what actually happens is markedly different from what we're being told will happen. I'm not giving an opinion, its a reliable set of actual results. So opinions in response are not useful, even from experienced gamers. I'll stand corrected if I see actual results which differ markedly from mine (and concur with the game stated predictions), or I'm shown code from the game that indicates that the numbers stated are correct.
There is an interesting thread that showed up in recommendations in my related threads to this. I lost the link, but if I find it, I'll post it. The convo started like this one, but then delved into convo about the random number generator that the code uses. Got too computer sciencey for me, but some suggested that that type of RNG is not truly random and may be suseptible to streaky results. Which may be why some impossible odds result. Either way, it's not necessarily cheating, but the odds may not be totally reliable.
 
Top Bottom