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 > Civ2-General/Help-Archive > Info: Combat (GL)
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
Marquis de Sodaq is offline Marquis de Sodaq
King
... no, a Marquis.
Jul 2000
time: 23:12
  Old Post 13-04-2001 00:59 Visit Marquis de Sodaq's homepage!
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Info: Combat (GL) Inflate your Upload Space

Post1
This is a special thread, please read Post 2 below, which contains instructions for use.

*****************************************
THIS THREAD HAS BEEN UPDATED AND MOVED TO THE CIV2 STRATEGY FORUM. PLEASE FOLLOW THIS LINK:
Info: Combat (GL)
ALL CONTINUING DISCUSSION SHOULD BE POSTED THERE.
*****************************************


Combat Modifiers and Calculation

Basics Unit Combat Adjustment The Combat Additional Healing Hints and
  Factors Factors Formula Considerations Tips


BASICS
1.1 Combat occurs when a unit with an attack value greater than 0 attempts to enter a square occupied by a unit of another civilization.

1.2 A battle results in the destruction of one unit or the other. If the primary defender is destroyed, all other defenders (stacked) in the same square are also destroyed unless:

  • they occupy a city square, or
  • the square has the fortress improvement built on it.
The primary defender is the unit with the greatest modified defense value at the moment of the attack.

1.3 Units involved in combat usually sustain damage. Damage is shown in the unit's strength bar by color and percentage.
  1. Green: 2/3 to full strength
  2. Yellow: 1/3 to 2/3 strength
  3. Red: less than 1/3 strength

1.4 Except for air units, damaged units have reduced movement points approximately proportional to the damage. However, land units will never have less than 1 movement, and sea units will never have less than 2. The proportion of damage is rounded to the nearest integer, but never less than the minimum for that unit.

CMP = CHP/HP * MP + 0.2

CMP...current movement points
CHP...current hit points
HP...(maximum) hit points (from rules.txt)
MP...(maximum) movement points (from rules.txt)

1.5 Ground units can only attack other ground units. Exceptions: Helicopters can be attacked by ground units. A sea or air unit may be attacked if it is the primary defender in a city or airbase.

1.6 Air units can attack only ground or sea units, except those (fighters) with the "Can attack air units" flag. Air units attacking ground units ignore city walls.

1.7 Sea units can attack other sea units or ground units occupying a land square (including cities) adjacent to a sea square. They may also attack air units caught on the ground in a city or airbase. Units with the "Submarine advantages/disadvantages" (submarines, thus) cannot attack land units. A sea unit attacking a land unit is called shore bombardment.

1.8 Special domain 3 units can be attacked by any other unit, regardless of flags. Domain 3 units can attack any other unit, and they ignore city walls, SAMs, and coastal fortresses.


UNIT COMBAT FACTORS
Units have four basic factors figured into the calculation of a combat result: attack strength, defense strength, hit points, and firepower.

2.1 Attack strength is the likelihood of inflicting damage when attacking an opponent. Units with 0 attack strength cannot initiate combat.

2.2 Defense strength represents the ability of a unit to defend itself when attacked; It is the likelihood that damage will be inflicted on an attacking unit.

2.3 Hit points indicate how much damage a unit can withstand before it is destroyed. The true number of hit points is the hp value x10. A 2hp unit thus has 20 hit points.

2.4 Firepower indicates how much damage a unit can inflict in a round of combat. A successful round reduces the opponent's total hit points by the value of the unit's firepower.


ADJUSTMENT FACTORS
Many factors affect the four basic Unit Combat Factors, depending upon the circumstance of the battle. All factors that apply as percentages are multiplied together.

3.1 Veteran units receive a +50% bonus for both attack and defense strengths

3.2a Fortified units receive a +50% bonus for defense strength. This bonus applies only on the next turn, after the unit appears with the dirt entrenchment, not while in the process of fortifying. This bonus is superceded by fortress improvement (3.2b) and city walls (3.4). It can be used in combination with a SAM battery (3.5) or a coastal fortress (3.6). Air units caught fortified in an air base do not enjoy this bonus. Air units in unwalled cities do, however, gain a (possibly more than) doubled defense, as if in a fortress improvement.
Test: Do sea units benefit from this?

