Thread Tools
Old November 4, 2001, 22:55   #1
Valant
Settler
 
Local Time: 16:05
Local Date: October 31, 2010
Join Date: Nov 2001
Posts: 13
Combat Results Calculator
This program was made by Xerxes314 on the Civ Fanatics Forum. And after bonking heads on some values and helping him on exact binomial probability calculations.....his latest program does a DAMN fine job.

He be da link:
http://www.columbia.edu/~sdc2002/civulator.html
Valant is offline  
Old November 5, 2001, 02:11   #2
Valant
Settler
 
Local Time: 16:05
Local Date: October 31, 2010
Join Date: Nov 2001
Posts: 13
Zoomed of the first page....well going to try 1 shameless bump.
Valant is offline  
Old November 5, 2001, 04:10   #3
Akaoz
Prince
 
Akaoz's Avatar
 
Local Time: 16:05
Local Date: October 31, 2010
Join Date: May 2001
Location: Europe
Posts: 457
hmmmm...

Conscript Modern Armor vs. Elite Pikeman in a hillside metropolis behind a river, fortified: Armor has 48% chanse of winning...

-Alech
__________________
"Build Ports when possible. A port gives you extra resources, as well as an extra tile for a unit to stand on." - Infogrames
Akaoz is offline  
Old November 5, 2001, 04:17   #4
cort
Warlord
 
cort's Avatar
 
Local Time: 18:05
Local Date: October 31, 2010
Join Date: Sep 2001
Posts: 108
Quote:
Originally posted by Akaoz
hmmmm...

Conscript Modern Armor vs. Elite Pikeman in a hillside metropolis behind a river, fortified: Armor has 48% chanse of winning...

-Alech
it is not possible to draft armor; so it will at least be regular..

combat odds in general are not that bad by the way.. think about the taliban stuff.. if it were possible to wipe out the entire country without a single loss, US could as well send her armors but is not doing so, why?

**** happens, u know..
cort is offline  
Old November 5, 2001, 04:51   #5
yin26
inmate
Apolytoners Hall of Fame
Born Again Optimist
 
yin26's Avatar
 
Local Time: 12:05
Local Date: October 31, 2010
Join Date: Apr 1999
Location: This space reserved for Darkstar.
Posts: 5,667
Hey, that's really cool! I can only assume it's accurate ... !
__________________
I've been on these boards for a long time and I still don't know what to think when it comes to you -- FrantzX, December 21, 2001

"Yin": Your friendly, neighborhood negative cosmic force.
yin26 is offline  
Old November 5, 2001, 05:15   #6
Jeje2
Prince
 
Jeje2's Avatar
 
Local Time: 18:05
Local Date: October 31, 2010
Join Date: Apr 1999
Location: Espoo, Finland
Posts: 672
Can on see the equqations anywhere?

(Would be nice to have them in printed version or something...
Locked at sourcecode, but Javascript not Jeje2's skill)

Last edited by Jeje2; November 5, 2001 at 05:21.
Jeje2 is offline  
Old November 5, 2001, 13:34   #7
Valant
Settler
 
Local Time: 16:05
Local Date: October 31, 2010
Join Date: Nov 2001
Posts: 13
Jeje2:

Okay you asked for it. The program uses the exact binomial probability equation calculator. This equation is

P(x) = (n over x factorial) * p^x * q^(n-x)

Where
n = number of trials
p = probability of success
q = 1- p
x = number of successes in n trials
n-x = number of failures in n trials

So
n = attackers HP + defenders HP - 1
p = attackers attack power / (attackers attack power + defenders defensive power)
* note do not forget to add in the defenders defensive bonuses it its attack power before plugging it into p*
q = 1 - p
x = is a variable that ranges from a min of the defenders HP value to a max of n
n-x = is a variable that ranges from a min of zero to a max of (attackers HP - 1)

The program then goes through and then determines that out of n trials (max number of tuns in a battle before a unit dies), the attacker will win at least the defenders HP number of turns.

Trust me, its quite accurate.
Valant is offline  
Old November 5, 2001, 15:27   #8
Seth
Settler
 
Local Time: 11:05
Local Date: October 31, 2010
Join Date: Apr 1999
Location: Lowell, MA
Posts: 17
Thanks for sharing
Very nice utility; thanks for sharing.

Have you thought about adding air and water units?
I'm also interested in how bombard works....
The unwashed masses are never satisfied.

It would be nice if the defense strength box could be changed (the modified defense and attack boxes work fine). Although one can always change the defending unit to something with the appropriate defense rating.

I'm really enjoying the game so far--don't understand the angry muttering.
__________________
I'm not sure I understand all the complaining--the game is highly customizable.
Seth 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 12:05.


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