 |
|
|

------------------
CASE CLOSED!
|
|
|  |
 |
|
|
Yeah I'm talking about attack points versus firepower. There's a thread on the strat section which compares artillery and armor which prompted my inquiry. Thanks for explaining.
------------------
CASE CLOSED!
|
|
|  |
 |
|  |
 |
|  |
 |
|
East Street Trader
|
 |
London, United Kingdom
Jun 2000 time: 05:12
|
|
Thanks, Smash, that's the closest I've got to understanding the way combat works.
But I'm still not really there.
Attacks by cruise missiles and nukes must be a special case as I take it that there are no "rounds". They hit once and either destroy the target, or leave it alive but damaged.
But exactly what goes on in the rounds which make up unit to unit battles? I take it that in round one, the attacker attacks with his attack points, hitting once or more depending on his fire power. Presumably the defender just defends at first, either suffering damage or not depending on defence points and luck. But attackers suffer damage so, I take it, the defending unit gets a chance to strike back. Are the roles then reversed so that the defender's hit points and fire power become relevant, and the attackers defence points?
If that is right I wonder whether the earlier rounds have the effect of eroding the values - i.e. does the damage sustained in round one reduce the hit points/firepower and defence points in subsequent rounds?
Also how does the defence bonus from terrain work? Does each unit get the defence bonus of the terrain upon which they are standing - so that an attacker attacking from mountains will suffer less damage when the defending unit hits back?
An observation which intrigues me is the splendidly sudden way that a weak unit goes out against the ironclad. If the ironclad attacks, say an entrenched musketeer, then the "rounds" are visible as usual. But if it tackles something weaker, say a phallanx out in the open, then one minute the phallanx is there, the next "pouf" it is not. Seemingly no rounds (although the ironclad may emerge with a smidgeon of damage).
|
|
|  |
 |
|
Marquis de Sodaq
|
 |
... no, a Marquis.
Jul 2000 time: 23:12
|
|
Okay, kids, this was hashed over about a month or so ago. Instead of finding the thread, I'll save time and summarize briefly.
HP - the amount of damage a unit can take before being killed
FP - the amount of damage a unit can give with each hit
In combat, attack strength is figured vs. defense strength plus modifications (terrain, walls, etc). This creates a ratio for determining who wins a particular combat (lands a punch). The fire power determines the strength of each successful punch. The hit points determine how many punches can be taken. Punches are thrown until one unit is out of hit points.
For example, a settler and a warrior are identical (defensively), but the settler is twice as difficult to kill because he has 2 hit points. To clarify, the settler is as difficult to kill as two warriors in succession. Visualize this by imagining hit points as sets of ten points each, and fire power as sets of one point each. A 3fp punch knocks a 2hp unit down to 17, then 14, ... on down to 2 and death. If attack strength gets figured in, I don't know how.
A nuke only needs a fp of 1 because it has a special attack value of 99. IIRC, any unit with attack of 99 results in a nuclear explosion. Try this by changing a warrior from 1/1 to 99/1. Use it to kill somebody, then send in the engineers to clean up the mess. Unless this changed in MGE (I tinkered with it in an earlier version), the attack of 99 triggered the nuke explosion, the pollution, and the nuke sound effect. Presumably also the SDI affect, but I don't remember ever trying the plutonium warrior against an SDI city. Somebody test and report back! A cruise missile is just a very powerful one or two punch unit.
------------------
"There is no fortress impregnable to an ass laden with gold."
-Philip of Macedon
[This message has been edited by Marquis de Sodaq (edited April 09, 2001).]
|
|
|  |
 |
|  |
 |
|
SlowThinker
|
|
homeless, Praha, Czech Republic
Jan 2000 time: 06:12
|
|
finbar,
do you want to say that triremes rotate in winning periodically if reloading?
That is A, B, A, B, A, B...
No fortuity?
|
|
|  |
 |
|
finbar
|
 |
Castiglion Fiorentino, Italy
Jan 1970 time: 06:12
|
|
quote:

Originally posted by SlowThinker on 04-09-2001 08:23 PM
finbar,
do you want to say that triremes rotate in winning periodically if reloading?
That is A, B, A, B, A, B...
No fortuity?
 |
I'm just wondering what causes the difference, ST. Is there room for fortuitousness in this kind of computer software?
------------------
Founder, ACS Pedantry Institute
Founder, ACS Gourmet Recipe Exchange
Horse and Hydey Wrangler
Mono Rules!
#33984591
|
|
|  |
 |
|
Rufus T. Firefly
|
 |
