Animation Editor: Live Debug Tutorial – Arma Reforger

From Bohemia Interactive Community
Jump to navigation Jump to search
(Page creation)
 
m (Fix link)
 
(3 intermediate revisions by one other user not shown)
Line 2: Line 2:


Here is how to use it in few steps:
Here is how to use it in few steps:
* Start the scenario in game mode or in the game itself.
* Start the scenario in '''World Editor''' or in the game itself.
* Open the Animation Editor and load animation workspace you would like to debug.
** [enfusion://ResourceManager/~ArmaReforger:worlds/MP/MpTest.ent MpTest world] is a good candidate for isolated tests
* In Live Debug, press Fetch. This will list all available instances and then you can Attach to one of the returned.
* Open the '''Animation Editor''' and load animation workspace you would like to debug.
** If you are trying to debug some '''entity''' ''(like weapon)'', make sure that it is present in the world
* In '''Live Debug''', press '''Fetch'''. This will list all available instances and then you can '''Attach''' to one of the returned.
* The editor should now record whatever happens to animation in-game. You can pause and rewind, check the set variables, commands and returned events and tags.
* The editor should now record whatever happens to animation in-game. You can pause and rewind, check the set variables, commands and returned events and tags.


== Troubleshooting ==
== Troubleshooting ==


* The animation debugging can be disabled. You can jumpstart it in developer menu (win+alt) under Animation > Start Debugger. Triggering the variable starts the debugger and the variable returns to false.
* The animation debugging can be disabled. You can jumpstart it in [[Arma Reforger:Diag Menu|Diag Menu]] (win+alt) under '''Animation > Start Debugger'''. Triggering the variable starts the debugger and the variable returns to false.
* Game is not updating when alt-tabbed to editor. This way it cannot submit any reports to the editor. Make sure that the game runs with forced updates on.
* Game is not updating when alt-tabbed to editor. This way it cannot submit any reports to the editor. Make sure that the game runs with [[Arma Reforger:Startup Parameters#forceUpdate|forced updates on]].




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

Latest revision as of 12:31, 22 March 2023

Live animation debugging can be useful to observe and record in-game animation evaluation.

Here is how to use it in few steps:

  • Start the scenario in World Editor or in the game itself.
  • Open the Animation Editor and load animation workspace you would like to debug.
    • If you are trying to debug some entity (like weapon), make sure that it is present in the world
  • In Live Debug, press Fetch. This will list all available instances and then you can Attach to one of the returned.
  • The editor should now record whatever happens to animation in-game. You can pause and rewind, check the set variables, commands and returned events and tags.

Troubleshooting

  • The animation debugging can be disabled. You can jumpstart it in Diag Menu (win+alt) under Animation > Start Debugger. Triggering the variable starts the debugger and the variable returns to false.
  • Game is not updating when alt-tabbed to editor. This way it cannot submit any reports to the editor. Make sure that the game runs with forced updates on.