2012-07-13 35 views
0

我剛剛走過「SCAR.xml」武器項目的例子,它非常容易作爲製作新武器的參考。有一個問題混淆了我對塊的理解。武器系統輔助武器系統對「第三人」目標(cryengine)

<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」助手,是有意義的是,「第一人稱」目標的附件已在塊被定義。我令人困惑的問題是,「weapon_term」幫助程序鏈接到塊的第二個元素從未被定義過,而第三人目標(靜態網格)也不包含名爲「weapon_term」的骨骼,它沒有任何意義效果如何與「不存在」的幫手聯繫起來?

感謝您的幫助!

/埃德加

回答

0

解決方案:創建虛擬對象(在3ds Max,爲Maya定位器)作爲獨立插件在沙箱武器附件。

以下是從孤島危機遊戲助手的列表:

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

/埃德加