武器系统的武器_帮助者"第三人"目标(cryengine)

时间:2012-07-13 03:59:07

标签: cryengine

我刚刚浏览了“SCAR.xml”武器项目示例,它非常容易用作制作新武器的参考。有一个问题让我感到困惑。

    <accessories>
       <accessory name="Silencer">
          ...
          <muzzleflash>
             <firstperson effect="weapon_fx.scar.muzzle_flash.muzzle_flash_silenced_fp" helper="muzzle_flash_effect" time="0.1" />
             <thirdperson effect="weapon_fx.scar.muzzle_flash.muzzle_flash_silenced_tp" helper="weapon_term" time="0.1" />
          </muzzleflash>
          ...
       </accessory>
    </accessories>

对于“ muzzle_flash_effect ”帮助程序,在块中定义了“firstperson”目标的附件是有意义的。令人困惑的问题是,“ weapon_term ”辅助链接到块的第二个元素从未被定义过,第三个人目标(静态网格物体)也不包含这样一个名为“weapon_term”的骨骼,它没有理由将效果与“不存在的”助手联系起来?

感谢您的帮助!

/埃德加

1 个答案:

答案 0 :(得分:0)

解决方案:创建虚拟对象(在3ds Max中,Maya的定位器)作为Sandbox中武器附件的替身。

以下是“孤岛危机”游戏中的帮助者列表:

    Attachment_top (for attachments at the top of the weapon)
    Attachment_bottom (for attachments at the bottom of the weapon)
    Attachment_side (for attachments at the side of the weapon)
    Magazine (for magazine only)
    Shells (for shells ejecting)
    Silencer_attach (for a silencer at the front of the weapon)
    Weapon_term (for muzzelflashes only)
    grenade_term (for muzzelflashes for grenade launchers)

http://freesdk.crydev.net/display/SDKDOC3/Third-Person+Weapons

/埃德加