dirtyconsole.pack *CliExecute
This mod restores the in-game console that was originally included in the 2013 release but later disabled. In the initial version, the console could be opened with ~, and it still exists in game ui/common ui/console. This mod enables it by default, primarily for sending commands during battles.
For the frontend and campaign, Consul Scriptum is a better choice. However, since I can’t find a way to access the UIComponent in battles to manipulate the UI, this console is useful for quick battle testing.
Additionally, the UI format changed from version 85 (2013) to version 86 (latest Steam), so a few missing lines were added to fix compatibility. This is a "dirty" console, meaning it simply passes arguments to the built-in CliExecute Lua function without additional processing.
Some commands that work:
– dump_render_stats <filename> – Dumps render stats to a file in the AppData directory.
– terrain_write_html_around_camera – Writes terrain HTML around the camera on the campaign map in the AppData directory.
– terrain_write_html – Writes terrain HTML on the battle map (partial data on the campaign map) in the AppData directory.
– report_rigid_models – Reports rigid models into a file in the AppData directory.
– compile_all_shaders – Compiles all shaders.
– frame_rate_test_fps <fps> – Runs the game engine at different FPS values, affecting game speed. Lower values make the game run faster.
– docudemon – Runs the docudemon tool saving the documentation for game code in the Game folder.
– toggle_terrain_vtex – Toggles the terrain vtex.
– force_rigid_lod – Forces rigid LOD , try values from -1 to 3 and up.
– add_unit_experience – When in battle, triggers the add unit experience animation on selected unit.
– add_unit_effect_icon <index> – When in battle, triggers the add unit effect icon animation on selected unit.
– set_battle_size <int> – Sets the battle size to the specified value.