public class EngineConfig
extends Object
Modifier and Type | Field and Description |
---|---|
bool |
allowLowPolyLogic
Allows old-style lowpolylogic.
|
bool |
alwaysActive
If enabled, the game remains active even if minimized.
|
bool |
aviDriverPatch
Applies the AVI driver patch.
|
int |
backBufferCount
Number of backbuffers.
|
bool |
ballisticCollateralDamage
Allows projectiles to damage units other than their intended target.
|
bool |
ballisticFriendlyDamage
Allows projectiles to do friendly fire.
|
bool |
ballisticNewModel
Switches the ballistic model to the newest ballistic model.
|
bool |
ballisticPrecalcHits
Determines if we precalculate whether or not a projectile hits its target.
|
bool |
bandwidthCL |
int |
bpp
Defines the display depth for the current resolution, 32bit or 64bit by default.
|
bool |
broadcasterCL |
float |
brushBias
DEBUG: the bias curve of the brush.
|
int |
brushMaxSize
Max brush size.
|
int |
brushMinSize
Min brush size.
|
int |
brushSoftness
DEBUG: the softness of a brush.
|
int |
brushTimeScale
Set brush time scaling.
|
bool |
buildCinematic
Gathers cinematic information.
|
bool |
buildCinematic2
Phase two of building cinematic.
|
bool |
callTrackerOn
Enable/disable call tracker.
|
bool |
checkArchiveFirst
If set, checks the archive files before the file system.
|
bool |
checkForRetailDB |
bool |
cinematicSlerp |
float |
cliffHeight
Relative height of the Cliff you want to paint.
|
bool |
cliffPaintOn
If defined, will paint cliff, else will paint canyon.
|
bool |
cliffRelative
Cliff painting is relative if set.
|
float |
cliffSlopeTolerance
Tolerance for painting cliff/canyon side texture.
|
bool |
closeCommLogs |
bool |
closeLogOnWrite |
bool |
configCL |
bool |
copyModeTerrain
Sets the copy mode to terrain copy-n-paste, rather than unit copy-n-paste.
|
bool |
copyTerrainHeight
Includes height information in copy-n-paste operations.
|
bool |
copyTerrainHeightAvg
Height copies-paste relative.
|
bool |
copyTerrainTexture
Includes texture information in copy-n-paste operations.
|
bool |
copyTerrainUnits
Includes units in copy-n-paste operations.
|
bool |
cpuTnL
If set, uses software TnL instead of hardware TnL (TnL = Transform and Lightning)
|
bool |
D3Ddebug
Enables the D3D11 debug layer.
|
bool |
demandLoadMeshes
Only load meshes on demand.
|
bool |
disableBuildingSnap
Disables the helpful auto-placement of near-misses on buildings.
|
bool |
disableMidUpdateRender
Turn off the distributed update rendering.
|
bool |
disableVSync
Disables V-Sync.
|
bool |
displayOn
Deprecated.
|
int |
displayType
Deprecated.
|
bool |
dontAllowLowPoly
If set, low poly setting is ignored -- used for PT builds where meshes are not updated properly.
|
bool |
dontMeterWorkCommands |
bool |
dropPalette |
bool |
enableIme
Defines whether IME is enabled.
|
bool |
enableTessellation
Enables hardware unit tessellation in D3D11 feature levels.
|
bool |
erodeBuildingFoundations
Makes building erode the terrain around them when they are placed.
|
bool |
firelight
Enables light on fires.
|
string |
fixedUpdate
Test with a fixed update.
|
bool |
flushCommLogs
Flush communication logs.
|
bool |
flushLogOnWrite
Flush logs after every write.
|
bool |
forceD3D10
Forces the game to run in a Direct3D 10 feature level.
|
bool |
forceD3D9
Forces the game to run in a Direct3D 9 feature level.
|
bool |
forceDetermineMachineSpec
Forces the game to check the machine specs upon startup.
|
float |
foundationDamageFactor
Foundations under attack have their damage adjusted by this factor.
|
bool |
fullCommLogs |
bool |
fullWindow
Game will start up in a window that covers the whole desktop.
|
bool |
gameStreamCL |
bool |
gameTimingCL |
int |
gamma
Gamma correction setting for fullscreen.
|
bool |
generalCL |
bool |
goldlight
Enables light on gold mines.
|
int |
graphicDetail
The detail level of the graphics.
|
float |
guideInterval |
bool |
ignoreDDT
Disables the loading of DDT textures.
|
bool |
imeOnByDefault
Enables IME by default.
|
bool |
light
Enables light.
|
int |
limitPitch
Defines the limit of the camera pitch.
|
bool |
loadBinaryXml
Attempts to binarize and load XML files in that manner.
|
bool |
loadSavegameWithCurrentData
Overrides embedded DB info in the savegame with current info.
|
bool |
logDeviceInfo
Logs device info.
|
bool |
lowEnd
Enables a set of low end testing features.
|
bool |
lowLevelSyncCL |
bool |
lowPoly
Enables low poly models.
|
bool |
lowQualityTextures
Defines whether low quality textures should be used.
|
bool |
matchmakingCL |
int |
maxMipMapSize
Maximum MIPmap size (in pixels) that will be loaded.
|
int |
maxParticles
The max number of particles.
|
int |
maxRandUpdate
Parameter for variable yet fixed update system.
|
int |
maxZoom
The maximum zoom level.
|
bool |
megaPostLoadForceTextures |
bool |
memoryMappedMesh
Load meshes as memory mapped files.
|
int |
minRandUpdate
Parameter for variable yet fixed update system.
|
int |
minZoom
The minimum zoom level.
|
bool |
modmanagerdetailed
Enabled detailed logging of all modmanager file operations to mod-manager.txt.
|
bool |
multiMon |
bool |
multisampleMode
Multisample mode for things like anti-aliasing.
|
bool |
neverTimeOut
Force the multiplayer subsystem to wait indefinitely for timed out players.
|
bool |
noAA
Disables anti-aliasing.
|
bool |
noBloom
Disables bloom.
|
bool |
noDatabaseInSaveGames
Does not include a DB in saved games.
|
bool |
noDeviceSelect
Renderer automatically picks a device at startup.
|
bool |
noDirectXCheck
Disable Direct X
|
bool |
nohtml
Displays embedded htmlBrowser?
|
bool |
noMipMap
Suppresses mip-mapping.
|
bool |
noPregameAnythingIMeanIt
Some pissed-off ES employee's personal config.
|
bool |
noPregameScenario
Don't load a background scenario.
|
bool |
noProtoListMeshes
Disable protolost meshes.
|
bool |
noSpecular
Disables specular lighting.
|
bool |
noSSAO
Disables Screen Space Ambient Occlusion.
|
bool |
noTextFileFirst |
bool |
noUnitLights
Disables lights on units.
|
bool |
orderedChannelCL |
bool |
paintSpriteForestAlways
If defined, makes all trees in forests to be sprite-ed.
|
bool |
paintSpriteForestMixed
If defined, makes internal trees in forests sprite-ed.
|
bool |
pathingIronHull |
bool |
pathingLrp2 |
bool |
perfCL |
int |
performanceClass
Sets the performance class for this machine.
|
bool |
placeAnything
Allows all objects to be placed -- must be defined at startup.
|
int |
playerMaxCorpseCount
Maximum amount of corps to show.
|
bool |
primary |
bool |
randomConnectionFail |
bool |
receiverCL |
bool |
removeMPLimit |
float |
roughenAmplitude
Defines the roughen tool's amplitude.
|
float |
roughenTolerance
Defines the roughen tool's tolerance.
|
bool |
runAsFastAsPossible
Deprecated.
|
bool |
sceneManagement |
int |
scrollTopZone
Top scrolling zone in pixels.
|
int |
scrollZone
Scrolling zone in pixels.
|
int |
selectionPixelError
Defines the selection pixel error.
|
bool |
sessionCL |
bool |
sharedDataCL |
bool |
skipMipMapLevels
Number of mipmap levels to skip.
|
bool |
syncCL |
bool |
syncManagerCL |
bool |
terrainFilterVisibility |
bool |
terrainHalfDensity
Makes terrain texture density half of normal.
|
bool |
terrainQuarterDensity
Makes terrain texture density one quarter of normal.
|
int |
textureCachePer64MB
Texture cache = textureCachePer64MB * (MM / 64), eg: 6 * (128 / 64) = 12 MB.
|
bool |
tileBasedLoS |
bool |
timeSyncCL |
bool |
timingCL |
bool |
trackArc |
bool |
trackPointer |
bool |
transportCL |
bool |
undoSpew
Spew general undo info (ops in queue, etc.)
|
bool |
undoTerrainElevationSpew
Spew detailed info about terrain elev undo.
|
bool |
undoTerrainPaintSpew
Spew detailed info about terrain painting undo.
|
bool |
unicodeStringExport
Turns on the export of a string file with scenario save.
|
bool |
unitAction |
bool |
unitAI |
bool |
updateAIs |
bool |
useMinimapSmartUpdate
Use the smart minimap update system.
|
bool |
usePrimaryGCOnly
Only use the primary graphics card.
|
bool |
useTerrainHeightLimits
Enable terrain height limits.
|
bool |
validateChecksum
Validate my build checksum against the host's.
|
bool |
viewLockInterpolate
Toggle view lock interpolation when replaying a game.
|
bool |
window
Game starts in a window instead of fullscreen.
|
int |
worldSizeX
Defines the default X-size of new maps generated by the editor.
|
int |
worldSizeZ
Defines the default Z-size of new maps generated by the editor.
|
int |
xres
Specifies the startup X-resolution, in pixels.
|
int |
yres
Specifies the startup Y-resolution, in pixels.
|
Modifier and Type | Method and Description |
---|---|
void |
display(int state)
With no arguments, toggles display on/off, otherwise, sets display.
|
void |
displayType(int state)
With no arguments, cycles through the various status display modes, otherwise sets display type.
|
void |
renderAnisotropic(int state)
With no arguments, toggles anisotropic filtering state, otherwise, sets it.
|
void |
renderDecreaseGamma(int amount)
Decreases gamma value by amount (default = 1) in the range [1,254].
|
void |
renderDisplayBackBufferCount()
Displays the current number of back buffers.
|
void |
renderDisplayMultisampleMode()
Displays current multisample mode.
|
void |
renderGetGamma()
Displays the current gamma value.
|
void |
renderIncreaseGamma(int amount)
Increases gamma value by amount (default = 1) in the range [1,254].
|
void |
renderRefresh(int state)
With no arguments, changes refresh rate to 75hz in fullscreen.
|
void |
renderSetBackBufferCount(int count)
(Attempts to) Set the back buffer count to the indicated number.
|
void |
renderSetGamma(int val)
Sets gamma to the specified value in the range [1,254].
|
void |
renderSetMultisampleMode(int mode)
(Attempts to) Set multisampling to the indicated mode.
|
void |
renderWindow(int state)
With no arguments, toggles window/fullscreen.
|
void |
res(int resX)
Changes screen resolution.
|
void |
resbpp(int resX,
int BPP)
Changes screen resolution and bit depth.
|
void |
setBloomSettings()
Sets bloom settings.
|
void |
setFogSettings(float fogStart,
float fogEnd,
float red,
float green,
float blue)
Sets fog settings.
|
void |
setGraphicDetail(int detailLevel)
Sets the graphic detail.
|
void |
setShadowLevel(int level)
Set shadow detail level.
|
void |
setShadowSettings(float cameraRange,
float shadowMapSize,
float pcfBlurSize,
float numCascades,
float pcfOffset)
Sets shadow settings.
|
void |
setTonemapSettings()
Sets tonemap settings.
|
void |
toggleBloom()
Toggle bloom.
|
void |
toggleFXAA()
Toggle FXAA.
|
void |
toggleSSAO()
Toggle SSAO.
|
void |
toggleUnitLights()
Toggle unit lights.
|
void |
toggleVSync()
Toggle V-Sync.
|
public bool allowLowPolyLogic
public bool alwaysActive
public bool ballisticCollateralDamage
public bool ballisticFriendlyDamage
public bool ballisticNewModel
public bool ballisticPrecalcHits
public int bpp
resbpp(int, int)
public bool aviDriverPatch
public int backBufferCount
public float brushBias
public int brushMaxSize
public int brushMinSize
public int brushSoftness
public int brushTimeScale
public bool buildCinematic
public bool buildCinematic2
public bool callTrackerOn
public bool checkArchiveFirst
public bool checkForRetailDB
public bool cinematicSlerp
public float cliffHeight
public bool cliffPaintOn
public bool cliffRelative
public float cliffSlopeTolerance
public bool closeCommLogs
public bool closeLogOnWrite
public bool copyModeTerrain
public bool copyTerrainHeight
public bool copyTerrainHeightAvg
public bool copyTerrainTexture
public bool copyTerrainUnits
public bool cpuTnL
public bool demandLoadMeshes
public bool disableBuildingSnap
public bool disableMidUpdateRender
public bool displayOn
display(int)
public int displayType
displayType
public bool dontAllowLowPoly
public bool dontMeterWorkCommands
public bool dropPalette
public bool enableIme
public bool imeOnByDefault
public bool erodeBuildingFoundations
public string fixedUpdate
public bool flushCommLogs
public bool flushLogOnWrite
public bool forceDetermineMachineSpec
public float foundationDamageFactor
public bool fullCommLogs
public float guideInterval
public bool fullWindow
public int gamma
renderSetGamma(int)
,
renderGetGamma()
public int graphicDetail
setGraphicDetail(int)
public int limitPitch
public bool loadBinaryXml
public bool loadSavegameWithCurrentData
public bool logDeviceInfo
public bool lowEnd
public bool lowPoly
public bool lowQualityTextures
public int maxMipMapSize
public int maxParticles
public int maxRandUpdate
public int maxZoom
public bool megaPostLoadForceTextures
public bool memoryMappedMesh
public int minRandUpdate
public int minZoom
public bool multisampleMode
public bool multiMon
public bool neverTimeOut
public bool noDatabaseInSaveGames
public bool noPregameAnythingIMeanIt
public bool noPregameScenario
public bool noProtoListMeshes
public bool noSpecular
public bool noTextFileFirst
public bool paintSpriteForestAlways
public bool paintSpriteForestMixed
public bool pathingIronHull
public bool pathingLrp2
public int performanceClass
public bool placeAnything
public int playerMaxCorpseCount
public bool primary
public bool randomConnectionFail
public bool removeMPLimit
public float roughenAmplitude
public float roughenTolerance
public bool noDeviceSelect
public bool noDirectXCheck
public bool noMipMap
public bool runAsFastAsPossible
public bool sceneManagement
public int scrollTopZone
public int scrollZone
public int selectionPixelError
public bool skipMipMapLevels
public bool terrainFilterVisibility
public bool terrainHalfDensity
public bool terrainQuarterDensity
public int textureCachePer64MB
public bool tileBasedLoS
public bool trackArc
public bool trackPointer
public bool undoSpew
public bool undoTerrainElevationSpew
public bool undoTerrainPaintSpew
public bool unicodeStringExport
public bool unitAction
public bool unitAI
public bool updateAIs
public bool validateChecksum
public bool viewLockInterpolate
public bool useMinimapSmartUpdate
public bool usePrimaryGCOnly
public bool useTerrainHeightLimits
public bool window
renderWindow(int)
public int worldSizeX
public int worldSizeZ
public int xres
public int yres
public bool bandwidthCL
public bool broadcasterCL
public bool configCL
public bool gameStreamCL
public bool gameTimingCL
public bool generalCL
public bool lowLevelSyncCL
public bool matchmakingCL
public bool orderedChannelCL
public bool perfCL
public bool receiverCL
public bool sessionCL
public bool sharedDataCL
public bool syncCL
public bool syncManagerCL
public bool timeSyncCL
public bool timingCL
public bool transportCL
public bool forceD3D9
public bool forceD3D10
public bool ignoreDDT
public bool D3Ddebug
public bool enableTessellation
public bool noBloom
public bool noAA
public bool noSSAO
public bool noUnitLights
public bool disableVSync
public bool light
public bool firelight
public bool goldlight
public bool nohtml
public bool modmanagerdetailed
public void resbpp(int resX, int BPP)
public void renderAnisotropic(int state)
public void renderRefresh(int state)
public void renderDisplayBackBufferCount()
public void renderSetBackBufferCount(int count)
public void displayType(int state)
public void display(int state)
public void renderIncreaseGamma(int amount)
public void renderDecreaseGamma(int amount)
public void renderSetGamma(int val)
public void renderGetGamma()
public void setGraphicDetail(int detailLevel)
graphicDetail
public void renderSetMultisampleMode(int mode)
public void renderDisplayMultisampleMode()
public void renderWindow(int state)
public void res(int resX)
public void toggleVSync()
disableVSync
public void toggleBloom()
noBloom
public void toggleFXAA()
noAA
public void toggleSSAO()
noSSAO
public void toggleUnitLights()
noUnitLights
public void setFogSettings(float fogStart, float fogEnd, float red, float green, float blue)
public void setShadowSettings(float cameraRange, float shadowMapSize, float pcfBlurSize, float numCascades, float pcfOffset)
public void setShadowLevel(int level)
level
- between 0 (low) and 5 (high)public void setTonemapSettings()
public void setBloomSettings()