home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 April B / Pcwk4b98.iso / Gry / DARKREIG / Data / Dark / SCENARIO / Fixed / M03F / M03FDEF.AIP < prev    next >
Text File  |  1997-10-28  |  6KB  |  182 lines

  1. /**********************************************************************
  2.  
  3.  M03fDef.aip    modified on july 15,1997
  4.  
  5.  AUTO GENERATED - HAND EDIT AT YOUR OWN RISK
  6.  
  7. **********************************************************************/
  8.  
  9. #include "aipdef.h"
  10. // How often do we recompute the strategy?
  11. int recompute_strategy_period = 50;
  12.  
  13. // PRIORITIES
  14. int ground_unit_threat = 10;
  15. int threat_priority = 200;
  16. int distance_priority = 5;
  17. int defend_buildings_priority = 1000;
  18. int attack_enemy_base_priority = 0;
  19. int persistence_priority = 100;
  20. int exploration_priority = 0;
  21. int scripted_priority = 0;
  22. int single_use_group_priority = 0;
  23. int perimeter_priority = 500;
  24. int resource_priority = 400;
  25. int danger_priority = 10;  
  26. int danger_diminishment = 1;
  27.  
  28.  
  29. // TROOP COMMITMENT STUFF 
  30. double min_matching_force_ratio =1.0;
  31. double max_matching_force_ratio = 3.5;
  32.  
  33. // When generic troops are called for, what should be ratio of troops that can
  34. // shoot ground targets to troops that can shoot air targets?
  35. double generic_ground_ratio = 1.0;
  36.  
  37. int min_building_defense_force = 100;
  38. int max_building_defense_force = 200;
  39.  
  40. int min_exploration_force = 0;
  41. int max_exploration_force = 0;
  42.  
  43. int min_perimeter_force = 70;
  44. int max_perimeter_force = 200;
  45.  
  46. int min_resource_force = 100;           
  47. int max_resource_force = 200;
  48.  
  49. // RELAXATION STUFF 
  50. int relaxation_cycles = 1;
  51. float relaxation_coefficient = .1;
  52.  
  53. // The transport we should use
  54. #define transport "FGGroundTransporter"
  55.  
  56. // Should we repair buildings during this aip
  57. int repair_buildings = YES;
  58.  
  59. //  On average how long will we wait between re-exploring a cell?
  60. int recon_period = 100;
  61.  
  62. // 1 out N strategic cycles, we'll find out a morphed spy?
  63. int infiltrator_period = 50;
  64.  
  65. // Use good targeting (TACTAI_HIGH) or default (TACTI_LOW)
  66. int tactical_ai = TACTAI_HIGH;
  67. /////////////////////////////////////////////////////////////////////////////
  68. // ACCOUNTS
  69.  
  70. /////////////////////////////////////////////////////////////////////////////
  71.  
  72. UNIT_CONSTRUCTION_PROGRAM unit_construction_program[MAX_UCP_LENGTH];
  73.  
  74. #DATA
  75.  
  76. //   Which Account           BUDGET             BUDGET CAP
  77. //--------------------------------------------------------
  78.      "Slush_fund",           UNLIMITED,         UNLIMITED;
  79.      "Base_building",        40,                5000;
  80.      "Units",                60,                10000;
  81.  
  82. #END_DATA
  83.  
  84.  
  85.  
  86. /////////////////////////////////////////////////////////////////////////////
  87. // ACCOUNT NOTES
  88. /////////////////////////////////////////////////////////////////////////////
  89.  
  90.  
  91. /////////////////////////////////////////////////////////////////////////////
  92. // Slush_fund
  93. //
  94. ACCOUNT Slush_fund[MAX_ACCOUNT_LENGTH];
  95.  
  96. #DATA
  97.  
  98. //  Priority     Item Name               Build Type                Build Amount
  99. //------------------------------------------------------------------------------
  100.     19,          "IMPConstructionCrew",  NUMBER_TO_HAVE,           1;
  101.     
  102. #END_DATA
  103.  
  104.  
  105.  
  106. /////////////////////////////////////////////////////////////////////////////
  107. // Base_building
  108. //
  109. ACCOUNT Base_building[MAX_ACCOUNT_LENGTH];
  110.  
  111. #DATA
  112.  
  113. //  Priority     Item Name               Build Type                Build Amount
  114. //------------------------------------------------------------------------------
  115.     20,          "ih1",                  NUMBER_TO_HAVE,           1;
  116.     19,          "imppp",                NUMBER_TO_HAVE,           1;
  117.     18,          "iu1",                  NUMBER_TO_HAVE,           1;
  118.     17,          "implp",                NUMBER_TO_HAVE,           1;
  119.     16,          "ig",                   NUMBER_TO_HAVE,           2;
  120.     15,          "imppp",                NUMBER_TO_HAVE,           2;   
  121.     14,          "ic1",                  NUMBER_TO_HAVE,           1;
  122.     13,          "ig",                   NUMBER_TO_HAVE,           4;
  123.    
  124.  
  125.  
  126. #END_DATA
  127.  
  128.  
  129.  
  130. /////////////////////////////////////////////////////////////////////////////
  131. // Units
  132. //
  133. ACCOUNT Units[MAX_ACCOUNT_LENGTH];
  134.  
  135. #DATA
  136.  
  137. //  Priority     Item Name               Build Type                Build Amount
  138. //------------------------------------------------------------------------------
  139.    
  140.     6,           "IMPPlasmaTank",        NUMBER_TO_HAVE,           2;
  141.     5,           "IMPStrikeMarine",      RATIO_TO_BUILD,           4;
  142.     5,           "IMPFireSupportMarine", RATIO_TO_BUILD,           1;
  143.     
  144. #END_DATA
  145.  
  146.  
  147.  
  148. /////////////////////////////////////////////////////////////////////////////
  149. // FORCE MATCHING
  150.  
  151. /////////////////////////////////////////////////////////////////////////////
  152. FORCE_MATCHING My_Matchings[MAX_FORCE_MATCHING];
  153.  
  154. #DATA
  155.  
  156. // Unit Name                       Multiplier
  157. //-------------------------------------------
  158.  
  159.  
  160.  
  161.  
  162. #END_DATA
  163.  
  164.  
  165. BUILDING_MATCHING My_Building_Matchings[MAX_BUILDINGS];
  166.  
  167. #DATA
  168.  
  169. // Building Name                   Multiplier         Where to Build
  170. //------------------------------------------------------------------
  171.    "ih1",                          1.00,              CENTER_OF_BASE;
  172.    "iu1",                          1.00,              CENTER_OF_BASE;
  173.    "ic1",                          1.00,              CENTER_OF_BASE;
  174.    "imppp",                        1.00,              CENTER_OF_BASE;
  175.    "ig",                           1.00,              PERIMETER;
  176.    "impho",                        1.00,              CENTER_OF_BASE;
  177.    "impre",                        1.00,              CENTER_OF_BASE;
  178.  
  179. #END_DATA
  180.  
  181.  
  182.