 |
|  |
 |
|
ivanbuto
|
|
I understand the general idea behind the armor and strength, but how exactly does this work?
Strength is the same thing as firepower, right? But armor and hit points are different. What is the difference?
Maybe a specific, very simple example. Say an two archers attack a hoplite (all units 100% healed). So as I understand it first there will be a ranged shot from the archer in the second row. He has ranged strength 20, the defending hoplite has defense 15. The hit points are set at 10 for all units (why?). The archer has firepower 1, and the hoplite has an armor of 1. So what happens, how much do we subtract from the hitpoints of the hoplite? How would this be differenct if firepower or armor were altered for the respective units?
Next, the archer in the front row battles with the hoplite. As has been pointed out, there is an attack-defense in both directions.
So my overall question is I guess how exactly one puts firepower and armor into the equation with attack and defense ratings?
Thanks for any help.
Ivan
|
|
|  |
 |
|  |
 |
|
Maquiladora
|
|
Okay ill have a crack.
quote: Armour: The armour rating indicates the unit's ability to withstand a successful attack. The higher the rating, the less damage a unit takes when hit. |
Thats taken directly from the manual, a very powerful stat obviously. Strength is the same as the old firepower yeah, its even called firepower in units.txt.
Hit points are basically the green bar above every unit and these are taken down in attacks by the corresponding strength(firepower) rating of the attacker. It also depends what armour rating the defender has and whether the defender has bonuses of city walls terrain blah blah.
In your example lets say the hoplite is stood on open grassland, unfortified, no tile improvements and the 2 archers attack him from the same open grassland etc.
One archer moves to the back because thats where ranged units go when they have someone to defend for them directly in front, the other archer defends and assaults on the front line. First the archers attack, one attacks with ranged strength of 20 from the back, the other attacks with attack(or front line assualt) rating of 10, because hes on the front row, both have 1 strength(firepower). The hoplite defends with 15 defence and armour 1.
The combined archers attack is 30 vs 15 defence for the hoplite. The chance of the archers successfully hitting is twice as much as the hoplite defending it. The archers also attack with a total of 2 strength, because each archer has 1 strength(firepower). The archers hit and cause 2 HP damage. The hoplite now has 8hp.
Now the hoplite attacks the archer on the front line. Hoplite has 10 attack vs 10 defence for the archer. The archer at the back just shouts abuse. Hoplite also has 1 strength and the archer has 1 armour. The hoplite has roughly (and often randomly) around a 50% chance of hitting the archer, and the archer has the other 50% of defending it, doh. The hoplite may or may not do damage.
The battle wages and the archers win obviously. The front row archer has about 5hp left out of 10hp (on average) and the hoplite is dead.
Someone correct me if im wrong, because its not unlikely.
|
|
|  |
 |
|
ivanbuto
|
|
So if, in the above example, the hoplite had armor 3 instead of 1, how exactly would that affect things? At what point exactly would we factor this in?
Thanks,
Ivan
|
|
|  |
 |
|
ivanbuto
|
|
Thanks. So the idea is that the damage done to a unit based on successful hit will be the firepower of the units(s) who do the damage divided by the armor of the unit who suffers the damage, and this amount (rounded in some way perhaps) will be subtracted from the unit's HP. Is this correct?
Another question I have is that for example if an archer attacks a hoplite, since the firepower and armor are 1 for both, whereas they both have 10 hit points, we should see at least 10 hits if one unit is to be destroyed. Yet we see less in the battle view. So is the battle view just sort of an abbreviated version of what really goes on?
Ivan
|
|
|  |
 |