3.2b The fortified bonus increases to +100% for a unit occupying a fortress improvement, whether given the order to fortify or not.
Test: When a city is built on a square that is having the fortress improvement built gain defensive benefit from the fortress? Is this bonus enhanced or superceded by city walls?

3.3 Terrain increases defense strength by:
  1. +50% if on forest, jungle, or swamp
  2. +100% if on hills
  3. +200% if on mountains
  4. +50% if on a river, enhancing any other terrain bonus.

Test: Do sea and air units also gain this advantage when on land?

3.4 City walls triple the defense value of city defenders against attacks by land units.
Test: Do ships caught in port benefit from city walls? It needs to be tested more... my quick test says NO for both sea and air units. If so, city walls only benefit land units.

3.5 SAM batteries double the defense value of city defenders against attacks by air units.
Test: Do ships caught in port benefit from SAMs?

3.6 Coastal fortresses double the defense value of city defenders against attacks by naval units.
Test: Do air units or ships caught in port benefit from coastal fortresses?

3.7 Some flags (in rules.txt) can alter combat calculations as follows:
  • Negates city walls (howitzer): Self explanatory.
  • x2 on defense versus horse (pikemen): This is actually a limited bonus, +50% if the attacker is a land unit with move=2, hp=1, and fp=1.
  • Can attack air units (fighter): Self explanatory. A fighter stationed in a city that is attacked by a bomber scrambles, gaining a +400% defense bonus (sorry, no SAM adjustment) against the bomber. Additionally, helicopters suffer a -50% defense adjustment and their firepower is reduced to 1 when attacked by a fighter.
  • x2 on defense versus air (AEGIS): An AEGIS cruiser gains a +300% bonus when attacked by an air unit, +500% if the attacker is a missile (destroyed after attacking).

3.8 Partisans gain an attack advantage against non-combat units (any with attack value = 0). Their firepower is increased significantly, perhaps as high as 10x.

3.9 Shore bombardment: When a naval unit attacks a land unit, both units have their firepower reduced to 1. A sea unit's firepower is reduced to 1 when it is caught in port by a land unit.

3.10 SDI defenses thwart any nuclear attack (except those set by spies) within 3 squares of the city in which it is built.

3.11 Nuclear missiles have a special attack value of 99. Unless thwarted by an SDI, this sidesteps any combat result calculations. If a missile attacks a target, a strike results. This kills all units within one square of the strike, causes pollution, and reduces the population of any city within the radius by half.

3.12 Barbarians do not always attack and defend at normal unit strengths. Barbarian archers defend with a base value of 1, not 2. Other barbarian units have normal defense values. All barbarian attack factors are affected by the difficulty level of game being played:
  • Chieftan - 25% of normal
  • Warlord - 50%
  • Prince - 75%
  • King - 100%
  • Emperor - 125%
  • Deity - 150%


3.13 Sneak attack! A sneak attack seems to give an advantage to the attacker. This is currently being tested (see the thread Does it pay to be sneaky?) to determine how great this advantage is.

THE COMBAT FORMULA
First, some background. The manual provides a simplified combat formula to approximate the likely outcome of a combat. This formula states that the total modified attack and defense factors are combined; The probability of victory is approximately the ratio of the unit's factor to the total. In other words,

U / (a + d)

where
U = the unit's modified factor,
a = the attacker's modified attack factor, and
d = the defender's modified defense factor

This approximation has proven insufficient for many Apolytoners. Much debate has resulted in a more detailed formula. First, an explanation of what it entails. For explanatory purposes, a combat is a single round, a battle the cumulative result of all combats.