is one way of saying it, though I prefer "mensch"
Sep 2000 time: 07:12
|
|
If I remember the earlier discussion (the one the Marquis alludes to) correctly, it was suggested that the true strength in combat should be measured by multiplying together Attack Strength and Fire Power for the attacker, Defense Strength and Hit Points for the defender. Thus, the settler has a de facto defense of 2 (1DSx2HP) while the warrior has a de facto attack of 1 (1DSx1FP). Hence, in general, it should take at least two warriors attacking in succession to kill a settler, and even then they only have a 50-50 chance. I also supect that nukes are a special case, since by this formula a vet mech. infantry fortified on a mountain in a city with SAM should be able to withstand a nuclear strike (6DS x 3HP x 1.5vet x 3mountain x 1.5fortified x 2sam battery = 243) -- unless SAM's don't protect against nukes and terrain doesn't matter against air attacks; in that case total defense is only 40 (rounded down). Is that correct?
------------------
Dig trenches, with our men being killed off like flies? There isn't time to dig trenches. We'll have to buy them ready made. Here, run out and get some trenches.
-- Rufus T. Firefly, the original rush-builder
[This message has been edited by Rufus T. Firefly (edited April 10, 2001).]
|
|
|  |
 |
|
Thue
|
|
Copenhagen, Denmark
Jan 1970 time: 06:12
|
|
Here is how combat is calculated in freeciv. That should be civ 2 compatible: http://www.freeciv.org/lxr/source/s...ls.c?v=cvs#L517
WOuldn't it be nicer to not have firepower? Couldn't about the same result be reached by increasing the attack rating of the unit? That would make everything simpler, yet not really limit you.
Hasn't ctp and SMAC done away with the firepower?
|
|
|  |
 |
|
East Street Trader
|
 |
