tcombat.cfg & tinternat.cfg

Killzone

School Cricketer
Joined
Dec 24, 2006
Online Cricket Games Owned
Config file for CPU - determining values for editing purposes

Work in progress

This file has the exact fields as tinternat.cfg (and other difficulty level cfg's), and some of the fields in tinternat.cfg appear to affect the CPU as well. And some of the fields in tcombat.cfg have no effect, being overridden by the tinternat.cfg file. Alot of the fields are pure guesswork by me and some are as a result of testing by others and myself. Actually from findings so far its difficult to find a setting in the tcombat.cfg file that IS used by the CPU, they seem to come from the tinternat.cfg file.

One of the programmers for BLIC'99/SWC'99 went to EA sports and alot of the config files in EA Cricket appear very very similar. I have purchased EA Cricket 2005 and will be attempting AI edits there as well, however I love SWC'99 and its easy to edit and observe results.

If I am successfull in interpreting and editing the BLIC'99/SWC'99 files, it should make it easier to understand and edit the EA Sports Cricket 2005 files.

I find the basic game engine is pretty good considering its age and IMHO its vastly superior to BLIC 2005 (which I also have) with the exception of graphics, bowling options and a few sundry items such as hawkeye.





; Cricket98 Config
;

; Batting Config


; CPU Batting Settings

CpuDiffAffectPos 0
CpuMaxPosAdjust 27968 - No effect - determined by tinternat.cfg

; Virtual Bat Settings

DiffAffectVBatSize 0
VBatSize 32768 - No effect - determined by tinternat.cfg

; Sroke Difficuly - what makes up the overall difficulty of CPU batting - increasing a particular value will make it more of a factor in overall difficulty. My thinking is that here the CPU determines situational difficulty

DiffBias 0 - Difficulty determined by type of pitch?
ScoreBias 4368 - Difficulty determined by batsman score
StokeDiffBias 14856 - Difficulty of shot as per stroke ATR files
FacedBias 34516 - Difficulty determined by no of balls faced (decrease=fewer CPU collapses?)
StyleBias 14856 - Difficulty determined by batsman's style
OrderBias 26216 - Difficulty determined by batman's position in order
RandomBias 13544 - Random difficulty
EdgeDifficulty 3060 - Edge probability bias to overall difficulty
EdgeStroke 436 - edge probabilty bias according to stroke ATR files
EdgeAverage 10924 - edge probabilty bias as per batsmans/bowlers average?
EdgeOrder 0
EdgeBias 0

; Stroke Timing

DiffAffectTime 0
TimeStart 38016
TimeEnd 0
DiffAffectIdeal 10924
IdealWindow 30592

; Batsman Position Adjust

DiffAffectPos 0
MaxPosAdjust 54208

; Ball Trajectory Adjust

DiffAffectTraj 0
MaxTrajAdjust 10944


;
; Cricket98 CPU Stroke Selection Config
;
CpuStumpRelPos 58544 -shot determined by line of ball
CpuBatsmanRelPos 44564 - shot detemined by batsman position
CpuPitched 61168 - shot determined by length of ball
CpuContactY 61168 - shot determined by speed of ball
CpuContactX 23156 - shot determined by bounce of ball
CpuRandom 8300 - shot randomly chosen
CpuHistory 36264 - shot determined by team position?
CpuBatsmanStyle 52864 - shot determined by batman style
CpuDifficulty 43252 - shot determined by overall difficulty?
CpuBatsmanStyle2 30584 - shot detemined by bowling style?
CpuFaced 50244 - shot determined by balls faced
CpuBattingDefensive 48060 - higher = more defensive?
CpuBattingTypeMatch 23592 - shot determined by match type?
CpuRequest 4368 - shot determined by chasing total?
CpuReward 3060 - shot determined by shot reward
;
; Cricket98 Bowling Config
;
;
; Bowling Cursor Size - no effect-determined by tinternat.cfg
;
CursorSizeMin 16604
CursorSizeMax 60732
;
; Bowling Cursor Acceleration - No effect - determined by tinternat.cfg
;
CursorAccelMin 16604
CursorAccelMax 44564
;
; Fast Bowler - No effect - determined by tinternat.cfg
;
Fast 45000
Normal 38448
Slow 12672
Boost 15728
;
; Swing Bowler - No effect - determined by tinternat.cfg
;
SwingQuick 27524
SwingNormal 17912
Swing 13980
SwingBoost 13544
;
; Leg Spin Bowler- No effect - determined by tinternat.cfg
;
LegSpinFlipper 21844
LegSpinSpeed 8300
LegSpinBoost 16604
LegSpinDamp 35452
LegSpinGreen 16116
LegSpinNormal 25248
LegSpinHard 38140
LegSpinDusty 49420
;
; Off Spin Bowler- No effect - determined by tinternat.cfg
;
OffSpinArm 13544
OffSpinSpeed 8740
OffSpinBoost 18788
OffSpinDamp 34380
OffSpinGreen 4836
OffSpinNormal 14504
OffSpinHard 30620
OffSpinDusty 41364
;
; Weather & Pitch Condition -No effect - determined by tinternat.cfg
;
BallSeamDamp 12672
BallSeamGreen 20536
BallSeamNormal 6992
BallSeamHard 0
BallSeamDusty 0
BallSwingSunny 10484
BallSwingCloudy 33204
BallSwingOvercast 47624
BallSwingGrey 41068
BallSwingNightD 39760
BallSwingNightL 29708

End



tinternat.cfg details:-


;
; Cricket98 Config
;

; Batting Config


; CPU Batting Settings

CpuDiffAffectPos 0
CpuMaxPosAdjust 38464 - amount of adjustment by CPU during execution of shot

; Virtual Bat Settings

DiffAffectVBatSize 0
VBatSize 32768 - virtual size of bat for Player only. Low = play and miss if not inline. No setting for CPU. Tcompbat.cfg setting has no effect on CPU.

; Sroke Difficuly

DiffBias 65536
ScoreBias 4804
StokeDiffBias 43252
FacedBias 61604
StyleBias 25340
OrderBias 36264
RandomBias 8740
EdgeDifficulty 11360
EdgeStroke 4804
EdgeAverage 23168
EdgeOrder 0
EdgeBias 4804

; Stroke Timing

DiffAffectTime 0
TimeStart 34516
TimeEnd 0
DiffAffectIdeal 0
IdealWindow 10048

; Batsman Position Adjust

DiffAffectPos 0
MaxPosAdjust 23168 -amt of adjustment done during execution of the shot by Player to get into line

; Ball Trajectory Adjust

DiffAffectTraj 0
MaxTrajAdjust 3072


;
; Cricket98 CPU Stroke Selection Config
;
CpuStumpRelPos 58544 -shot determined by line of ball
CpuBatsmanRelPos 44564
CpuPitched 61168
CpuContactY 61168
CpuContactX 23156
CpuRandom 8300
CpuHistory 36264
CpuBatsmanStyle 30584
CpuDifficulty 43252
CpuBatsmanStyle2 30584
CpuFaced 50244
CpuBattingDefensive 48060
CpuBattingTypeMatch 23592
CpuRequest 4368
CpuReward 3060
;
; Cricket98 Bowling Config
;
;
; Bowling Cursor Size - curser size for bowling by Player AND CPU
;
CursorSizeMin 16604
CursorSizeMax 60732
;
; Bowling Cursor Acceleration- Affects Player AND CPU
;
CursorAccelMin 36264
CursorAccelMax 64224
;
; Fast Bowler- Affects Player AND CPU
;
Fast 51992
Normal 48060
Slow 13980
Boost 18352
;
; Swing Bowler- Affects Player AND CPU
;
SwingQuick 28536
SwingNormal 17912
Swing 13980
SwingBoost 12672
;
; Leg Spin Bowler- Affects Player AND CPU
;
LegSpinFlipper 22284
LegSpinSpeed 8300
LegSpinBoost 16604
LegSpinDamp 35452
LegSpinGreen 16116
LegSpinNormal 25248
LegSpinHard 38140
LegSpinDusty 49420
;
; Off Spin Bowler- Affects Player AND CPU
;
OffSpinArm 13108
OffSpinSpeed 8740
OffSpinBoost 18788
OffSpinDamp 34380
OffSpinGreen 4836
OffSpinNormal 14504
OffSpinHard 30620
OffSpinDusty 41364
;
; Weather & Pitch Condition - Affects Player AND CPU
;
BallSeamDamp 12672
BallSeamGreen 20536
BallSeamNormal 6992
BallSeamHard 0
BallSeamDusty 0
BallSwingSunny 10484
BallSwingCloudy 33204
BallSwingOvercast 47624
BallSwingGrey 41068
BallSwingNightD 39760
BallSwingNightL 29708

End
 
Last edited:

Users who are viewing this thread

Top