[指南] 怎样将Team Fortress 2/Source游戏中的模型导入到3ds Max中

实在是太想用Sentry Gun,折腾了七八个小时终于搞定了, 本文教你怎样通过繁复..的步骤最终达到如图的效果:

怎么样? 反正我是哭了

中间绕的弯路不谈, 说下过程,可能啰嗦点,因为此文不只是写给你看的,也是我自己为了记录…实在不想万一忘掉还要重新摸索。(4个月后的update:这种技术果然一辈子只会用一次!哭了!
这个帖子总结的也很好。

用到的软件:

上面那篇文章里还提到了个解压VPK的工具,可能是因为隔的时间比较久现在不这么压缩了,我是没用到。

提取和反编译MDL文件

MDL就是游戏中使用的模型文件,是编译成ANSI码存放的(大概是读取速度的原因)。找到你游戏所在的gcf(盗版可能就没有gcf吧,直接放目录里?不太清楚),用GCFScape打开,如果你不知道模型在哪/该用什么模型,建议下载Source SDK用自带的“Module Viewer”到处看看。Module Viewer不会告诉你它打开的是哪个gcf文件,因为(我仔细看了下大概是这样)Viewer展示的是所有gcf的汇总。所以在Viewer里确定目标以后再找还略略麻烦点,Sentry Gun的模型在team fortress 2 materials.gcf里的 \tf\models\buildables\sentry1.mdl ,把同目录下所有以 <sentry1.> 打头的文件提出来,再用MDLDecompiler选取mdl反编译成零部件,这种反编译好方便,按下按钮就搞定了… 骗你的,肯定会出现各种各样的错误,请参见这个贴子这个贴子这个贴子

完成后得到一堆SMD文件,其中最大的那个是我们要的,其他的是一些动画什么,还没看,也可以导入的。

导入3ds Max

用上面的3ds .SMD Importer就好了,要注意的是在我写此文的时候,2012版本的(至少是64位)不能用,我装了个2010导入再导出给2012。虽然wunderboy.org写的插件2012可用,但是我没法导入材质,官网上说暂时不能导入动画但是骨头和材质都行,我不知道。

点导入会提示选材质,这个材质在哪里呢… 用Wunderboy.org提供的Source MDL Texture Info可以方便的找到路径,把材质文件(vtf格式)提出来和模型放一起,再下载上面的3ds Max用来读取vtf的插件,就ok了~ 🙂实在是太想用Sentry Gun,折腾了七八个小时终于搞定了, 本文教你怎样通过繁复..的步骤最终达到如图的效果:

中间绕的弯路不谈, 说下过程,可能啰嗦点,因为此文不只是写给你看的,也是我自己为了记录…实在不想万一忘掉还要重新摸索。(4个月后的update:这种技术果然一辈子只会用一次
这个帖子总结的也很好。

用到的软件:

上面那篇文章里还提到了个解压VPK的工具,可能是因为隔的时间比较久现在不这么压缩了,我是没用到。

提取和反编译MDL文件

MDL就是游戏中使用的模型文件,是编译成ANSI码存放的(大概是读取速度的原因)。找到你游戏所在的gcf(盗版可能就没有gcf吧,直接放目录里?不太清楚),用GCFScape打开,如果你不知道模型在哪/该用什么模型,建议下载Source SDK用自带的“Module Viewer”到处看看。Module Viewer不会告诉你它打开的是哪个gcf文件,因为(我仔细看了下大概是这样)Viewer展示的是所有gcf的汇总。所以在Viewer里确定目标以后再找还略略麻烦点,Sentry Gun的模型在team fortress 2 materials.gcf里的 \tf\models\buildables\sentry1.mdl ,把同目录下所有以 <sentry1.> 打头的文件提出来,再用MDLDecompiler选取mdl反编译成零部件,这种反编译好方便,按下按钮就搞定了… 骗你的,肯定会出现各种各样的错误,请参见这个贴子这个贴子这个贴子

完成后得到一堆SMD文件,其中最大的那个是我们要的,其他的是一些动画什么,还没看,也可以导入的。

导入3ds Max

用上面的3ds .SMD Importer就好了,要注意的是在我写此文的时候,2012版本的(至少是64位)不能用,我装了个2010导入再导出给2012。虽然wunderboy.org写的插件2012可用,但是我没法导入材质,官网上说暂时不能导入动画但是骨头和材质都行,我不知道。

点导入会提示选材质,这个材质在哪里呢… 用Wunderboy.org提供的Source MDL Texture Info可以方便的找到路径,把材质文件(vtf格式)提出来和模型放一起,再下载上面的3ds Max用来读取vtf的插件,就ok了~ 🙂

138 thoughts on “[指南] 怎样将Team Fortress 2/Source游戏中的模型导入到3ds Max中

  1. Sprinki Sbrunga

    The step-by-step breakdown for extracting and decompiling the Sentry Gun model from Team Fortress 2 was incredibly helpful, especially the tip about using GCFScape to locate the specific path inside materials.gcf. I spent years navigating complex software hurdles, and reading about this technical precision is a welcome contrast to my usual day-to-day work on Sprinki Sbrunga, where we focus on experimental musical loops rather than 3D modeling. It is fascinating to see how much dedication goes into reverse-engineering game assets like this.

    Reply
  2. Baby Gender Predictor

    That detailed walkthrough for pulling the Sentry Gun assets through GCFScape and MDLDecompiler was incredibly helpful, especially the warning about the 3ds Max 2010 versus 2012 version conflicts. I mainly run Baby Gender Predictor as a playful baby shower tool where we use traditional Chinese and Mayan methods to guess gender based on parental birth and conception dates, but I’ve always had a serious hobbyist side when it comes to game modding and 3D software. Your troubleshooting notes on texture paths and SMD import errors are a huge time-saver for anyone tackling Source engine files these days.

    Reply
  3. Sarah

    The way you navigated those GCFScape and MDLDecompiler steps to finally get the Sentry Gun model working in 3ds Max was seriously impressive. I usually keep my attention focused on moderating the Name 100 Women typing challenge over at Sarah, where players race against the clock to list 100 real, notable women, but I’ve always had a personal hobby of digging into game modding tools on the weekends. Your guide really brought back memories of those late-night file extraction sessions, and I really appreciate you documenting all those version compatibility headaches so clearly.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *