// This file is a good place to document your INI. 
// 
// Please update the documentation 
// 
// Main page for wiki information
// http://eac-wiki1.eac.ad.ea.com/fifawiki/index.php/Useful_user.ini_Settings
// 
// Core INI docs. 
// Audio
// http://eac-wiki1.eac.ad.ea.com/fifawiki/index.php/Audio_.ini_settings
// Onlines
// http://eac-wiki1.eac.ad.ea.com/fifawiki/index.php/Online_Ini_Vars
// http://garp.eac.ad.ea.com/gameplaywiki/index.php/Desync_testing
// Rendering
// http://eac-wiki1.eac.ad.ea.com/fifawiki/index.php/Rendering:_Useful_INI_Settings
// Game Direction 
// http://eac-wiki1.eac.ad.ea.com/fifawiki/index.php/Game_Direction_INI_Settings
//
// Gameplay documents them here. 
// packages\gameplay\1st_integ\gameplay\aififa\dev\data\aidefault.ini
// ..\packages\gameplay\aififa\dev\data\aidefault.ini
//
//	Autosmoke and debuging pages. 
// http://eac-wiki1.eac.ad.ea.com/fifawiki/index.php/Autosoak_Ini_Vars
// http://eac-wiki1.eac.ad.ea.com/fifawiki/index.php/Debuging_INI
// http://mono.eac.ad.ea.com/wiki/index.php?pagename=FIFA2007NG%2FUserIniSettings

// Common debug
// ------------------------------------------------------------
COMMON_DEBUG_PRINT=1
DISABLE_FPS_STATUS_TEXT=0
DISABLE_FRAMERATE=0
ENABLE_BUILD_STATUS_TEXT=1

// Presenation
// ------------------------------------------------------------
[]
ENABLE_REFEREE=1
ENABLE_LINESMAN=1
ENABLE_LINESMAN_FLAGS=1

DISABLE_NIS_PLAYBACK=0
ENABLE_EMOTIONAL_ENGINE=1
PRE_MATCH_ATMOSPHERE=1
PLAYER_REACTIONS_DISABLED=0
ENABLE_CHOREOGRAPHIES_CAMERA=1

//---------------------------------------------------
// Gameplay tuning
[HERO_MODE]
PASS_CALL_FRAMES_EFFECTIVE = 60	// how long call for pass is effective for

[EVALUATION]
BLOCK_TIME_AFTER_SHOT = 25 // (ticks) how long after a shot an unintentional touch will be a block

[FREE_ROAM_AUTOMATCH]
HOME_TEAM_MEN_DOWN=0
AWAY_TEAM_MEN_DOWN=0
//ENABLED=1
//TIMEOUT=30
//GAMESYNCMODE=0
//HALF_LENGTH=10
//SAVEINPUT=1
//SKIP_BOOTFLOW=1
[]

// Rendering
// ------------------------------------------------------------
USE_NEW_RIG = 1
DISABLE_VSYNC=0
DISABLE_MOTION_TRAIL=1
DISABLE_CMN_SHADOWMAP=0
DISABLE_FLAT_SHADOWS=0
//disable hudhack
DISABLE_HUDHACK=1
//DISABLE_FLAGS=1
DISABLE_FLASHES = 1
DISABLE_FLOORREFLECTIONS=1
//DISABLE_PARTICLES = 1
DISABLE_VOLUME_LIGHTS = 1
//DISABLE_GLARES = 1
//FORCE_ENABLE_GLARES = 1
//STADIUM_LIGHT_TYPE_ID = 1
//Temporary for corex until logic is added
//WEAR_PATTERN_OVERRIDE = 1
//NET_ID = 2
//DEBUG_SKELETON_RENDER=1
//ENABLE_RENDER_PROF=1

[RENDERING]
FORCE_USE_LODS=1          // Enables proper LODs for characters
PENALTY_AIMER_MIN_SIZE=40	//Penalty kicker aim minimum size		
PENALTY_AIMER_MAX_SIZE=225	//Penalty kicker aim maximum size
[]

// Gameplay
// ------------------------------------------------------------
AI_RUN_AT_30HZ = 1
// Distribute animation on job manager?
DISTRIBUTE_ANIM = 1
AI_ALL_ANIM_PLAYERS = 1
USE_FIFA09_FOUL=1

// Systems
// ------------------------------------------------------------
ENABLEREVEAL = 1
USING_MAINTHREAD_ANIM_NUM=6



//FE 
// ------------------------------------------------------------
// apt heap overflow sizes
APT_GC_POOL_OVERFLOW_SIZE=32
APT_NONGC_POOL_OVERFLOW_SIZE=30
APT_ASSERTS=1

//SB Enabling team management for subs flow
ENABLE_TM = 1

// Change this number to force all saves to be invalid.
FEFIFA_SAVELOAD_VERSION = 19

// FE Thead Update Settings
// ------------------------------------------------------------
FE_THREAD_UPDATE_TIME = 16
FE_THREAD_ENABLE_30HZ_INGAME = 1


// Database usage configuration
DB_USE_DIFFLISTS=0			// do NOT use the difflist feature of t3db.  Save memory and speed things up.
DB_KEEP_FILE_IN_MEMORY=0	// DO keep the loaded .db file in memory to aid table resetting.  We may be able to hit the disc for this, or use compressed memory storage or something.  Optimization pending.


// ONLINE
// ------------------------------------------------------------
[ONLINE]
GAMESYNCMODE=0
// Temp fix for silent signin.
SILENTSIGNIN=0
// disabling downloading of roster until we have new roster data - UPDATE, we have roster data for Fifa12, commented out to re-enable
//NO_AUTO_SQUAD=1
PRAN_CUSTOMURL=EASW


// EA Sports World
// ------------------------------------------------------------
[EASW]
ENABLED = 1

// Replay Orbit Camera
// ------------------------------------------------------------
[ORBIT_CAM]
MIN_LENS_ANGLE = 0.14
MAX_LENS_ANGLE = 1.60
MIN_DOLLY = 200.0
MAX_DOLLY = 1800.0
TEMP_LENS_DELTA = 0.03
DOF_FAR_PLANE = 10000.0
DOF_FAR_FOCAL_PLANE = 3000.0
DOF_FAR_BLUR = 0.5
DOF_NEAR_PLANE = 0.0
DOF_NEAR_FOCAL_PLANE = 0.0
DOF_NEAR_BLUR = 0.0
CURVE_POWER=1.2
MAG_MINPOINT=40.0
MAG_MAXPOINT=220.0
MAG_MINLIMIT=40.0
MAG_MAXLIMIT=2000.0
FREEROAM_HEIGHT_LIMIT=200.0

// Replay Ball camera targetting
//------------------------------------------------------------
[REPLAY_BALL_TARGET]
OFFSET_HIGH_HEIGHT = 150.0
OFFSET_HIGH = -80.0
OFFSET_LOW_HEIGHT = 80.0
OFFSET_LOW = 80.0

//DOF Tuning
//------------------------------------------------------------
[]
REPLAY_CAMERA_LENS_MODIFIER=24
REPLAY_CAMERA_FSTOP_MODIFIER=18
DOF_REAL_BLURLIMIT=0.8
//DOF_REAL_MAXBLUR=216
//DOF_REAL_MINCOC=0.003

// DOF
// ------------------------------------------------------------
[DOF]
USE_REAL_REPLAY = 1
USE_REAL_ORBIT_CAM = 1
USE_REAL_REACTION = 1

[]
ICE_EDITOR_ENABLED = 1

[]
//FORCE_SNOWING = 1
CROWD_FULL_ATTENDANCE = 0
CROWD_CHARACTER_SCALE = 0
CROWD_QUAD_SCALE = 0
CROWD_CENTER_OFFSET = 95

CROWD_ATTANDANCE_MULTIPLY = 0.80

