 |
|  |
 |
|
korn469
|
 |
Poetic Justic
Apr 1999 time: 00:18
|
|
Currently because of the strength Algorithm the AI often times makes rather poor choices of when to declare war, when to ask for peace, etc. a simple change to the algorithm could give the AI a better understanding of its strength and that could make it a better opponent
judging from information given by the Military advisor and many players experience here the AI simply add up all of the units each side has (including workers) and then whoever has the most the AI concludes is most powerful
so this means that if the AI has 25 workers and 25 warriors it will conclude that it is stronger than a player with 40 modern armor, which is obviously wrong
or if the player has 20 spearmen and 30 workers and the AI has 10 workers, 10 infantry and 30 tanks then it will conclude that the player has an equal amount of military force, which is obviously wrong
what this means is times when the AI should beef up their military forces and proceed with caution they are fool hardy and times when the AI should strike quickly and proceed with great military zeal they are timid, all because the AI is getting bad feedback from its military strength algorithm
right now any improvement to the system would be better, even something as simple as not counting workers would give the AI slightly better feedback on which side had the more powerful military; however the more accurate the AI's measurement of strength is the better opponent it should be
This is the simple system, it should be easy to do yet it should give the AI a much better gauge of the relative military powers of each side. What i propose is that every unit with one of the following AI types should count toward the military strength:
Land Unit AI Types
offensive
defense
cruise missile
Naval Unit AI Types
naval power
naval carrier
naval missile transport
Air Unit AI Types
air bombard
air defense
Thos units should count toward the military strength total at the following rates:
2 points for ancient units
3 points for middle age units
4 points for industrial units
5 points for modern age units
the following units are special cases
Army 6 points
Tactical Nuke 6 points
ICBM 7 points
if we take a look at the two examples i gave above then the AI would have the following military strengths 50 points vs. 200 points in the first example and 40 points vs. 160 points in the second example, while certainly not perfect it would be much better than what we have right now, i mean when the AI thinks that 3 scouts, 2 workers, and a caravel are more powerful than 4 modern armor in an army there is something wrong with the system
|
|
|  |
 |
|  |
 |
|  |
 |
|
Soren Johnson Firaxis
|
|
Hunt Valley, MD
May 2001 time: 00:18
|
|
quote: Originally posted by korn469
Currently because of the strength Algorithm the AI often times makes rather poor choices of when to declare war, when to ask for peace, etc. a simple change to the algorithm could give the AI a better understanding of its strength and that could make it a better opponent
judging from information given by the Military advisor and many players experience here the AI simply add up all of the units each side has (including workers) and then whoever has the most the AI concludes is most powerful
so this means that if the AI has 25 workers and 25 warriors it will conclude that it is stronger than a player with 40 modern armor, which is obviously wrong
or if the player has 20 spearmen and 30 workers and the AI has 10 workers, 10 infantry and 30 tanks then it will conclude that the player has an equal amount of military force, which is obviously wrong
what this means is times when the AI should beef up their military forces and proceed with caution they are fool hardy and times when the AI should strike quickly and proceed with great military zeal they are timid, all because the AI is getting bad feedback from its military strength algorithm
right now any improvement to the system would be better, even something as simple as not counting workers would give the AI slightly better feedback on which side had the more powerful military; however the more accurate the AI's measurement of strength is the better opponent it should be
This is the simple system, it should be easy to do yet it should give the AI a much better gauge of the relative military powers of each side. What i propose is that every unit with one of the following AI types should count toward the military strength:
Land Unit AI Types
offensive
defense
cruise missile
Naval Unit AI Types
naval power
naval carrier
naval missile transport
Air Unit AI Types
air bombard
air defense
Thos units should count toward the military strength total at the following rates:
2 points for ancient units
3 points for middle age units
4 points for industrial units
5 points for modern age units
the following units are special cases
Army 6 points
Tactical Nuke 6 points
ICBM 7 points
if we take a look at the two examples i gave above then the AI would have the following military strengths 50 points vs. 200 points in the first example and 40 points vs. 160 points in the second example, while certainly not perfect it would be much better than what we have right now, i mean when the AI thinks that 3 scouts, 2 workers, and a caravel are more powerful than 4 modern armor in an army there is something wrong with the system |
The strength algorithm that the AI uses to determine power is similar to what you are describing. It counts up military units and gives them a value according to their attack and defense values. This value is "Power" on the Historgraph (including some of factors including techs/cities/resources/wonders...)
The algorithm the foreign advisor uses to tell the user relative military strength is not used by the AI in any way. It is only used by the foreign advisor. (Also, it does not count workers. I'm not sure where that rumor got started... perhaps it was a bug in 1.07. At any rate, it does not count non-military units in 1.17. If you have experienced differently, please post a save.)
|
|
|  |
 |
|
Bill9999
|
|
Looking at current experiences, I think we can draw the conclusion that the AI already knows what units you have, they just are not using that information in the most logical way when using the data to declare war.
The problem is that the AI is logical, teach it to use a set equation for power, and it will follow it. This would lead to situations that are not like real life.
Leaders are often illogical in the military arena when it comes to straight military might. They obviously fight wars they know they have no chance of winning.
Would the AI take into account the military might of MPP civs too when deciding to declare war? Would they declare war if they were inferior but saw the gap between itself and the human widening? Would they start wars with specific goals, as do many human players (take the 3 closest cities and sue for peace)? Would the AI wait until it overpowered you by its calculation before attacking? How would the AI take into account any units being built by itself or the human into an equation?
I think this is why they went with a very simple number based model. Don't get me wrong, the calculation used needs some tuning, removing workers would make things a bit more realistic, even if 5 warriors would still be more powerful in the computer's eyes than 4 Modern Armor. Bigger changes would be huge works of programming, simply because using a more complex equation would require more complex decision making factors for the AI to use.
Do I make any sense? 
EDIT: Guess not according to Soren's post. I know workers were being factored in to the calc in earlier versions, I have not patched to 1.17 yet, as I am finishing my last game still...
The rumor came from the fact that if I had 100 workers, and an average size army compared to Germany, and then I gave 50 workers to Germany through diplomacy, and went back to military advisor, he would say our army was smaller than Germany, (net change of 100 units) . And in some cases Germany would declare war the very next turn. Now it could be happenstance, and Germany was going to declare war anyway, due to a hundred other factors, but this was tested early on, and led to similar results multiple times.
Last edited by Bill9999 on 06-03-2002 at 22:09
|
|
|  |
All times are GMT. The time now is 05:18. Apolyton Time is 00:18. |
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
|
|
|
|
|
|