diff --git a/addons/malyutka/CfgAmmo.hpp b/addons/malyutka/CfgAmmo.hpp index dfcb9a060a..52d518a413 100644 --- a/addons/malyutka/CfgAmmo.hpp +++ b/addons/malyutka/CfgAmmo.hpp @@ -3,74 +3,7 @@ class CfgAmmo { class ammo_Penetrator_Base; class GVAR(9m14): M_Scalpel_AT { - aiAmmoUsageFlags = 0; - model = QPATHTOF(data\9m14.p3d); - proxyShape = "\A3\Weapons_F\Ammo\Missile_AT_03_F"; - submunitionAmmo = QGVAR(9m14_penetrator); - submunitionDirectionType = "SubmunitionModelDirection"; - submunitionInitSpeed = 1000; - submunitionParentSpeedCoef = 0; - submunitionInitialOffset[] = { 0, 0, -0.2 }; - hit = 150; - warheadName = "HEAT"; - indirectHit = 25; - indirectHitRange = 3.5; - explosive = 0.8; - - //displayName = CSTRING(9m14_missile); - //displayNameShort = CSTRING(9m14_missile); - //description = CSTRING(9m14_missile_description); - //descriptionShort = CSTRING(9m14_missile_descriptionShort); - - effectsMissile = "missile2"; - - irLock = 0; - laserLock = 0; - manualControl = 0; - maxSpeed = 100; - - thrustTime = 3; - thrust = 125; - timeToLive = 40; - initTime = 0; - - EGVAR(rearm,caliber) = 178; - - class ace_missileguidance { - enabled = 1; - - pitchRate = 5; // Minium flap deflection for guidance - yawRate = 5; // Maximum flap deflection for guidance - - canVanillaLock = 0; // Can this default vanilla lock? Only applicable to non-cadet mode - - // Guidance type for munitions - defaultSeekerType = "MCLOS"; - seekerTypes[] = { "MCLOS" }; - - defaultSeekerLockMode = "LOAL"; - seekerLockModes[] = { "LOAL" }; - - defaultNavigationType = "Line"; - navigationTypes[] = { "Line" }; - - lineGainP = 1; - lineGainD = 0; - - seekLastTargetPos = 0; // seek last target position [if seeker loses LOS of target, continue to last known pos] - seekerAngle = 30; // Angle from the shooter's view that can track the missile - seekerAccuracy = 1; // seeker accuracy multiplier - - seekerMinRange = 0; - seekerMaxRange = 3000; // Range from the missile which the seeker can visually search - - correctionDistance = 0; // distance from center of crosshair where missile slows down - offsetFromCrosshair[] = { 0, 0, 0 }; // where the missile wants to stay in relation to the center of the crosshair. - - // Attack profile type selection - defaultAttackProfile = "WIRE"; - attackProfiles[] = {"WIRE"}; - }; + }; }; diff --git a/addons/malyutka/CfgMagazines.hpp b/addons/malyutka/CfgMagazines.hpp index 0e37b0aaa7..d7dab6bce9 100644 --- a/addons/malyutka/CfgMagazines.hpp +++ b/addons/malyutka/CfgMagazines.hpp @@ -3,10 +3,10 @@ class CfgMagazines { class GVAR(9m14): 12Rnd_PG_missiles { count = 1; initSpeed = 100; - ammo = QGVAR(9m14); - //displayName = CSTRING(9m14_missile); - //displayNameShort = CSTRING(9m14_missile); - //descriptionShort = CSTRING(9m14_missile_descriptionShort); + //ammo = QGVAR(9m14); + displayName = CSTRING(9m14_missile); + displayNameShort = CSTRING(9m14_missile); + descriptionShort = CSTRING(9m14_missile_descriptionShort); }; }; diff --git a/addons/malyutka/CfgVehicles.hpp b/addons/malyutka/CfgVehicles.hpp index e70c8f5bc3..a3bd7d50ec 100644 --- a/addons/malyutka/CfgVehicles.hpp +++ b/addons/malyutka/CfgVehicles.hpp @@ -15,7 +15,7 @@ class CfgVehicles { faction = "BLU_F"; crew = "B_UAV_AI"; author = "Brandon (TCVM)"; - //displayName = CSTRING(9m14); + displayName = CSTRING(9m14); model = QPATHTOF(data\9m14_mount.p3d); picture = "\A3\Static_F_Gamma\data\UI\gear_StaticTurret_AT_CA.paa"; UiPicture = "\A3\Static_F_Gamma\data\UI\gear_StaticTurret_AT_CA.paa"; @@ -58,7 +58,7 @@ class CfgVehicles { discreteDistance[] = {}; discreteDistanceInitIndex = 0; - //displayName = CSTRING(9m14); + displayName = CSTRING(9m14); class ViewOptics { initAngleX = 0; @@ -73,11 +73,11 @@ class CfgVehicles { visionMode[] = {"Normal"}; thermalMode[] = {0}; }; - gunnerRightHandAnimName = "OtocHlaven_shake"; - gunnerLeftHandAnimName = "OtocHlaven_shake"; - gunBeg = "spice rakety"; - gunEnd = "konec rakety"; - memoryPointGunnerOptics = "look"; + gunnerRightHandAnimName = ""; + gunnerLeftHandAnimName = ""; + gunBeg = "missile_begin"; + gunEnd = "missile_end"; + memoryPointGunnerOptics = ""; }; }; @@ -91,7 +91,7 @@ class CfgVehicles { class ACE_Actions: ACE_Actions { class ACE_MainActions: ACE_MainActions { - //displayName = CSTRING(9m14); + displayName = CSTRING(9m14); }; }; diff --git a/addons/malyutka/data/9m14.p3d b/addons/malyutka/data/9m14.p3d index 4b934d20dc..05a6514380 100644 Binary files a/addons/malyutka/data/9m14.p3d and b/addons/malyutka/data/9m14.p3d differ diff --git a/addons/malyutka/data/9m14_mount.p3d b/addons/malyutka/data/9m14_mount.p3d index bb5081d047..ead820fb3a 100644 Binary files a/addons/malyutka/data/9m14_mount.p3d and b/addons/malyutka/data/9m14_mount.p3d differ diff --git a/addons/malyutka/data/model.cfg b/addons/malyutka/data/model.cfg index c122ae3a9b..fc22aa166a 100644 --- a/addons/malyutka/data/model.cfg +++ b/addons/malyutka/data/model.cfg @@ -4,8 +4,8 @@ class CfgSkeletons { skeletonInherit = ""; skeletonBones[] = {}; }; - class 9m14: Default {}; - class 9m14_mount_mount: Default {}; + class 9m14_skeleton: Default {}; + class 9m14_mount_skeleton: Default {}; }; class CfgModels { class Default { @@ -16,11 +16,11 @@ class CfgModels { class 9m14: Default { sectionsInherit = ""; sections[] = {}; - skeletonName = "9m14"; + skeletonName = "9m14_skeleton"; }; class 9m14_mount: Default { sectionsInherit = ""; sections[] = {}; - skeletonName = "9m14_mount"; + skeletonName = "9m14_mount_skeleton"; }; }; \ No newline at end of file