Thread Tools
Old February 5, 2003, 13:50   #1
Master Zen
PtWDG Glory of WarApolytoners Hall of FameInterSite Democracy Game: Apolyton TeamSpanish CiversPtWDG2 Latin LoversC3C IDG: Apolyton TeamC4DG Gathering Storm
Deity
 
Master Zen's Avatar
 
Local Time: 09:47
Local Date: November 1, 2010
Join Date: Jan 2003
Location: of naughty
Posts: 10,579
The math behind Bombardment
Hola,

can anyone explain the way bombardment works mathematically? i.e. what are the odds bombardment will be succesful, how cities add to the defense, how many HP will the bombardment take away, what the rate of fire has to do, etc.

For a specific example, how 'bout a Stealth Bomber, bombard of 8, rate of fire 3 going up against a Mech. Infantry defense of 18.

Then, what if the Mech was fortified in a metropolis?

thank you.
__________________
A true ally stabs you in the front.

Secretary General of the U.N. & IV Emperor of the Glory of War PTWDG | VIII Consul of Apolyton PTW ISDG | GoWman in Stormia CIVDG | Lurker Troll Extraordinaire C3C ISDG Final | V Gran Huevote Team Latin Lover | Webmaster Master Zen Online | CivELO (3°)
Master Zen is offline  
Old February 5, 2003, 16:47   #2
Catt
PtWDG Gathering StormApolyton University
King
 
Catt's Avatar
 
Local Time: 08:47
Local Date: November 1, 2010
Join Date: May 2002
Location: California - SF Bay Area
Posts: 2,120
There are some knowns and some unknowns at play, but I believe it works as follows: (1) the bombardment value is the "attack" value; (2) the rate of fire is the "number of attacks;" (3) when a unit is bombarded, it gets its normal defensive bonuses; and (4) when a city is bombarded, the target is selected as either defending unit, population, or city improvement.

