Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

Difference between revisions of "UE3:CheatManager exec functions (UDK)"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(Talk)
 
m (1 revision: class descriptions for UDK January update (part 1))
 
(One intermediate revision by one other user not shown)
Line 36: Line 36:
  
 
<!-- enter function description -->
 
<!-- enter function description -->
 +
 +
====DebugAI====
 +
{{code|exec function '''DebugAI''' (optional&nbsp;coerce&nbsp;[[name]]&nbsp;'''Category''')}}
 +
 +
<!-- enter function description -->
 +
 +
====DebugPause====
 +
{{code|exec function '''DebugPause''' ()}}
 +
 +
Dumps the pause state of the game
  
 
====DestroyFractures====
 
====DestroyFractures====
Line 118: Line 128:
  
 
<!-- enter function description -->
 
<!-- enter function description -->
 +
 +
====LogParticleActivateSystemCalls====
 +
{{code|exec native function '''LogParticleActivateSystemCalls''' ([[bool]]&nbsp;'''bShouldLog''')}}
 +
 +
This will have all ActivateSystem function calls emit a warnf so you can see that name of
 +
the particlesystem being played.
 +
 +
====LogPlaySoundCalls====
 +
{{code|exec native function '''LogPlaySoundCalls''' ([[bool]]&nbsp;'''bShouldLog''')}}
 +
 +
This will have all PlaySound function calls emit a warnf so you can see that name of
 +
the soundcue being played.
  
 
====OnlyLoadLevel====
 
====OnlyLoadLevel====
Line 157: Line 179:
 
<!-- enter function description -->
 
<!-- enter function description -->
  
====SloMo====
+
====Slomo====
{{code|exec function '''SloMo''' ([[float]]&nbsp;'''T''')}}
+
{{code|exec function '''Slomo''' ([[float]]&nbsp;'''T''')}}
  
 
<!-- enter function description -->
 
<!-- enter function description -->
Line 186: Line 208:
  
 
<!-- enter function description -->
 
<!-- enter function description -->
 +
 +
====TestNavMeshPath====
 +
{{code|exec function '''TestNavMeshPath''' (optional&nbsp;[[bool]]&nbsp;'''bDrawPath''')}}
 +
 +
tries to path from the player's current position to the position the player is looking at
  
 
====ToggleDebugCamera====
 
====ToggleDebugCamera====
Line 192: Line 219:
 
Toggle between debug camera/player camera without locking gameplay and with locking
 
Toggle between debug camera/player camera without locking gameplay and with locking
 
local player controller input.
 
local player controller input.
 +
 +
====VerbosePathDebug====
 +
{{code|exec function '''VerbosePathDebug''' ()}}
 +
 +
<!-- enter function description -->
  
 
====ViewActor====
 
====ViewActor====

Latest revision as of 05:37, 17 January 2010

UDK Object >> CheatManager (exec functions)
CheatManager exec functions in other games:
U2, U2XMP, UE2Runtime, UT2003, UT2004, UT3

Exec functions[edit]

AffectedByHitEffects[edit]

exec function AffectedByHitEffects ()

Some games have God Mode not actually be god mode but be "don't take damage mode". So we need to have another flag that says to not be affected by effects (e.g. momentum transfer, hit effects, etc.)

AllAmmo[edit]

exec function AllAmmo ()


AllWeapons[edit]

exec function AllWeapons ()


Amphibious[edit]

exec function Amphibious ()


Avatar[edit]

exec function Avatar (name ClassName)

Possess a pawn of the requested class

ChangeSize[edit]

exec function ChangeSize (float F)


DebugAI[edit]

exec function DebugAI (optional coerce name Category)


DebugPause[edit]

exec function DebugPause ()

Dumps the pause state of the game

DestroyFractures[edit]

exec function DestroyFractures (optional float Radius)

Util for fracturing meshes within an area of the player.

DumpOnlineSessionState[edit]

exec function DumpOnlineSessionState ()

Logs the current session state for the game type and online layer

DumpVoiceMutingState[edit]

exec function DumpVoiceMutingState ()

Logs the current muting state of the server

EndPath[edit]

exec function EndPath ()


Fly[edit]

exec function Fly ()


FractureAllMeshes[edit]

exec function FractureAllMeshes ()

Util for ensuring at least one piece is broken of each FSM in level

FractureAllMeshesToMaximizeMemoryUsage[edit]

exec function FractureAllMeshesToMaximizeMemoryUsage ()

This will break all Fractured meshes in the map in a way to maximize memory usage *

FreezeFrame[edit]

exec function FreezeFrame (float delay)


Ghost[edit]

exec function Ghost ()


GiveWeapon[edit]

exec function Weapon GiveWeapon (string WeaponClassStr)

Give a specified weapon to the Pawn. If weapon is not carried by player, then it is created. Weapon given is returned as the function's return parmater.

God[edit]

exec function God ()


KillAll[edit]

exec function KillAll (class<ActoraClass)


KillPawns[edit]

exec function KillPawns ()


KillViewedActor[edit]

exec function KillViewedActor ()


ListDynamicActors[edit]

exec function ListDynamicActors ()


Loaded[edit]

exec function Loaded ()


LogParticleActivateSystemCalls[edit]

exec native function LogParticleActivateSystemCalls (bool bShouldLog)

This will have all ActivateSystem function calls emit a warnf so you can see that name of the particlesystem being played.

LogPlaySoundCalls[edit]

exec native function LogPlaySoundCalls (bool bShouldLog)

This will have all PlaySound function calls emit a warnf so you can see that name of the soundcue being played.

OnlyLoadLevel[edit]

exec function OnlyLoadLevel (name PackageName)


PlayersOnly[edit]

exec function PlayersOnly ()


RememberSpot[edit]

exec function RememberSpot ()


SetGravity[edit]

exec function SetGravity (float F)


SetJumpZ[edit]

exec function SetJumpZ (float F)


SetOnlineDebugLevel[edit]

exec function SetOnlineDebugLevel (int DebugLevel)

Changes the OS specific logging level

Parameters:

  • DebugLevel - the new debug level to use

SetSpeed[edit]

exec function SetSpeed (float F)


Slomo[edit]

exec function Slomo (float T)


StreamLevelIn[edit]

exec function StreamLevelIn (name PackageName)


StreamLevelOut[edit]

exec function StreamLevelOut (name PackageName)


Summon[edit]

exec function Summon (string ClassName)


Teleport[edit]

exec function Teleport ()


TestLevel[edit]

exec function TestLevel ()


TestNavMeshPath[edit]

exec function TestNavMeshPath (optional bool bDrawPath)

tries to path from the player's current position to the position the player is looking at

ToggleDebugCamera[edit]

exec function ToggleDebugCamera ()

Toggle between debug camera/player camera without locking gameplay and with locking local player controller input.

VerbosePathDebug[edit]

exec function VerbosePathDebug ()


ViewActor[edit]

exec function ViewActor (name ActorName)


ViewBot[edit]

exec function ViewBot ()


ViewClass[edit]

exec function ViewClass (class<ActoraClass)


ViewFlag[edit]

exec function ViewFlag ()


ViewPlayer[edit]

exec function ViewPlayer (string S)


ViewSelf[edit]

exec function ViewSelf (optional bool bQuiet)


Walk[edit]

exec function Walk ()


WriteToLog[edit]

exec function WriteToLog (string Param)