|
Maquiladora
|
|
quote: Originally posted by ivanbuto
Thanks. So the idea is that the damage done to a unit based on successful hit will be the firepower of the units(s) who do the damage divided by the armor of the unit who suffers the damage, and this amount (rounded in some way perhaps) will be subtracted from the unit's HP. Is this correct? |
As i understand it, and the way i think of it. Maybe someone has a different idea...
quote: Another question I have is that for example if an archer attacks a hoplite, since the firepower and armor are 1 for both, whereas they both have 10 hit points, we should see at least 10 hits if one unit is to be destroyed. Yet we see less in the battle view. So is the battle view just sort of an abbreviated version of what really goes on? |
Ive wondered this before too, and it must be shortened in some way. Even when you add 100 hit points for each unit, the battle will be long, but not nearly enough to show every round. Basically the [Archer attacking/Hoplite defending] and the [Hoplite attacking/Archer defending0 happens simutaneously on screen, or something similar.
The battleview shows how your stack formation changes as units die and who they fight next, so its still very useful.
|
|
|  |
 |
|
Locutus
|
|
ACS CTP1/2 Manager & Civ4 Co-Manager
|
 |
Hengelo, The Netherlands
Nov 1999 time: 06:24
|
|
The battleview only shows the result after x rounds of combat, where x is a number which can be set in the Advanced Option, IIRC (I think it's 5 by default).
As far as the whole combat system goes, that's actually the only part of the BradyGames Strategy Guide that's at least remotely useful. There's a small chapter (~15 pages) devoted to combat and it explains the system fairly well with a number of simple examples and precise calculations, including how terrain and city improvements and stuff weigh in - exactly the sort of stuff you'd expect from a strategy guide. Only too bad that that's the only chapter like that and too bad that it completely fails to mention Firepower and Armor But I think Maq explained those concepts adequately so that doesn't really matter.
Anyway, all things considered the Strategy Guide is a worthless piece of crap that ain't worth the paper it's printed on so I certainly don't recommend that anyone buys it (if it's still available anywhere - probably not). The only reason why I have it is because I got it for free from Activision (yes, it's so bad that the not looking a gift horse in the mouth rule doesn't apply here - in fact, they didn't even ask or warn me in advance that they were sending it, the DHL man just dropped it off one day; if they had informed me, I would probably have kindly requested them not to bother).
So far there didn't seem to be much of an interest in this matter but now that there is, I can see if I can scan the relevant pages and put them online somewhere, if that helps anyone.
|
|
|  |
 |
|  |
 |
|
ivanbuto
|
|
Yes that would be nice Locutus if you could post that.
Also, there are two #s not clear to me in Units.txt:
PowerPoints
and FoodHunger (this one seems to be 0 for all units)
BTW all these #s can be modified right? I don't understand why they put 10 HP for all units. Certainly a spy should have much less HP than a tank for example.
|
|
|  |
 |
|
Maquiladora
|
|
quote: Originally posted by ivanbuto
I don't understand why they put 10 HP for all units. Certainly a spy should have much less HP than a tank for example. |
I think the designers and game balancers maybe did this because after armour firepower and strength was factored in they thought it was balanced enough, and it is, it produces realistic results, but it makes air and sea units less useful because an infantry unit can kill a bomber etc, which it shouldnt really. But then it wouldnt be CtP2 if you couldnt edit this yourself.
|
|
|  |
 |
|
Maquiladora
|
|
Heres a combat simulator i made in Excel, this about as mathematic as i get so hopefully someone else can fit armour and strength into it too somehow, although i didnt try myself so. Beats using the calculator though.
edit: fixed the stupid city walls bonus, download on page 2.
Last edited by Maquiladora on 21-12-2002 at 22:53
|
|
|  |
 |
|  |
 |
|
Locutus
|
|
ACS CTP1/2 Manager & Civ4 Co-Manager
|
 |
Hengelo, The Netherlands
Nov 1999 time: 06:24
|
|
quote: Originally posted by Maquiladora
No doubt, but you got it free didnt you so quit complaining  |
But it's taking up space on my already chockfull bookshelf 
quote: Btw how come you used PNG? |
Why would I not use PNG? AFAIK it's got the best size-quality ratio of all popular file formats...
quote: Heres a combat simulator i made in Excel, this about as mathematic as i get so hopefully someone else can fit armour and strength into it too somehow, although i didnt try myself so. Beats using the calculator though. |
Interesting, but you forgot about fortifying and veteran status. Also, armor and firepower don't affect the chance of hitting the unit (just the damage done when it's a hit), so in this simulator these values are irrelevant. If you want to get as final result the chance of winning the battle, you do have to take that into account but then there are a few other things as well. Most importantly, after the attacker attacked the defender, the defender gets to attack the attacker, so the defensive stats of the attacker and the offensive stats of the defender need to be factored in too.
Are you sure about those City Walls? I've always been pretty sure they add +15 Defense and not 15% (or at least it said so in the top corner of the screen, I didn't test thoroughly enough to see if this was actually weighed in in the actual combat). I just tested it: I attacked a Plains city without defenses and with one regular, unfortified unit in it and it got 0 defensive bonuses; when I attacked the same city again after having added City Walls in the cheat menu, it got a +12 (not +12%) defensive bonus. It's not clear to me why I got a +12 bonus rather than a +15 (as the text file states), but my colors where also messed up and I saw some other unusual things, so I guess it's time for a reinstall for me Maybe someone else could test as well to see if my result wasn't caused by a messed up system but I'm pretty sure that the City Walls should add an absolute bonus, not a relative one...
HuangShang,
I'm not sure if that's what Pedrunn meant to say with military rank but in any case it's incorrect. The PowerPoints were supposed to be some sort of advanced MP feature: at the start of the game you would get x powerpoints and you would be able to 'buy' units with them. But this was never implemented (obviously).
|
|
|  |
 |