Using your examples of stealth bomber versus mech infantry: MI has defense of 18, plus a minimum 10% bonus (let's say it is unfortified on grassland) meaning a defense of 19.8. The bomber's bombard strength of 8 is the "attack" and the rate of fire of 3 means it will bombard three times per "attack." So, there will be three die rolls to determine whether a hit point is lost, with a chance for success of 8/27.8, or 28.7%. The end result could be anything from no HPs lost (36.2% chance) to 3 HPs lost (2.3%) - or anything in between (i.e. 1 hp lost).

Using the second example is a bit tricky. Under vanilla Civ 3, when bombard units targeting a city, it seemed that each unit would target either unit, population, or city improvement, and the chances of each such item being targeted seemed to be approximately 50%, 25%, 25%, respectively. This targeting frequency seems to have changed in PTW to be closer to 40%, 30%, 30% - though the precise percentages are not known (thanks to etj4Eagle and sumthinelse for their work on PTW bombardment ratios over at CFC ). For simplicity's sake, let's just assume here that the correct targeting ratios are indeed 40% unit, 30% population, and 30% improvement.

The mech infantry fortified in a metropolis (again on grassland) will have a defense of 42.3 (a collective 135% bonus - 100% for metropolis, 25% for fortified, and 10% for grassland). City improvements and population have a base defense of 16 -- I do not know if they receive defensive bonuses from terrain and city size -- if yes, their defense would be 33.6 - if, no, the defense would still be 16. I am going to assume that they do not benefit and leave their valkue at 16 for this example.

When your stealth bomber attacks the metropolis, the RNG is consulted and one of the three potential targets is selected. If the unit is targeted the same calculations described above are used, but with a defense value of 42.3, resulting in a 15.9% chance of bombard success for each of the 3 "rate of fire attacks" -- chances of no damage to the unit are 59.5% and chances of 3 HPs being lost is 0.4%. But if the target selected is population or a city improvement, then the chance of a successful "hit" would be 8/24 or 33% for each of three RoF's -- one would expect a successful bombardment in about 72% of the time -- this assumes that only one of the 3 rate of fire "attacks" needs to be successful in order to destroy the target, an assumption I believe is accurate but about which I claim no special knowledge.

One final twist to this long answer -- it appears that the targeting ratio against cities is unaffected by the availability of the specific target selected -- if all city improvements are destroyed (wonders, wonder-provided improvements and the palace being indestructible by bombarment) and the population has been reduced to 1 (can't go lower via bombardment), there is nonetheless still a 60% chance (30% pop and 30% improvement, based on stated assumptions) that such "phantom targets" will be attacked -- in such case, the bombardment will have failed, simply because there is nothing to destroy.

Hope that helps and wasn't too long to get through.

Catt
Catt is offline  
Old February 5, 2003, 17:19   #3
Jaybe
Mac
Emperor
 
Jaybe's Avatar
 
Local Time: 08:47
Local Date: November 1, 2010
Join Date: Sep 2001
Location: Henderson, NV USA
Posts: 4,168
Also of note: Cruise Missiles target only defending units and can kill (they do not need the "Lethal Land" "Lethal Sea" bombard flags. I BELIEVE that they do not go through the target selection determination when targeting a city.
__________________
JB
I play BtS (3.19) -- Noble or Prince, Rome, marathon speed, huge hemispheres (2 of them), aggressive AI, no tech brokering. I enjoy the Hephmod Beyond mod. For all non-civ computer uses, including internet, I use a Mac.
Jaybe is offline  
Old February 5, 2003, 17:41   #4
Catt
PtWDG Gathering StormApolyton University
King
 
Catt's Avatar
 
Local Time: 08:47
Local Date: November 1, 2010
Join Date: May 2002
Location: California - SF Bay Area
Posts: 2,120
Quote:
Originally posted by Jaybe
Also of note: Cruise Missiles target only defending units and can kill (they do not need the "Lethal Land" "Lethal Sea" bombard flags. I BELIEVE that they do not go through the target selection determination when targeting a city.
Yup - good point. I have never seen a cruise missle hit anything other than a unit (although I have also never fired a CM at an undefended city).

Your post also reminded me of one other oversight I had intended to cover: except for the CM, no bombard unit can take a unit past 1 HP under default rules. And attacking a unit outside of a city also doesn't seem to produce a "targeting choice" calculation, despite the availability of tile improvements beneath the tunit -- i.e., if our hypothetical mech infantry is unfortified on grassland, but that grassland tile also happens to have railroad, road and irrigation, than the MI will be targeted by all bombardment units until it reaches 1 HP left, then the RR (with a defense of 16?) is targeted until destroyed, then the road & irrigation as one "combined" improvement (if there were a fortress, colony, radar tower, etc., I believe that is targeted last.) With the unit down to 1 HP and all tile improvements destroyed, bombard units (other than the CM) can't even bombard the tile further.

Catt
Catt is offline  
Old February 5, 2003, 18:50   #5
Master Zen
PtWDG Glory of WarApolytoners Hall of FameInterSite Democracy Game: Apolyton TeamSpanish CiversPtWDG2 Latin LoversC3C IDG: Apolyton TeamC4DG Gathering Storm
Deity
 
Master Zen's Avatar
 
Local Time: 09:47
Local Date: November 1, 2010
Join Date: Jan 2003
Location: of naughty
Posts: 10,579
Thank you very VERY much for that excellent explanation!!

__________________
A true ally stabs you in the front.

Secretary General of the U.N. & IV Emperor of the Glory of War PTWDG | VIII Consul of Apolyton PTW ISDG | GoWman in Stormia CIVDG | Lurker Troll Extraordinaire C3C ISDG Final | V Gran Huevote Team Latin Lover | Webmaster Master Zen Online | CivELO (3°)
Master Zen is offline  
Old February 6, 2003, 06:16   #6
theNiceOne
Warlord
 
theNiceOne's Avatar
 
Local Time: 16:47
Local Date: November 1, 2010
Join Date: Dec 2002
Posts: 121
Great explanation Catt, I don't have much to add.

I can assure you that outside cities there is no targeting choise. If a military unit is there - it is attacked. If not, the terrain improvements is attacked.

And note that even a few (almost) normal improvements are invulnerable as well. Aqueducts and hospitals can never be destroyed (except by razing the entire city).
__________________
If you cut off my head, what do I say?
Me and my body, or me and my head?
theNiceOne is offline  
Old February 6, 2003, 12:41   #7
epics
Warlord
 
epics's Avatar
 
Local Time: 16:47
Local Date: November 1, 2010
Join Date: Dec 2001
Location: PL
Posts: 136
YES cool post.
but I think it is very very very stupid system. In real there is no defence against air bombardment, you just get hit or not. if you get lucky, you stay alive (not very probable).
epics is offline  
Old February 6, 2003, 13:12   #8
PrinceBimz
Prince
 
PrinceBimz's Avatar
 
Local Time: 09:47
Local Date: November 1, 2010
Join Date: Apr 1999
Posts: 414
Catt, this subject was brought up a few times. Yours is probably the best explanation I have read about it Its just one of those things some people are just curious about and it helps to know sometimes how it all works.
__________________
-PrinceBimz-
PrinceBimz is offline  
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 11:47.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Apolyton Civilization Site | Copyright © The Apolyton Team