From 7a4a022e404390531f6c9f137a46f15e51296e42 Mon Sep 17 00:00:00 2001 From: Thomas Kain Date: Sat, 5 Apr 2025 19:57:54 -0400 Subject: [PATCH] Add TF-specific tags to search paths in TF mod gameinfo Unlike HL2DM, TF2 uses the 'custom_mod' and 'vgui' tags to choose how to load certain assets. This commit adds those tags to the appropriate paths in the TF template mod's gameinfo.txt. --- game/mod_tf/gameinfo.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/game/mod_tf/gameinfo.txt b/game/mod_tf/gameinfo.txt index 40b8994d4..f87290f4a 100644 --- a/game/mod_tf/gameinfo.txt +++ b/game/mod_tf/gameinfo.txt @@ -32,15 +32,16 @@ // folder. // // Note that this folder is scanned only when the game is booted. - game+mod mod_tf/custom/* + game+mod+custom_mod mod_tf/custom/* // Enable this if you want to load your TF custom content. - //game+mod |appid_440|tf/custom/* + //game+mod+custom_mod |appid_440|tf/custom/* // Now search loose files. We'll set the directory containing the gameinfo.txt file // as the first "mod" search path (after any user customizations). This is also the one // that's used when writing to the "mod" path. mod+mod_write |gameinfo_path|. game+game_write |gameinfo_path|. + vgui |gameinfo_path|. default_write_path |gameinfo_path|. gamebin |gameinfo_path|bin