Ueberblick
Log caller file and line
About this mod Author’s original text
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.
Install & use Install: Northstar client mod
- Install the Northstar client first (the open-source community client for Titanfall 2; its release page provides an installer). It loads the mods.
- Unzip the archive from playbuff and put its contents into the Northstar/mods/ folder inside your Titanfall2 directory.
- Start the game through NorthstarLauncher.exe — the console lists the mods it loaded.
Northstar is for private servers and custom content; do not use it to connect to official servers.