Source-1-Games icon indicating copy to clipboard operation
Source-1-Games copied to clipboard

[TF2] Botkiller Team Color Bugs (fix included)

Open DiskIntegrity opened this issue 1 year ago • 0 comments

The botkiller heavy models (fob_h_stickybomb.mdl, fob_h_stickybomb_v.mdl, fob_h_wrench.mdl, fob_h_minigun.mdl, fob_h_minigun_v.mdl, fob_h_medigun.mdl, fob_h_flamethrower.mdl, fob_h_flamethrower_v.mdl, fob_h_scattergun.mdl, fob_h_sniperrifle.mdl, fob_h_rocketlauncher.mdl, fob_h_knife.mdl, and fob_h_knife_v.mdl) are set up to use blue eye textures, however, this goes unchanged due to how the "skinfamilies" texture group is set up in the .QC files. This can be fixed by adding "fob_heavy_illum" and "fob_heavy_illum_blue" to the texture group like this:

$texturegroup "skinfamilies"
{
	{ "fob_heavy"            "fob_heavy_illum"      "fob_illum"            }
	{ "fob_heavy"            "fob_heavy_illum_blue" "fob_illum_blue"       }
	{ "fob_heavy_gold"       "fob_heavy_illum"      "fob_illum"            }
	{ "fob_heavy_gold"       "fob_heavy_illum_blue" "fob_illum_blue"       }
	{ "fob_heavy_rust"       "fob_heavy_illum"      "fob_heavy_rust"       }
	{ "fob_heavy_rust"       "fob_heavy_illum_blue" "fob_heavy_rust"       }
	{ "fob_heavy_rust_paint" "fob_heavy_illum"      "fob_heavy_rust_paint" }
	{ "fob_heavy_rust_paint" "fob_heavy_illum_blue" "fob_heavy_rust_paint" }
}
  • You will also need to copy the .vmt file fob_heavy_illum and rename it to fob_heavy_illum_blue. Then change the $colortint_base RGB color to {0 119 254}, alongside $color2. This will now share the same color as the pre-existing .vmt file fob_illum_blue.

The second issue is regarding the engineer model for the Scattergun and Flamethrower (fob_e_scattergun.mdl, fob_e_flamethrower.mdl and fob_e_flamethrower_v.mdl) The BLU texture goes unused for these three, and defaults to RED's helmet color while the eyes stay the same. To fix this, change the second fob_engy to fob_engy_blue in the skinfamilies texture group like this:

$texturegroup "skinfamilies"
{
	{ "fob_engy"      "fob_engy_illum"      }
	{ "fob_engy_blue" "fob_engy_illum_blue" }
	{ "fob_engy_gold" "fob_engy_illum"      }
	{ "fob_engy_gold" "fob_engy_illum_blue" }
}

And that should fix both problems.

DiskIntegrity avatar May 11 '24 08:05 DiskIntegrity