use any fifa11 moded lua, or mine.
local InitializeSettings = function()
local as = gSportsRNA
local settingTable = as:GetTable("Settings")
-- Force LevelOfDetail - 'high', 'medium', 'low', 'superlow'
local levelOfDetail = as:GetString(settingTable, "LevelOfDetail")
if (levelOfDetail == "") then
levelOfDetail = "high"
as
etString(settingTable, "LevelOfDetail", levelOfDetail)
end
-- levelOfDetail = "medium"
-- Set up defaults (high detail)
as
etInt(settingTable, "DropMipRX3_MipsToDrop", 0) -- number of mips to drop from RX3 textures
as
etInt(settingTable, "DropMipRX3_MinTexDimension", 8192) -- minimum size (here we will ignore the number of mips to drop)
as
etInt(settingTable, "FlatShadow_ScaleReduction", 0) -- flat shadow dimensions (0 is normal, 1 is half, 2 is quarter, 3 is an eigth)
as
etInt(settingTable, "FlatShadow_MaxLights", 4) -- max number of lights to allow
as
etInt(settingTable, "Jumbotron_ScaleReduction", 0) -- jumbotron render scale reduction
as
etInt(settingTable, "SelfShadow", 1)
as
etInt(settingTable, "SelfShadow_ScaleReduction", 0) -- selfshadow render scale reduction (0 normal, 1 half, 2 quartered)
as
etInt(settingTable, "PostFX_RainDrops", 0)
if ( EA_PLATFORM_MAC == true ) then
as
etInt(settingTable, "PostFX_AutoExp", 0) -- Turn off autoexposure on MAC (This causes it to use simple exposure)
else
as
etInt(settingTable, "PostFX_AutoExp", 0)
end
as
etInt(settingTable, "PostFX_Bloom", 0)
as
etInt(settingTable, "PostFX_DOF", 0)
as
etInt(settingTable, "PostFX_Rectilinear", 0)
as
etInt(settingTable, "PostFX_Vignette", 0)
as
etInt(settingTable, "PostFX_ColorCube", 0)
as
etInt(settingTable, "PostFX_ColorCubeDepth", 0)
as
etInt(settingTable, "Grass", 1)
as
etInt(settingTable, "Cloth", 1)
as
etFloat(settingTable, "PlayerLodPercentageMultiplier", 0.5)
as
etInt(settingTable, "PlayerLodMinimum", 0)
-- Override..
if (levelOfDetail == "medium") then
as
etInt(settingTable, "FlatShadow_ScaleReduction", 1)
as
etInt(settingTable, "FlatShadow_MaxLights", 4)
as
etInt(settingTable, "Jumbotron_ScaleReduction", 1)
as
etInt(settingTable, "Grass", 0)
as
etInt(settingTable, "SelfShadow_ScaleReduction", 1)
as
etFloat(settingTable, "PlayerLodPercentageMultiplier", 0.15)
elseif (levelOfDetail == "low" or levelOfDetail == "superlow") then
-- Downsize Render to texture sizes and detail
as
etInt(settingTable, "DropMipRX3_MinTexDimension", 512)
as
etInt(settingTable, "DropMipRX3_MipsToDrop", 3)
as
etInt(settingTable, "FlatShadow_ScaleReduction", 1)
as
etInt(settingTable, "FlatShadow_MaxLights", 1)
as
etInt(settingTable, "Jumbotron_ScaleReduction", 1)
as
etInt(settingTable, "SelfShadow", 0)
-- Disable grass and cloth
as
etInt(settingTable, "Grass", 0)
-- cloth is enabled for hi lods
-- in case of performance issues disable cloth and always use tucked jerseys
--as
etInt(settingTable, "Cloth", 0)
-- disable pretty much all PostFX
as
etInt(settingTable, "PostFX_RainDrops", 0)
as
etInt(settingTable, "PostFX_AutoExp", 0)
as
etInt(settingTable, "PostFX_Bloom", 0)
as
etInt(settingTable, "PostFX_DOF", 0)
as
etInt(settingTable, "PostFX_Rectilinear", 0)
as
etInt(settingTable, "PostFX_Vignette", 0)
as
etInt(settingTable, "PostFX_ColorCube", 0)
as
etInt(settingTable, "PostFX_ColorCubeDepth", 0)
as
etFloat(settingTable, "PlayerLodPercentageMultiplier", 0.15)
end
if (levelOfDetail == "superlow") then
-- any extra tweaks here..
end
end
InitializeSettings()
InitializeSettings = nil