home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 October / Gamestar_77_2005-10_dvd.iso / Dema / fifa06_demo.exe / data / cmn / ini.big / ai.ini next >
INI File  |  2005-08-16  |  11KB  |  378 lines

  1. //
  2. // AI Prototyping configuration
  3. //
  4. // These are variables to play with to tune the gameplay or try alternative designs.
  5. //
  6.  
  7. // The length of the field.  The units are 16ths of a foot.
  8. FIELD_LENGTH = 6450.0
  9. //5760*1.12
  10.  
  11. // The width of the field the units are 16th of a foot.
  12. FIELD_WIDTH = 4300.0
  13. //3840*1.12
  14.  
  15. // Momentum system keeps track of each teams "phase", and chooses how to affect individual players
  16. // MOMENTUM_ENABLED controls the connection between team phase and individual players abilities
  17. // 0 = Momentum phase will change, but players will believe they are in "neutral" phase (good for AI balancing)
  18. // 1 = Momentum phase will change and players will play better/worse via altered attributes (how final game will be)
  19. MOMENTUM_ENABLED = 1
  20.  
  21. DIGITAL_SNAPTOANGLE = 110
  22.  
  23. // 60 is the original default value.  Values from 40 to 80 are "reasonable".
  24. GAME_SPEED = 50
  25.  
  26. // 19 is the original default value.  Values from 10 to 25 are "reasonable".
  27. POWERUP_RATE = 19
  28.  
  29. // Setting this to 1 will mean that powerup does not take into account the intensity of the button press (ie. Dualshock2 buttons will be treated as non-analog)
  30. FLAT_POWERUP = 0
  31.  
  32. //There are three setting for ref Strictness
  33. // 0 = normal
  34. // 1 = DEBUG EASY (no carding)
  35. // 2 = DEBUG STRICT
  36.  
  37. REFEREE_STRICTNESS = 0
  38. REFCALL_NO_FOUL = 0
  39.  
  40. // 0 = off        1 = movement direction is locked while powering up (and aiming) kick.
  41. POWERUPHEADINGLOCK = 2
  42.  
  43. CROSS_ASSISTANCE = 7.5
  44. CROSS_ASSISTANCE_WIDTH = 4
  45.  
  46. //Auto Switch Scale
  47. AUTO_SWITCH_SCALE = 0.8
  48.  
  49. // For debugging attibutes, we can set all the members of a team to the same values by entering it here.
  50. // To use set either HOME or AWAY_TEAM_ATTRIB to 1, and then set the attribute values that you would like to use
  51. // for the team.  Any time you want to use a players default values, you can set the attibute to -1.
  52. // example to test shooting we could do this.
  53. //
  54. //Atribute Max is 6 min is 0
  55. //                                            HOME_TEAM_ATTRIB = 1
  56.  
  57. //                                                HOME_TEAM_AWARENESS        = -1
  58. //                                                HOME_TEAM_BALL_CONTROL    = -1
  59. //                                                HOME_TEAM_FITNESS        = -1
  60. //                                                HOME_TEAM_HEADING        = -1
  61. //                                                HOME_TEAM_SPEED            = -1
  62. //                                                HOME_TEAM_TACKLING        = -1
  63. //                                                HOME_TEAM_PASSING        = -1
  64. //                                                HOME_TEAM_SHOOTING        =  6
  65. //                                                HOME_TEAM_STRENGTH        = -1
  66. //                                                HOME_TEAM_AGGRESSION    = -1
  67. //                                                HOME_TEAM_POSITIONING    = -1
  68. //                                                HOME_TEAM_SKILLS        = -1
  69.  
  70. // ranges for attributes
  71. ATTRIBUTE_AVG = 60
  72. ATTRIBUTE_GOOD = 90
  73. ATTRIBUTE_EX = 95
  74.  
  75. //Min and Max Sprint speed used in speed attribute tuning, please tell Paul if your gonna change these
  76. SPRINT_SPEED_POOR = 8.8
  77. SPRINT_SPEED_AVG = 9.0
  78. SPRINT_SPEED_GOOD = 9.2
  79. SPRINT_SPEED_EX = 9.5
  80.  
  81. DRIBBLE_SPEED_PENALTY = 0.5
  82.  
  83. //**************************
  84. //Trapping Tuning Values
  85. //**************************
  86.  
  87. TRAP_DIST_POOR = 64
  88. TRAP_DIST_AVG = 32
  89. TRAP_DIST_GOOD = 16
  90. TRAP_DIST_EX = 0
  91. TRAP_FTSTUMBLE_RATE_POOR = 0.10
  92. TRAP_FTSTUMBLE_RATE_AVG = 0.05
  93. TRAP_FTSTUMBLE_RATE_GOOD = 0
  94. TRAP_FTSTUMBLE_RATE_EX = 0
  95. TRAP_FTSTAR_RATE_POOR = 0
  96. TRAP_FTSTAR_RATE_AVG = 0
  97. TRAP_FTSTAR_RATE_GOOD = 0.50
  98. TRAP_FTSTAR_RATE_EX = 0.75
  99. TRAP_ANIM_TURN_MIN = 0.8
  100. TRAP_ANIM_TURN_MAX = 1.35
  101.  
  102. // taskutil and offline run info
  103. MAX_PLAYERS_CONSIDERED_OFL_THREAT = 11
  104. OFL_THREAT_DISTANCE_X = 800.0
  105. OFL_THREAT_DISTANCE_Z = 320.0
  106. OFL_BOX_THREAT_DISTANCE_X = 800.0
  107. OFL_BOX_THREAT_DISTANCE_Z = 320.0
  108.  
  109. // OFL_EVAL_SAFE_DISTANCE = 1/AIFEET(20.0f)
  110. OFL_EVAL_SAFE_DISTANCE = 0.003125
  111.  
  112. OFL_EVAL_TIME = 0.06
  113. OFL_SPACE_MOD = 0.29
  114. OFL_TOWARD_GOAL_MOD = 0.33
  115. OFL_AVAIL_TIME_MOD = 0.28
  116. OFL_BOX_THREAT_GOAL_POST_Z = 2350.0
  117.  
  118. // close 3rd man support
  119. CLOSESUPPORT_DIST = 800.0
  120. FS_SPACE_MOD = 0.4
  121. FS_DISTANCE_MOD = 0.6
  122. FOS_THREAT_DISTANCE_X = 1120.0
  123. FOS_THREAT_DISTANCE_Z = 1120.0
  124. FOS_MAX_ANGLE = 0.3
  125.  
  126. WING_X_POS = 1440.0
  127.  
  128.  
  129. // Ball player to player avoidance
  130. BPAVOID_RADIUS = 23.0
  131.  
  132. // Chance of getting injured/winded in a collision
  133. INJURY_PERCENTAGE = 15
  134.  
  135. // chance of getting winded vs getting injured  (100 means always winded 0 means always injured).
  136. INJURY_CHANCE_OF_WINDING = 60
  137.  
  138. // Possible shot height for a penalty kick in terms of netheight. 1.0 == height of net.
  139. // NOTE: if you actually use 1.0, using full power won't score, it will hit crossbar.
  140. PK_HEIGHT_SCALAR = 1.4
  141.  
  142. // Possible shot width for a penalty kick in terms of netheight. 1.0 == width of net.
  143. PK_WIDTH_SCALAR = 1.6
  144.  
  145. // Rate at which penalty kicks power up (and you have time to direct your shot). Reasonable values = 5..20
  146. PK_POWERUP_RATE = 16
  147.  
  148. //shot (in DEGREE)
  149. SHOT_ASSISTED_ANGLE = 60
  150. SHOT_NEARMISS_ANGLE = 90
  151.  
  152. ////////////////////////////////////////////
  153. // new smart pass parameter used by Jinsong
  154. // all the angles are in degree
  155. // all the distance length are in feet,
  156. // unless specified
  157. ///////////////////////////////////////////
  158.  
  159. THROUGHPASS_LEADING_DIST_LV0 = 20
  160. THROUGHPASS_LEADING_DIST_LV1 = 30
  161. THROUGHPASS_LEADING_DIST_LV2 = 40
  162.  
  163. //CPU do tactic sub or not
  164. DO_CPU_SUB = 0
  165.  
  166. //==============================================================================
  167. // goalie tuning
  168. //==============================================================================
  169. ALLOW_BACKPASS_PICKUP = 0
  170.  
  171. GOALIE_RUN_FORWARD_WITH_BALL = 10
  172. GOALIE_RUN_SIDEWAYS_WITH_BALL = 3
  173. GOALIE_TIME_BEFORE_CPU_KICK = 120
  174. GOALIE_TIME_BEFORE_USER_KICK = 300
  175. GOALIE_DROP_KICK_SPEED = 30
  176. GOALIE_DROP_KICK_YV = 15
  177. GOALIE_PUNT_YV = 19
  178. GOALIE_PUNT_SPEED = 27
  179. GOALIE_ROLL_SPEED = 20
  180. GOALIE_THROW_SPEED = 27
  181. GOALIE_HARD_THROW_SPEED = 30
  182. GOALIE_THROW_YV = 0
  183. GOALIE_OVERHEAD_THROW_YV = 10
  184. GOALIE_OVERHEAD_HARD_THROW_YV = 4
  185. GOALIE_THROW_THRESHOLD = 55
  186. GOALIE_HARD_THROW_THRESHOLD = 80
  187.  
  188. NO_SECOND_YELLOW = 0
  189. NO_IMMEDIATE_RED_CARDS = 0
  190.  
  191. // Comment this out and it will use the FE option.
  192. //OFFSIDES_OFF = 1
  193.  
  194. // Bumpy ground!
  195.  
  196. BUMPY_GROUND_MAX_VEL_UP            = 0.5
  197. BUMPY_GROUND_MIN_XZ_VEL            = 1.52
  198.  
  199. // How the ball rolls
  200. BALL_ROTATION_MAX_KICK_STRENGTH                        = 2000000.0
  201. BALL_ROTATION_BACKSPIN_ADDITION_ON_MAX_KICK            = 0.03
  202. BALL_ROTATION_BACKSPIN_ADDITION_ON_MIN_KICK            = 0.01
  203. BALL_ROTATION_BLENDRATE_WITH_GROUND                    = 0.50
  204.  
  205. // backspin limited to 1.0 in code
  206. AUTO_BACKSPIN_MULTIPLIER = 1.0
  207.  
  208. //--------------------------------------------------------------------------------------------------------------
  209. // GOALIE STYLE OVERRIDES (testing only -- if they are all 0, actual DB attribs are used)
  210. //--------------------------------------------------------------------------------------------------------------
  211. // if these flamboyance overrides are commented out, then it uses FLAMBOYANT_AGGRESSION_THRESHOLD
  212. HOME_GOALIE_FLAMBOYANT = 1
  213. AWAY_GOALIE_FLAMBOYANT = 1
  214.  
  215. // why does this sound like a Sailor Moon attack?? it's meant to be the minimum aggression rating to be considered flamboyant
  216. FLAMBOYANT_AGGRESSION_THRESHOLD = 4
  217.  
  218. // conservative goalies don't throw further than this many feet -- they'll kick instead
  219. MAX_CONSERVATIVE_THROW = 60
  220.  
  221. ABSOLUTELY_PERFECT_GOALIES = 0
  222.  
  223. //******************
  224. //more goalie tuning
  225. //******************
  226. // See gdata.h for description of parameters. To update these, use goalie
  227. // tuning dialog in testbed, then "Save to clipboard" and paste here.
  228. NEARTHIRD_LINEDISTANCE = 8
  229. MIDDLETHIRD_LINEDISTANCE = 21
  230. FARTHIRD_LINEDISTANCE = 41
  231. DEADZONE_X = 54
  232. DEADZONE_Z = 30
  233.  
  234. CHARGE_MAX_BOX_WIDTH = 50
  235. CHARGE_MAX_BOX_LENGTH = 55
  236. CHARGE_ALWAYS_BOX_WIDTH = 60
  237. CHARGE_ALWAYS_BOX_LENGTH = 50
  238. CHARGE_STRIP_BOX_WIDTH = 109
  239. CHARGE_STRIP_BOX_LENGTH = 42
  240. CHARGE_ALWAYS_RANGE = 15
  241. CHARGE_STRIP_RANGE = 5
  242. CHARGE_STRIP_ANGLE = 30
  243. CHARGE_STOP_RANGE = 2
  244. CHARGE_TACKLE_ANGLE = 130
  245. CHARGE_COMMIT_TIME = 20
  246. CHARGE_BACKAT_RANGE = 10
  247. CHARGE_FACEAT_RANGE = 15
  248. CHARGE_FULLSPEED_RANGE = 15
  249.  
  250. MAX_BALL_PREDICT_TIME = 40
  251. BALL_PREDICT_RANGE = 40
  252. TARGET_ANTICIPATION = 100
  253. ANCHOR_ANTICIPATION = 100
  254. ANCHOR_WIDTH = 12
  255. ANCHOR_MAX_BALL_ANGLE = 18
  256. THREAT_WIDTH = 24
  257. PRIMARY_THREAT_WIDTH = 4
  258. SECONDARY_THREAT_WIDTH = 4
  259.  
  260.  
  261. //**************************
  262. //user control tuning values
  263. //**************************
  264.     //feet
  265. MIN_USER_PASS_DIST = 8
  266. MAX_USER_PASS_DIST = 100
  267.  
  268. MIN_USER_PASS_TIME = 30
  269. MAX_USER_PASS_TIME = 60
  270.  
  271. MIN_USER_LOB_DIST = 30
  272. MAX_USER_LOB_DIST = 200
  273. MIN_USER_LOB_HEIGHT = 10
  274. MAX_USER_LOB_HEIGHT = 22
  275.  
  276. MIN_USER_LOBTHROUGH_DIST = 20
  277. MAX_USER_LOBTHROUGH_DIST = 120
  278. MIN_USER_LOBTHROUGH_HEIGHT = 8
  279. MAX_USER_LOBTHROUGH_HEIGHT = 30
  280.  
  281. MIN_USER_CROSS_DIST        = 60
  282. MAX_USER_CROSS_DIST        = 195    // original is 160
  283. MIN_USER_CROSS_HEIGHT      = 8       // original is 15
  284. MAX_USER_CROSS_HEIGHT      = 18       // original is 25
  285.  
  286. BASE_USER_LOWCROSS_DIST         = 100        // feet
  287. BASE_USER_LOWEARLYCROSS_DIST = 120        // feet
  288. MIN_USER_LOWCROSS_HEIGHT     = 7        // feet
  289. MAX_USER_LOWCROSS_HEIGHT     = 14        // feet
  290.  
  291. BASE_USER_GROUNDCROSS_DIST        = 62        // feet
  292. BASE_USER_GROUNDEARLYCROSS_DIST = 66        // feet
  293. MIN_USER_GROUNDCROSS_HEIGHT     = 2        // feet
  294. MAX_USER_GROUNDCROSS_HEIGHT     = 4        // feet
  295.  
  296. MIN_USER_CLEARANCE_DIST = 60
  297. MAX_USER_CLEARANCE_DIST = 150
  298. MIN_USER_CLEARANCE_HEIGHT = 10
  299. MAX_USER_CLEARANCE_HEIGHT = 25
  300.  
  301. //**************************
  302. //Tackling tuning values
  303. //**************************
  304.  
  305. PTAVOIDDECEL = 0.05
  306.  
  307. PTAVOIDDELAY_POOR = 24.0
  308. PTAVOIDDELAY_AVG  = 22.0
  309. PTAVOIDDELAY_GOOD = 20.0
  310. PTAVOIDDELAY_EX   = 18.0
  311.  
  312. //**************************
  313. //Shot Tuning Values
  314. //**************************
  315. SHOT_POWERUP_RATE = 20
  316.  
  317. //***************************
  318.  
  319.  
  320. //TEST_SAVE_ANIM = 59
  321.  
  322. KEEPER_INTERCEPTION_AMNESTY_FRAMES = 0
  323.  
  324. //in yards
  325. FORCE_TEAMMATE_ADVANTAGE = 10
  326.  
  327. []
  328.  
  329. MAX_BALL_VELOCITY_XZ = 40.000000
  330. MAX_BALL_VELOCITY_Y = 25.000000
  331.  
  332. //BALL_AIR_RESISTANCE_XZ = 0.007037
  333. BALL_AIR_RESISTANCE_XZ = 0.0070
  334. //BALL_AIR_RESISTANCE_Y = 0.005812
  335. BALL_AIR_RESISTANCE_Y = 0.0060
  336. BALL_GRAVITY = -0.30
  337.  
  338. BALL_BOUNCE_COEFF_XZ = 0.80
  339. //BALL_ROLLING_COEFF = 0.984441
  340. BALL_ROLLING_COEFF = 0.9845
  341. BALL_BOUNCE_DAMPING = 2.0
  342. BALL_L_BOUNCE_DAMPING = 0.8
  343. BALL_NL_BOUNCE_DAMPING_SPEED = 5.0
  344.  
  345. RAIN_BALL_BOUNCE_COEFF_XZ = 0.99
  346. RAIN_BALL_ROLLING_COEFF = 0.975
  347. RAIN_BALL_BOUNCE_DAMPING = 3.2
  348. RAIN_BALL_L_BOUNCE_DAMPING = 0.6
  349. RAIN_BALL_NL_BOUNCE_DAMPING_SPEED = 12.0
  350.  
  351. PASS_SPEED = 1.2
  352.  
  353. SPIN_CREATION_MULTIPLIER = 3.0
  354. SPIN_EFFECT_MULTIPLIER = 3.0
  355.  
  356. EVALBALL_BESTCASEDELAY = 0
  357. EVALBALL_WORSTCASEDELAY = 40
  358. EVALBALL_BESTCASESPEED = 9.0
  359. EVALBALL_WORSTCASESPEED = 7.0
  360. EVALBALL_MAX_PLAYABLE_HEIGHT = 10
  361.  
  362. POWERUP_RATE = 24
  363.  
  364. THROW_IN_SHORT = 20
  365. THROW_IN_LONG  = 33
  366. MED_THROW_IN_DELAY = 20
  367. LONG_THROW_IN_DELAY = 30
  368.  
  369. AGGR_TACKLE_MAX_DIST = 10.0
  370. AGGR_TACKLE_ANGLE_FACTOR = 10.0
  371. AGGR_TACKLE_ASSIST_DIST = 6.0
  372.  
  373. SHOT_BEST_CONTACT_RANGE_RATE    = 0.20
  374. SHOT_BEST_CONTACT_RANGE            = 2        // actual range is 4
  375. SHOT_BETTER_CONTACT_RANGE        = 6        // actual range is 12
  376.  
  377. PRETTY_PASS_MAX_Y_VELOCITY = 3.6
  378. PRETTY_PASS_INC_Y_VELOCITY = 0.03