Draw Debug Logs (Modding Tool)

If you liked this item, please rate it up on Steam Workshop page.

Author: prop joe

Last revision: 15 Aug, 2020 at 11:06 UTC

File size: 925.7 KB

On Steam Workshop

Description:

Adds some global functions that aid in dumping Lua data types to either the screen or to a file.
Also adds an ingame button that clears all the lines, the button is hidden when there are no lines.

dout – appends a line to the screen
ddraw – clears any previous lines and shows only this line
ddump – appends to a ddump.txt file that will be created inside steamappscommonTotal War WARHAMMER II

usage:

dout(table)

all the functions accept a variable number of arguments, i.e.

dout(1, 2, 3, table, "abc", 4)

You can also call without any arguments to clear lines, for example before multiple douts:

dout() —- etc. dout(1) —- etc. dout(2)

Intended for use with Execute External Lua File, call the functions from there for speedy visual debugging.

Still works and it’s not outdated, not gonna bother updating it for no reason every patch.

Download
Required items:

Click the title to search on this site.


UI Modding FrameworkSteam Workshop