The attacker and defender each own a portion of the total modified attack and defense values proportional to their value, as the simplified formula, above, expresses. For each combat, a winner is determined by this ratio. In simple terms, the higher modified value is more likely to win a combat. For each combat won, the opponent reduces its hit points by the winner's firepower. This continues until one unit is reduced to zero hit points and is thus destroyed.

Heated discussion of a simplified combat formula led to several ideas being put forth. The one that most closely gives the results of the complex formula is:

Odds = (S + (S - W)) * Shp * Sfp / (W * Whp * Wfp)

where:
S = Stronger unit's modified attack or defense value
W = Weaker unit's modified attack or defense value
Shp = Stronger unit's hit points
Sfp = Stronger unit's firepower
Whp = Weaker unit's hit points
Wfp = Weaker unit's firepower

No playtesting results to test the accuracy of this formula have surfaced.

On to the real calculation...
Each unit gets a randomly generated number from 0 to its modified value minus one, multiplied by a constant. This constant has been best-guessed (based on play testing) to be 8. The unit with the higher random number wins the combat, ties going to the defender.

  • If the defense value is equal to or greater than the attack value, the probability (p) of the attacker winning the combat round is

    p = (A - 1) / 2D

  • If the attack value is greater than the defense value,

    p = 1 - ((D + 1) / 2A)

Where A = (a * 8) and D = (d * 8). The resulting p is the odds of the attacker winning the combat. To calculate the odds of the attacker winning the battle, p is plugged into the equation

P = SUMn(COMB(n-1,dh-1) * (p^dh) * (1-p)^(n-dh))

Where "n" is summed from dh to dh+ah-1.

ah = Attacker's modified hit points
dh = Defender's modified hit points
p = probability for attacker to win combat round
P = probability for attacker to win battle

Note: Modified hit points: An opponent's total hit points are divided by the unit's firepower. Thus an attacker with 2fp halves the defender's total hit points.

Comments:
This formula accounts for damaged units, as the input is the unit's current hit point total.

In layman's terms, P is the sum of the probabilities of the all possible outcomes of the attacker winning; For example, the odds of the attacker winning ten straight combats, plus that of winning ten out of eleven, plus that of winning ten out of twelve, and so on, added together to produce a grand total. The maximum number of rounds is the attacker's and defender's total hit points minus one. Basically, until the winner is left with a single hit point after destroying the loser. The defender's chance is (1 - winner's probability).

For those unable to decipher the above mathematics,
  • An advantage in hit points is slightly more beneficial that an advantage in firepower, other factors being equal.
  • The more total hit points involved in the battle, the more likely the unit with the greater modified value, the stronger unit, in other words, will win.
  • With an even attack to defense ratio, the higher the values, the better the odds for the attacker.


Units with 0 defense can occasionally win because it generates a number between 0 and 0 (0, thus), and the attacker can also end up with a 0. The tie goes to the defender, meaning he wins that combat round. A damaged unit, or one attacking at partial strength (after using part of its movement allowance), can on rare occasions end up on the short end of this possibility.

An Example
Veteran Artillery and Armor units attacking veteran Riflemen behind city walls. The formula stacked up to artillery, but was off slightly with the armor results. Marko Polo tested ten sets of ten attacks with each unit. Other tests to verify this formula, excepting one, have used a minimum of 234 attacks.

Artillery (10a, 1d, 20hp, 2fp) vs. Rifleman (5a, 4d, 20hp, 1fp): The formula predicts 82.5% victories, Marko Polo tests resulted in 79%.

Armor (10a, 5d, 30hp, 1fp) vs. Rifleman (5a, 4d, 20hp, 1fp): The formula predicts 58.2% victories, Marko Polo tests resulted in 44%. This result coincides with the rifleman having a modified defense value of 19 instead of 18, 45.8%. This is the only aberration discovered so far; If someone would verify the results, the formula would need tweaking.
MdS notes: The 58% prediction seems counter-intuitive, as the Rifleman has a stronger defense value, and the high HP total would favor it. I will recalculate to see that the error is not in my math...)

