smith-b-d

09-01-2007, 07:47 PM

Well, everyone likes complaining about the AI not being good enough, so heres a chance for you to make it better. Listed below is every value the AI uses on the adventure map to calculate what it is going to do, where its going to move & so on... im going to mod the values on what everyone thinks it should be & hopefully we will come up with something better. Anyone interested?

<pre class="ip-ubbcode-code-pre">

--- DIFFICULTY DEPENDANT (heroic example)

AttackHumanAggressivityCoef = 1

AttackComputerAggressivityCoef = 0.25

CowardiceVersusHuman = 0.3

CowardiceVersusComputer = 0

RolesSearchNearMaxCost = 700

RolesSearchFarMaxCost = 32000

ArmyPowerCoefBonusPerHeroLevel = 0.1

ValueOfTown = 128000

AvengerVersusHumanCoef = 1

AvengerVersusComputerCoef = 0

TownBuildPeriodInDays = 1

CheckTownsInDanger = 1

CheckHeroesDanger = 1

ConsiderGarrisoningHeroToImportantTown = 1

HireHeroesBase = 1

HireHeroesPerTown = 2

HireHeroesGlobalLimit = 17

GrailSearchOpenPartsMinimum = 3

GrailSearchPercentMatchNeed = 60

ThreatsMultiplierEnemys = 1

ThreatsMultiplierNeutral = 2

ThreatsMultiplierAllys = 3

ThreatsMultiplierOurs = 4

ThreatsDistanceInDays = 4

ThreatsAccComingLimit = 15000

ThreatsAccComingCalmingDivisor = 1.125

ThreatsAccComingCoef = 0.6

ThreatsTownInDangerThreshold = 500000

ThreatsTownProtectDistanceInDays = 1

StrategicCaptureDistance = 30

TownCreatureGrowthCoef = 1

--- SAME FOR ALL

SearchOldTargetMultiplier = 1.5

SearchBestPositionRandomFactor = 25

SearchNearbyDistance = 21

SearchAverageTerrainCost = 100

SearchStrategicDistance = 4

SearchPositiveAttractorValue = 1000000

SearchNegativeAttractorValue = 1000000

SearchDangerEnemyMobilityMultiplier = 1

SearchDangerEnemyMobilityBonus = 300

RolesSpreadCommanderMultiplier = 2.7

RolesSpreadCollectorMultiplier = 0.5

RolesSpreadSupplierMultiplier = 0.25

RolesSpreadFreelancerMultiplier = 1

RolesCollectorFreeScanMaxMoves = 5

RolesSupplierFreeScanMaxMoves = 10

SupplyDayIncomes = 2

WeakMoneyForDeniedBuildings = 0.1

CreatureCoefBonusPerInitiativeOver10 = 0.1

CreatureOverHealthCoef = 0.1

CreatureOverDamageCoef = 0.5

CreatureOverAttributesCoef = 1

CreatureMAECoef_DefenceCrush = 1

CreatureMAECoef_SpellReduce = 1

CreatureMAECoef_Movement = 1

CreatureOverInitiativeCoef = 0.1

CreatureGoodLuckCoef = 0.0173

CreatureBadLuckCoef = 0.0122

CreatureGoodMoraleCoef = 0.0173

CreatureBadMoraleCoef = 0.0833

ValueOfWarMachine = 250

TownCreaturesReserveCoef = 0.1

ValueOfSpellPerLevel = 500

ValueOfSkillPerMastery = 1000

ValueOfPerkFeat = 1000

ValueOfAttributeAttack = 300

ValueOfAttributeDefence = 300

ValueOfAttributeSpellPower = 300

ValueOfAttributeKnowledge = 300

ValueOfManaPoint = 50

ValueOfHundredMovePoints = 10

ValueOfLuckBuff = 100

ValueOfMoraleBuff = 50

ValueOfMinorArtifact = 3000

ValueOfMajorArtifact = 9000

ValueOfRelicArtifact = 12000

ValueOfHeroLevelPow2 = 1000

MovePointsMaxAllTypesSumCoef = 1

ValueOfHero = 250

IncomeMultiplier = 50

ValueOfBorderGuardKey = 1500

ValueOfGrailMin = 100

ValueOfGrailByObjective = 10000

ValueOfGrailForInstantVictory = 100000

ValueOfSpellSummonCreatures = 10000

SiegeShootersCoef = 2

SiegeTowerHealthCoef = 2

SiegeTowerDamageCoef = 2

CollectPathBonusesMaxCost = 400

CollectPathBonusesClipValue = 100

SiegeFlyerCoef = 2

Necromancy_PreferredCreaturesToRise

- CREATURE_LICH

- CREATURE_SKELETON_ARCHER

- CREATURE_SKELETON

- CREATURE_MANES

