|
:) Smiley
|
 |
USCA, Berkeley
Feb 2001 time: 21:35
|
|
Test results:
First run rules.txt
code:
Warriors, Feu, 0, 1.,0, 1a,1d, 1h,1f, 1,0, 1, nil, 000000000000000
Phalanx, Feu, 0, 1.,0, 1a,4d, 1h,1f, 2,0, 1, nil, 000000000000000
Archers, Gun, 0, 1.,0, 3a,3d, 1h,1f, 3,0, 1, nil, 000000000000000
Legion, Gun, 0, 1.,0, 4a,2d, 1h,1f, 4,0, 1, nil, 000000000000000
Pikemen, Gun, 0, 1.,0, 1a,2d, 1h,1f, 2,0, 1, nil, 000010000000000
Musketeers, Csc, 0, 1.,0, 3a,3d, 2h,1f, 3,0, 1, Gun, 000000000000000
Fanatics, nil, 0, 1.,0, 4a,4d, 2h,1f, 2,0, 1, nil, 000100000000000
Partisans, nil, 0, 1.,0, 4a,4d, 2h,1f, 5,0, 1, nil, 000001000000010
Alpine Troops,nil, 0, 1.,0, 5a,2d, 2h,1f, 5,0, 1, nil, 000001000000000
Riflemen, nil, 0, 1.,0, 2a,4d, 2h,1f, 4,0, 1, nil, 000000000000000
Phalanx, Partisans, and Riflemen are buildable, as all have defense values set > 3.
Test #2.
code:
Archers, nil, 0, 1.,0, 2a,3d, 1h,1f, 3,0, 1, nil, 000000000000000
Legion, nil, 0, 1.,0, 4a,2d, 1h,1f, 4,0, 0, nil, 000000000000000
Pikemen, nil, 0, 1.,0, 1a,2d, 1h,1f, 2,0, 0, nil, 000010000000000
Defense = 3 also works. Lower defense values are OK as long as unit role is set to something other than defense. In this case, they have been set to Attack.
Some other tests and observations: Musketeer obsolescence is actually Gunpowder obsolescence. By setting the Musketeer tech to nil, and not giving gunpowder, it's possible to build both Warriors and Musketeers.
Conversely, by setting musketeers to some other tech, and giving gunpowder, neither can be built. The stats against which weak units are made obsolete, however, are that of the Musketeer.
Other observations: Upping the unit speed does not circumvent this forced obsolescence.
In summary, the following AND conditions trigger obsolescence:
Player has Gunpowder tech
AI Role = 1 (Defense)
Defense < Musketeer
Note: Attack values and movement speeds are not considered.
------
and now, onto the Knight.
This one appears slot dependent, as I've taken all techs.
code:
Horsemen, nil, 0, 2.,0, 2a,1d, 1h,1f, 2,0, 1, nil, 000000000000000
Chariot, PT, 0, 2.,0, 3a,1d, 1h,1f, 3,0, 0, nil, 000000000000000
Elephant, MT, 0, 2.,0, 6a,1d, 1h,1f, 4,0, 0, nil, 000000000000000
Crusaders, Ldr, 0, 2.,0, 3a,3d, 1h,1f, 4,0, 0, nil, 000000000000000
Knights, Ldr, 0, 2.,0, 5a,3d, 1h,1f, 4,0, 0, nil, 000000000000000
Dragoons, Tac, 0, 2.,0, 4a,3d, 1h,1f, 5,0, 0, nil, 000000000000000
Cavalry, Mob, 0, 2.,0, 5a,1d, 1h,1f, 6,0, 0, nil, 000000000000000
Armor, nil, 0, 3.,0, 2a,2d, 3h,1f, 8,0, 0, nil, 000000000000000
Catapult, Met, 0, 2.,0, 2a,4d, 1h,1f, 4,0, 0, nil, 000000000000000
Horsemen= buildable since role is set to Defense. Note that they became obsolete when gunpowder was given since their defense is less than that of the Musketeer.
Chariot= not buildable, since both attack and defense < Knight
Elephant= buildable, since attack > Knight even though defense is less.
Crusaders, Dragoons, Catapult= buildable, since defense = Knight
Cavalry= not buildable, since defense < knight and attack is not better.
Armor= buildable, since speed is not equal to 2
So what we have here is a series of AND gates for a unit to be obsolete: They are:
Defense < Knight
Attack NOT > Knight
Speed = 2
AI Role = 0 (attack)
Now the question is, will the AI attack with units that have a role of Defense if the ADM stats are clearly for offense?
|