Diag Menu – Arma Reforger

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Remove after class' semicolons)
m (Add sticky sideTOC)
Line 1: Line 1:
{{TOC|side}}
<!--
 
Wiki editors: do not forget to update miniTOC when adding an H2 title!
 
--><div style="display: flex"><!-- flex start -->
<div style="flex-grow: 1"><!-- scrolling div start -->
The Diag Menu is a menu listing many options used to debug game scripting and assets. It is available in [[Arma Reforger:Workbench|Workbench]] in any 3D viewport (e.g world or model preview).
The Diag Menu is a menu listing many options used to debug game scripting and assets. It is available in [[Arma Reforger:Workbench|Workbench]] in any 3D viewport (e.g world or model preview).


Line 530: Line 535:
* Stall local
* Stall local
* Stall remote
* Stall remote
</div><!-- scrolling div end -->
<div>
<div style="position: sticky; top: 2em">
{{TabView
|title1= Full TOC
|title2= Mini TOC
|content1= <div style="overflow: auto; max-height: 80vh; min-width: 20em">{{TOC}}</div>
|content2=
<div style="min-width: 12em">
{{TOC|subtoc|content=
* 1 {{Link|#Modding}}
* 2 {{Link|#GameCode}}
* 3 {{Link|#Animals}}
* 4 {{Link|#Cheats}}
* 5 {{Link|#Platform}}
* 6 {{Link|#AI}}
* 7 {{Link|#Vehicles}}
* 8 {{Link|#Systems}}
* 9 {{Link|#Character}}
* 10 {{Link|#ECS}}
* 11 {{Link|#Statistics}}
* 12 {{Link|#Render}}
* 13 {{Link|#Scene}}
* 14 {{Link|#World}}
* 15 {{Link|#Animation}}
* 16 {{Link|#Physics}}
* 17 {{Link|#Game}}
* 18 {{Link|#Sounds}}
* 19 {{Link|#Systems}}
* 20 {{Link|#UI}}
* 21 {{Link|#Replication}}
}}
</div>
</div><!-- sticky end -->
}}<!-- TabView end -->
</div>
</div><!-- flex end -->




{{GameCategory|armaR|Modding|Official Tools}}
{{GameCategory|armaR|Modding|Official Tools}}

Revision as of 18:49, 10 November 2023

The Diag Menu is a menu listing many options used to debug game scripting and assets. It is available in Workbench in any 3D viewport (e.g world or model preview).

armareforger debugmenu-main.png


Usage
  • To open the Diag Menu, press ⊞ Win + Alt (alternatively, Ctrl + ⊞ Win but this shortcut conflicts with Windows 11's shortcut) in any 3D viewport
  • To enter a sub-menu, press
  • To leave a sub-menu, press
  • To change a value, use and .


Modding

See DiagMenu.c for DiagMenu API information.

enum TAG_EMyModDiagMenu { ModMenu = 0, ModMenu_DEBUG, ModMenu_SHOW, ModMenu_LOG, }
// init script, needs to run only once // DiagMenu.RegisterMenu(int id, string name, string parent) DiagMenu.RegisterMenu(TAG_EMyModDiagMenu.ModMenu, "CategoryName", ""); { // RegisterBool(int id, string shortcut, string name, string parent, bool reverse = false) DiagMenu.RegisterBool(TAG_EMyModDiagMenu.ModMenu_DEBUG, "", "Do debug", "CategoryName"); DiagMenu.RegisterBool(TAG_EMyModDiagMenu.ModMenu_SHOW, "", "Show stuff", "CategoryName"); DiagMenu.RegisterBool(TAG_EMyModDiagMenu.ModMenu_LOG, "", "Log stuff", "CategoryName"); }
// somewhere needed if (DiagMenu.GetBool(TAG_EMyModDiagMenu.ModMenu_DEBUG)) { Print("Debug entered through Diag menu"); /* ... */ }


GameCode

Projectiles

Signals

Hit Zones

Game materials

Weapons

User Actions

Radio

Chat

Inventory

Loadout

Lights

Camera

Animations

Serialization

Network

Turrets

HitReg

Animals

(Almost) empty for no animals are present in Arma Reforger.

  • Turn correction debug


Cheats

  • Disable player damage Ctrl + Alt + F1
  • Teleport Ctrl + Alt + F2
  • Infinite ammo Ctrl + Alt + F3
  • Infinite bullets Ctrl + Alt + F4
  • Commit suicide Ctrl + Alt + F5
  • Execute characters in fr Ctrl + Alt + F6
  • DTime multiplier
  • DTime multiplier value


Platform

  • Pick user
  • Obtain save data
  • Commit save data
  • Open URL
  • Change user name
  • Request & log privileges
  • Revoke privilege: Text c(hat?)
  • Revoke privilege: Voice (chat?)
  • Revoke privilege: Multiplayer (?)
  • Revoke privilege: Lobby
  • Revoke privilege: UGC
  • Revoke privilege: Shared (?)
  • Revoke privilege: Social (Media?)


AI

Performance

Navmesh

Movement

Pathfinding

Aiming

AI Navigator

Driving

Vehicles

  • Show Controller Diags
  • > Compartments
  • Solver
  • Enable debugger trace
  • Show stats
  • Show vehicle debug
  • Player vehicle only
  • Show CoM
  • Show inertia
  • Show forcecs
  • Show engine
  • Show raycast
  • Show suspension
  • Show swaybar
  • Show wheels
  • Show bones
  • Show slope
  • Test raycast
  • Reset vehicle Ctrl + Alt + R
  • wheel drag set
  • Wheel drag value

Compartments

Systems

  • DynSim Distance Diag
  • DynSim Visibility Diag
  • ProcAnim Registration Diag
  • HandleControls Registration Diag
  • NwkMovement Registration Diag
  • Sound Registration Diag
  • Systems diag


Character

  • Interpolation enabled
  • Animation LOD
  • Animation layer
  • Aiming direction
  • Head aiming direction
  • Heading angle
  • Entity transform
  • AnimPhysAgent transform
  • Foot down anim event
  • Animation events
  • Animation tags
  • Climb command physics test
  • Show current ladder
  • Input actions
  • Lock view horizontal
  • Lock view vertical
  • Disable Inertia
  • Disable Inertia exponential
  • Show additive handler tasks
  • Stamina
  • Disable animation from velocity
  • Disable new climb heights
  • Enable new passive weapon mode (sling)
  • Disable anim driven icrementalsic turn
  • Disable hit reaction
  • Enable feet IK
  • Show player identity
  • AnimPhysAgent dump
  • Skip simulation points p(?)
  • Show simulation points


ECS

  • ECS archetypes
  • ECS registered types
  • ECS type matching
  • ECS deleted entities


Statistics

  • Log prefab spawn
  • FPS Ctrl + NUM 1
  • General Ctrl + NUM 2
  • Shape stats
  • MeshObject stats
  • Decal stats
  • Entity simul.stats
  • Entity mem.stats
  • EntityComp mem.stats
  • Stats page
  • Resource memory stats
  • Texture memory stats
  • Slow script
  • Verbose script Print
  • Script profiler
  • Script prof. external
  • Test mem-stress
  • Flush memory
  • Flush audio
  • Memory validation
  • Dump render resources
  • Counters Ctrl + NUM 3
  • Profiler Ctrl + NUM 4
  • > Profiler setting
  • Slow down
  • Limit FPS
  • Widget statistics
  • Widget hierarchy to log (?)
  • Widget update to log
  • Loaded particle FX
  • Dump resources
  • Flush resources

Profiler setting

Render

RT

Various

System textures

Textures

Scene lighting

Shadows

PP effects

Terrain menu

Grass/Clutter/Obstacles

Roads menu

Materials settings

Sky

Ocean

Rivers

Texture streaming

Volumetric Clouds

Atmosphere

Subsurface Scattering

FSR

Rain

Shore Wetness

LensFlares

Deferred Decals

LightSourcVis

Terrain shadows

Clustering

Occlusion Queries

Analytic lights

Scene

  • Show clips
  • > Filter
  • LOD multiplier
  • Size multiplier
  • Show light
  • Cube map size
  • Capture cube map
  • Force vertical FOV
  • Override far plane
  • Override object far plan(?)
  • > Particles
  • > Light portals
  • Render world
  • Grouped render
  • Colorize objects LODs
  • Render world ents
  • Render world leafssic
  • Fast way
  • > Occluders
  • RenderEnts
  • Render world env
  • Force linear depth
  •   Linear depth

Filter

Particles

Light portals

Occluders

World

  • JobManager Callstack
  • JobManager Print CS
  • Debug prefabs
  • Show AABB Alt + NUM 5
  • Show scene tree
  • Show entity bounds
  • Show active
  • Show bones
  • Show wind emitters Ctrl + NUM 8
  • Disable wind Ctrl + NUM 9
  • Game update
  • MT entity sim
  • MT entity update
  • Entity diag
  • Entity hierarchy changes(?)
  • New skeleton
  • Trace stresstest
  • Query stresstest
  • Update stresstest
  • Async traces
  • Async queries
  • Use quadtree
  • Animation


Animation

  • Enable debugger
  • Root motion always enabl(?)
  • Show transforms before I(?)
  • Show transforms after IK(?)
  • Show IK offsets
  • Show IK solver details
  • Show RBF details
  • Record animations
  • Record local player


Physics

  • Prequery
  • Show bodies
  • Show layer
  • Show collider type
  • Show simulation state
  • Show COM
  • Simulation
  • Dump active bodies
  • Dump contacts
  • Show stats
  • Show Bullet
  • > Bullet

Bullet

Game

  • Force fog at camera
  • Override fog
  •  Distance density
  •  Height density
  •  Distance offset
  •  Height bias
  • Compressed format in WB (?)
  • Superscreenshot to file (?) Ctrl + ⇧ Shift + F7
  • Screenshot to clipboard ⇧ Shift + F7
  • Screenshot to file Ctrl + F7
  • > Weather

Weather

Sounds

  • Coast line debug
  • Ambients
  • Freeze cam position
  • Debug Com.Sound
  • Music manager enabled
  • MM - debug info
  • MM - enable logs
  • MM - enable user input
  • Early reflections
  • > SoundMap
  • --------------------------------
  • > SoundSystem
  • Log max ranges
  • Show system info
  • Resources
  • Show categories
  • Show sounds
  • Show sounds 3D
  • Log source info
  • Filter sounds
  • > Audio Debug Context
  • Play recorded VON
  • Enable ITD

SoundMap

SoundSystem

Audio Debug Context

Systems

  • Job workers enabled
  • Cause assert
  • Cause crash
  • Cause crash async
  • Cause CRT aboard
  • Cause CRT abort async
  • Corrupt malloc
  • Corrupt new
  • Corrupt MM
  • Corrupt MM async


UI

  • Log Construction
  • Disable Loc


Replication

  • Stats
  • Reset peaks
  • Replication logging
  • Connection logging
  • Replicator logging
  • Finalize
  • Disconnect
  • Virtual connections
  • Singlethreaded
  • Flush trace (local)
  • Flush trace (server)
  • Crash server
  • Stall local
  • Stall remote