Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Miscellaneous > Archive > Scenario League / Civ2-Creation -Archive > Hit Points and Firepower
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread   
Pages (2): [ 1   2   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
Kull is offline Kull

King
El Paso, TX USA
Mar 1999
time: 22:13
Post  Old Post 06-03-2001 07:01 Visit Kull<br><a href=/members><img src=/forums/images/lifer-icon.gif border=0></a><BR>'s homepage!
Edit/Delete Message Reply w/Quote
#31 Report this post to a moderator
Support Apolyton buy from Amazon

DaveV: It's a nice little program, but it would be better still if it allowed you to enter ALL the modifiers (city walls, defensive terrain, fortified, etc). Kind of a shock seeing that old Win31 design again! I'm still holding out hope for a comprehensive Battle Odds spreadsheet (a standalone program would be ultra cool).

CyberChrist: So next time I'm launching an amphibious assault all I have to do is sail my carrier up next to the city and fire away with bombers? And his fighter defenses are toast? Sneaky, sneaky!!!

William Keenan is offline William Keenan
Prince
New Jersey, USA, Earth, Sol, Milky Way
Sep 1999
time: 00:13
Post  Old Post 06-03-2001 08:29 Visit William Keenan's homepage!
Edit/Delete Message Reply w/Quote
#32 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

quote:

Originally posted by Captain Nemo on 03-05-2001 08:43 PM
I agree that I did not take into account the special defense/attack bonus related to shore bombardment/ships caught in port/2x defense/air defense etc...


I tested Dave's formula using your Battleship vs. Mech. Inf. example. The Battleships won 20 out of 20 and sustained an average of 10 damage. Following this I changed the Battleship's firepower to 1 (form 2) and re-ran the test. The results of the second test were the same except the Battleships sustained an average of 11 damage.

According to the book, ships engaged in shore bombardment have their firepower reduced to 1. I think we can conclude that this much is true.

quote:

Where does this .125 come in? Does it just give the defender the victory when there is a tied die roll? If it truly is designed as a die roll are we talking about a 6 sided die? As in Roll A (1-6) x a > Roll D (1-6) x d for the attacker to win? This would give the 1a vs 1d battle a 21-to-15 edge to the defender but not 80-20?


.125 comes from the a tieing result of an 8 sided dice.

Captain Nemo is offline Captain Nemo
Prince
Red Front
Jan 1970
time: 05:13
Post  Old Post 06-03-2001 09:45 Visit Captain Nemo's homepage!
Edit/Delete Message Reply w/Quote
#33 Report this post to a moderator
Put an end to popups!

I ran a number of combat tests to determine if the above formulas are correct. Since I ran each combat 200 times and averaged the damage sustained by the victor and the number of times each side won I can tell you that (a)/(a+d+0.125) only works when a=d. As soon as a and d diverge the odds become heavily weighted towards the unit with the higher stat.

After a little additional analysis I came up with this formula:

Odds= Max(2a-d,a)/(Max(2d-a,d)+Max(2a-d,a)+0.125)
When I apply this number to the binomial distribution formula the results come out right on the money including the damage numbers.

This amounts to giving the better unit an extra bonus equal to it's advantage over the weaker unit, for example a 6a attacking a 1d unit is really equivalent to an 11a unit attacking a 1d unit.

One of my tests had 15a,2f,2h attacking 9d,2f,2h and the 15a units were basically never loosing when they should have lost 15% of the time.

I tried the reverse with 2a,1f,1h attacking 4d,1f,1h and the 4d were also doing much better than the stats showed. I expected them to loose about 5% of the time in the test they only lost once in 200 tries or 0.5% which is too much of a swing to be explained away.

I am not 100% sure that this is it but I am pretty sure the simpler formula is not correct


techumseh is offline techumseh
King
of the frozen North.
Apr 1999
time: 22:13
Post  Old Post 06-03-2001 11:00 Visit techumseh's homepage!
Edit/Delete Message Reply w/Quote
#34 Report this post to a moderator
Support Apolyton buy from Amazon

I think the Unified Field Theory is simpler!

Gothmog is offline Gothmog
Prince
Minas Morgul
Jan 1970
time: 00:13
Post  Old Post 06-03-2001 17:48
Edit/Delete Message Reply w/Quote
#35 Report this post to a moderator
Enter the AD-FREE zone

Eight side die? Does this mean there is a Dungeons & Dragons influence on CIV II?

DaveV is offline DaveV
King
USA - EDT (GMT-5)
Jan 1970
time: 00:13
Post  Old Post 06-03-2001 18:00
Edit/Delete Message Reply w/Quote
#36 Report this post to a moderator
Put an end to popups!

It's not really an 8-sided die; it's an n-sided die, where n is AF*8 for the attacker, DF*8 for the defender. AF is attack times any bonuses; DF is defense times any bonuses. The attacker and defender each rolls his die; if there's a tie, the defender wins (thus the -.125 for the attacker and +.125 for the defender).

Kull - I think Mark's program requires the user to calculate all of the bonuses before running the program. I agree that something like a spreadsheet would be a good way to show all the special cases.

William Keenan is offline William Keenan
Prince
New Jersey, USA, Earth, Sol, Milky Way
Sep 1999
time: 00:13
Smile  Old Post 06-03-2001 21:36 Visit William Keenan's homepage!
Edit/Delete Message Reply w/Quote
#37 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

quote:

Originally posted by Captain Nemo on 03-05-2001 11:45 PM
After a little additional analysis I came up with this formula:

Odds= Max(2a-d,a)/(Max(2d-a,d)+Max(2a-d,a)+0.125)

I am not 100% sure that this is it but I am pretty sure the simpler formula is not correct


That formula looks like a winner to me! Your a genius, Nemo!

How would you setup the binomial distribution formula so that the results include the damage numbers?

CyberChrist is offline CyberChrist
Chieftain
Denmark
Jan 1970
time: 05:13
Post  Old Post 06-03-2001 21:59
Edit/Delete Message Reply w/Quote
#38 Report this post to a moderator
Put an end to popups!

quote:

Originally posted by Kull on 03-05-2001 09:01 PM
So next time I'm launching an amphibious assault all I have to do is sail my carrier up next to the city and fire away with bombers? And his fighter defenses are toast? Sneaky, sneaky!!!


Ah no, that was not what I was trying to say.
Any air unit with the inherit ability to stay in the air for only 1 turn, will have its DF increased to x4 the normal DF value when defending a city against attacks from air units, with the inherit ability to stay in the air for 2 or more turns.
How long the attacking units have actually stayed in the air should not matter, it is the inherit ability of the units that determine this.

There is still a great advantage from attacking with bombers from a carrier anchored right outside the city though. The bombers can attack every turn - if they survive their attacks of course

William Keenan is offline William Keenan
Prince
New Jersey, USA, Earth, Sol, Milky Way
Sep 1999
time: 00:13
Post  Old Post 07-03-2001 10:39 Visit William Keenan's homepage!
Edit/Delete Message Reply w/Quote
#39 Report this post to a moderator
Browse Apolyton AD-FREE

quote:

Ah no, that was not what I was trying to say.
Any air unit with the inherit ability to stay in the air for only 1 turn, will have its DF increased to x4 the normal DF value when defending a city against attacks from air units, with the inherit ability to stay in the air for 2 or more turns.
How long the attacking units have actually stayed in the air should not matter, it is the inherit ability of the units that determine this.


The range of an air unit has nothing to do with the x4 on city defence. Any unit air or ground (not tested with naval) will get the x4 bounus defending a city if it has the fighter flag (can attack air units) turned on.

Miner is offline Miner
Prince
of London
Jul 1999
time: 05:13
  Old Post 07-03-2001 01:00 Visit Miner's homepage!
Edit/Delete Message Reply w/Quote
#40 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

quote:

Originally posted by William Keenan on 03-06-2001 12:39 PM
The range of an air unit has nothing to do with the x4 on city defence. Any unit air or ground (not tested with naval) will get the x4 bounus defending a city if it has the fighter flag (can attack air units) turned on.




The voice of reason!

Kull is offline Kull

King
El Paso, TX USA
Mar 1999
time: 22:13
Post  Old Post 07-03-2001 01:32 Visit Kull<br><a href=/members><img src=/forums/images/lifer-icon.gif border=0></a><BR>'s homepage!
Edit/Delete Message Reply w/Quote
#41 Report this post to a moderator
Get a bigger avatar today!

Duh! I read "turns in the air" as "moves in the air".

Still, the multiple attacks by Bomber is interesting. That may explain some of Xin Yu's success as Japan in the first 2194 Days PBEM game!

Kull is offline Kull

King
El Paso, TX USA
Mar 1999
time: 22:13
Post  Old Post 07-03-2001 01:33 Visit Kull<br><a href=/members><img src=/forums/images/lifer-icon.gif border=0></a><BR>'s homepage!
Edit/Delete Message Reply w/Quote
#42 Report this post to a moderator
Put an end to popups!

DP (This is what happens when you work with 2 PCs at the same time....keeping track of which keyboard is which gets problematic!)
[This message has been edited by Kull (edited March 06, 2001).]

Xin Yu is offline Xin Yu
King
Emeryville, CA, USA
Jan 1970
time: 21:13
Post  Old Post 07-03-2001 03:15 Visit Xin Yu's homepage!
Edit/Delete Message Reply w/Quote
#43 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

quote:

Originally posted by Kull on 03-06-2001 03:32 PM
Still, the multiple attacks by Bomber is interesting. That may explain some of Xin Yu's success as Japan in the first 2194 Days PBEM game!

A bomber (with range 2 and up) can only attack once per turn. The effect of carriers and airbases (if you move a bomber to a land square and wait for your engineers to finish the airbase before attacking) only allows it to attack EVERY turn instead of coming back to base every once in a while. My success as Japan was due to that I moved my carriers close to the targets before attacking, thus a fighter (not bomber!) could attack multiple times per turn.

Captain Nemo is offline Captain Nemo
Prince
Red Front
Jan 1970
time: 05:13
Wink  Old Post 07-03-2001 10:18 Visit Captain Nemo's homepage!
Edit/Delete Message Reply w/Quote
#44 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

As to the spreadsheet calculating the odds and damage here is what I did:

4 columns for the attacker (aa,ad,af,ah)
4 columns for the defender (da,dd,df,dh)

(Although ad for the attacker and da for the defender are not used, it makes it easier to copy a unit from the attacker to defender column to see how it fares in the opposite role)

Next two columns calculate the "corrected" a and d factors, Ca and Cd based on the difference between aa and dd

Ca=Max(2*aa-dd,aa)
Cd=Max(2*dd-aa,dd)

Next column, the odds of the attacker winning a round:

odds=Ca/(Ca+Cd+0.125) (Display in percent)

Next the number of rounds won required for Attacker to kill defender:

aw=dh*10/af

Next the number of rounds won required for Defender to kill Attacker:

dw=ah*10/df

Next the "BIG" formula the Attacker's odds to win the entire battle:

ODDS=BINOMDIST(dw-1,aw+dw-1,1-odds,True)

Translates as "odds that Defender wins dw-1 or less rounds out of aw+dw-1 rounds considering that the odds of the defender to win each round are 1-odds" (Changing True to False would change "wins dw-1 or less" to "wins exactly dw-1")

Now the average damage sustained by the attacker by the time the defender is dead: aw*(1-odds)/odds * df (odds=odds to win one round)

And the average damage sustained by the defender by the time the attacker is dead: dw*odds/(1-odds) * af

Of course for the loser of the ODDS equation this number will exceed the unit's hitpoints.

This should allow anyone with basic knowledge of EXCEL to reproduce the spreadsheet. I copied the formulas down each column so I can display multiple combats situations simultaneously. I also added a column before the attacker and defender with the respective unit names so I can keep track of what is what.

Did I put everyone to sleep?



William Keenan is offline William Keenan
Prince
New Jersey, USA, Earth, Sol, Milky Way
Sep 1999
time: 00:13
Wink  Old Post 08-03-2001 00:22 Visit William Keenan's homepage!
Edit/Delete Message Reply w/Quote
#45 Report this post to a moderator
Increase the size of your Attachments

Zzzzz ... *** WAKES UP *** ... Great stuff, Nemo!


No really, it is great, a huge help. Thanks.

markusf is offline markusf
King

Oct 1999
time: 05:13
Post  Old Post 27-03-2001 02:21
Edit/Delete Message Reply w/Quote
#46 Report this post to a moderator
Increase the size of your Attachments

I think the terrian your attacking from is also taken into account.

 
Pages (2): [ 1   2   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:13.
Apolyton Time is 00:13.
    top of page
Rate This Thread:
archivepost
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0568 seconds (91.08% PHP - 8.92% MySQL) with 31 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net