London, United Kingdom
Jun 2000 time: 05:12
|
|
Trireme to trireme is the combat I hate most. Mainly, I suppose because early on the trireme itself represents a hefty investment and all the more so if it has caravans on board. Not only are a whole load of shields at stake but also the time and effort of getting them to where they are and the prospective benefit their arrival will bring.
But also because I'm sure I lose more than my fair share (a view held by every one of us I confidently predict ).
Anyway, for a time I thought there was an edge to the attacker, then the defender, then I agreed with myself that it was in the lap of the Gods but the A1 probably had some edge or other.
For the time being I'll act on Slow Thinker's tip and say that the defender has a small edge (when I don't go for the Lighthouse, that is).
Can I just see if I've now got the overall picture? If I did the necessary arithmtic I could work out four things about a round. The chance for each of the two units to win that round; the damage which the defender will suffer if he loses; and the damage the attacker will suffer if he loses (or is the damage to the loser of the round the same for both?). Damage accumulates until the first one to run out of points hits the canvas. The victor is left standing with whatever damage he accumulated, round by round, before the knock out.
I'm no closer to understanding the "pouf" aspect to many ironclad's victories but maybe if I did the arithmetic (and compared the arithmetic to that produced in other combats) the numbers would tell a story.
By the way, gave up on a game last night. I was trying a new strat and it was going really well (well enough to keep me at the machine until the early hours happily micromanaging every city every turn). A neighbour had sent a phalanx and a chariot to sit in woods next to one of my plump heartland cities. They did not attack. I manoevred a catapult to the city, demanded their withdrawal and got a declaration of war. Smugly I attacked with the catapult, no doubt about the outcome in my head. With horror I saw my catapult creamed. But at least the bastard defending phalanx had been rendered vulnerable so with an angry, "I'll teach you" I attacked with one of my two defenders - only to see the undamaged chariot come out of the stack and successfully defend. Now in a fury I threw my second defender at the bastards but he hardly added to the chariots wounds. And there I sat contemplating the undefended city. Fury unabated I smashed down on the retire key and went to bed - there to contemplate the certainty of a cat victory had I just sneak attacked; the fact that it would have taken little energy to take a second cat along, just for insurance; just how easy it would have been to keep the neighbour sweet. And, fury abated, just how short a time it would have taken to accumulate the cash to bribe the city back. 
|
|
|  |
 |
|
SlowThinker
|
|
homeless, Praha, Czech Republic
Jan 2000 time: 06:12
|
|
quote:

Originally posted by Rufus T. Firefly
it was suggested that the true strength in combat should be measured by multiplying together Attack Strength and Fire Power for the attacker, Defense Strength and Hit Points for the defender.
 |
quote:

Originally posted by Thue
WOuldn't it be nicer to not have firepower? Couldn't about the same result be reached by increasing the attack rating of the unit?
 |
IMHO Rufus T. Firefly, Thue and the FreeCiv algorithm are not right. See http://www.apolyton.net/forums/Forum1/HTML/001761.html (Modifiers for Attack/Defense), start reading by my post (posted January 27, 2001 06:12).
BTW, IMHO the product
"hit points" * "firepower"
affects the result of the combat
and the quotient
"hit points" / "firepower"
lowers accidental behaviour of units.
I think there are another mistakes in the freeciv program:
quote:

380 after a battle this routine is called to decide whether or not the unit
381 should become a veteran, if unit isn't already.
382 there is a 50/50% chance for it to happend, (100% if player got SUNTZU)
 |
IMHO 50/50% is not true for defender, see East Street Trader's post (Modifiers for Attack/Defense, posted February 08, 2001 10:50).
Thue, how do you share the knowledge about Civ for the need of FreeCiv? You should have some "Great Library"...
Don't you hide it from us?
|
|
|  |
 |
|
Thue
|
|
Copenhagen, Denmark
Jan 1970 time: 06:12
|
|
SlowThinker: The fact that combats gets less random with a higher "hit points" / "firepower" quotient needs not be explicitly build in. You can statistically prove that taking the average of many event will lie close to the mean value with a greater probability. So no error there.
The place to discuss freeciv code is on freeciv-dev@freeciv.org
|
|
|  |
 |
|
|
After all these discussions I simply can't resist the temptation anymore. This thread is filling up with all kinds of wild theories which we don't need because we are told the facts.
OK folks, ready to be reformed regarding how combats are resolved under this game? Then have a look in the official Civ2 manual! 
---------------------------------------------------------------------------
Civ2 manual page 105:
CALCULATING THE WINNER
Combat in Civilization II is essentially like a rapid-fire boxing match. Units fight one-on-one in rounds, with damage equal to the firepower of the winner being subtracted from the hit points of the loser of each round. When one unit loses all its hit points, it is destroyed. If the loser is defending a stack of units and they are not inside a Fortress or a city, the whole stack is destroyed.
The important factors in combat are the attack and defense strengths of the
combatants as well as their hit points and firepower; the presence of veteran units on either side; the terrain occupied by the defender; and any defensive improvements in the square. In addition to considering all of these factors, combat also includes an element of chance. Imagine that sometimes, a unit just gets lucky. We don’t want to drag you through lots of heavy arithmetic for each combination of factors, but the calculations for each round of combat can be boiled down to a simple comparison.
The total modified attack and defense factors are combined and the probability of either side winning is approximately the ratio of each side’s factor compared to this total. For example, if an Elephant (attack factor 4) attacks a Phalanx (defense factor 2), the total of the factors is 6 (4 + 2). The Elephant has about a 66 percent chance of winning (4 out of 6) and the Phalanx about a 33 percent chance (2 out of 6).
Both the Elephant and the Phalanx have ten hit points and a firepower of one, so the battle goes between ten and nineteen rounds, until one or the other unit is reduced to zero hit points. It is possible for one opponent to win every round and take no damage at all, and it is possible for the opponents to trade damage for damage until even the eventual winner is badly beaten up. Most combats fall somewhere in the middle.
ADDING IN ADJUSTMENTS
How do those adjustments for veteran status and terrain and so on work? They’re added into each factor they affect before the total is determined. For instance, if both units are veterans, each gets a 50 percent bonus to attack and defense, giving the Elephant an attack factor of 6 (4 + 2) and the Phalanx a defense factor of 3 (2 + 1). Of course, modifying each unit’s factors also changes the total: Instead of 6, it is 9 (the total of each modified factor, 6 + 3). Now the odds are close to 6 out of 9 for the Elephant and about 3 out of 9 for the Phalanx.
If both are veterans and the Phalanx is behind City Walls (which triples a unit’s defense factor, making the veteran Phalanx a 9), the odds are about 6 out of 15 for the Elephant and close to 9 out of 15 for the Phalanx. Though the adjustments change the odds of each unit winning a single round, they have no affect on the total number of rounds or on the amount of damage inflicted.
[This message has been edited by Marko Polo (edited April 10, 2001).]
|
|
|  |
 |
|  |
 |
|
SlowThinker
|
|
homeless, Praha, Czech Republic
Jan 2000 time: 06:12
|
|
See the "Modifiers for Attack/Defense" forum, link is in my post here (posted April 10, 2001 09:48)
{combat formula}
{}{SlowThinker}{end2}
------------------------------
This is a post with keywords. See a thread The Great Library: a hierarchical structure" thread.
[This message has been edited by SlowThinker (edited April 15, 2001).]
|
|
|  |
 |
|
Marquis de Sodaq
|
 |
... no, a Marquis.
Jul 2000 time: 23:12
|
|
quote:

Originally posted by Marko Polo on 04-10-2001 01:08 PM
This thread is filling up with all kinds of wild theories which we don't need because we are told the facts.
OK folks, ready to be reformed regarding how combats are resolved under this game? Then have a look in the official Civ2 manual!
 |
HEAR YE! Yes, this thread and others are filling up with wild theories, speculation, and propogation of previously debunked hooey! See my notice of the impending Great Library posting of Combat Modifiers in the Strategy forum - I've been condensing threads into GL-usable entries - the topics of defense modifiers, hit points, and firepower are all going to be included. Condensing is the right word, too. Out of literally hundreds of posts, enough final info is available to fill a page or two.
To quote the often-proven-inaccurate manual, "We don’t want to drag you through lots of heavy arithmetic for each combination of factors, but the calculations for each round of combat can be boiled down to a simple comparison." In other words, the formula they give is a SIMPLIFIED VERSION, not the actual one used! Yet that is what people seem to be striving for in all these threads.
There, I've vented. This thread's topic has been resolved before, you'll see it soon in the GL...
|
|
|  |
 |
|  |
All times are GMT. The time now is 05:12. Apolyton Time is 00:12. |
top of page
|
| archivepost |
|
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
|
|
|
|
|
|