Other tests of Cavalry vs. Armor, Fanatics vs. Musketeer, Fanatics vs. Alpine Troops, Warrior vs. Warrior, Catapult vs. Musketeer, and others all matched the formula closely.


ADDITIONAL CONSIDERATIONS
A city's population is not reduced if the city has city walls and a defender loses a combat.

A sacked city will have its population reduced by one. A size one city will usually be destroyed if sacked. There is unresolved discussion about when size one cities are captured instead of destroyed. See the thread
City Razing Problem for more.

Naval bombardment ignores city walls.

Units that 'Can make amphibious assaults' (Marines) can attack from the sea (a ship), but do not ignore city walls.


WHEN THE DUST SETTLES...
After the battle, the victor is usually damaged. Units can heal as long as they do not move, not even along railroad. They heal at varying rates, depending on their proximity to a friendly city or barracks. Settlers and Engineers, the only units incapable of fortifying, heal while working.

Land Units:
  • 100% of total hit points healed every turn in a city with barracks.
  • 40% of total hit points healed every turn in a non-barrack city
  • 30% of total hit points healed every turn near a city with barracks(i.e. a square 7x7 squares)
  • 20% of total hit points healed every turn near a non-barrack city
  • 10% of total hit points healed every turn on normal square
  • Fortress (3.2b) always adds an extra 10% to the rate (i.e. on a normal square, near a city, or near a city with barracks). A city built on a fortress was not tested.


Naval/Aerial Units:
  • 20%/20% of total hit points healed every turn in a fortress or a city
  • 10%/0% of total hit points healed every turn on normal square
  • 100%/100% of total hit points healed every turn in a city with port facility/airport, respectively.
  • Airbase and barracks have no effect.
  • port facility/airport affects only the city square.



SHORT TIPS AND HINTS
Against 1hp defenders:
  • Even strengths or a defensive advantage strongly favor the defender.
  • Even a slight attack advantage means a much greater possibility of winning the battle.


Against 2hp and 3hp defenders:
  • Even strengths slightly favor the defender.
  • Defensive advantages again heavily favor the defender.
  • Attack strength advantage strongly favors the attacker.
  • A 2hp attacker needs at least a fourth again as much strength as the 3hp defender to have even slightly favorable odds.
  • A 1hp attacker needs better than half again as much strength as the 2hp defender, and more than double the 3hp defender to gain slightly favorable odds.


Defenders in a city have the advantage of maximum defense and healing. Also, only a diplomat or spy can see what units reside in an enemy city.

Stacked defenders are immune to bribery unless adjacent to a city that is bribed.

[This message has been edited by Marquis de Sodaq (edited May 15, 2001).]

Last edited by Marquis de Sodaq on 07-08-2001 at 16:52

Marquis de Sodaq is offline Marquis de Sodaq
King
... no, a Marquis.
Jul 2000
time: 23:12
Post  Old Post 13-04-2001 01:18 Visit Marquis de Sodaq's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

Post 2
-------------------------------------------------------------------

Use this thread to post your comments or insights about combat.

You will post any suggestions :

  • to add new wisdom,
  • to mark/unmark insecure or unsettled wisdom,
  • to put new questions that should be answered,
  • remarks to mistakes or clarifications needed.

I will integrate your suggestions into the main post.
-----------------------------------------------------------------

Please, clear your post if all its problems are solved and integrated into the first post (you must leave at least one letter there).

Help me: if you think I forgot to integrate one of your ideas then edit your post, delete ideas I included already and write LOOK! in the beginning of post.

If my post responding to you (you are named), and you have read it and you think it may be cleared, let me know via personal message. I will clear the response post if there is no useful information for others.

I suggest to mark your posts by numbers (Post 5, Post 6...) for easier reference. Only Ming may delete posts, let's hope he helps...

Go to the Great Library Index
Go to the Great Library Discussion thread
Go to The Great Library: a hierarchical structure

[This message has been edited by Marquis de Sodaq (edited April 24, 2001).]