CROWD_TUNE_SECTIONS_HOME_THRESHOLD = 0.15
CROWD_TUNE_SECTIONS_HOME_MIX_THRESHOLD = 0.45
CROWD_TUNE_SECTIONS_AWAY_THRESHOLD = 0.00
CROWD_TUNE_SECTIONS_AWAY_MIX_THRESHOLD = 0.35

CROWD_TUNE_BEHAVIOR_HOME_IN_NEUTRAL = 0.50
CROWD_TUNE_BEHAVIOR_NEUTRAL_IN_HOME = 0.164

CROWD_ACCS_PROB_HOME_SCARF = 0.25
CROWD_ACCS_PROB_AWAY_SCARF = 0.25

CROWD_DEBUG_PAINT_SECTIONS = 0
CROWD_DEBUG_HIDE_CHAIRS = 0
CROWD_DEBUG_HIDE_NEUTRAL_MIX = 0
CROWD_DEBUG_ENABLE_AUTO_UPDATE = 0
CROWD_DEBUG_CLRGEN_CONTANT_SEED = 0

POLEFLAG_TUNE_SCALE = 0.5
POLEFLAG_TUNE_SCALE_BIG_PROB = 0.5
POLEFLAG_TUNE_HOMEAWAY_SPLIT = 0.5
POLEFLAG_TUNE_NEUTRAL_WEIGHT = 0.15
POLEFLAG_HEIGHT_OFFSET = 25.0

GIANTFLAG_YOFFSET = 240

// Audio Anticipation
AUDIO_SHOT_CHANCE_MIN_POSSESSION_CROWD 	= 0.05
AUDIO_SHOT_CHANCE_MIN_POSSESSION_SPEECH	= 0.65
AUDIO_SHOT_CHANCE_MAX_PRESSURE_CROWD	= 0.95
AUDIO_SHOT_CHANCE_MAX_PRESSURE_SPEECH	= 0.85
AUDIO_SHOT_CHANCE_MAX_ANGLE_FAR 		= 0.7
AUDIO_SHOT_CHANCE_MAX_ANGLE_CLOSE 		= 1.0
AUDIO_SHOT_CHANCE_MIN_THREAT_CLOSE		= 0.6

AUDIO_BREAKAWAY_MAX_ANGLE 				= 1.6
AUDIO_BREAKAWAY_MIN_POSSESSION_CROWD	= 0.05
AUDIO_BREAKAWAY_MIN_POSSESSION_SPEECH	= 0.65
AUDIO_BREAKAWAY_MAX_PRESSURE_CROWD		= 0.95
AUDIO_BREAKAWAY_MAX_PRESSURE_SPEECH		= 0.7
AUDIO_BREAKAWAY_MIN_THREAT				= 0.04

AUDIO_PRE_GOAL_TIME						= 30 	//ticks 30 = ~1 sec
AUDIO_PRE_GOAL_WIDTH					= 2.0 	// in feet
AUDIO_PRE_GOAL_HEIGHT					= 2.0 	//in feet

AUDIO_BALL_HIT_ENV_SUBTRACT=200

//AUDIO_CROWD_SET	= 0

BUG_SENTRY_TITLE=ea.eac.fifang10

// -----------------------
// BAG - Be A Goalkeeper
//

[]
BEAGOALKEEPER_ENABLED = 1			// 0 if you don't want to allow BAG at all
FREEROAM_RANDOM_REPOSITIONING_ENABLED=1		// Random repositioning in the Arena

[BAG]
//DEBUG_COVERAGE=1				// Let me see a debug circle representing the coverage when attempting to save
//DEBUG_CALLFORACTIONS=1				// Show me the debug indicators for call for actions
// -----------------------

[]
USE_PIK=1
USE_HIK=0

// Career Mode difficulty tuning
[CAREER_MODE]

