home *** CD-ROM | disk | FTP | other *** search
- /*****************************************************************************
-
- Default.AIP
-
- *****************************************************************************/
-
- #include "aipdef.h"
-
- // How often do we recompute the strategy?
- int recompute_strategy_period = 50;
-
- // PRIORITIES
- int ground_unit_threat = 50;
- int threat_priority = 50;
- int distance_priority = -1;
- int defend_buildings_priority = 200;
- int attack_enemy_base_priority = 1;
- int persistence_priority = 30;
- int exploration_priority = 0;
- int scripted_priority = 50;
- int single_use_group_priority = 30;
- int perimeter_priority = 0;
-
- // TROOP COMMITMENT STUFF
- double min_matching_force_ratio = 0.1;
- double max_matching_force_ratio = 2.0;
-
- // When generic troops are called for, what should be ratio of troops that can
- // shoot ground targets to troops that can shoot air targets?
- double generic_ground_ratio = 1.0;
-
- int min_building_defense_force = 40;
- int max_building_defense_force = 370;
-
- int min_exploration_force = 75;
- int max_exploration_force = 225;
-
- int min_perimeter_force = 20;
- int max_perimeter_force = 70;
-
-
- // RELAXATION STUFF
- int relaxation_cycles = 1;
- float relaxation_coefficient = .1;
-
-
- ///////////////////////////////////////////////////////////////////////////////
- // New Construction Program stuff
-
-
- ///////////////////////////////////////////////////////////////////////////////
- // The UCP Data
- // --------------------
- // This specifies what type of units to build.
- UNIT_CONSTRUCTION_PROGRAM unit_construction_program[MAX_UCP_LENGTH];
-
- #DATA
-
- // Which Account BUDGET BUDGET CAP
- //----------------------------------------------------
- "Slush_fund", UNLIMITED, UNLIMITED;
- "Base_building", 40, 9500;
- "Offensive", 60, 15500;
-
- #END_DATA
-
-
-
- ///////////////////////////////////////////////////////////////////////////////
- // ACCOUNT NOTES.
- // --------------
- // For each line item in an account, you must specify a build type from one of
- // the following... NUMBER_TO_HAVE, NUMBER_TO_BUILD, RATIO_TO_BUILD, or RATIO_TO_HAVE.
- //
- // The "RATIO" items can only occur in the lowest priority level of an account.
- // Also, all line-items with the same priority must have the same build type
-
-
- ///////////////////////////////////////////////////////////////////////////////
- // Slush_fund
- // --------------------
- // This specifies the baseline super-critical account
-
- ACCOUNT Slush_fund[MAX_ACCOUNT_LENGTH];
-
- #DATA
-
- // Priority Item Name Build Type Build Amount
- //--------------------------------------------------------------------
- 18, "fu1", NUMBER_TO_HAVE, 1;
-
- #END_DATA
-
-
-
- ///////////////////////////////////////////////////////////////////////////////
- // BASE_BUILDING
- // --------------------
- // How do we want to go about building our base?
-
- ACCOUNT Base_building[MAX_ACCOUNT_LENGTH];
-
- #DATA
-
- // Priority Item Name Build Type Build Amount
- //--------------------------------------------------------------------
- 17, "fgpp", NUMBER_TO_HAVE, 1;
-
-
- #END_DATA
-
-
-
- ///////////////////////////////////////////////////////////////////////////////
- // OFFENSIVE
- // --------------------
- // What sort of offensive units and support structures do we want
-
- ACCOUNT Offensive[MAX_ACCOUNT_LENGTH];
-
- #DATA
-
- // Priority Item Name Build Type Build Amount
- //--------------------------------------------------------------------
- 5, "FGFreedomFighter", NUMBER_TO_HAVE, 1;
- #END_DATA
-
-
-
-
- ///////////////////////////////////////////////////////////////////////////////
- // FORCE MATCHING
- // --------------
- // Which units do we want to emphasize & target with this aip?
- // Note that this can be used for BOTH the AI team's unit strengths and
- // the opponents'
- FORCE_MATCHING My_Matchings[MAX_FORCE_MATCHING];
-
- #DATA
-
- // Unit Name Multiplier
- //----------------------------------
- "FGMercenary", 1.1;
- "FGSpiderBike", 0.8;
-
- #END_DATA
-
-