Ueberblick

版本 v1.0.0·更新於 2022-06-09

Log caller file and line

模組介紹 作者原文

Ueberblick

A simple mod that prefixes printt calls with [file:line]

For example these printt calls

[info] [CLIENT SCRIPT] -485

[info] [CLIENT SCRIPT] entity (-5: class C_DynamicProp [-5])

[info] [CLIENT SCRIPT] 2

will look like this:

[info] [CLIENT SCRIPT] [sh_menu_models.gnut:1419] -485

[info] [CLIENT SCRIPT] [sh_menu_models.gnut:1420] entity (-5: class C_DynamicProp [-5])

[info] [CLIENT SCRIPT] [sh_menu_models.gnut:1421] 2

This only changes how printt and the print reference in the root table behaves!

Normal print statements will appear unchanged.

You can call the edited print reference with getroottable().print( "s" ). Note that the script has to be marked as untyped.

You should use printt( "s" ) since it's shorter and works in typed scripts as well.

安裝與使用 安裝:Northstar 用戶端模組

  1. 先安裝 Northstar 用戶端(Titanfall 2 的開源社群用戶端,官方發布頁提供安裝器),模組由它載入。
  2. 把本站下載的壓縮包解壓,內容放入 Titanfall2 目錄下的 Northstar/mods/ 資料夾。
  3. 透過 NorthstarLauncher.exe 啟動遊戲,控制台會列出已載入的模組。

Northstar 用於私人伺服器與自訂內容,請勿用它連線官方伺服器。

檔案與校驗

檔案名稱
Ueberblick-1.0.0.zip
檔案大小
13.8 KiB