Thread Tools
Old January 24, 2001, 03:02   #1
ruoxiaohai
Chieftain
 
Local Time: 22:54
Local Date: October 30, 2010
Join Date: Dec 2000
Location: Arston, Flatulance, FRT
Posts: 48
Modifiers for Attack/Defense
What is the order that they come? I mean, say I have a Vet. Knight in a city w/ city walls on a hill.
Def 2
Vet=*1.5
City walls=*3
Hill=*2, but what order?
If there's any other bonus I've left out feel free to add it in. Thanks.
ruoxiaohai is offline  
Old January 24, 2001, 06:06   #2
Scouse Gits
lifer
Civilization II PBEMTrade Wars / BlackNova TradersGalCiv Apolyton EmpireApolytoners Hall of FameCivilization II Succession Games
Emperor
 
Scouse Gits's Avatar
 
Local Time: 22:54
Local Date: October 30, 2010
Join Date: Nov 1999
Location: Liverpool, United Kingdom
Posts: 6,344
It doesn't matter!

------------------
____________
Scouse Git[1]

"CARTAGO DELENDA EST" - Cato the Censor
"The Great Library must be built!"
"A short cut has to be challenging,
were it not so it would be 'the way'."
- Paul Craven
Scouse Gits is offline  
Old January 24, 2001, 09:15   #3
Albert B
Warlord
 
Albert B's Avatar
 
Local Time: 17:54
Local Date: October 30, 2010
Join Date: Dec 2000
Location: Indianapolis, IN USA
Posts: 118
Correct sir. Since multiplication is associative, 2*1.5*3*2 = 1.5*2*2*3 = 3*2*2*1.5, etc. = 18. I'm so sad I didn't get to it first!
Albert B is offline  
Old January 24, 2001, 09:18   #4
DaveV
Apolytoners Hall of Fame
King
 
DaveV's Avatar
 
Local Time: 18:54
Local Date: October 30, 2010
Join Date: Dec 1969
Location: USA - EDT (GMT-5)
Posts: 2,051
In case you're worried about integer roundoff (in which case the order would matter), all the numbers are multiplied by 8, so roundoff is to the nearest 1/8.

Edit: so a vet fortified pike, defending on a forested river against a crusader (2*1.5*1.5*1.5*1.5*1.5), would, I think, defend at a rounded-off 15.125 instead of 15.1875.
[This message has been edited by DaveV (edited January 24, 2001).]
DaveV is offline  
Old January 24, 2001, 16:56   #5
SilverDragon
Guest
 
Posts: n/a
I always thought the knight would have a defense of 9 because you dont multiply the bonuses by each other. The basic defense is 2. for vet status, you add 1. for being on a hill, you multiply the basic defense by two, but you don't include the 1 from vet status, so you get +2 from the hills. Then you get +4 from the city walls, so his total is 2+1+2+4, which is 9.

------------------
- SilverDragon, scourge of the western skies

Email me at
SilverDragon141@aol.com
 
Old January 24, 2001, 17:50   #6
Sieve Too
Prince
 
Local Time: 22:54
Local Date: October 30, 2010
Join Date: Dec 1969
Location: New Hampshire, USA
Posts: 917
Dave V has it right. All Attack/Defense bonuses are multiplied together, never added. There have been numerous threads and tests on this very topic.
Sieve Too is offline  
Old January 24, 2001, 21:07   #7
granite00
Chieftain
 
granite00's Avatar
 
Local Time: 12:54
Local Date: October 30, 2010
Join Date: Mar 2000
Location: Honolulu, HI
Posts: 64
I agree with SilverDragon. According to Sid Meier's Official Strategy Guide (page 270), the bonuses are added.
granite00 is offline  
Old January 25, 2001, 09:29   #8
DaveV
Apolytoners Hall of Fame
King
 
DaveV's Avatar
 
Local Time: 18:54
Local Date: October 30, 2010
Join Date: Dec 1969
Location: USA - EDT (GMT-5)
Posts: 2,051
The guide is wrong. As Sieve Too said, this has been tested lots of times. It's easy enough to check for yourself: just crank up a couple units in cheat mode. Take my example above: the vet pike would only be 2+1+1+1+1+1 = 7 if you add numbers. Try attacking him with three vet crusaders (5+2.5=7.5) on the same turn - I'll bet you a doughnut they all lose.
DaveV is offline  
Old January 26, 2001, 01:30   #9
ruoxiaohai
Chieftain
 
