anchor.diff:  {$ENDIF}
   
   AI_Par: array[TAIPar] of Single = (
  -      7.0000000, // ARMY_MaxGgroupsInCompany
  -     10.0505981, // ARMY_PATHFINDING_AvoidEdges
  -      1.0583768, // ARMY_PATHFINDING_AvoidSpecEnemy
  -      2.7351799, // ARMY_PATHFINDING_AvoidTraffic
  -     14.0000000, // ATTACK_COMPANY_AttackRadius
  -      3.8477340, // ATTACK_COMPANY_AttackRangedGain
  -      0.6768462, // ATTACK_COMPANY_DecreaseThreat_Prio1
  -      0.6052376, // ATTACK_COMPANY_DecreaseThreat_Prio2
  -      0.9684158, // ATTACK_COMPANY_DecreaseThreat_Prio3
  -      0.4872158, // ATTACK_COMPANY_DecreaseThreat_Prio4
  -    157.0000000, // ATTACK_COMPANY_GroupTypePenalization
  -      3.0000000, // ATTACK_COMPANY_MinCombatSpacing
  -      3.0000000, // ATTACK_COMPANY_MinWalkSpacing
  -      5.0000000, // ATTACK_COMPANY_MinimumMovement
  -      1.0000000, // ATTACK_COMPANY_Positioning_InitPolyCnt
  -      4.0000000, // ATTACK_COMPANY_ProtectRangedAllInDist
  -      1.5641868, // ATTACK_COMPANY_ProtectRangedGain
  -      9.0000000, // ATTACK_COMPANY_ProtectRangedRadius
  -      3.0000000, // ATTACK_COMPANY_TimePerATile_Fast
  -      3.0000000, // ATTACK_COMPANY_TimePerATile_Slow
  -     15.0000000, // ATTACK_NMAP_BackwardFlood_MaxAllyInfluence
  -     30.0000000, // ATTACK_NMAP_BackwardFlood_MaxEnemyInfluence
  -      0.4369974, // ATTACK_NMAP_EvaluateLine_MinDist
  -      0.1092338, // ATTACK_NMAP_EvaluateLine_QueueCnt
  -     29.0000000, // ATTACK_NMAP_PrefillDistances_Groups
  -      5.0000000, // ATTACK_NMAP_PrefillDistances_Houses
  -      4.0000000, // ATTACK_NMAP_TArmyBackwardFF_EnemyInfluence
  -    697.0000000, // ATTACK_SQUAD_ChangeTarget_Delay
  -      6.1796260, // ATTACK_SQUAD_ChangeTarget_DistTolerance
  -      4.0000000, // ATTACK_SQUAD_MinWalkingDistance
  -      8.0000000, // ATTACK_SQUAD_TargetReached_House
  -      2.0000000, // ATTACK_SQUAD_TargetReached_Position
  -     14.0000000, // ATTACK_SQUAD_TargetReached_RangedSquad
  -     12.0000000, // ATTACK_SQUAD_TargetReached_Unit
  -     20.0000000, // ATTACK_SUPERVISOR_EvalTarget_DistanceGroup
  -      0.1000000, // ATTACK_SUPERVISOR_EvalTarget_OportunityDistGain
  -      1.0000000, // ATTACK_SUPERVISOR_EvalTarget_OportunityGain
  -      1.0000000, // ATTACK_SUPERVISOR_EvalTarget_ThreatGainAntiHorse
  -      1.0000000, // ATTACK_SUPERVISOR_EvalTarget_ThreatGainDist
  -      1.0000000, // ATTACK_SUPERVISOR_EvalTarget_ThreatGainMelee
  -      1.0000000, // ATTACK_SUPERVISOR_EvalTarget_ThreatGainMounted
  -      1.0000000, // ATTACK_SUPERVISOR_EvalTarget_ThreatGainRangDist
  -      1.0000000, // ATTACK_SUPERVISOR_EvalTarget_ThreatGainRanged
  -      0.7455105, // ATTACK_SUPERVISOR_UpdateAttacks_AttackThreshold
  -      1.1417892, // BUILDER_BuildHouse_FieldMaxWork
  -      9.8906536, // BUILDER_BuildHouse_RTPMaxWork
  -      7.6526265, // BUILDER_BuildHouse_RoadMaxWork
  -     15.2613220, // BUILDER_ChHTB_AllWorkerCoef
  -     15.4459944, // BUILDER_ChHTB_FractionCoef
  -     10.5890427, // BUILDER_ChHTB_FreeWorkerCoef
  -      0.7605636, // BUILDER_ChHTB_TrunkBalance
  -     11.9980984, // BUILDER_ChHTB_TrunkFactor
  -      8.2303982, // BUILDER_CreateShortcuts_MaxWork
  -     22.1536598, // BUILDER_Shortage_Gold
  -     12.1965046, // BUILDER_Shortage_Stone
  -     17.6435318, // BUILDER_Shortage_StoneReserve
  -      2.6986599, // BUILDER_Shortage_Trunk
  -     18.2961273, // BUILDER_Shortage_Wood
  -    143.5768585, // EYE_GetForests_MaxAB
  -     80.5657578, // EYE_GetForests_MinRndSoil
  -      4.8354306, // EYE_GetForests_MinTrees
  -      7.0000000, // EYE_GetForests_Radius
  -    231.7467957, // EYE_GetForests_SPRndOwnLimMax
  -    148.8441010, // EYE_GetForests_SPRndOwnLimMin
  -      1.4643269, // MANAGEMENT_CheckUnitCount_SerfGoldCoef
  -      9.0361977, // MANAGEMENT_CheckUnitCount_SerfLimit1
  -     21.4907799, // MANAGEMENT_CheckUnitCount_SerfLimit2
  -     69.0257721, // MANAGEMENT_CheckUnitCount_SerfLimit3
  -      2.3697293, // MANAGEMENT_CheckUnitCount_WorkerGoldCoef
  -     10.0000000, // MANAGEMENT_GoldShortage
  -      6.6441808, // PLANNER_FARM_FieldCrit_FlatArea
  -      3.7929988, // PLANNER_FARM_FieldCrit_PolyRoute
  -      2.7704616, // PLANNER_FARM_FieldCrit_Soil
  -      6.3555617, // PLANNER_FARM_FindPlaceForHouse_CityCenter
  -     10.6077833, // PLANNER_FARM_FindPlaceForHouse_FlatArea
  -      7.5686626, // PLANNER_FARM_FindPlaceForHouse_HouseDist
  -     -0.6854221, // PLANNER_FARM_FindPlaceForHouse_Route
  -      0.8432329, // PLANNER_FARM_PlanFields_CanBuild
  -      5.0574303, // PLANNER_FARM_PlanFields_Dist
  -     75.0035629, // PLANNER_FARM_PlanFields_ExistField
  -     33.0029984, // PLANNER_FindPlaceForHouse_CityCenter
  -      1.4854290, // PLANNER_FindPlaceForHouse_FlatArea
  -     30.9185123, // PLANNER_FindPlaceForHouse_HouseDist
  -      2.3264930, // PLANNER_FindPlaceForHouse_Route
  -     50.0000000, // PLANNER_FindPlaceForHouse_SeedDist
  -      0.4550737, // PLANNER_FindPlaceForHouse_SnapCrit
  -     19.3231010, // PLANNER_FindPlaceForQuary_DistCity
  -     43.4946098, // PLANNER_FindPlaceForQuary_DistStone
  -   4943.5644531, // PLANNER_FindPlaceForQuary_DistTimer
  -     86.1706772, // PLANNER_FindPlaceForQuary_Obstacle
  -     30.9328785, // PLANNER_FindPlaceForQuary_SnapCrit
  -      8.7524500, // PLANNER_FOREST_FindForestAround_MaxDist
  -    163.2024689, // PLANNER_FOREST_FindPlaceForWoodcutter_ABRange
  -     16.6355057, // PLANNER_FOREST_FindPlaceForWoodcutter_DistCrit
  -   7268.1425781, // PLANNER_FOREST_FindPlaceForWoodcutter_DistTimer
  -    146.1529236, // PLANNER_FOREST_FindPlaceForWoodcutter_ExistForest
  -      1.0018336, // PLANNER_FOREST_FindPlaceForWoodcutter_FlatArea
  -      0.9654628, // PLANNER_FOREST_FindPlaceForWoodcutter_FreeTiles
  -      4.2296414, // PLANNER_FOREST_FindPlaceForWoodcutter_Radius
  -      0.0878048, // PLANNER_FOREST_FindPlaceForWoodcutter_Routes
  -      1.6205387, // PLANNER_FOREST_FindPlaceForWoodcutter_Soil
  -      7.7563658, // PLANNER_FOREST_FindPlaceForWoodcutter_TreeCnt
  -  19345.3671875, // PLANNER_FOREST_FindPlaceForWoodcutter_TreeCntTimer
  -      0.2087670, // PLANNER_FOREST_PlaceWoodcutter_DistFromForest
  -    606.3539429, // PLANNER_ObstaclesInHousePlan_Road
  -    500.0000000, // PLANNER_ObstaclesInHousePlan_Tree
  -     35.7394485, // PLANNER_SnapCrit_Field
  -      1.7113777, // PLANNER_SnapCrit_HouseOrRoad
  -     16.1393757, // PLANNER_SnapCrit_NoBuild
  -    747.6228638, // PLANNER_SnapCrit_ObstacleInEntrance
  -     25.8202438, // PLANNER_SnapCrit_Road
  -     84.5175400, // PLANNER_SnapCrit_RoadInEntrance
  -     35.0000000, // PREDICTOR_SecondSchool_MinRequiredUnits
  -      0.6294231, // PREDICTOR_WareNeedPerAWorker_Stone
  -     15.1335850, // PREDICTOR_WareNeedPerAWorker_StoneOffset
  -      0.2894160, // PREDICTOR_WareNeedPerAWorker_Wood
  -     70.2412796, // SHORTCUTS_BasePrice
  -     39.4148979, // SHORTCUTS_Coal
  -     32.6596260, // SHORTCUTS_Field
  -     50.0000000, // SHORTCUTS_Forest
  -     29.5761337, // SHORTCUTS_OtherCase
  -     34.3819695, // SHORTCUTS_Road
  -     52.9592628, // SHORTCUTS_TurnPenalization
  -     38.9523697, // SHORTCUTS_noBuildArea
  -     29.5903187, // ROADS_BasePrice
  -     14.9148493, // ROADS_Coal
  -     49.4358597, // ROADS_Field
  -     55.8265724, // ROADS_Forest
  -     33.6784859, // ROADS_OtherCase
  -     25.5048389, // ROADS_Road
  -     44.3391609, // ROADS_TurnPenalization
  -     41.6548691  // ROADS_noBuildArea
  +          7.0000000, // ARMY_MaxGgroupsInCompany
  +         10.0505981, // ARMY_PATHFINDING_AvoidEdges
  +          1.0583768, // ARMY_PATHFINDING_AvoidSpecEnemy
  +          2.7351799, // ARMY_PATHFINDING_AvoidTraffic
  +         14.0000000, // ATTACK_COMPANY_AttackRadius
  +          3.8477340, // ATTACK_COMPANY_AttackRangedGain
  +          0.6768462, // ATTACK_COMPANY_DecreaseThreat_Prio1
  +          0.6052376, // ATTACK_COMPANY_DecreaseThreat_Prio2
  +          0.9684158, // ATTACK_COMPANY_DecreaseThreat_Prio3
  +          0.4872158, // ATTACK_COMPANY_DecreaseThreat_Prio4
  +        157.0000000, // ATTACK_COMPANY_GroupTypePenalization
  +          3.0000000, // ATTACK_COMPANY_MinCombatSpacing
  +          3.0000000, // ATTACK_COMPANY_MinWalkSpacing
  +          5.0000000, // ATTACK_COMPANY_MinimumMovement
  +          1.0000000, // ATTACK_COMPANY_Positioning_InitPolyCnt
  +          4.0000000, // ATTACK_COMPANY_ProtectRangedAllInDist
  +          1.5641868, // ATTACK_COMPANY_ProtectRangedGain
  +          9.0000000, // ATTACK_COMPANY_ProtectRangedRadius
  +          3.0000000, // ATTACK_COMPANY_TimePerATile_Fast
  +          3.0000000, // ATTACK_COMPANY_TimePerATile_Slow
  +         15.0000000, // ATTACK_NMAP_BackwardFlood_MaxAllyInfluence
  +         30.0000000, // ATTACK_NMAP_BackwardFlood_MaxEnemyInfluence
  +          0.4369974, // ATTACK_NMAP_EvaluateLine_MinDist
  +          0.1092338, // ATTACK_NMAP_EvaluateLine_QueueCnt
  +         29.0000000, // ATTACK_NMAP_PrefillDistances_Groups
  +          5.0000000, // ATTACK_NMAP_PrefillDistances_Houses
  +          4.0000000, // ATTACK_NMAP_TArmyBackwardFF_EnemyInfluence
  +        697.0000000, // ATTACK_SQUAD_ChangeTarget_Delay
  +          6.1796260, // ATTACK_SQUAD_ChangeTarget_DistTolerance
  +          4.0000000, // ATTACK_SQUAD_MinWalkingDistance
  +          8.0000000, // ATTACK_SQUAD_TargetReached_House
  +          2.0000000, // ATTACK_SQUAD_TargetReached_Position
  +         14.0000000, // ATTACK_SQUAD_TargetReached_RangedSquad
  +         12.0000000, // ATTACK_SQUAD_TargetReached_Unit
  +         20.0000000, // ATTACK_SUPERVISOR_EvalTarget_DistanceGroup
  +          0.1000000, // ATTACK_SUPERVISOR_EvalTarget_OportunityDistGain
  +          1.0000000, // ATTACK_SUPERVISOR_EvalTarget_OportunityGain
  +          1.0000000, // ATTACK_SUPERVISOR_EvalTarget_ThreatGainAntiHorse
  +          1.0000000, // ATTACK_SUPERVISOR_EvalTarget_ThreatGainDist
  +          1.0000000, // ATTACK_SUPERVISOR_EvalTarget_ThreatGainMelee
  +          1.0000000, // ATTACK_SUPERVISOR_EvalTarget_ThreatGainMounted
  +          1.0000000, // ATTACK_SUPERVISOR_EvalTarget_ThreatGainRangDist
  +          1.0000000, // ATTACK_SUPERVISOR_EvalTarget_ThreatGainRanged
  +          0.7455105, // ATTACK_SUPERVISOR_UpdateAttacks_AttackThreshold
  +          1.7547250, // BUILDER_BuildHouse_FieldMaxWork
  +          1.0996417, // BUILDER_BuildHouse_RTPMaxWork
  +          9.1976185, // BUILDER_BuildHouse_RoadMaxWork
  +          8.8504696, // BUILDER_ChHTB_AllWorkerCoef
  +          9.9743118, // BUILDER_ChHTB_FractionCoef
  +         11.4246054, // BUILDER_ChHTB_FreeWorkerCoef
  +          1.0058377, // BUILDER_ChHTB_TrunkBalance
  +         16.8083534, // BUILDER_ChHTB_TrunkFactor
  +          3.9546027, // BUILDER_CreateShortcuts_MaxWork
  +         20.6492119, // BUILDER_Shortage_Gold
  +         12.1181965, // BUILDER_Shortage_Stone
  +         27.9681778, // BUILDER_Shortage_StoneReserve
  +          2.0124621, // BUILDER_Shortage_Trunk
  +         13.0000000, // BUILDER_Shortage_Wood
  +         11.2736206, // EYE_GetForests_MaxAB
  +         68.5816422, // EYE_GetForests_MinRndSoil
  +          3.1848333, // EYE_GetForests_MinTrees
  +          6.2504420, // EYE_GetForests_Radius
  +        231.7467957, // EYE_GetForests_SPRndOwnLimMax
  +         72.2787399, // EYE_GetForests_SPRndOwnLimMin
  +          1.0000000, // MANAGEMENT_CheckUnitCount_SerfGoldCoef
  +         15.6595001, // MANAGEMENT_CheckUnitCount_SerfLimit1
  +         37.3727493, // MANAGEMENT_CheckUnitCount_SerfLimit2
  +         58.1549873, // MANAGEMENT_CheckUnitCount_SerfLimit3
  +          2.0000000, // MANAGEMENT_CheckUnitCount_WorkerGoldCoef
  +         10.0000000, // MANAGEMENT_GoldShortage
  +          2.1741371, // PLANNER_FARM_FieldCrit_FlatArea
  +          2.2117908, // PLANNER_FARM_FieldCrit_PolyRoute
  +          1.3475945, // PLANNER_FARM_FieldCrit_Soil
  +          4.4648204, // PLANNER_FARM_FindPlaceForHouse_CityCenter
  +          2.9779010, // PLANNER_FARM_FindPlaceForHouse_FlatArea
  +          7.8197188, // PLANNER_FARM_FindPlaceForHouse_HouseDist
  +          1.3052022, // PLANNER_FARM_FindPlaceForHouse_Route
  +         35.7995033, // PLANNER_FARM_PlanFields_CanBuild
  +         36.2002411, // PLANNER_FARM_PlanFields_Dist
  +         56.6039543, // PLANNER_FARM_PlanFields_ExistField
  +         24.2363358, // PLANNER_FindPlaceForHouse_CityCenter
  +          1.4848325, // PLANNER_FindPlaceForHouse_FlatArea
  +         30.3053074, // PLANNER_FindPlaceForHouse_HouseDist
  +          1.0928961, // PLANNER_FindPlaceForHouse_Route
  +         19.3727894, // PLANNER_FindPlaceForHouse_SeedDist
  +          0.8143388, // PLANNER_FindPlaceForHouse_SnapCrit
  +         37.6775322, // PLANNER_FindPlaceForQuary_DistCity
  +         19.3908730, // PLANNER_FindPlaceForQuary_DistStone
  +        916.3164063, // PLANNER_FindPlaceForQuary_DistTimer
  +         79.8209305, // PLANNER_FindPlaceForQuary_Obstacle
  +         41.8161469, // PLANNER_FindPlaceForQuary_SnapCrit
  +          6.0032129, // PLANNER_FOREST_FindForestAround_MaxDist
  +         13.4361115, // PLANNER_FOREST_FindPlaceForWoodcutter_ABRange
  +          9.6319351, // PLANNER_FOREST_FindPlaceForWoodcutter_DistCrit
  +       6314.7558594, // PLANNER_FOREST_FindPlaceForWoodcutter_DistTimer
  +        213.5915833, // PLANNER_FOREST_FindPlaceForWoodcutter_ExistForest
  +          2.5095639, // PLANNER_FOREST_FindPlaceForWoodcutter_FlatArea
  +          0.4984407, // PLANNER_FOREST_FindPlaceForWoodcutter_FreeTiles
  +          3.3014369, // PLANNER_FOREST_FindPlaceForWoodcutter_Radius
  +         -0.5921079, // PLANNER_FOREST_FindPlaceForWoodcutter_Routes
  +          1.8728309, // PLANNER_FOREST_FindPlaceForWoodcutter_Soil
  +          3.4405437, // PLANNER_FOREST_FindPlaceForWoodcutter_TreeCnt
  +      23018.5097656, // PLANNER_FOREST_FindPlaceForWoodcutter_TreeCntTimer
  +          0.9458039, // PLANNER_FOREST_PlaceWoodcutter_DistFromForest
  +        353.0060120, // PLANNER_ObstaclesInHousePlan_Road
  +       1020.0874023, // PLANNER_ObstaclesInHousePlan_Tree
  +          0.0000000, // PLANNER_SnapCrit_Field
  +          0.0000000, // PLANNER_SnapCrit_HouseOrRoad
  +          0.0000000, // PLANNER_SnapCrit_NoBuild
  +        561.3941650, // PLANNER_SnapCrit_ObstacleInEntrance
  +         38.7289505, // PLANNER_SnapCrit_Road
  +          0.0000000, // PLANNER_SnapCrit_RoadInEntrance
  +         35.0000000, // PREDICTOR_SecondSchool_MinRequiredUnits
  +          0.6166656, // PREDICTOR_WareNeedPerAWorker_Stone
  +          8.2666798, // PREDICTOR_WareNeedPerAWorker_StoneOffset
  +          0.3024155, // PREDICTOR_WareNeedPerAWorker_Wood
  +         86.0810776, // SHORTCUTS_BasePrice
  +         36.1513824, // SHORTCUTS_Coal
  +         35.7559090, // SHORTCUTS_Field
  +         36.9485817, // SHORTCUTS_Forest
  +         39.3399887, // SHORTCUTS_OtherCase
  +         31.0901375, // SHORTCUTS_Road
  +         59.9326286, // SHORTCUTS_TurnPenalization
  +         65.4560699, // SHORTCUTS_noBuildArea
  +         45.7135544, // ROADS_BasePrice
  +          8.1210327, // ROADS_Coal
  +         43.4000740, // ROADS_Field
  +         52.5317612, // ROADS_Forest
  +         34.7178040, // ROADS_OtherCase
  +         22.2137413, // ROADS_Road
  +         21.5668221, // ROADS_TurnPenalization
  +         37.7816658  // ROADS_noBuildArea
   );
   
   
  
