Sly 1:Builds/May 19 2002: Difference between revisions

Add debug flags
(Document cut cycle, hang glider, and ski features)
(Add debug flags)
 
Line 33:
{{Clear}}
== Debug flags ==
[[File:Sly 1 May 19 debug flags.png|thumb]]
 
There are severalmany debug flags en memory that can be toggled by setting them to 0 or 1 in memory. The following screenshot shows the flags <code>showCameraEdges</code>, <code>ShowBones</code>, <code>ShowBrightnessBar</code>, <code>ShowPlayerSuck</code>, and <code>ShowShapes</code> enabled.
 
[[File:Sly 1 May 19 debug flags.png|thumb480px|inline]]
{{To do|Add a table of all flags}}
 
{| class="wikitable"
{{Clear}}
|-
! Name !! Offset !! Description
|-
| ShowAxes || 0x2736f0 || Shows the XYZ axis gizmo on Sly's model.
|-
| showCameraEdges || 0x2736f4 ||
|-
| ReverseLook || 0x273990 || Inverts the look axis.
|-
| DrawEmitterGroupSelf || 0x0273a40 ||
|-
| ShowBones || 0x273bc0 || Renders the bones on entity models.
|-
| DisableSkin || 0x273bc4 ||
|-
| DisablePoses || 0x273bc8 ||
|-
| CdAvailable || 0x273e80 || Indicates whether the CD is available for a read operation; Used by the game engine.
|-
| CpmanOverride || 0x274f4c || Used by the game engine.
|-
| SkipDialog || 0x2752c0 ||
|-
| fontDebug || 0x276070 ||
|-
| RenderLoopIdle || 0x276218 || Used by the game engine.
|-
| FreezeReport || 0x27621c ||
|-
| CelAntiAlias || 0x27763c ||
|-
| Invulnerable || 0x279b24 || Makes Sly ignore all damage.
|-
| InfiniteCharms || 0x279b28 || Gives Sly infinite Lucky Charms.
|-
| ShowEffectObjects || 0x279b2c ||
|-
| ShowReachMap || 0d279b30 || Renders a 3D wireframe that shows how far Sly can reach with his cane.
|-
| ZapFreeze || 0x279b34 || Makes Sly freeze in place whenever he gets zapped by level hazards (i.e. drowning, falling, electricity).
|-
| DynamicLights || 0x27eb7c || Used by the game engine.
|-
| ReportXPs || 0x27f2e4 ||
|-
| LiveEdit || 0x27f9cc ||
|-
| ShowPaths || 0x28000c || Renders the pathfinding calculated by the guard AI.
|-
| DisableRumble || 0x281af0 || Disables controller rumble.
|-
| ShowBrightnessBar || 0x2890ec || Displays a grayscale color bar on-screen.
|-
| ShowPlayerSuck || 0x2890f0 || Displays the float value for the player's "suck" score (used to calculate difficulty).
|-
| LasenBusyListChange || 0d289190 ||
|-
| ShowShapes || 0x289494 || Renders a wireframe on top of 3D objects.
|-
| SneakyFeet || 0x2897c4 || Controls whether Sly's footsteps make guitar sounds.
|-
| RenderStepPhys || 0x289b10 ||
|-
| ForceFore || 0x289b70 ||
|-
| ForceBack || 0x289b74 ||
|-
| DisplayDetection || 0x289cb0 ||
|-
| LoadDebugInfo || 0x28a784 || Used by the game engine.
|-
| LoadBulkData || 0x28a798 || Used by the game engine.
|-
| ShowTargets || 0x28a98c ||
|-
| DisableSquish || 0x28a9c0 || Toggles whether Sly can get squished by level hazards.
|-
| R || 0x28b400 || Unknown
|-
| WmReversePlayed || 0x28b6c4 ||
|-
| ShowZapGeometry || 0x28c174 || Shows a wireframe around areas where Sly will drown/fall and die.
|}
 
== Unused game mechanics ==