Open turret_red.mdl in Notepad++ and search for 'turret_casing', then edit it to 'turrrt_casing'. $baseTexture 'models/npcs/turret/turrrt_casing' Would become: Code: Select all VertexLitGeneric $baseTexture 'models/npcs/turret/turret_casing' I'll call it turrrt_casing.vtf, be sure to rename turret_casing.vmt, and edit it so it points to the new texture name Code: Select all VertexLitGeneric The new name of the texture MUST be the same length as the old name.
The texture file I want to edit right now is turret_casing.vtf, so we do a crucial step: renaming it.
Then extract materials > models > npcs > turret from the VPK into your Portal 2 folder, preserving structure like with the model file. I'll rename them to turret_red, so turret_red.mdl turret_red.vtx etc. Navigate to models > npcs > turret, then extract the turret.* files into your portal2 folder (preserving the structure, so you should make a models/npcs/turret/ folder for the extracted turret) Navigate to your steamapps/common/portal 2/portal2/ folder, and open pak01_dir.vpk with GCFScape.
Quote from walropodes on June 24, 2011, 1:24 am