Skip to content

Instantly share code, notes, and snippets.

@hogsy
Created August 11, 2021 16:06
Show Gist options
  • Save hogsy/e2619ae86582e661d036582621c54567 to your computer and use it in GitHub Desktop.
Save hogsy/e2619ae86582e661d036582621c54567 to your computer and use it in GitHub Desktop.

Console Commands

Below is a list of console commands that the engine provides, these can of course and are typically parsed in via scripts but it looks like there was (or is) a console interface of sorts?

TODO

  • Organise the commands better (perhaps categories?)
  • Descriptions are missing for most of them...
  • Which ones still work and which ones don't? Might need another column (i.e. available?)

Variable Types

  1. NULL
  2. SLONG
  3. ULONG
  4. FLOAT
  5. BOOL
  6. STRING
  7. GENERIC_VAR

Commands

Name Arguments Description
ActivateQuest STRING ?
SetConsoleDebugString STRING ?
SetControlScheme STRING ?
EnableHeroRollWhenInProjectileWeaponMode BOOL ?
EnableHeroButtonPressRollBasedOnJoystickVectorMagnitude BOOL ?
EnableHeroJump BOOL ?
EnableHero180 BOOL ?
EnableHeroRunningStop BOOL ?
EnableTransitionAnimLOD BOOL ?
ForcePrimitiveFadeDistance BOOL ?
NoThingsToLoadPerSuspend SLONG ?
NoMapCellsToLoadPerSuspend SLONG ?
SetPrimitiveFadeDistance SLONG ?
UseMapRegions BOOL ?
EnableCombinationAnimations BOOL ?
EnableAnimationLoadingStallReductionTechnique BOOL ?
AlwaysUpdateGameFrame BOOL ?
EnableHeroThingCollision BOOL ?
EnableHeroSprint BOOL ?
EnableHeroSprintGui BOOL ?
UseNewMovementMethod BOOL ?
SaveStackMemoryTrackerLog STRING ?
StackMemoryTrackerStartAutosavingMaxMemory STRING ?
StackMemoryTrackerStopAutosavingMaxMemory STRING ?
DrawMiniMap BOOL ?
DrawOverheadDisplay BOOL ?
HeroGodMode BOOL ?
EnemyGodMode BOOL ?
CombatParticleEffects BOOL ?
ProfileCutOff FLOAT ?
MusicLoadingPriority SLONG ?
PhysicsMeshLoadingPriority SLONG ?
MeshLoadingPriority SLONG ?
AnimationLoadingPriority SLONG ?
TextureLoadingPriority SLONG ?
ParticleLoadingPriority SLONG ?
LipSyncLoadingPriority SLONG ?
TextLoadingPriority SLONG ?
StaticMapLoadingPriority SLONG ?
UseCachedNavigationVolumes BOOL ?
ShowBuildNumber BOOL ?
ShowDroppedFrames BOOL ?
JossTestPhysics BOOL ?
JossTestEnemySelection BOOL ?
EnableShots BOOL ?
EnableTutorials BOOL ?
EnableRegionLockingSaveSystem BOOL ?
EnableParticles BOOL ?
CheatModeEnableDoubleTapRoll BOOL ?
CheatModeEnableRemoveProjectileModeWhenHit BOOL ?
CheatModeEnableZTargetTransitionFromProjectileWeaponMode BOOL ?
CloverLeafAlpha SLONG ?
TraceLoadingInfo BOOL ?
TraceAssetWaits BOOL ?
ControlScheme STRING ?
UseFreeCamera BOOL ?
ShiftDeleteEnabled BOOL ?
OnlyCameras BOOL ?
AnimCriteriaRange FLOAT ?
UseNonDynamicMorphs BOOL ?
CompleteCurrentMission BOOL ?
UseBodyReorientation BOOL ?
UseBodyReorientationYZ N/A ?
AllAIsStandStill N/A ?
CombatActionSnapAnimationBackToPointOfHit N/A ?
CombatActionHitThingsPauseFrames N/A ?
CombatDamageDebug N/A ?
CombatStressTestDebug N/A ?
PlayerModesDebug N/A ?
AnimationDebug N/A ?
DebugTalkUseEmoteIconText N/A ?
ForceSynchronousTextLoading N/A ?
EnableDialogueGainLayering N/A ?
EnableFollowersEnemyProxy N/A ?
EnableUnknownThreatDeedPostings N/A ?
EnableUnknownThreatOpinionSources N/A ?
DebugMissingAnimsOnScreen N/A ?
DebugExpressionsUseSpriteOverrideText N/A ?
DrawThingMapLevel N/A ?
SoundReceiverMode N/A ?
LogSoundCriteria N/A ?
AbilityCycleMode N/A ?
AbilityCrazyHUDMode N/A ?
RotateHeroHandDummies N/A ?
ProfileTCs N/A ?
SetDisplayAssetErrors BOOL ?
SetDisplayCriticalErrors BOOL ?
SetDisplayScriptErrors BOOL ?
SetDisplayWarnings BOOL ?
Audio_SendLibCommand STRING ?
Audio_SetHeadroomBits ULONG ?
Audio_SetHeadRelativePosition FLOAT, FLOAT, FLOAT ?
Audio_SetOutputPCMBufferCount ULONG ?
Audio_SetOutputPCMBufferSampleSize ULONG ?
Audio_SetOutputPCMPreloadBufferCount ULONG ?
Audio_SetDiskByteGranularity ULONG ?
Audio_SetDiskFrontBufferCount ULONG ?
Audio_SetDiskBackBufferCount ULONG ?
Audio_SetAtmosMapBlendTime FLOAT ?
Audio_SetDistanceModelRolloff FLOAT ?
Audio_SetAtmosSFXDampingDistance FLOAT ?
Audio_SetHRTFHemisphereMirroring BOOL ?
Audio_SetMonitorAllowedPostStopTailDurationMS ULONG ?
Audio_SetAtmosSFXDampingWeight FLOAT ?
SetSoundEnable BOOL ?
SetMusicEnable BOOL ?
SetAtmosEnable BOOL ?
UnloadSoundBanks N/A ?
ReloadSoundBanks N/A ?
DumpParticleInfo N/A ?
GiveHeroVitalStrikeUpswing BOOL ?
GiveHeroVitalStrikeLunge BOOL ?
GiveHeroVitalStrike360Clockwise BOOL ?
GiveHeroWillForceMoveSpell BOOL ?
GiveHeroWillEnflameSpell BOOL ?
GiveHeroWillPhysicalShieldSpell BOOL ?
GiveHeroWillTurncoatSpell BOOL ?
GiveHeroWillFireballSpell BOOL ?
GiveHeroWillDrainLifeSpell BOOL ?
GiveHeroWillHealLifeSpell BOOL ?
GiveHeroWillGhostSwordSpell BOOL ?
GiveHeroWillRaiseDeadSpell BOOL ?
GiveHeroWillSummonSpell BOOL ?
GiveHeroWillLightningSpell BOOL ?
GiveHeroSkillTimeSpell BOOL ?
GiveHeroSkillAssassinRush BOOL ?
GiveHeroStrengthBattleCharge BOOL ?
GiveHeroStrengthBerserk BOOL ?
GiveHeroSkillMultiArrow BOOL ?
GiveHeroAllSpells N/A ?
SetAllSpellsToLevel SLONG ?
SetSpellToLevel STRING, SLONG ?
SetAllSpellsToNextLevel N/A ?
SetSpellToNextLevel STRING ?
SetHeroInfiniteStamina BOOL ?
TurnPlayerInto STRING ?
SetTextureDepth SLONG ?
SetMipmapBias FLOAT ?
SetMaxAnisotropy SLONG ?
SetAntialiasing SLONG ?
GiveMe STRING ?
GiveExpressionToHero STRING, SLONG ?
SetLevel STRING ?
AddClothing STRING ?
RemoveClothing STRING ?
RemoveAllClothing N/A ?
RemoveHairAndBeard N/A ?
SetStrengthMorph FLOAT ?
SetGoodStrength FLOAT ?
SetAttractiveness FLOAT ?
SetScariness FLOAT ?
SetDrinkResistance FLOAT ?
SetGoodStrengthWithoutMorph FLOAT ?
SetFatness FLOAT ?
AddMoney FLOAT ?
AddTattoo STRING ?
RemoveTattoos N/A ?
SetTan FLOAT ?
SetAge FLOAT ?
PlaySoundCriteria STRING ?
SetDrawThingDebug BOOL ?
SetDrawBoundingBoxes BOOL ?
SetDrawPhysicsMeshes N/A ?
SetDrawCameraPhysicsMeshes N/A ?
SetDrawSpotLightCones N/A ?
SetSpotLightConeAlpha SLONG ?
SetDrawNavigationMeshes BOOL ?
SetUsePhysicsSegmentation BOOL ?
SetDrawDummyObjects BOOL ?
SetDummyObjectFilter STRING ?
SetDrawRenderMeshes BOOL ?
SetDrawMapwhoInfo BOOL ?
SaveCamera STRING ?
SetFreeCameraFov FLOAT ?
SetFreeCameraSpeed FLOAT ?
ZoomToThing STRING ?
ZoomToThingNext N/A ?
RunLastScript N/A ?
DefaultToUsingPhysicsInCutsceneAnimations N/A ?
AllowSneakAtAnySpeed N/A ?
AllowCreatureActionRepulsion N/A ?
EnableCombatWeaponTrailExtension N/A ?
EnableUpdateEntities N/A ?
EnableUpdateAI N/A ?
EnableUpdateVolumeContainmentTracker N/A ?
EnableUpdateTCSound N/A ?
EnableUpdateObjects N/A ?
EnableUpdateCreatures N/A ?
EnableUpdateOpinionDebug N/A ?
PrepareParticlePrimitives N/A ?
MultipleStaticMeshesToDraw N/A ?
DrawProximityFadeOutMeshes N/A ?
ResetDefinitions STRING, BOOL ?
ResetScriptDefinitions STRING ?
ReloadLocalDetail N/A ?
SetPlayerAnim STRING ?
SetEntityAnimFromIndex STRING, STRING ?
AddWound N/A ?
ShowSubtitle STRING, FLOAT ?
SetXBPerfBufferSize SLONG ?
StartProf STRING ?
StartTimedProf STRING, FLOAT, FLOAT ?
EndProf N/A ?
TeleportToPosition FLOAT, FLOAT, FLOAT ?
TeleportToHSP STRING ?
ActivateAllTeleporters N/A ?
CreateParticle STRING ?
CreateParticleAttachedToCamera STRING ?
Create2DParticle STRING ?
CreateCreature STRING, STRING ?
CreateAndDestroyManyCreatures STRING ?
CreateObject STRING, STRING ?
SaveGameState STRING ?
LoadGameState STRING ?
MovePlayerToPosition FLOAT, FLOAT, FLOAT ?
SetHeroStrengthPhysiqueLevel SLONG ?
SetHeroStrengthHealthLevel SLONG ?
SetHeroStrengthToughnessLevel SLONG ?
SetHeroSkillSpeedLevel SLONG ?
SetHeroSkillAccuracyLevel SLONG ?
SetHeroSkillStealthLevel SLONG ?
SetHeroWillWeaponMagicLevel SLONG ?
SetHeroWillAbilityMagicLevel SLONG ?
SetHeroWillPureMagicLevel SLONG ?
SetHeroWillMagicPowerLevel SLONG ?
SetHeroExperienceToSpend SLONG ?
AddHeroExperienceToSpend SLONG ?
SetHeroStrengthExperience SLONG ?
AddHeroStrengthExperience SLONG ?
SetHeroSkillExperience SLONG ?
AddHeroSkillExperience SLONG ?
SetHeroWillExperience SLONG ?
AddHeroWillExperience SLONG ?
SetHeroHealth FLOAT ?
SetHeroEnergy FLOAT ?
SetHeroRenownLevel SLONG ?
AddHeroRenown SLONG ?
PlaySound SLONG ?
PlaySoundFromBank SLONG, STRING ?
PlayMovie STRING ?
SetOutputToHeadphones BOOL ?
DeactivateQuest STRING ?
AddQuestCard STRING, STRING ?
MakeBoast SLONG ?
CreatePostcard N/A ?
SetOverlay STRING, ULONG, FLOAT ?
ClearOverlays N/A ?
EnableInventory BOOL ?
CreateExperienceOrb SLONG ?
EnableAttachmentDebugAtMapLoad BOOL ?
OpinionCreateSource STRING ?
OpinionAttachSourceToTarget STRING ?
OpinionSourcesSetReactNonstop BOOL ?
OpinionClearSources N/A ?
OpinionSourceVirtualDeed STRING, FLOAT ?
OpinionSetPersonalityOverrideOnTarget STRING ?
OpinionClearPersonalityOverrideOnTarget N/A ?
SetTargetAsMarryable BOOL ?
MarryTargetedThing BOOL ?
SetTargetStategroupEnabled STRING, BOOL ?
SetDrunkennessOnTarget FLOAT ?
SetFireToTarget N/A ?
ExtinguishFireOnTarget N/A ?
EnableInventoryTest N/A ?
AddTestBoast STRING, BOOL ?
RemoveAllBoasts N/A ?
ListAllHSPs N/A ?
ListAllHSPsContaining STRING ?
ResetPlayerMode N/A ?
SetDrawSafeAreas BOOL ?
DrawTGA STRING ?
SetDialogueGain FLOAT ?
SetSoundGain FLOAT ?
SetMusicGain FLOAT ?
PlaySpeechForNarrator ULONG ?
PlaySpeechForNarratorName STRING, ULONG ?
ConvertOldSavesToNewSaves N/A ?
ResetTutorials N/A ?
ScreenFadeOutStart FLOAT ?
ScreenFadeOutEnd N/A ?
SetMiniMapRegionExitOffsetX STRING, FLOAT ?
SetMiniMapRegionExitOffsetY STRING, FLOAT ?
DeleteUserProfile STRING ?
ReloadCurrentRegion N/A ?
GenerateRegionGraph N/A ?
LoadRegionGraphData STRING ?
WriteAllTextToFile STRING ?
AutoSaveCheckPoint N/A ?
AutoSave N/A ?
LeakMemory N/A ?
SetQuestAsCompleted STRING ?
SetQuestAsFailed STRING ?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment