Console commands - FAForever/fa GitHub Wiki
Name | Type | Description |
AddBeam [width width] [texture path] [lifetime ticks]
|
Sim command | Add a test beam into the world. First call sets start position at cursor, second call creates the beam using any parameters passed. Defaults to width of 1.0, lifetime of 10.0, no texture. Uses particle texture of /textures/particles/beam_white_01.dds
|
AddImpulse x y z |
Sim command | Add an impulse in the given direction on the selected units |
AddLightParticle [lifetime ticks] [size size] [texure path]
|
Sim command | Add a light to the world under the cursor. Defaults to width of 1.0, lifetime of 2.0, no texture. |
AddSplat [texture path] |
Console command | Add a splat to the world underneath the cursor. Defaults to texture of /env/common/splats/tank_treads_albedo.dds
|
AI_DebugArmyIndex |
Sim integer variable | Set up a army index for debugging purposes. If AI_RenderDebugAttackVectors is true, renders attack vectors for the army's brain |
AI_DebugCollision |
Sim boolean variable | Toggle on/off collision detection (likely crashes) |
AI_DebugIgnorePlayableRect |
Sim boolean variable | Toggle on/off ignore playable rect (likely unused) |
ai_FreeBuild |
Sim boolean variable | Unit build costs are 0 |
ai_InitialEnergyCurrency |
Console float variable | Initial currency of energy economy. |
ai_InitialEnergyCurrencyMax |
Console float variable | Initial currency of energy storage. |
ai_InitialMassCurrency |
Console float variable | Initial currency of mass economy. |
ai_InitialMassCurrencyMax |
Console float variable | Initial currency of mass storage. |
ai_InstaBuild |
Sim boolean variable | Units build instantly. |
AI_RenderBombDropZone |
Sim boolean variable | Toggle on/off rendering of bomb drop zone |
AI_RenderDebugAttackVectors |
Sim boolean variable | Toggle on/off rendering of debug base attack vectors |
AI_RenderDebugPlayableRect |
Sim boolean variable | Toggle on/off rendering of debug playable rect |
AI_RunOpponentAI |
Sim boolean variable | Set the return value of IsOpponentAIRunning Lua functions |
ai_SteeringAirTolerance num |
Sim float variable | Tolerance used to detect whether an aircraft has reached its destination. Defaults to 4.0 |
AirLookAheadMult num |
Sim float variable | Alter the air units look ahead distance multiplier for terrain height. Defaults to 1.0 |
ANI_DumpSkeleton |
Console command | Dump the skeleton for the selected entity |
BeginLoggingStats file |
Console command | Begin logging stats |
BlingBling |
Console command | Cash money yo |
cam_DefaultLOD |
Console float variable | default value for camera level-of-detail scaling factor |
cam_DefaultMiniLOD |
Console float variable | Default LOD for mini-map |
cam_EntityBoxExpand |
Console float variable | How much to expand the entity box when targetting entity |
cam_FarFOV |
Console float variable | FOV to use for perspective camera at farthest zoom, in degrees |
cam_FarPitch |
Console float variable | Pitch of camera at farthest zoom, in degrees |
cam_Free |
Console boolean variable | Allow the camera to remain rotated |
cam_HighLOD |
Console float variable | |
cam_LowLOD |
Console float variable | |
cam_MediumLOD |
Console float variable | |
cam_MinSpinPitch |
Console float variable | The min pitch resulting from a spin |
cam_NearFOV |
Console float variable | FOV to use for perspective camera at nearest zoom, in degrees |
cam_NearPitch |
Console float variable | Pitch of camera at nearest zoom, in degrees |
cam_NearZoom |
Console float variable | Closest mouse can zoom in to terrain |
cam_PanSpeed |
Console float variable | How fast the camera pans. |
cam_SetLOD |
Console float variable | Set the lod scale factor for a camera |
cam_ShakeMult |
Console float variable | How much camera shake to allow. |
cam_SpinSpeed |
Console float variable | How fast mouse spins camera, in degrees across screen size |
cam_TrackProjectileTimeout |
Console float variable | Delay after tracking a projectile. |
cam_ZoomAmount |
Console float variable | How far to zoom in response to the mouse wheel. |
cam_ZoomSpeedLarge |
Console float variable | How fast the camera actually moves in response to a large zoom. |
cam_ZoomSpeedSmall |
Console float variable | How fast the camera actually moves in response to a small zoom. |
ClearStats [stat] |
Console command | Clear stats starting with given parent |
CON_Echo |
Console command | Echo out input to function. |
CON_ExecuteLastCommand |
Console command | Repeat the last command. |
CON_ListCommands |
Console command | List all console commands and variables. |
con_TestVar |
Console integer variable | Test variable - not used. |
con_TestVarBool |
Console boolean variable | Test variable - not used. |
con_TestVarFloat |
Console float variable | Test variable - not used. |
con_TestVarStr |
Console string variable | Test variable - not used. |
con_TestVarUByte |
Console byte variable | Test variable - not used. |
CopySelectedUnitsToClipboard |
Console command | Copy all the selected units to the clipboard. |
CreateProp |
Console command | Spawn a prop underneath the mouse cursor |
CreateUnit |
Console command | spawn a unit by id at the mouse cursor or specified location, case sensitive |
d3d_AntiAliasingSamples [samples] |
Console command | |
d3d_ForceDirect3DDebugEnabled |
Console boolean variable | Disable shader optimization and allow D3D debugging. |
d3d_ForceSoftwareVP |
Console boolean variable | Force D3d to do vertex processing in software. |
d3d_NoPureDevice |
Console boolean variable | Use a non-pure D3D hardware device. |
d3d_UseRefRast |
Console boolean variable | Force D3d to do rasterization in software. |
d3d_WindowsCursor |
Console boolean variable | |
DamageUnit amount |
Sim command | Damage the selected unit (negative values heal) |
dbg [Collision | Grid | NavPath | NavSteering | NavWayPoints | Radar | Weapons ]
|
Console command | Enable/Disable debug overlays |
dbg_Metronome |
Console boolean variable | Tick a metronome every tick. |
Debug_Assert |
Console command | Fail an assertion (for debugging purposes) |
Debug_Crash |
Console command | Cause a crash (for debugging purposes) |
Debug_Error |
Console command | Log an error string (for debugging purposes) |
debug_movie |
Console boolean variable | debug movie output |
Debug_Throw |
Console command | Throw a std::exception. |
Debug_Warn |
Console command | Log a warning string (for debugging purposes) |
DebugAIStatesOff |
Sim command | show debug information of the selected units |
DebugAIStatesOn |
Sim command | does nothing with the selection |
DebugClearBuildTemplates |
Console command | debug clear and disable the build templates. |
DebugDumpArmyStats army-index |
Sim command | Dump current stats for army index. |
DebugGenerateBuildTemplateFromSelection |
Console command | debug generate and enable build templates from the current selection. |
DebugMoveCamera |
Console command | Debug function for moving the camera in sim script. |
DebugSetConsumptionActive |
Console command | debug function to turn selected units consumption of resources into active state |
DebugSetConsumptionInActive |
Console command | debug function to turn selected units consumption of resources into inactive state |
DebugSetPlayableRect |
Console command | Set the playable rect of the map (minX, minZ, maxX, maxZ). |
DebugSetProductionActive |
Console command | debug function to turn selected units production of resources into active state |
DebugSetProductionInActive |
Console command | debug function to turn selected units production of resources into inactive state |
DestroyAll |
Console command | Destroy all units. If any optional army indices are supplied, destroy those army's units. |
DestroySelectedUnits |
Console command | destroy selected units. |
DoSimCommand |
Console command | do a sim command. |
dump_Frame |
Console command | Dump a single video frame. A directory can be specified, otherwise it will prompt for one. |
dump_Frames |
Console command | Toggle dumping of video frames. |
dump_outputFrameNumber |
Console integer variable | Starting frame to dump on |
dump_Rate |
Console float variable | Frame rate to use for movie dumps |
DumpActiveLoops |
Console command | List all active entity loops |
DumpCamera |
Console command | Dump out camera position data for the editor |
DumpPreloadedTextures |
Console command | Dump debug texture info |
DumpUnits |
Console command | Print out units in play |
ed_EnableHook |
Console boolean variable | |
efx_AttachEmitter |
Console command | Attach an emitter to selected unit, must specify bone name and blueprint |
EFX_CreateEmitterWindow |
Console command | Create emitter control window |
efx_NewEmitter |
Console command | Create an emitter, must specify blueprint |
efx_ParticleWaterSurface |
Console float variable | Sort order at which particles start rendering under water |
efx_WaterOffset |
Console float variable | Amount that particles which are clamped to the waters surfaces are offset from it. |
efx_WaveCutoff |
Console float variable | Shoreline LOD cutoff |
EndLoggingStats |
Console command | End logging stats |
ExecutePasteBuffer |
Console command | Execute paste buffer in clipboard. |
exit |
Console command | Exit the application. |
FindUnit |
Console command | Find a unit by a (case insensitive) string contained in its description. |
fog_DistanceFog |
Console boolean variable | Distance fog enabled? |
fog_OffsetMultiplier |
Console float variable | amount to fudge offset by to make fog go away as we zoom out |
GetVersion |
Console command | Get game version |
graphics_Fidelity |
Console integer variable | current graphics fidelity setting |
graphics_FidelitySupported |
Console integer variable | maximum graphics fidelity supported |
imap_debug |
Sim boolean variable | Toggle influence map debug info. |
imap_debug_grid |
Sim boolean variable | Toggle influence map debug grid info. |
imap_debug_grid_army |
Sim integer variable | Set influence map debug grid for which army threat type. |
imap_debug_grid_type |
Sim integer variable | Set influence map debug grid threat type. |
imap_debug_path_graph |
Sim boolean variable | Toggle map hints path graph. |
IN_BindKey |
Console command | Specify a key combo and a console command, binds console command to key |
IN_DumpKeyBindings |
Console command | Shows all the key bindings |
IN_DumpKeyNames |
Console command | Shows all the key names |
IN_SetKeyName |
Console command | Set a key name to map to a key code |
IssueCommand |
Console command | Issue the buildSilo/dive/stop command to the selected units. |
KillAll |
Console command | Kill all units |
KillSelectedUnits |
Console command | kill selected units. |
lob_IgnoreNames |
Console string variable | Comma seperated list of names of people to ignore. For debugging purposes. |
Log |
Console command | Log a string (for debugging purposes) |
LotsOfProps |
Console command | spawn 100 props all over the map 2nd Arg = name of prop |
LUA |
Console command | Run a bit of lua code. |
LUADOC |
Console command | Dump out documentation for Lua functions |
mesh_Rebatch |
Console command | Override mesh batch settings |
NeedRefuelThresholdRatio |
Sim float variable | Start looking for refueling platform when fuel ratio drops below this point |
NeedRepairThresholdRatio |
Sim float variable | Start looking for refueling platform when health ratio drops below this point |
net_AckDelay |
Console integer variable | Number of milliseconds to delay before sending ACKs |
net_CompressionMethod |
Console integer variable | Compression method, 0=none, 1=deflate. Only takes effect when connections are first established. |
net_DebugCrash |
Console boolean variable | If true, crash. |
net_DebugLevel |
Console integer variable | Amount of network debug spew |
net_Lag |
Console float variable | Lag, in milliseconds. |
net_LogPackets |
Console boolean variable | Log all incomming/outgoing packets. |
net_MaxBacklog |
Console integer variable | Maximum number of bytes to backlog to any one client. |
net_MaxResendDelay |
Console integer variable | Maximum number of milliseconds to delay before resending a packet. |
net_MaxSendRate |
Console integer variable | Maximum number of bytes to send per second to any one client. |
net_MinResendDelay |
Console integer variable | Minimum number of milliseconds to delay before resending a packet. |
net_ResendDelayBias |
Console integer variable | The resend delay is ping*new_ResendPingMultiplier+net_ResendDelayBias. |
net_ResendPingMultiplier |
Console float variable | The resend delay is ping*new_ResendPingMultiplier+net_ResendDelayBias. |
net_SendDelay |
Console integer variable | Number of milliseconds to delay before sending Data |
NoDamage |
Sim boolean variable | Disables all damage to units when set. |
p4_Edit |
Console command | Check out file(s) from perfoce |
p4_IsOpenedForEdit |
Console command | Is the specified file opened for edit? |
path_ArmyBudget |
Sim integer variable | Budget for each army to do pathfinding each tick |
path_BackgroundBudget |
Sim integer variable | Maximum number of steps to run pathfinder in background |
path_BackgroundUpdate |
Sim boolean variable | Update pathfinding tables in background |
path_GeneratePreview |
Console command | Do a pathfind for the UI preview |
path_MaxInstantWorkUnits |
Sim integer variable | Budget for instant pathfinds by the AI |
path_TimeoutPreview |
Sim integer variable | Maximum number of ticks to allow pathfinder preview to take |
path_UnreachableTimeoutSearchSteps |
Sim integer variable | Maximum number of ticks to allow a single pathfind to take for an unreachable path |
PathDebug |
Console command | Debug the path finder |
PopupCreateUnitMenu |
Console command | Popup the create unit menu. |
PrintStats |
Console command | Test the stat system |
ProcessInfoPair |
Console command | set the assist mode flag for the selected units. |
Purge |
Console command | Purge all entities of a specified type . If any optional army indices are supplied, destroy those army's entities. |
quit |
Console command | Quit the session. |
RandomElevationOffset |
Sim float variable | Alter random non-combat elevation offset so plane don't all stick on the same plane |
range_Fill |
Console boolean variable | |
range_InnerThicknessCoeff |
Console float variable | |
range_OuterThicknessCoeff |
Console float variable | |
range_RenderBuild |
Console boolean variable | |
range_RenderHighlighted |
Console boolean variable | |
range_RenderSelected |
Console boolean variable | |
recon_debug |
Console integer variable | Show debug recon info for specified army index |
ReconFlush |
Sim command | Flush all recon databases (destroys all blips) |
ren_BandwidthDisplayKernel |
Console float variable | Width of bandwidth filter (in seconds). |
ren_BandwidthDisplaySeconds |
Console float variable | Number of seconds of bandwidth data to display. |
ren_Beams |
Console boolean variable | Render the beam fx. |
ren_BgLowerBound |
Console float variable | |
ren_bicubicnormals |
Console boolean variable | Sample normal map basis using bicubic filter |
ren_Bloom |
Console boolean variable | Render Blooms? |
ren_BloomBlurCount |
Console integer variable | Bloom Blur Count |
ren_BloomBlurKernelScale |
Console float variable | Amount to scale blurred amount by. |
ren_BloomGlowCopyScale |
Console float variable | Scale when copying glowing stuff to glow buffer before blur |
ren_BorderSize |
Console float variable | Size of edge border |
ren_ClipDecalLevel |
Console integer variable | Level at which we clip decals for super quick reject |
ren_ClipDecals |
Console boolean variable | Clip Decals vertex count |
ren_Clutter |
Console boolean variable | Render clutter |
ren_ClutterRadius |
Console float variable | |
ren_DecalAlbedoLodCutoff |
Console float variable | Fudge factor for decal cutoff on zoom out for albedos |
ren_DecalFadeFraction |
Console float variable | fraction (0..1) of their range that decals start to fade |
ren_DecalFidelity |
Console integer variable | |
ren_DecalFlatTol |
Console float variable | flatness tolerance |
ren_DecalNormalLodCutoff |
Console float variable | Fudge factor for decal cutoff on zoom out for normals |
ren_DecalOverDraw |
Console boolean variable | Render overdraw display for decals |
ren_Decals |
Console boolean variable | Render Terrain Decals. |
ren_ErrorCache |
Console boolean variable | use error threshold cache? |
ren_fog |
Console boolean variable | Do we render fog of war, rendering only no effect on database. |
ren_FogIntensity |
Console integer variable | intensity of gray fog |
ren_FogOfWar |
Console boolean variable | Draw terrain with fog-of-war. |
ren_ForceUpdateMinimapTerrain |
Console boolean variable | Update the terrain tesselation/decals if it's a minimap |
ren_FrameTimeSeconds |
Console float variable | Number of seconds to display. |
ren_Fx |
Console boolean variable | Render FX? |
ren_GenerateMesh |
Console boolean variable | Generate a new mesh or use the old one? |
ren_glowingDecals |
Console boolean variable | Render glowing decals |
ren_HideSecondary |
Console boolean variable | Hide secondary views |
ren_IgnoreDecalLOD |
Console boolean variable | Force decals to render regardless of LOD |
ren_MapBorderAdd |
Console float variable | Add a mesh to the map border list |
ren_MapBorderClear |
Console float variable | Clear all map border meshes |
ren_MeshDissolve |
Console float variable | Fade mesh alpha from 1.0 to 0.0 |
ren_MeshDissolveCutoff |
Console float variable | |
ren_MeshSkinned |
Console boolean variable | toggle rendering of meshes which have and use skeletons |
ren_MeshStatic |
Console boolean variable | toggle rendering of meshes which do not have or ignore skeletons |
ren_MipSkipLevels |
Console float variable | |
ren_NewFogUpdate |
Console boolean variable | Use new fog update code |
ren_NewPipeline |
Console boolean variable | |
ren_NormalDecals |
Console boolean variable | Render Normal Decals |
ren_Oblivion |
Console boolean variable | |
ren_OnlyFirstView |
Console boolean variable | Render only the first view in the list |
ren_PlayableBoundary |
Console boolean variable | |
ren_Ranges |
Console boolean variable | |
ren_Reflection |
Console boolean variable | Render reflection? |
ren_Refraction |
Console boolean variable | Render refraction? |
ren_RegenShore |
Console boolean variable | Regenerate shoreline (editor only) |
ren_RenderNothing |
Console boolean variable | Render nothing? |
ren_Select |
Console boolean variable | Render select meshes? |
ren_SelectBoxes |
Console boolean variable | Toggle selection box rendering |
ren_SelectBracketMinPixelSize |
Console float variable | Minimum selection bracket thickness in pixels. |
ren_SelectBracketSize |
Console float variable | Default selection bracket thickness |
ren_SelectColor |
Console float variable | What color do we want the selection box? |
ren_SelectionHeightFudge |
Console float variable | How far off the ground selection boxes are fudged |
ren_SelectionSizeFudge |
Console float variable | How much selection box extents are fudged (multiplier) |
ren_ShadowBias |
Console float variable | Constant shadow bias |
ren_ShadowBlur |
Console boolean variable | Toggle shadow blurring |
ren_ShadowCoeff |
Console float variable | |
ren_ShadowLOD |
Console float variable | At what LODMetric do we stop rendering shadows |
ren_Shadows |
Console boolean variable | Render Shadows? |
ren_ShadowSize |
Console integer variable | Sizeof shadow texture |
ren_ShoreErrorCoeff |
Console float variable | |
ren_Shoreline |
Console boolean variable | Render shoreline |
ren_ShorelineCutoff |
Console float variable | Shoreline LOD cutoff |
ren_ShowBandwidthUsage |
Console boolean variable | Show the amount of network bandwidth we are using. |
ren_ShowBoneNames |
Console boolean variable | Show bone names |
ren_ShowDirtyTerrain |
Console boolean variable | Show or hide the dirty terrain bits. |
ren_ShowFrameTimes |
Console boolean variable | Graphically show the frame times. |
ren_ShowNetworkStats |
Console boolean variable | Show various network stats. |
ren_ShowNormals |
Console boolean variable | Variable to track show/hide normals rendering. |
ren_ShowSkeletons |
Console boolean variable | Show mesh skeletons |
ren_ShowWireframe |
Console boolean variable | Variable to track show/hide wireframe rendering. |
ren_Skirt |
Console boolean variable | Use new fog update code |
ren_SkyDome |
Console boolean variable | Render sky |
ren_Splats |
Console boolean variable | Render Terrain splats. |
ren_SyncTerrainLOD |
Console float variable | Distance at which to start display terrain sync changes |
ren_TeamColorLookupCount |
Console integer variable | Number of 'channels' in team color lookup texture. |
ren_Terrain |
Console boolean variable | Show or hide the terrain. |
ren_Trees |
Console boolean variable | Show or hide the trees. |
ren_TTerrainGlow |
Console boolean variable | Render the terrain using TTerrainGlow |
ren_Ui |
Console boolean variable | Render UI? |
ren_UnitSelectionScale |
Console float variable | How much unit selection box extents are scaled (multiplier) |
ren_UnitSilhouette |
Console boolean variable | |
ren_ViewError |
Console float variable | |
ren_Water |
Console boolean variable | Show or hide the water. |
ren_WorldBorder |
Console boolean variable | Render UI world border frame? |
RenameUnit |
Console command | Give selected unit a custom name, or with no parameters print name |
res_AfterPrefetchDelay |
Console integer variable | Number of milliseconds to nap after prefetching something. So the prefetcher thread doesn't bog us down too much. |
res_EnablePrefetching |
Console boolean variable | If true, enable prefetching. |
res_PrefetcherActivityDelay |
Console integer variable | Number of seconds to delay prefetching after there is foreground disk activity. |
res_SpewLoadSpam |
Console boolean variable | If true, spew spam with each resource load. |
rule_BlueprintReloadDelay |
Console float variable | seconds to delay before reloading a blueprint once we notice that it has changed. |
rule_Paranoid |
Console integer variable | Paranoid mode for RULE system, print all error messages. |
SallyShears |
Sim command | Toggle reveal entire map. |
SC_AntiAliasingSamples |
Console command | |
SC_CameraScaleLOD |
Console command | |
SC_CreateEntityDialog |
Console command | Create object editing box for the primary selected unit |
sc_FrameTimeClamp |
Console float variable | Minimum time between frames, in milliseconds |
SC_LuaDebugger |
Console command | Open Lua debugger window |
SC_PrimaryAdapter |
Console command | |
SC_SecondaryAdapter |
Console command | |
sc_SkipIntro |
Console boolean variable | Skip intro movies |
SC_StartMemoryLog |
Console command | Start up memory logging to filename |
SC_StopMemoryLog |
Console command | Stop memory logging |
SC_ToggleCursorClip |
Console command | Set the cursor clip to either the pre-launch clip or the current clip |
SC_VerticalSync |
Console command | |
ScenarioMethod |
Console command | Run a scenario-specific command |
SetArmyColor |
Console command | SetArmyColor(army,r,g,b) |
SetFocusArmy |
Console command | Pass in army index or -1 |
shadow_Fidelity |
Console integer variable | current shadow fidelity setting |
shadow_FidelitySupported |
Console integer variable | maximum shadow fidelity supported |
ShowArmyStats |
Console command | Show engine statistics |
ShowRaisedPlatforms |
Sim boolean variable | Turns on or off rendering of raised platform for tweaking and setting up purposes |
ShowStats |
Console command | Show engine statistics |
sim_ChecksumPeriod |
Sim integer variable | How many beats between checksums. |
sim_DebugCheats |
Console boolean variable | Log a backtrace when we detect a cheat. |
sim_DebugCrash |
Console command | Crash the sim. |
sim_DebugDelay |
Console integer variable | Milliseconds to delay each sim tick to simulate a slow sim. |
sim_Gravity |
Console command | Show or change the current gravity. Units are ogrids/(second^2) |
sim_Interlocked |
Console boolean variable | If true, force the sim and UI threads to run interlocked. |
sim_IssueThreadDebugLevel |
Console integer variable | How much debug spam to spew from the issue thread. |
sim_KeepAllLogFiles |
Console boolean variable | If true, keep all long files instead of just the ones for beats that appear out-of-sync. |
sim_LogSize |
Console integer variable | How many ticks to log before flushing files. |
sim_ReportCheats |
Console boolean variable | Report cheating when cheats are enabled. |
sim_ShowDamage |
Console boolean variable | Show debug damage info |
sim_TestFunc |
Console command | Test function - not used. |
sim_TestVar |
Sim integer variable | Test variable - not used. |
sim_TestVarBool |
Sim boolean variable | Test variable - not used. |
sim_TestVarFloat |
Sim float variable | Test variable - not used. |
sim_TestVarStr |
Sim string variable | Test variable - not used. |
sim_TestVarUByte |
Sim char variable | Test variable - not used. |
SimAssert |
Console command | Fail an assertion (for debugging purposes) |
SimCrash |
Console command | Cause a crash (for debugging purposes) |
SimError |
Console command | Log an error string (for debugging purposes) |
SimLog |
Console command | Log a string (for debugging purposes) |
SimLua |
Console command | Run some lua code in the sim's Lua. |
SimWarn |
Console command | Log a warning string (for debugging purposes) |
SkipUIChecks |
Console boolean variable | Don't perform any command validation in UI |
snd_CheckDistance |
Console boolean variable | Do distance checks for sound culling. |
snd_CheckLOS |
Console boolean variable | Do LOS checks for sound culling. |
snd_ExtraDoWorkCalls |
Console boolean variable | Enable mid-frame DoWork calls. |
snd_SpewSound |
Console boolean variable | Spew debug sound info |
StartCommandMode |
Console command | Set the UI context for some commands. |
TeleportSelectedUnits |
Console command | teleport selected units. |
timestamp |
Console command | Dump out EXE timestamp |
TrackStats |
Console command | Begin/End tracking stats of selected units. |
tree_AccelFactor |
Sim float variable | How quickly falling trees accelerate |
tree_DampFactor |
Sim float variable | Damping on swaying trees (0 to 1) |
tree_SpringFactor |
Sim float variable | How quickly swaying trees spring back |
tree_UprootFactor |
Sim float variable | How far to raise falling trees up out of the ground |
ui_AlwaysRenderStrategicIcons |
Console boolean variable | When true, strategic icons always render, even when zoomed in |
UI_ApplySelectionSet |
Console command | Takes a selection set name and applies the selection |
ui_ArrowKeysScrollView |
Console boolean variable | Toggle if the arrow keys scroll the main view |
ui_BuildPlaceTarmacAlpha |
Console float variable | Tarmac alpha for buildings that are about to be placed |
ui_CommandClickScale |
Console float variable | Scale applied to the click distance size of command waypoints |
ui_CommandGraphMaxNodeUnits |
Console integer variable | Limits the size of the waypoints |
UI_CreateHead1Map |
Console command | Destroys anything on head 1 and shows a full screen map in its place |
ui_CurveSegments |
Console integer variable | How many segments to subdivide curves into |
ui_CurveSmoothness |
Console float variable | How big to make curves when drawing command previews |
ui_CustomNameColor |
Console command | Color of the custom name display |
ui_CustomNameFontSize |
Console integer variable | Point size of the custom name display |
ui_CutsomNameFont [sic] |
Console string variable | Font family name of the custom name display |
ui_DebugAltClick |
Console boolean variable | Enable ALT+Click debug command to switch armies |
ui_DisableCursorFixing |
Console boolean variable | Allows you to toggle the cursor fixing functionality that is used for the mouse-controlled camera spinning/scrolling |
ui_DragSelect2D |
Console boolean variable | Use a 2D (screen-space) drag-selection box |
ui_DrawPathPreview |
Console boolean variable | Turns on/off the arrow line |
UI_DumpControls |
Console command | Dumps information about all controls to current log target. |
UI_DumpControlsUnderCursor |
Console command | Dumps all controls under the cursor to the debug log |
UI_ExpandCurrentSelection |
Console command | Expand selection to all units in view that is found in our current selection group |
ui_ExtractSnapTolerance |
Console float variable | Sets the extraction unit 'snap-to' tolerance (in meters) for building. Increase this to make it easier to auto-snap to extraction sites. |
ui_FootprintMinThickness |
Console float variable | Mimimum render size for the footprint outline. |
ui_ForceLifbarsOnEnemy [sic] |
Console boolean variable | force lifebars on for enemy units |
UI_forceWeaponsToYellow |
Console boolean variable | Force all minimap weapon fire to yellow |
ui_FuelBarColor |
Console command | The color of the secondary Fuel bar |
ui_fuelbarHeight |
Console float variable | size of the fuel bar as a fraction of the bar height |
ui_FuelEmptyBlinkRate |
Console float variable | Blink timer scale for empty fuel |
ui_FuelWarningColor |
Console command | The color of the feul warning flash |
ui_KeyboardPanAccelerateMultiplier |
Console float variable | How much faster the camera pans when accelerated |
ui_KeyboardPanSpeed |
Console float variable | How fast arrow keys pans camera |
ui_KeyboardRotateAccelerateMultiplier |
Console float variable | How much faster the camera rotates when accelerated |
ui_KeyboardRotateSpeed |
Console float variable | How fast ins/del rotate camera |
ui_LifeBarBadColor |
Console command | The color of the lifebar when there is poor health |
ui_LifeBarBadCutoff |
Console float variable | The percent of health where the life bar changes from bad to medium |
ui_LifeBarGoodColor |
Console command | The color of the lifebar when there is good health |
ui_LifeBarGoodCutoff |
Console float variable | The percent of health where the life bar changes from medium to good |
ui_lifebarHeight |
Console float variable | height of health/fuel bar in ogrids |
ui_LifebarLOD |
Console float variable | LOD Cutoff for health bars |
ui_LifeBarMedColor |
Console command | The color of the lifebar when there is medium health |
ui_LifebarOffset |
Console float variable | Y Offset in ogrids of all lifebars |
ui_LifebarWidth |
Console float variable | width of health/fuel bar in ogrids |
UI_Lua |
Console command | Run lua code in the appropriate UI lua state. |
UI_MakeSelectionSet |
Console command | Takes a name, and makes a named selection set from the current selection |
ui_MaxExtractSnapPixels |
Console float variable | Allows us to put a pixel cap on the snap tolerance (in case we are zoomed in close. |
ui_MaxTextLOD |
Console float variable | LOD level that timer text dissapears |
ui_MaxWaypointSize |
Console float variable | Set the maximum pixel size of a waypoint |
ui_MinExtractSnapPixels |
Console float variable | Allows us to put a pixel cap on the snap tolerance (in case we are zoomed out relatively far. |
ui_MinWaypointSize |
Console float variable | Set the minimum pixel size of a waypoint |
ui_NisRenderIcons |
Console boolean variable | nis toggle for strat icons, also removes pause and diabled icons |
ui_PathPreview |
Console boolean variable | Turns on/off the pathfinding preview line |
ui_PathSmoothness |
Console float variable | How big to make curves when drawing path preview |
ui_ProgressBarColor |
Console command | The color of the secondary Construction Progress bar |
UI_Quit |
Console command | Drives quit behavior of the game depending on the state of the UI |
ui_RenderCustomNames |
Console boolean variable | toggle custom name display |
ui_RenderIcons |
Console boolean variable | toggle strategic icons on/off |
ui_RenderSelectionSetNames |
Console boolean variable | toggle selection set names on/off |
ui_RenderUnitBars |
Console boolean variable | render unit life/fuel bars? |
UI_RenProectileTrailWidth |
Console float variable | The half width, in pixels, of the projectile trail |
UI_RenProjectileArcsSampleInterval |
Console integer variable | How often the position is updated for the projectile trail |
UI_RenProjectileGlow |
Console boolean variable | Toggle projectile icon glow |
UI_RenProjectileGlowMax |
Console float variable | Maximum glow alpha on projecile icon |
UI_RenProjectileGlowMin |
Console float variable | Minimum glow alpha on projectile icon |
UI_RenProjectileGlowPeriod |
Console float variable | The period in which the projectile icon glow will pulse from min to max to min |
UI_RenProjectileIcons |
Console boolean variable | toggle projectile icons on/off |
UI_RenProjectileTrailColor |
Console integer variable | ARGB value of the projectile trail |
UI_RenResources |
Console boolean variable | toggle resource icons on/off |
UI_ResetView |
Console command | Reset a named camera to the default view |
UI_ResourceLODCutoff |
Console float variable | When to draw icons instead of resource deposit textures |
UI_RotateLayout |
Console command | Cycles through all available layouts |
UI_RotateSkin |
Console command | Cycles through all available skins |
ui_ScreenEdgeScrollView |
Console boolean variable | Toggle if the mouse on the sides of the main window will scroll the view (fullscreen only) |
UI_SelectAnything |
Console boolean variable | Debug to allow UI to select anything |
UI_SelectByCategory |
Console command | Select a set of units by category |
ui_SelectionSetNamesColor |
Console command | Color of the selection set names |
ui_SelectTolerance |
Console float variable | Sets the unit click tolerance (in pixels) for selection. Increase this to make units have a larger selection box. |
UI_SetSkin |
Console command | Sets a new skin |
ui_ShieldBarColor |
Console command | The color of the secondary Shield bar |
UI_ShowControlUnderMouse |
Console boolean variable | Highlights the control currently under the mouse |
UI_ShowRenameDialog |
Console command | Display the rename unit dialog during a game |
ui_StrategicIconBlinkDuration |
Console float variable | How long to blink icon when unit is damage |
ui_StrategicIconBlinkRate |
Console float variable | Blink timer scale for strategic icons on damage |
UI_StrategicProjectileLOD |
Console float variable | At what LODMetric do we draw projectile pixels on strategic view |
UI_ToggleGamePanels |
Console command | Hide/show the UI panels in game, and expands the world view to fill the screen when panels are hidden. |
UI_TrackUnit |
Console command | track selected units. |
ui_WaypointLineScale |
Console float variable | Scale applied to the calculated waypoint line size |
ui_WindowedAlwaysShowsCursor |
Console boolean variable | Always show cursor in windowed mode, regardless of show/hide |
WeaponTerrainBlockageTest |
Sim boolean variable | Toggle on/off wepaon collision tests against terrain blockages |
WIN_ShowLogDialog |
Console command | Explicit show/hide log dialog box |
WIN_ToggleLogDialog |
Console command | Show/hide log dialog box |
WLD_AdvanceBeat |
Console command | Advance the sim one beat. |
wld_ClientDebugDump |
Console command | Dump out debug info about the network connections |
WLD_DecreaseSimRate |
Console command | Decrease the game speed. |
WLD_GameSpeed |
Console command | Set a new game speed |
WLD_IncreaseSimRate |
Console command | Increase the game speed. |
WLD_ResetSimRate |
Console command | Increase the game speed. |
WLD_RestartBeat |
Console command | Restart rendering the current beat. |
wld_RunWithTheWind |
Console command | If true, run beats as fast as we can. |
WLD_SingleStep |
Console command | Single-step the sim one tick. |
wld_SkewRateAdjustBase |
Console float variable | How much to adjust the sim rate based on one beat of skew. |
wld_SkewRateAdjustMax |
Console float variable | Max amount to adjust the sim rate due to skew. |
wnd_DefaultCreateHeight |
Console integer variable | Minimum initial window height |
wnd_DefaultCreateWidth |
Console integer variable | Minimum initial window width |
wnd_MinCmdLineHeight |
Console integer variable | Minimum command line height |
wnd_MinCmdLineWidth |
Console integer variable | Minimum command line width |
wnd_MinDragHeight |
Console integer variable | Minimum drag-resize height |
wnd_MinDragWidth |
Console integer variable | Minimum drag-resize width |
WxInputBox |
Console command | Text the WWxInputBox dialog. |
ZeroExtraStorage |
Console command | Set energy and mass extra storage to 0 |
ren_Steering |
Console boolean variable | Render steering |
dbg_Ballistics |
Console boolean variable | Debug ballistic trajectories |
dbg_EfxBeam |
Console boolean variable | Debug efx beam sliders |
dbg_Emitter |
Console boolean variable | Unused |
dbg_Trail |
Console boolean variable | Debug efx trails |
dbg_CollisionBeam |
Console boolean variable | Debug collision beams |
dbg_Projectile |
Console boolean variable | Debug projectiles |
DoSimCommand <sim command>
; these have been omitted for brevity.
Note that named parameters to these console commands can be in any order.