绝命时刻吧 关注:21,123贴子:401,113
  • 23回复贴,共1

ProjectileBoneFeedbackEnabledSlots 武器骨骼插槽无法生效

只看楼主收藏回复

写了个icbm的ini,攻击用的是超级武器逻辑,发现攻击时导弹模型时无法隐藏
ProjectileBoneFeedbackEnabledSlots = PRIMARY
; *** PACKED STATE -- ready to move ***
DefaultConditionState
Model = NVTopolM
Animation = NVTopolM.NVTopolM
AnimationMode = MANUAL
Flags = START_FRAME_FIRST
WeaponLaunchBone = PRIMARY MISSILE
WeaponFireFXBone = PRIMARY MISSILE
ParticleSysBone = EXHAUST01 DozerSmokeLight
;HideSubObject = MISSILE
End
WeaponSet
Conditions = None
Weapon = PRIMARY DFMissileWeapon
AutoChooseSources = PRIMARY NONE
;Weapon = SECONDARY NukeCannonNeutronWeapon
;AutoChooseSources = PRIMARY FROM_PLAYER FROM_SCRIPT FROM_AI
;AutoChooseSources = SECONDARY FROM_SCRIPT FROM_AI
;ShareWeaponReloadTime = Yes
End
模型骨骼也正常绑定,发射位置是正确的,但是导弹还是无法掩藏


IP属地:陕西1楼2024-12-14 18:28回复
    红崛拓展有个大和战舰,那个也是发射导弹的,可以参考那个代码吧


    IP属地:北京来自Android客户端2楼2024-12-15 07:29
    回复
      3.大型导弹发射设置:如美军的战斧飞弹车,做模型时也要做导弹(名称:MISSILE),但发射后导弹看似发射去 了,其实模型中的导弹消失了,代替它的是武器中的导弹模型,这要通过以下方式实现: ProjectileBoneFeedbackEnabledSlots = PRIMARY ;发射第一武器时隐藏
      DefaultConditionState
      Model = AVTomahawk
      Turret = TURRET
      TurretPitch = TURRETEL
      WeaponMuzzleFlash = PRIMARY WeaponA
      WeaponFireFXBone = PRIMARY WeaponA
      WeaponLaunchBone = PRIMARY WeaponA
      WeaponHideShowBone = PRIMARY MISSILE ;发射第一武器时隐藏导弹End
      试试添加这句代码看看


      IP属地:河南3楼2024-12-15 17:10
      收起回复


        IP属地:河南4楼2024-12-16 16:52
        回复