Jump to content
Sign in to follow this  
Totem974

AirGround Cruise Missile Flight Profile

Recommended Posts

Hello,


I try to create the French SCALP missile which should behave (at Arma scale)
like the Cruise missile of the VLS except for a few details:


The missile must fall (more or less flat) from its pylon then slowly descend by activating its engines at an altitude of 30/50 meters to move towards its target while following the terrain.

 

https://www.youtube.com/watch?v=AZY-Qwh1RZU

 

I managed to accomplish the last details but as shown in the video the missile once dropped suddenly falls before readjusting.

I tried to pair the two flight models (by creating my own model from class Direct) "Cruise" and "LoalAltitude" but apparently are incompatible and the missile falls like a GBU.

Someone would have any idea ?

 

Below is an extract from my config.Cpp

Spoiler

#define _ARMA_

//(13 Enums)
enum {
    destructengine = 2,
    destructdefault = 6,
    destructwreck = 7,
    destructtree = 3,
    destructtent = 4,
    stabilizedinaxisx = 1,
    stabilizedinaxesxyz = 4,
    stabilizedinaxisy = 2,
    stabilizedinaxesboth = 3,
    destructno = 0,
    stabilizedinaxesnone = 0,
    destructman = 5,
    destructbuilding = 1
};

class CfgPatches
{
    class AMF_Weapons_Jet_F
    {
        author="AMF_Totem";
        name="Amf 3 Jets - Weapons and Accessories";
        url="https://www.arma3.com";
        requiredAddons[]=
        {
            "A3_Data_F_Jets",
            "A3_Anims_F_Config_Sdr",
            "A3_Data_F",
            "A3_Ui_F",
            "A3_Weapons_F",
            "A3_Weapons_F_Destroyer"
            
        };
        requiredVersion=0.1;
        units[]={};
        weapons[]=
        {
            "weapon_Fighter_Gun_30mm",
            "weapon_MICAIRLauncher",
            "weapon_MICAEMLauncher",
            "GBU12BombLauncherAmf",
            "weapon_AASMLauncherAmf",
            "weapon_ScalpLauncherAmf"
        };
    };
};
class SensorTemplatePassiveRadar;
class SensorTemplateAntiRadiation;
class SensorTemplateActiveRadar;
class SensorTemplateIR;
class SensorTemplateVisual;
class SensorTemplateMan;
class SensorTemplateLaser;
class SensorTemplateNV;
class SensorTemplateDataLink;
class Components;
class CfgAmmo
{
    class MissileCore;
    class MissileBase: MissileCore
    {
        class Components;
    };
    class BulletBase;
    class RocketBase;
    class LaserBombCore;
    class BombCore;
    class ShellBase;
    class ammo_Missile_CruiseBase;
    class ammo_Bomb_LaserGuidedBase;
    class ammo_Missile_MediumRangeAABase;
    class ammo_Missile_ShortRangeAABase;
    class ammo_Missile_Cruise_01;

    //SCALP = VLS -- Cruise missile Cluster ammo_Missile_Cruise_01
    class ammo_SCALP_F: ammo_Missile_Cruise_01
    {
        model="\AMF_DASSAULT_RAFALE_M\weapons\Missile_SAM_SCALP_fly_f";
        proxyShape="\AMF_DASSAULT_RAFALE_M\weapons\Missile_SAM_SCALP_f";
        initTime = 1.5;
        hit = 7000;
        indirectHitRange = 100;
        explosive = 0.9;
        trackOversteer = 1.2;
        airFriction = 0.65;
        sideAirFriction = 0.55;
        effectsMissileInit = "";
        effectsMissile = "CruiseMissile";
        muzzleEffect = "";
        flightProfiles[] = {"Cruise"};
        class Cruise
        {
            preferredFlightAltitude = 30;
            lockDistanceToTarget = 300;
        };
    };
};
class CfgMagazines
{
    class Default;
    class CA_Magazine;
    class VehicleMagazine;   

 

//SCALP = VLS AIR SOL CRUISE MISSILE
    //MAGAZINE SCALP = VLS + AMRAAM
    class magazine_Missiles_Cruise_01_x18;
    class magazine_1rnd_SCALP_x1: magazine_Missiles_Cruise_01_x18
    {
        scope = 2;
        displayName = "SCALP";
        displayNameShort = "SCALP DISPLAY SHORT";
        descriptionShort = "SCALP DESCRIPTION";
        ammo = "ammo_SCALP_F";
        count = 1;
        // initSpeed=0;
    };
    //PYLON SCALP
    class PylonRack_1Rnd_SCALP_x1: magazine_1rnd_SCALP_x1
    {
        count=1;
        displayName="SCALP x1";
        model="\AMF_DASSAULT_RAFALE_M\weapons\PylonPod_Missile_SCALP_01_x1_f";
        hardpoints[]={"B_SCALP_rail1"};
        pylonWeapon="weapon_ScalpLauncherAmf";
    };
    class PylonPod_1Rnd_SCALP_x1_aile: PylonRack_1Rnd_SCALP_x1
    {
        model="\AMF_DASSAULT_RAFALE_M\weapons\PylonPod_Missile_SCALP_02_x1_f";
        hardpoints[]={"B_SCALP_rail2"};
    };
};
class CfgWeapons
{
    class CannonCore;
    class LauncherCore;
    class RocketPods;
    class weapon_BIM9xLauncher;
    class weapon_LGBLauncherBase;
    class MissileLauncher;
    class weapon_VLS_01;
  
    //SCALP = VLS weapon_VLS_01
    class weapon_ScalpLauncherAmf: weapon_VLS_01
    {
        scope=2;
        displayName="SCALP - AirSol";
        magazines[]=
        {
            "magazine_1rnd_SCALP_x1",
            "PylonRack_1Rnd_SCALP_x1"
        };
    };
};
 

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×