The General and The Sergeant 1.2p
Posted: Sat Oct 26, 2019 8:43 pm
The ultimate plan is for this AI is to have different personalities to play with each game by selecting from at least five generals per civ. The personalities are meant to reflect the styles of different generals or leaders of the Middle Ages, hence the name of the AI. The AI has the same name as a previous AI of mine, but they're not related at all, just based on the same concept.
The zip file below contains two different AIs. The General is the main AI which plays at full strength. The Sergeant plays around the level of HD with a wider variety of strategies than The General. They are included together because The Sergeant loads the same files as The General but plays with different configuration settings.
Civs supported (all civs except Armenians and Georgians are technically playable, but only these civs have been tested and refined):
The General: Aztecs, Britons, Franks, Huns, Incas, Khmer, Magyars, Mayans
The Sergeant: Aztecs, Britons, Franks, Huns, Incas, Khmer, Magyars, Mayans, Mongols, Spanish, Tatars, Turks
On Arena, all civs except Armenians and Georgians are supported, though none are heavily tested.
All previous versions are available here: link
Comments and suggestions are welcome. Thanks everyone! glhf
Settings:
Game Version: DE. Versions 1.1k of The General and below are compatible with Userpatch and Wololo Kingdoms. Not compatible with 1.0c or HD.
Game Type: Random Map
Map Type: Arabia, Arena, Yucatan (Version 0.9i supports LN and Fencrazy)
Map Size: Any
Difficulty: Any (plays the same on all difficulties, only tested in Hard for UP/WK and Extreme on DE)
Other Teams: Any Number (no team management yet)
Resources: Standard
Population: 200
Starting Age: Dark Age
Victory: Conquest
All Techs: No
Debug Taunts (doesn't respond to any other taunts at the moment):
211: Taunts all actions of each group
212: Taunts the group type of each group
213: Taunts the flag values of each group
214: Flares the location of the group's destination
215: Flares the location of the group's current target
234: Taunts town defense settings
235: Taunts desired building numbers
236: Taunts current age status
237: Taunts desired military numbers
238: Taunts enemy military unit counts
239: Taunts desired future gatherers
240: Taunts scores for support unit options
241: Taunts current game focus (aggressive/defensive/boom)
242: Taunts needed resource amounts and required gatherers for each resource to maintain desired military numbers and techs
243: Taunts gathering percentages and desired gatherer amounts
244: Flares current soldier gathering point (not used much atm)
245: Taunts attacking data
246: Taunts research progress for military units and the units/techs currently being saved for
247: Taunts target and focus players
248: Taunts escrow data
249: Taunts resource stockpile amounts
250: Taunts current strategy and primary/support units
Team Goals:
The General's team coordination is very limited at the moment, but it does use these commonly accepted goals:
Goal 11 (Town Under Attack): 0 = safe, 1 = town under attack
Goal 46 (Team Position - Pocket/Flank): 1 = flank, 2 = pocket
Goal 392 (Attacking): 0 = not attacking, 1 = attacking
Goal 420 (Identity): The General uses 1492
Goal 499 (Michi cut priority): 4535 = michi cut priority. The General never requests this, but maybe it will someday.
Goals 478/479 (Position Self): 478 = x location, 479 = y location
The zip file below contains two different AIs. The General is the main AI which plays at full strength. The Sergeant plays around the level of HD with a wider variety of strategies than The General. They are included together because The Sergeant loads the same files as The General but plays with different configuration settings.
Civs supported (all civs except Armenians and Georgians are technically playable, but only these civs have been tested and refined):
The General: Aztecs, Britons, Franks, Huns, Incas, Khmer, Magyars, Mayans
The Sergeant: Aztecs, Britons, Franks, Huns, Incas, Khmer, Magyars, Mayans, Mongols, Spanish, Tatars, Turks
On Arena, all civs except Armenians and Georgians are supported, though none are heavily tested.
All previous versions are available here: link
Comments and suggestions are welcome. Thanks everyone! glhf
Settings:
Game Version: DE. Versions 1.1k of The General and below are compatible with Userpatch and Wololo Kingdoms. Not compatible with 1.0c or HD.
Game Type: Random Map
Map Type: Arabia, Arena, Yucatan (Version 0.9i supports LN and Fencrazy)
Map Size: Any
Difficulty: Any (plays the same on all difficulties, only tested in Hard for UP/WK and Extreme on DE)
Other Teams: Any Number (no team management yet)
Resources: Standard
Population: 200
Starting Age: Dark Age
Victory: Conquest
All Techs: No
Debug Taunts (doesn't respond to any other taunts at the moment):
211: Taunts all actions of each group
212: Taunts the group type of each group
213: Taunts the flag values of each group
214: Flares the location of the group's destination
215: Flares the location of the group's current target
234: Taunts town defense settings
235: Taunts desired building numbers
236: Taunts current age status
237: Taunts desired military numbers
238: Taunts enemy military unit counts
239: Taunts desired future gatherers
240: Taunts scores for support unit options
241: Taunts current game focus (aggressive/defensive/boom)
242: Taunts needed resource amounts and required gatherers for each resource to maintain desired military numbers and techs
243: Taunts gathering percentages and desired gatherer amounts
244: Flares current soldier gathering point (not used much atm)
245: Taunts attacking data
246: Taunts research progress for military units and the units/techs currently being saved for
247: Taunts target and focus players
248: Taunts escrow data
249: Taunts resource stockpile amounts
250: Taunts current strategy and primary/support units
Team Goals:
The General's team coordination is very limited at the moment, but it does use these commonly accepted goals:
Goal 11 (Town Under Attack): 0 = safe, 1 = town under attack
Goal 46 (Team Position - Pocket/Flank): 1 = flank, 2 = pocket
Goal 392 (Attacking): 0 = not attacking, 1 = attacking
Goal 420 (Identity): The General uses 1492
Goal 499 (Michi cut priority): 4535 = michi cut priority. The General never requests this, but maybe it will someday.
Goals 478/479 (Position Self): 478 = x location, 479 = y location