Marquis de Sodaq is offline Marquis de Sodaq
King
... no, a Marquis.
Jul 2000
time: 23:12
  Old Post 13-04-2001 01:22 Visit Marquis de Sodaq's homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Avatar Enlargement: We've got the solution

Post 3

Credits

The first linked thread, discussing the final formula, should be read if any clarification is needed about how it was found and what it means.

Eggman, Buenos, and Euclid provided the bulk of the math in this process.

The following threads contributed to this topic:

The Civ2 Battle Equation Solution
Defense Multipliers
AI cheats on naval bombardment
The Pikeman's defense
Modifiers for Attack/Defense
What is the difference between firepower and attack points?
Barbarians and level of play
Veteran units... (Healing)
Hit points and firepower
Civfanatics combat odds discussion and testing

Last edited by Marquis de Sodaq on 22-07-2001 at 00:21

Marquis de Sodaq is offline Marquis de Sodaq
King
... no, a Marquis.
Jul 2000
time: 23:12
Post  Old Post 13-04-2001 01:26 Visit Marquis de Sodaq's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Lose 30 kilos (of popups)

Post 4

Keywords
{combat system}
{} {end1}

{combat formula}
{stack}{primary defender}{vet status}{healing}
{walls}{fortress}{coastal fortress}{SAM}{SDI}{fortify}
{city capturing}{attack and reduced population}
{plunder}{pillage}
{attack strength}{defense strength}{hit points}{firepower}
{end2} {Marquis de Sodaq}

[This message has been edited by Marquis de Sodaq (edited April 24, 2001).]

Marko Polo
Guest

Not Yet
time:
  Old Post 16-04-2001 12:21
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Suffering from ads?

Thanks Marquis for your great work of compiling the combat info! It was really needed.

I'm hoping that maybe you could give us an example how to use your formulas. It would be nice to see how my tests with Artillery vs armor correspond with your probability math. I'm sure that giving us an example would greatly increase the common understanding of combat outcomes.

SlowThinker is offline SlowThinker
King
homeless, Praha, Czech Republic
Jan 2000
time: 06:12
Post  Old Post 16-04-2001 15:40 Visit SlowThinker's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Help yourself to an AD-FREE life

Post 12
FreeCiv program code:http://www.freeciv.org/lxr/source/s...ls.c?v=cvs#L517

I suggest to put DaveV's (Modifiers for Attack-Defense) way how to count "adjusted combat factor" (with bonus for a stronger unit): something similar to my example in What is the difference between firepower and attack points? , posted April 10, 2001 14:50.

Last edited by SlowThinker on 04-10-2001 at 03:55

SlowThinker is offline SlowThinker
King
homeless, Praha, Czech Republic
Jan 2000
time: 06:12
Post  Old Post 17-04-2001 09:13 Visit SlowThinker's homepage!
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Put an end to popups!

Post 15 removed
[This message has been edited by SlowThinker (edited May 14, 2001).]

SlowThinker is offline SlowThinker
King
homeless, Praha, Czech Republic
Jan 2000
time: 06:12
Post  Old Post 17-04-2001 22:21 Visit SlowThinker's homepage!
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
removed Support Apolyton buy from Amazon

.

Last edited by SlowThinker on 04-10-2001 at 03:56

SlowThinker is offline SlowThinker
King
homeless, Praha, Czech Republic
Jan 2000
time: 06:12
Post  Old Post 18-04-2001 00:38 Visit SlowThinker's homepage!
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Help yourself to an AD-FREE life

Post 23 removed

Last edited by SlowThinker on 25-06-2001 at 23:13

East Street Trader is offline East Street Trader
Prince
London, United Kingdom
Jun 2000
time: 05:12
Post  Old Post 18-04-2001 18:33
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

Post 25 There is an attack bonus afforded to the unit which makes a sneak attack.