- CREATURE_VAMPIRE

- CREATURE_WIGHT

- CREATURE_BONE_DRAGON

Necromancy_EndOfWeekStartDay = 4

</pre>

<pre class="ip-ubbcode-code-pre">

--- DIFFICULTY DEPENDANT (heroic example)

AttackHumanAggressivityCoef = 1

AttackComputerAggressivityCoef = 0.25

CowardiceVersusHuman = 0.3

CowardiceVersusComputer = 0

RolesSearchNearMaxCost = 700

RolesSearchFarMaxCost = 32000

ArmyPowerCoefBonusPerHeroLevel = 0.1

ValueOfTown = 128000

AvengerVersusHumanCoef = 1

AvengerVersusComputerCoef = 0

TownBuildPeriodInDays = 1

CheckTownsInDanger = 1

CheckHeroesDanger = 1

ConsiderGarrisoningHeroToImportantTown = 1

HireHeroesBase = 1

HireHeroesPerTown = 2

HireHeroesGlobalLimit = 17

GrailSearchOpenPartsMinimum = 3

GrailSearchPercentMatchNeed = 60

ThreatsMultiplierEnemys = 1

ThreatsMultiplierNeutral = 2

ThreatsMultiplierAllys = 3

ThreatsMultiplierOurs = 4

ThreatsDistanceInDays = 4

ThreatsAccComingLimit = 15000

ThreatsAccComingCalmingDivisor = 1.125

ThreatsAccComingCoef = 0.6

ThreatsTownInDangerThreshold = 500000

ThreatsTownProtectDistanceInDays = 1

StrategicCaptureDistance = 30

TownCreatureGrowthCoef = 1

--- SAME FOR ALL

SearchOldTargetMultiplier = 1.5

SearchBestPositionRandomFactor = 25

SearchNearbyDistance = 21

SearchAverageTerrainCost = 100

SearchStrategicDistance = 4

SearchPositiveAttractorValue = 1000000

SearchNegativeAttractorValue = 1000000

SearchDangerEnemyMobilityMultiplier = 1

SearchDangerEnemyMobilityBonus = 300

RolesSpreadCommanderMultiplier = 2.7

RolesSpreadCollectorMultiplier = 0.5

RolesSpreadSupplierMultiplier = 0.25

RolesSpreadFreelancerMultiplier = 1

RolesCollectorFreeScanMaxMoves = 5

RolesSupplierFreeScanMaxMoves = 10

SupplyDayIncomes = 2

WeakMoneyForDeniedBuildings = 0.1

CreatureCoefBonusPerInitiativeOver10 = 0.1

CreatureOverHealthCoef = 0.1

CreatureOverDamageCoef = 0.5

CreatureOverAttributesCoef = 1

CreatureMAECoef_DefenceCrush = 1

CreatureMAECoef_SpellReduce = 1

CreatureMAECoef_Movement = 1

CreatureOverInitiativeCoef = 0.1

CreatureGoodLuckCoef = 0.0173

CreatureBadLuckCoef = 0.0122

CreatureGoodMoraleCoef = 0.0173

CreatureBadMoraleCoef = 0.0833

ValueOfWarMachine = 250

TownCreaturesReserveCoef = 0.1

ValueOfSpellPerLevel = 500

ValueOfSkillPerMastery = 1000

ValueOfPerkFeat = 1000

ValueOfAttributeAttack = 300

ValueOfAttributeDefence = 300

ValueOfAttributeSpellPower = 300

ValueOfAttributeKnowledge = 300

ValueOfManaPoint = 50

ValueOfHundredMovePoints = 10

ValueOfLuckBuff = 100

ValueOfMoraleBuff = 50

ValueOfMinorArtifact = 3000

ValueOfMajorArtifact = 9000

ValueOfRelicArtifact = 12000

ValueOfHeroLevelPow2 = 1000

MovePointsMaxAllTypesSumCoef = 1

ValueOfHero = 250

IncomeMultiplier = 50

ValueOfBorderGuardKey = 1500

ValueOfGrailMin = 100

ValueOfGrailByObjective = 10000

ValueOfGrailForInstantVictory = 100000

ValueOfSpellSummonCreatures = 10000

SiegeShootersCoef = 2

SiegeTowerHealthCoef = 2

SiegeTowerDamageCoef = 2

CollectPathBonusesMaxCost = 400

CollectPathBonusesClipValue = 100

SiegeFlyerCoef = 2

Necromancy_PreferredCreaturesToRise

- CREATURE_LICH

- CREATURE_SKELETON_ARCHER

- CREATURE_SKELETON

- CREATURE_MANES

- CREATURE_VAMPIRE

- CREATURE_WIGHT

- CREATURE_BONE_DRAGON

Necromancy_EndOfWeekStartDay = 4

</pre>