全面战争:战锤2

全面战争:战锤2

评价数不足
Draw Debug Logs (Modding Tool)
   
奖励
收藏
已收藏
取消收藏
标签: mod, UI
文件大小
发表于
更新日期
947.510 KB
2019 年 12 月 5 日 上午 8:14
2020 年 8 月 15 日 上午 4:06
9 项改动说明 ( 查看 )

订阅以下载
Draw Debug Logs (Modding Tool)

在 prop joe 的 1 个合集中
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 2023 年 1 月 6 日 上午 3:19 
Thank you! This is insanely powerful stuff and adds more replay value to the game.
prop joe  [作者] 2020 年 8 月 15 日 上午 4:07 
Moved it a little lower on the y axis so it doesn't overlap with the top bar.
prop joe  [作者] 2020 年 3 月 23 日 下午 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 2020 年 3 月 22 日 下午 2:25 
This is cool. :) Do you have plans to add support for writing logs during battle?