|  |
 |
|
Maquiladora
|
|
Yeah your right, never really thought about that actually, its not like anyone ever attacked my cities with anything worse than cannons so. Anyway fixed it now so its +15 defence.
An idea for the armour and firepower. In excel you could generate a random number cell for every % between 1-100% chance of attacker hitting (do the same for the defender attacking next), so if the attacker has 58% chance of hitting, then the attacker owns numbers from 1-58 and the defender gets 59-100 then get a random number from cell "randomnum 1-100", if that draws say "42" (1-59) the attacker wins, if it draws "85" (59-100) the defender wins.
Whichever number it gets then take away 1 hitpoint from the defender (taking into account armour and firepower of course) if the attacker won or if the defender deflects the hit (slightly against the odds) if the random number is chosen in its own range 59-100.
If thats sounds too random just selecting randomly once from 1-100, you could draw that random number 999 times then it would come out more average, probably.
Does that sound too random? Better ideas?
edit:fixed below
Last edited by Maquiladora on 22-12-2002 at 00:09
|
|
|  |
 |
|
Maquiladora
|
|
Do Veterans only get a bonus for attack?
And whats the bonus for fortified 50%? (I wanna get it right this time)
|
|
|  |
 |
|
ivanbuto
|
|
Locutus, maybe you got a +12 bonus instead of +15 b/c the defense coefficient for tyrany is 0.85
|
|
|  |
 |
|
Maquiladora
|
|
quote: Originally posted by ivanbuto
Locutus, maybe you got a +12 bonus instead of +15 b/c the defense coefficient for tyrany is 0.85 |
That could be another thing to put in the simulation. 
Okay now it does the Defender attacking too, i think its right this time. Ive assumed that only the attacking unit in that round (defender or attacker) gets a veteran bonus. Also that fortified gives +50%.
Attachment: adv_ctp2_combat_sim_2.zip
This has been downloaded 4 time(s).
Last edited by Maquiladora on 22-12-2002 at 00:54
|
|
|  |
 |
|
Maquiladora
|
|
Locutus how did you work out the total Defensive capacity?
|
|
|  |
All times are GMT. The time now is 05:24. Apolyton Time is 00:24. |
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
|
|
|
|
|
|