// negative means that the opposition is better than us
// positive means that the opposition is worse than us
OVERALL_RATING_DIFF_0 	= -25
OVERALL_RATING_DIFF_1 	= -20
OVERALL_RATING_DIFF_2 	= -15
OVERALL_RATING_DIFF_3 	= -10
OVERALL_RATING_DIFF_4 	= -7
OVERALL_RATING_DIFF_5 	= -5
OVERALL_RATING_DIFF_6 	= -4
OVERALL_RATING_DIFF_7 	= -3
OVERALL_RATING_DIFF_8 	= -2
OVERALL_RATING_DIFF_9 	= -1
OVERALL_RATING_DIFF_10 	= 0
OVERALL_RATING_DIFF_11 	= 5
OVERALL_RATING_DIFF_12 	= 10
OVERALL_RATING_DIFF_13 	= 15
OVERALL_RATING_DIFF_14 	= 20
OVERALL_RATING_DIFF_15	= 25
OVERALL_RATING_DIFF_16 	= 30
OVERALL_RATING_DIFF_17 	= 35
OVERALL_RATING_DIFF_18 	= 40
OVERALL_RATING_DIFF_19 	= 45
OVERALL_RATING_DIFF_20 	= 50

// 100 represents one full difficulty level
// negative reduces the difficulty
// positive increase the difficulty
DIFFICULTY_MODIFIER_0 	= 100
DIFFICULTY_MODIFIER_1 	= 100
DIFFICULTY_MODIFIER_2 	= 100
DIFFICULTY_MODIFIER_3 	= 75
DIFFICULTY_MODIFIER_4 	= 60
DIFFICULTY_MODIFIER_5 	= 50
DIFFICULTY_MODIFIER_6 	= 40
DIFFICULTY_MODIFIER_7 	= 30
DIFFICULTY_MODIFIER_8 	= 20
DIFFICULTY_MODIFIER_9 	= 10
DIFFICULTY_MODIFIER_10 	= 0
DIFFICULTY_MODIFIER_11	= 0
DIFFICULTY_MODIFIER_12 	= 0
DIFFICULTY_MODIFIER_13 	= -10
DIFFICULTY_MODIFIER_14 	= -20
DIFFICULTY_MODIFIER_15 	= -40
DIFFICULTY_MODIFIER_16 	= -60
DIFFICULTY_MODIFIER_17 	= -80
DIFFICULTY_MODIFIER_18 	= -100
DIFFICULTY_MODIFIER_19 	= -100
DIFFICULTY_MODIFIER_20 	= -100

// we want to simulate that player a team that's better than you
// that is rated in the 80s is harder then if they were in the 50s
// so we scale the user rating between MIN_VAL and MAX_VAL
// and apply the the modifier to the difficulty modifier above
// so if I'm rated 85 and I play someone better than me, I multiply
// the difficulty modifier by 3 - if I was rated 80 it would be 2.3333
OVERALL_RATING_DIFF_MIN_VAL = 70
OVERALL_RATING_DIFF_MAX_VAL = 85
OVERALL_RATING_DIFF_MIN_MOD = 1.0
OVERALL_RATING_DIFF_MAX_MOD = 3.0

// Hack for online soaking. It must be revereted.
[ONLINE]
NO_AUTO_SQUAD=1

// for downloading the editorial gameplayattribdb file
// this needs to be set as well as a server variable (osdk_core.cfg) for this to take effect
[GAMEPLAY]
USE_REMOTE_GAMEPLAYATTRIBDB=1

[RS4_LOC_CODE_LOOKUP]
ENG_GB=EN_GB
FRE_FR=FR_FR
SPA_ES=ES_ES
SPA_MX=ES_MX
CZE_CZ=CZ_CZ
DAN_DK=DA_DK
GER_DE=DE_DE
HUN_HU=HU_HU
ITA_IT=IT_IT
DUT_NL=NL_NL
NOR_NO=NO_NO
POL_PL=PL_PL
POR_PT=PT_PT
RUS_RU=RU_RU
SWE_SE=SV_SE
JPN_JP=JP_JP
KOR_KR=KO_KR

[]
FIFA_DEMO=0
