Moderator elections are being held. See Valve Developer Community:Moderator elections for more details.
Users who would like to run for moderator must be autoconfirmed and have at least 100 edits. Users can check their own edit count at Special:Preferences.

网格实体

From Valve Developer Community
Jump to: navigation, search
English (en)Français (fr)Italiano (it)Русский (ru)中文 (zh)
... Icon-Important.png

在起源中, 模型是在第三方模型编辑器中编辑的。模型必须导出为 SMD 文件, 然后用Studiomdl进行编译,得到适用于起源的MDL.

Tip.pngTip:如果您不知道SMD文件,请参见 模型创建概述.

What to export

这里有四种SMD的类型:

  1. Reference mesh
  2. Collision mesh
  3. Skeletal animation
  4. Vertex/"flex" animation (for facial expressions)

每个模型都需要一个参考网格,即使它不移动,但还是需要一个骨架动画(通常称为“空闲”)。

由于除面部动画外的所有smd共享相同的后缀名,因此在导出时遵循命名规则是一个好习惯,如:

  1. _ref
  2. _phys
  3. _<animation name>
  4. _expressions

因此,一个参考网格SMD可以称为 mymodel_ref.smd.

怎样导出

这些文章将指导您制作SMD。 下载并安装SMD导出插件(如果需要这样做),说明可以在每个文件中找到。

Tip.pngTip:MilkShape 3D中, 直接点击 File > Export > Half-Life SMD即可。