Total War: WARHAMMER II
Μη επαρκής αριθμός βαθμολογιών
Draw Debug Logs (Modding Tool)
   
Βραβείο
Αγαπημένο
Αγαπημένο
Μη αγαπημένο
Ετικέτες: mod, UI
Μέγεθος αρχείου
Αναρτήθηκε
Ενημερώθηκε
947.510 KB
5 Δεκ 2019, 8:14
15 Αυγ 2020, 4:06
9 σημειώσεις αλλαγών ( προβολή )

Συνδρομή για λήψη
Draw Debug Logs (Modding Tool)

ΣΕ 1 ΣΥΛΛΟΓΗ ΑΠΟ prop joe
Prop Joe Mods
58 αντικείμενα
ΠΕΡΙΓΡΑΦΗ
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 steamapps\common\Total 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.
4 σχόλια
Tamerlane 6 Ιαν 2023, 3:19 
Thank you! This is insanely powerful stuff and adds more replay value to the game.
prop joe  [Δημιουργός] 15 Αυγ 2020, 4:07 
Moved it a little lower on the y axis so it doesn't overlap with the top bar.
prop joe  [Δημιουργός] 23 Μαρ 2020, 12:56 
It's something I'd like to do, but there's like a hundred other WH2 modding things I'm more interested in doing right now.
paperpancake 22 Μαρ 2020, 14:25 
This is cool. :) Do you have plans to add support for writing logs during battle?