public override void Init(StringBuilder hudLabelText, MyEntity parentObject, Vector3 position, Vector3 forwardVector, Vector3 upVector, MyMwcObjectBuilder_Base objectBuilder) { base.Init(hudLabelText, MyModelsEnum.LargeShipAutocannonBase, MyMaterialType.METAL, parentObject, position, forwardVector, upVector, objectBuilder, MyModelsEnum.LargeShipAutocannonBase); Matrix barrelMatrix = MyMath.NormalizeMatrix(ModelLod0.Dummies["axis"].Matrix); MyLargeShipAutocannonBarrel barrel = new MyLargeShipAutocannonBarrel(); barrel.Init(hudLabelText, barrelMatrix, MyMwcObjectBuilder_SmallShip_Ammo_TypesEnum.Autocannon_High_Speed, this); MountBarrel(barrel); // User settings: m_predictionIntervalConst_ms = 250; m_checkTargetIntervalConst_ms = 150; m_randomStandbyChangeConst_ms = 4000; m_shootingSound = MySoundCuesEnum.WepAutocanonFire3d; m_shootingSoundRelease = MySoundCuesEnum.WepAutocanonRel3d; }