Local Time: 22:54
Local Date: October 30, 2010
Join Date: Dec 2000
Location: Arston, Flatulance, FRT
Posts: 48
Um....yeah! I knew that multiplication order doesn't count, but I was interested about stuff like pikemen. I guess my example wasn't very good.
And how do easier difficulty levels affect the combat outcomes?
ruoxiaohai is offline  
Old January 26, 2001, 04:30   #10
Chainsaw
Warlord
 
Local Time: 22:54
Local Date: October 30, 2010
Join Date: Apr 2000
Location: Ratingen, Germany
Posts: 100
I`ve never been able to understand what kind of effect hitpoints and firepower have. How about modern units fighting obsolete ones? Does this affect attack/defense strength or HP/FP?
Chainsaw is offline  
Old January 26, 2001, 05:32   #11
Marko_Polo
Guest
 
Posts: n/a
quote:

Originally posted by DaveV on 01-25-2001 08:29 AM
The guide is wrong. As Sieve Too said, this has been tested lots of times. It's easy enough to check for yourself: just crank up a couple units in cheat mode. Take my example above: the vet pike would only be 2+1+1+1+1+1 = 7 if you add numbers. Try attacking him with three vet crusaders (5+2.5=7.5) on the same turn - I'll bet you a doughnut they all lose.


If I remember right the pikeman has a defend advantage against attackers on horse, so this example isn't very good..

 
Old January 26, 2001, 09:06   #12
DaveV
Apolytoners Hall of Fame
King
 
DaveV's Avatar
 
Local Time: 18:54
Local Date: October 30, 2010
Join Date: Dec 1969
Location: USA - EDT (GMT-5)
Posts: 2,051
Marko Polo - the pike advantage is a 50% bonus against units with one hitpoint and a movement of two. So one of the +1 or *1.5 modifiers accounts for that.

Chainsaw - there's no intrinsic advantage for modern units versus ancient; catapults can kill musketeers although the musketeers are a more modern unit. Hitpoints determine how hard a unit is to kill; firepower determines how much damage a unit does when it hits. A rough approximation in comparing strengths is to compare attack*hp*fp for the attacker against defense*hp*fp for the defender.
DaveV is offline  
Old January 27, 2001, 02:33   #13
ruoxiaohai
Chieftain
 
Local Time: 22:54
Local Date: October 30, 2010
Join Date: Dec 2000
Location: Arston, Flatulance, FRT
Posts: 48
Well, if you guys want to be anal, the pikemen ONLY get defensive advantages for unit numbers 16 to 21, I think. Either that or 22, I've never tried pike vs. Calvalry, but that's the way it goes. Also, many scenario designers have found that special unit "places" have advantages. Yeah, so how does difficulty level (chieftan-deity) affect the chances of winning?
ruoxiaohai is offline  
Old January 27, 2001, 07:12   #14
SlowThinker
GameLeagueApolytoners Hall of Fame
King
 
SlowThinker's Avatar
 
Local Time: 00:54
Local Date: October 31, 2010
Join Date: Jan 2000
Location: homeless, Praha, Czech Republic
Posts: 2,603
Subject: hit points and firepower are superfluous

BTW, I think the statement in the subject is valid. Two numbers would suit the purpose.

A,D,H,F are attack, defense, hit points and firepower.
In fact, you need to know A*F*H and D*F*H. You may imagine that
A*F*H replaces A and
D*F*H replaces D and
H, F are set to 1.

H/F lowers accidental behaviour of units only (H lowers it and F raises it).

It is my opinion only, I never discussed it, there may be some mistake in my thoughts.
[This message has been edited by SlowThinker (edited January 29, 2001).]
SlowThinker is offline  
Old January 29, 2001, 11:06   #15
DaveV
Apolytoners Hall of Fame
King
 
DaveV's Avatar
 
Local Time: 18:54
Local Date: October 30, 2010
Join Date: Dec 1969
Location: USA - EDT (GMT-5)
Posts: 2,051
ruoxiaohai - barb attack factors are altered based on difficulty level, from 25% at chieftan to 150% at deity. I also have read that city defenders receive a 100% bonus at chieftan level.

SlowThinker - I'm not sure I understand what you're saying. FP does make a difference for defenders, and HP for attackers. I agree that raising FP increases randomness, and raising HP decreases it.
DaveV is offline  
Old January 29, 2001, 11:39   #16
Sieve Too
Prince
 
Local Time: 22:54
Local Date: October 30, 2010
Join Date: Dec 1969
Location: New Hampshire, USA
Posts: 917
quote:

Originally posted by ruoxiaohai on 01-27-2001 01:33 AM
Well, if you guys want to be anal, the pikemen ONLY get defensive advantages for unit numbers 16 to 21, I think.


Not too sure of this. If you leave both the Pikeman and, say, Knight in their respective slots, but increase their HP, the Pikeman loses the 50% defense multiplier.

quote:

Also, many scenario designers have found that special unit "places" have advantages.


There are a number of these: Only a unit with the settling role in the Engineer slot works at double speed. Only a unit with the diplomacy role in the Spy slot, has the Spy's extra abilities. Same thing for Freight. Only the Partisan slot gives the extra attack strength vs 0 attack defenders. Only the Fanatics slot is a unit that can only be built under Fundamentalism. There's more.

Sieve Too is offline  
Old January 29, 2001, 15:31   #17
SlowThinker
GameLeagueApolytoners Hall of Fame
King
 
SlowThinker's Avatar
 
Local Time: 00:54
Local Date: October 31, 2010
Join Date: Jan 2000
Location: homeless, Praha, Czech Republic
Posts: 2,603
I am not sure if I have understood:

Mech. Inf. has 0,1,2...6 on his die (7 sides).
Artillery has 0,1 on his die (2 sides).

Is it OK?
(I thought there is just one 7-sided die, 6 sides own Mech. Inf., 1 side Artil.)
SlowThinker is offline  
Old January 29, 2001, 16:26   #18
DaveV
Apolytoners Hall of Fame
King
 
DaveV's Avatar
 
Local Time: 18:54
Local Date: October 30, 2010
Join Date: Dec 1969
Location: USA - EDT (GMT-5)
Posts: 2,051
As I understand it, the Mech. Infantry has a 48-sided die (0,1,...,47), while the artillery has an 8-sided die (0,1,...,7).

Here is a link to a thread detailing some calculations and experiments: http://apolyton.net/forums/Archives/...-1-000624.html
DaveV is offline  
Old January 29, 2001, 17:01   #19
Scouse Gits
lifer
Civilization II PBEMTrade Wars / BlackNova TradersGalCiv Apolyton EmpireApolytoners Hall of FameCivilization II Succession Games
Emperor
 
Scouse Gits's Avatar
 
Local Time: 22:54
Local Date: October 30, 2010
Join Date: Nov 1999
Location: Liverpool, United Kingdom
Posts: 6,344
... and in the event of a draw the defender wins - thus a zero defence unit such as a barb king or diplo can (very) occasionally defeat an attacker.

------------------
____________
Scouse Git[1]

"CARTAGO DELENDA EST" - Cato the Censor
"The Great Library must be built!"
"A short cut has to be challenging,
were it not so it would be 'the way'."
- Paul Craven
Scouse Gits is offline  
Old January 29, 2001, 20:03   #20
SlowThinker
GameLeagueApolytoners Hall of Fame
King
 
SlowThinker's Avatar
 
Local Time: 00:54
Local Date: October 31, 2010
Join Date: Jan 2000
Location: homeless, Praha, Czech Republic
Posts: 2,603
Combat system I have read that thread quickly.

I hope I have understood it:
On defender's die
Nr. of attacker's wins
Nr. of defender's wins
0
47
1
1
46
2
2
45
3
...
*... *
6 41 7
7 40 8
Total:
(40+47)*8/2
(1+8)*8/2


Generally:
Suppose m=max(a,d), n=min(a,d). Then wins are distributed among both units following way: *
Attacker's wins (AW) Defender's wins (DW) Total number of attacks
a>=d m-n/2-1/16 n/2+1/16 m
a<=d n/2-1/16 m-n/2+1/16 m

*
In our example:* Artillery wins 1/2+1/16, Mech. Inf. wins 5 1/2-1/16.


(Edited: DaveV multiply these numbers by two: it looks more functional:
Artillery wins 1+1/8, Mech. Inf. wins 11-1/8;
11=6+5, 5 is the "bonus" for the stronger unit)


quote:

Originally posted by DaveV on 01-29-2001 12:33 PM
With the default numbers: the odds of mech. infantry winning each round are 11/12 (6 + 5 bonus vs. 1).*

DaveV disregards sixteenths: Mech. Inf. wins 1 (or 1/2), Artillery wins 11 (or 5 1/2).

We can multiply theses numbers* (AW and DW) by both relevant firepower and hit pointsand obtain two numbers representing the ratio how to divide wins among both units.


Using other words, we always use all the product f*h.* Single f and h factors are not interesting (they affect accidental behaviour of units only).
*
In our example:*
Artillery wins (1/2+1/16)*4=2.25, Mech. Inf. wins (5 1/2-1/16.)*3=16.31
average outcome: Mech. Inf. holds 86% of hit points (0.86=1-2.25/16.31), Artillery is dying


Am I right?
[This message has been edited by SlowThinker (edited January 30, 2001).]
[This message has been edited by SlowThinker (edited April 10, 2001).]
SlowThinker is offline  
Old January 30, 2001, 01:14   #21
SlowThinker
GameLeagueApolytoners Hall of Fame
King
 
SlowThinker's Avatar
 
Local Time: 00:54
Local Date: October 31, 2010
Join Date: Jan 2000
Location: homeless, Praha, Czech Republic
Posts: 2,603
quote:

Originally posted by DaveV on 01-29-2001 10:06 AM
SlowThinker - I'm not sure I understand what you're saying. FP does make a difference for defenders, and HP for attackers.

I am sorry, there was a mistake in my last post. Look there again, I made a correction now (it is bold).

I will present an example:
Artillery fights with Mech. Inf.

1. Civ2 offers four constants (a,d,h,f) for every unit:
Artillery (10a,1d, 2h,2f)
Mech. Inf. (6a,6d, 3h,1f)

2. You may translate theses four constants into two constants only (you may suppose h=1 and f=1 then):
Artillery (40a,4d)
40=10a*2h*2f; 4=1d*2h*2f
Mech. Inf. (18a,18d)

Suppose Mech. Inf. attacks Artillery : you can provide the standard deduction: Mech. Inf. will win 18 of 22 (=18a+4d) "internal" battles. It means that average outcome is: Artillery is dead, Mech. Inf. has 81,8% (18/22) hit points remaining.
SlowThinker is offline  
Old January 30, 2001, 01:33   #22
DaveV
Apolytoners Hall of Fame
King
 
DaveV's Avatar
 
Local Time: 18:54
Local Date: October 30, 2010
Join Date: Dec 1969
Location: USA - EDT (GMT-5)
Posts: 2,051
SlowThinker - I used to think exactly the same thing, but I've been convinced by others' testing (and my own) that there are differences between the various numbers. The combat odds are based on each side rolling an n-sided die, which results in a bonus to the stronger unit. So, to reconsider your example:

With the default numbers: the odds of mech. infantry winning each round are 11/12 (6 + 5 bonus vs. 1). Mech infantry needs to win 20 rounds, so will probably take 2 hits = 4 hitpoints.

With "unified" numbers: the odds of mech. infantry winning a round are 8/9 ( 18 + 14 bonus vs. 4). Mech infantry needs to win 10 rounds, so will probably take 1 hit = 1 hitpoint.
DaveV is offline  
Old January 30, 2001, 06:56   #23
SlowThinker
GameLeagueApolytoners Hall of Fame
King
 
SlowThinker's Avatar
 
Local Time: 00:54
Local Date: October 31, 2010
Join Date: Jan 2000
Location: homeless, Praha, Czech Republic
Posts: 2,603
Sorry, my last post is indigested. I am rebuilding it now.
SlowThinker is offline  
Old January 30, 2001, 09:12   #24
SlowThinker
GameLeagueApolytoners Hall of Fame
King
 
SlowThinker's Avatar
 
Local Time: 00:54
Local Date: October 31, 2010
Join Date: Jan 2000
Location: homeless, Praha, Czech Republic
Posts: 2,603
I have rebuilt the post now.
SlowThinker is offline  
Old January 30, 2001, 09:39   #25
DaveV
Apolytoners Hall of Fame
King
 
DaveV's Avatar
 
Local Time: 18:54
Local Date: October 30, 2010
Join Date: Dec 1969
Location: USA - EDT (GMT-5)
Posts: 2,051
quote:

Originally posted by SlowThinker on 01-29-2001 07:03 PM
DaveV disregards sixteenths: Mech. Inf. wins 1 (or 1/2), Artillery wins 11 (or 5 1/2).


Yes, sorry, this was an approximation that overstates the attacker's strength. It provides a rough estimate of relative strengths without having to compute fractions. I use this formula in games so I don't continually have to resort to my calculator.

quote:

Originally posted by SlowThinker on 01-29-2001 07:03 PM
Am I right?


I think so!
DaveV is offline  
Old January 30, 2001, 10:12   #26
SlowThinker
GameLeagueApolytoners Hall of Fame
King
 
SlowThinker's Avatar
 
Local Time: 00:54
Local Date: October 31, 2010
Join Date: Jan 2000
Location: homeless, Praha, Czech Republic
Posts: 2,603
This bad explanation lies somewhere on Apolyton:
quote:

"FIRE!" Making War in Civilization II by Marc Fisher
The actual equation used to resolve each combat round is:
__a__
(a+d)
where: a = attacker's attack rating
d = defender's defense rating

The result is a fractional number (percentage). A random number is
generated, and if the result is less than the percentage, the defender
loses hit points equal to the attacker's firepower rating. The reverse
happens if the random number is higher - the defender's firepower rating
is subtracted from the attacker's hit point rating


I trusted to that...
[This message has been edited by SlowThinker (edited January 30, 2001).]
SlowThinker is offline  
Old January 30, 2001, 10:28   #27
DaveV
Apolytoners Hall of Fame
King
 
DaveV's Avatar
 
Local Time: 18:54
Local Date: October 30, 2010
Join Date: Dec 1969
Location: USA - EDT (GMT-5)
Posts: 2,051
Oops, after further thought I have to disagree with your "expected result" calculation. The question is, how much damage do we expect the mech infantry to sustain while destroying the artillery? I think the answer is a straight ratio of the combat strengths:

mech infantry damage/artillery damage = 16.31/2.25

artillery damage = 100%; mech infantry damage = 2.25 / 16.31 = 14%; so I expect the mech infantry to survive with 86% of hitpoints. A small difference, I know...
DaveV is offline  
Old January 30, 2001, 11:43   #28
SlowThinker
GameLeagueApolytoners Hall of Fame
King
 
SlowThinker's Avatar
 
Local Time: 00:54
Local Date: October 31, 2010
Join Date: Jan 2000
Location: homeless, Praha, Czech Republic
Posts: 2,603
Of course, it was my mistake. A big difference in a general case.
I corrected it, somebody may consider that post useful.

Note:
If we disregard sixteenths, then weaker unit makes 1/(2*m/n-1) of damage.
For large ratio m/n, weaker unit looses a half of his power ("-1" in the expression looses his significance).

SlowThinker is offline  
Old January 30, 2001, 15:09   #29
SlowThinker
GameLeagueApolytoners Hall of Fame
King
 
SlowThinker's Avatar
 
Local Time: 00:54
Local Date: October 31, 2010
Join Date: Jan 2000
Location: homeless, Praha, Czech Republic
Posts: 2,603
I have a presentiment that attacker has a 50% chance to get vet status, defender has a 100% chance.

Is it OK?
SlowThinker is offline  
Old January 30, 2001, 19:37   #30
Scouse Gits
lifer
Civilization II PBEMTrade Wars / BlackNova TradersGalCiv Apolyton EmpireApolytoners Hall of FameCivilization II Succession Games
Emperor
 
Scouse Gits's Avatar
 
Local Time: 22:54
Local Date: October 30, 2010
Join Date: Nov 1999
Location: Liverpool, United Kingdom
Posts: 6,344
SlowThinker - I concur tests I have made would tend to suggest that the attacker will win vet status (without Sun Tzu) 50% of the time - I do not have any stats for the defender


------------------
____________
Scouse Git[1]

"CARTAGO DELENDA EST" - Cato the Censor
"The Great Library must be built!"
"A short cut has to be challenging,
were it not so it would be 'the way'."
- Paul Craven
Scouse Gits 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 18:54.


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