You might incorporate this, perhaps seeking definitive confirmation and a value for the bonus (impiric evidence makes me think it will turn out to enhance the attacker's chances by one third).

Since I posted this SG has asked me for the authority I rely on for the existence of the bonus and I realised that I can't recall where I saw it referred to. Now I have played for some time relying upon it being there and believe I would have noticed if my calculations were being thrown out because it ain't. But still, you don't want duff stuff in here so I'd better open a lab and see what shows up. I've time to do a short test to-night so I'll post again to-morrow.

Well, I opened a thread in Strategy giving the result of my (extemely short) test. It was inconclusive but, I believe, shows that anyone conducting a longer test would be unlikely to be wasting their time. My short test focused on sneak attacks which violated a full peace treaty, not a mere cease fire. I made no attempt to come to any value for the bonus (if confirmed to exist) nor to establish that it is the same value for different units or different pairs of combatants.
[This message has been edited by East Street Trader (edited April 20, 2001).]

SlowThinker is offline SlowThinker
King
homeless, Praha, Czech Republic
Jan 2000
time: 06:12
Post  Old Post 20-04-2001 00:31 Visit SlowThinker's homepage!
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Get a bigger avatar today!

Didn't anybody make a program that counts P? (See THE COMBAT FORMULA
)

airdrik is offline airdrik
Prince
Nampa, ID, USA
Oct 2000
time: 22:12
Post  Old Post 20-04-2001 03:26
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Support Apolyton, buy Civilization 2

Post 27
I've made a program that does this, but it's in PocketC, and unless you have a handheld/pocket WinCE device I can't distribute it. But I did see someone in one of the archive links in post 3 say they had one for download.
[This message has been edited by airdrik (edited April 19, 2001).]

Marquis de Sodaq is offline Marquis de Sodaq
King
... no, a Marquis.
Jul 2000
time: 23:12
Post  Old Post 21-04-2001 20:36 Visit Marquis de Sodaq's homepage!
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Support Apolyton buy from Amazon

Post 29
Why is an advantage in HP better than an advantage in FP?

I now understand the formula well enough to answer this. An increase in HP produces a greater range of values of n to be summed. Because FP is in the denominator of the fraction, its effect is less; Greater HP is all accounted for in the range, half of a greater FP is. The greater range of values means more COMBinations are calculated. COMB values increase at a greater rate than the final exponent ^(n-dh) reduces the total value in our equation. The difference is small, but we are splitting hairs, after all. Clear as mud?
[This message has been edited by Marquis de Sodaq (edited April 21, 2001).]

SlowThinker is offline SlowThinker
King
homeless, Praha, Czech Republic
Jan 2000
time: 06:12
Post  Old Post 22-04-2001 01:28 Visit SlowThinker's homepage!
Edit/Delete Message Reply w/Quote
#14 Report this post to a moderator
Post 30 Help yourself to an AD-FREE life

removed

Last edited by SlowThinker on 05-10-2001 at 23:36

SlowThinker is offline SlowThinker
King
homeless, Praha, Czech Republic
Jan 2000
time: 06:12
Post  Old Post 24-04-2001 00:39 Visit SlowThinker's homepage!
Edit/Delete Message Reply w/Quote
#15 Report this post to a moderator
Post 31 Support Apolyton

pillage?
always 1 turn spent? 1/3 of move points needed? order of pillage...is it possible to be fortified and to perform a pillage?

Edit: I think now that pillage belongs to "units" section better (it is a "special order")



vet status (barracks...), East Street Trader's post (Modifiers for Attack/Defense, posted February 08, 2001 10:50).


The combat formula:
You should add an example how to count "p". See post 12.

But I would modify my example so that HP and FP are not 1:
Artill.(10a,1d, 2h,2f,) attacks Armor(10a,5d, 3h,1f):

Artill.'s battle factor is
( 10 + (10 - 5 "bonus for the stronger unit") - 1/8 "malus for the attacker" ) * 2 (HP) * 2 (FP)
=59 1/2
and Armor's battle factor is
(5 + 1/8 "bonus for the defender") * 3 (HP)
=15 3/8

The artill's chance to win a combat is 59.5/(59.5+15.375)