positive.code:        15.00, // BUILDER_BuildHouse_RTPMaxWork
         20.00, // BUILDER_BuildHouse_RoadMaxWork
         10.00, // BUILDER_ChHTB_AllWorkerCoef
         25.00, // BUILDER_ChHTB_FractionCoef
         10.00, // BUILDER_ChHTB_FreeWorkerCoef
          5.00, // BUILDER_ChHTB_TrunkBalance
         12.00, // BUILDER_ChHTB_TrunkFactor
          9.00, // BUILDER_CreateShortcuts_MaxWork
         20.00, // BUILDER_Shortage_Gold
         20.00, // BUILDER_Shortage_Stone
         40.00, // BUILDER_Shortage_StoneReserve
          3.00, // BUILDER_Shortage_Trunk
         10.00, // BUILDER_Shortage_Wood
        200.00, // EYE_GetForests_MaxAB
         22.00, // EYE_GetForests_MinRndSoil
          4.00, // EYE_GetForests_MinTrees
          4.00, // EYE_GetForests_Radius
        100.00, // EYE_GetForests_SPRndOwnLimMax
        100.00, // EYE_GetForests_SPRndOwnLimMin
          2.00, // MANAGEMENT_CheckUnitCount_SerfGoldCoef
         20.00, // MANAGEMENT_CheckUnitCount_SerfLimit1
         20.00, // MANAGEMENT_CheckUnitCount_SerfLimit2
         30.00, // MANAGEMENT_CheckUnitCount_SerfLimit3
          3.00, // MANAGEMENT_CheckUnitCount_WorkerGoldCoef
         15.00, // MANAGEMENT_GoldShortage
         12.00, // PLANNER_FARM_FieldCrit_FlatArea
          5.00, // PLANNER_FARM_FieldCrit_PolyRoute
          3.00, // PLANNER_FARM_FieldCrit_Soil
         10.00, // PLANNER_FARM_FindPlaceForHouse_CityCenter
         12.00, // PLANNER_FARM_FindPlaceForHouse_FlatArea
         10.00, // PLANNER_FARM_FindPlaceForHouse_HouseDist
          4.00, // PLANNER_FARM_FindPlaceForHouse_Route
         75.00, // PLANNER_FARM_PlanFields_CanBuild
         75.00, // PLANNER_FARM_PlanFields_Dist
         75.00, // PLANNER_FARM_PlanFields_ExistField
         50.00, // PLANNER_FindPlaceForHouse_CityCenter
          6.00, // PLANNER_FindPlaceForHouse_FlatArea
         20.00, // PLANNER_FindPlaceForHouse_HouseDist
          4.00, // PLANNER_FindPlaceForHouse_Route
  
negative.code:        -2.00, // PLANNER_FARM_FindPlaceForHouse_Route
          0.00, // PLANNER_FARM_PlanFields_CanBuild
          0.00, // PLANNER_FARM_PlanFields_Dist
         30.00, // PLANNER_FARM_PlanFields_ExistField
          0.00, // PLANNER_FindPlaceForHouse_CityCenter
          0.00, // PLANNER_FindPlaceForHouse_FlatArea
         25.00, // PLANNER_FindPlaceForHouse_HouseDist
          0.00, // PLANNER_FindPlaceForHouse_Route
          0.00, // PLANNER_FindPlaceForHouse_SeedDist
          0.00, // PLANNER_FindPlaceForHouse_SnapCrit
  