I would stress a calculation of "p" over "P". "P" may be estimated only.

Last edited by SlowThinker on 05-10-2001 at 23:35

Marquis de Sodaq is offline Marquis de Sodaq
King
... no, a Marquis.
Jul 2000
time: 23:12
Post  Old Post 24-04-2001 07:21 Visit Marquis de Sodaq's homepage!
Edit/Delete Message Reply w/Quote
#16 Report this post to a moderator
Got spare money?

Post 32
ST, your example of an artillery attacking an armor, neither a veteran, favors the artillery about 74% of the time, not the 80% you predict. It is close, however. The artillery should win the battle 99% of the time.

I'll work on adding your other suggestions in the coming days. Thanks for the input.
[This message has been edited by Marquis de Sodaq (edited April 24, 2001).]

SlowThinker is offline SlowThinker
King
homeless, Praha, Czech Republic
Jan 2000
time: 06:12
Post  Old Post 26-04-2001 02:06 Visit SlowThinker's homepage!
Edit/Delete Message Reply w/Quote
#17 Report this post to a moderator
Post 33 Support Apolyton, buy Civilization: The Boardgame

quote:

ST, your example of an artillery attacking an armor, neither a veteran, favors the artillery about 74% of the time, not the 80% you predict. It is close, however.

It is a big difference. There must be an error in my or your computation...How did you get 74%?

Last edited by SlowThinker on 05-10-2001 at 23:30

EOL is offline EOL
Warlord
Oxford
Dec 2000
time: 05:12
Post  Old Post 26-04-2001 05:34
Edit/Delete Message Reply w/Quote
#18 Report this post to a moderator
Got spare money?

Post 34

Being pedantic perhaps but helicopters are air units which can be attacked by ground units (in my experience at least). I don't think this has been mentioned. Also, with the cheat that allows fighter units to end their turn out of cities and airbases, does anyone know if they can be attacked by ground units or does the need for a fighter to attack only apply to bombers?

EOL

Edit: Do fighters/bombers in airbases being overrun by enemy ground units or indeed air units behave as they would do if they were in a city?
[This message has been edited by EOL (edited April 25, 2001).]

Marquis de Sodaq is offline Marquis de Sodaq
King
... no, a Marquis.
Jul 2000
time: 23:12
Post  Old Post 26-04-2001 06:14 Visit Marquis de Sodaq's homepage!
Edit/Delete Message Reply w/Quote
#19 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

EOL, good point about helicopters. I'll have to add the fighter situations to the tests needed. As far as I know, there has been no mention of fighters being caught in airbases in the compiled threads. From experience, I know they can definitely be attacked by naval and land units while stationed - with what bonuses I don't know.

ST, the 74% comes from the calculation of p, which I ran to compare to your formula. I meant "close" from the perspective of the player approximating his odds. 10% is not very close mathematically, of course.

SlowThinker is offline SlowThinker
King
homeless, Praha, Czech Republic
Jan 2000
time: 06:12
Post  Old Post 26-04-2001 13:50 Visit SlowThinker's homepage!
Edit/Delete Message Reply w/Quote
#20 Report this post to a moderator
Avatar Enlargement: We've got the solution

Post 36
74% and 80% must be different:

modified hit points are equal for both units with 80% (in the formula that counts P)
(This is main advantage of Xin Yu's formula: it sets modified hit points equal and so "p" reflects combat odds without a need of "P")

Marquis de Sodaq is offline Marquis de Sodaq
King
... no, a Marquis.
Jul 2000
time: 23:12
Post  Old Post 30-04-2001 22:13 Visit Marquis de Sodaq's homepage!
Edit/Delete Message Reply w/Quote
#21 Report this post to a moderator
Enter the AD-FREE zone

Bump

And a call for testers to iron out the remaining questions about how defensive bonuses apply in special situations. Post 1 has text in italics describing the needed tests.

SilverDragon
Guest

Not Yet
time:
Arrow  Old Post 01-05-2001 04:05
Edit/Delete Message Reply w/Quote
#22 Report this post to a moderator
Tired of ads?

1.7 Can't sea units attack inland land units if theyre in a city?

SilverDragon
Guest

Not Yet
time:
Arrow  Old Post 01-05-2001 04:16
Edit/Delete Message Reply w/Quote
#23 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

quote:

Originally posted by Marquis de Sodaq on 04-12-2001 03:59 PM
Naval/Aerial Units:[list][*]20%/20% of total hit points healed every turn in a fortress or a city


In an airbase or city.
quote:

Originally posted by Marquis de Sodaq on 04-12-2001 03:59 PM
Defenders stacked in a fortress are immune to bribery.


Could be stacked anywhere except a city

Marquis de Sodaq is offline Marquis de Sodaq
King
... no, a Marquis.
Jul 2000
time: 23:12
Post  Old Post 01-05-2001 08:20 Visit Marquis de Sodaq's homepage!
Edit/Delete Message Reply w/Quote
#24 Report this post to a moderator
Got spare money?

Post 40 (continue counting from here...)
Thanks for the clarifications, SilverDragon, they've been incorporated into Post 1.

Thanks, Ming, for deleting the vestigal posts...
[This message has been edited by Marquis de Sodaq (edited May 01, 2001).]

SlowThinker is offline SlowThinker
King
homeless, Praha, Czech Republic
Jan 2000
time: 06:12
Post  Old Post 02-05-2001 03:23 Visit SlowThinker's homepage!
Edit/Delete Message Reply w/Quote
#25 Report this post to a moderator
Suffering from ads?

Post 41

quote:

Originally posted by SilverDragon
In an airbase or city.

It doesn't match my tests:

See Post1:
quote:

Airbase and barracks have no effect.


[This message has been edited by SlowThinker (edited May 01, 2001).]
[This message has been edited by SlowThinker (edited May 14, 2001).]

SlowThinker is offline SlowThinker
King
homeless, Praha, Czech Republic
Jan 2000
time: 06:12
Post  Old Post 09-05-2001 03:01 Visit SlowThinker's homepage!
Edit/Delete Message Reply w/Quote
#26 Report this post to a moderator
Support Apolyton buy from Amazon

Post 42 removed

Last edited by SlowThinker on 04-10-2001 at 03:58

SlowThinker is offline SlowThinker
King
homeless, Praha, Czech Republic
Jan 2000
time: 06:12
Post  Old Post 15-05-2001 09:43 Visit SlowThinker's homepage!
Edit/Delete Message Reply w/Quote
#27 Report this post to a moderator
Post 43 Get a bigger avatar today!

removed

Last edited by SlowThinker on 05-10-2001 at 23:27

EOL is offline EOL
Warlord
Oxford
Dec 2000
time: 05:12
Post  Old Post 18-05-2001 01:36
Edit/Delete Message Reply w/Quote
#28 Report this post to a moderator
Avatar Enlargement: We've got the solution

All this talk of units healing got me wondering if anyone knows how much units heal when they try to enter an allied city. What I mean is that if you try to move one of your units into a city of an ally a pop-up box with "The (enter ally civ name) have helped to repair our (enter unit name)."

EOL

SlowThinker is offline SlowThinker
King
homeless, Praha, Czech Republic
Jan 2000
time: 06:12
Smile  Old Post 20-05-2001 03:10 Visit SlowThinker's homepage!
Edit/Delete Message Reply w/Quote
#29 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

EOL,
Test it.

EOL is offline EOL
Warlord
Oxford
Dec 2000
time: 05:12
Post  Old Post 20-05-2001 18:11
Edit/Delete Message Reply w/Quote
#30 Report this post to a moderator
Suffering from ads?

Maybe in a couple of weeks, I'm trying to get myself a large set of 4000BC saves with lots of start techs at the moment to try and get some pre 1000AD landings .

EOL

 
Pages (2): [ 1   2   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:12.
Apolyton Time is 00:12.
    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.0608 seconds (92.65% PHP - 7.35% 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