This commit is the equivalent of a atomic bomb
This commit is contained in:
309
braf_weapons_launchers/config.cpp
Normal file
309
braf_weapons_launchers/config.cpp
Normal file
@@ -0,0 +1,309 @@
|
||||
class CfgPatches
|
||||
{
|
||||
class braf_weapons_launchers
|
||||
{
|
||||
author = "BRAF Team";
|
||||
units[] = {};
|
||||
weapons[] = {
|
||||
"braf_Igla",
|
||||
"braf_launch_alac_Loaded",
|
||||
"braf_launch_alac",
|
||||
"braf_launch_alac_Used",
|
||||
"braf_Gustav"
|
||||
};
|
||||
requiredVersion = 0.1;
|
||||
requiredAddons[] = {"A3_weapons_f","braf_main"};
|
||||
};
|
||||
};
|
||||
|
||||
class CBA_DisposableLaunchers
|
||||
{
|
||||
braf_launch_alac_Loaded[] = {"braf_launch_alac", "braf_launch_alac_Used"};
|
||||
};
|
||||
|
||||
class CfgWeapons
|
||||
{
|
||||
class launch_B_Titan_F;
|
||||
class Launcher;
|
||||
class Launcher_Base_F : Launcher
|
||||
{
|
||||
class BaseSoundModeType;
|
||||
class WeaponSlotsInfo;
|
||||
};
|
||||
class launch_MRAWS_green_rail_F;
|
||||
#include "AntiAir_Igla\Igla.hpp"
|
||||
#include "AntiTank_ALAC\ALAC.hpp"
|
||||
#include "AntiTank_CarlGustav\CarlGustav.hpp"
|
||||
#include "AntiTank_M20A1_SuperBazooka\SuperBazooka.hpp"
|
||||
};
|
||||
|
||||
class SensorTemplateIR;
|
||||
|
||||
class CfgAmmo {
|
||||
class RocketBase;
|
||||
class ammo_Penetrator_Base;
|
||||
class MissileCore;
|
||||
class MissileBase: MissileCore
|
||||
{
|
||||
class Components;
|
||||
};
|
||||
class braf_Igla_AA: MissileBase
|
||||
{
|
||||
model="\braf\braf_weapons_launchers\AntiAir_Igla\igla_missile.p3d";
|
||||
hit=80;
|
||||
indirectHit=60;
|
||||
indirectHitRange=6;
|
||||
warheadName="HE";
|
||||
proximityExplosionDistance=10;
|
||||
maneuvrability=15;
|
||||
simulationStep=0.0020000001;
|
||||
trackOversteer=1;
|
||||
trackLead=0.94999999;
|
||||
aiAmmoUsageFlags=256;
|
||||
irLock=1;
|
||||
cost=1000;
|
||||
timeToLive=15;
|
||||
airFriction=0.145;
|
||||
sideAirFriction=0.1;
|
||||
maxSpeed=850;
|
||||
initTime=0.25;
|
||||
thrustTime=2.25;
|
||||
thrust=380;
|
||||
fuseDistance=50;
|
||||
CraterEffects="AAMissileCrater";
|
||||
explosionEffects="AAMissileExplosion";
|
||||
effectsMissileInit="";
|
||||
effectsMissile="missile3";
|
||||
soundHit1[]=
|
||||
{
|
||||
"A3\Sounds_F\arsenal\weapons\Launchers\Titan\Explosion_titan_missile_01",
|
||||
2.5118864,
|
||||
1,
|
||||
1900
|
||||
};
|
||||
soundHit2[]=
|
||||
{
|
||||
"A3\Sounds_F\arsenal\weapons\Launchers\Titan\Explosion_titan_missile_02",
|
||||
2.5118864,
|
||||
1,
|
||||
1900
|
||||
};
|
||||
soundHit3[]=
|
||||
{
|
||||
"A3\Sounds_F\arsenal\weapons\Launchers\Titan\Explosion_titan_missile_03",
|
||||
2.5118864,
|
||||
1,
|
||||
1900
|
||||
};
|
||||
multiSoundHit[]=
|
||||
{
|
||||
"soundHit1",
|
||||
0.34,
|
||||
"soundHit2",
|
||||
0.33000001,
|
||||
"soundHit3",
|
||||
0.33000001
|
||||
};
|
||||
airLock=2;
|
||||
missileLockCone=4;
|
||||
missileKeepLockedCone=75;
|
||||
missileLockMaxDistance=3500;
|
||||
missileLockMinDistance=100;
|
||||
missileLockMaxSpeed=250;
|
||||
weaponLockSystem="2 + 16";
|
||||
cmImmunity=0.89999998;
|
||||
class Components: Components
|
||||
{
|
||||
class SensorsManagerComponent
|
||||
{
|
||||
class Components
|
||||
{
|
||||
class IRSensorComponent: SensorTemplateIR
|
||||
{
|
||||
class AirTarget
|
||||
{
|
||||
minRange=500;
|
||||
maxRange=3500;
|
||||
objectDistanceLimitCoef=-1;
|
||||
viewDistanceLimitCoef=1;
|
||||
};
|
||||
class GroundTarget
|
||||
{
|
||||
minRange=500;
|
||||
maxRange=2500;
|
||||
objectDistanceLimitCoef=1;
|
||||
viewDistanceLimitCoef=1;
|
||||
};
|
||||
maxTrackableSpeed=250;
|
||||
angleRangeHorizontal=7;
|
||||
angleRangeVertical=4.5;
|
||||
groundNoiseDistanceCoef=0.2;
|
||||
maxGroundNoiseDistance=50;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
class CamShakeExplode
|
||||
{
|
||||
power=22;
|
||||
duration=2;
|
||||
frequency=20;
|
||||
distance=147.905;
|
||||
};
|
||||
class CamShakeHit
|
||||
{
|
||||
power=110;
|
||||
duration=0.60000002;
|
||||
frequency=20;
|
||||
distance=1;
|
||||
};
|
||||
class CamShakeFire
|
||||
{
|
||||
power=2.78316;
|
||||
duration=1.6;
|
||||
frequency=20;
|
||||
distance=61.967701;
|
||||
};
|
||||
class CamShakePlayerFire
|
||||
{
|
||||
power=3;
|
||||
duration=0.1;
|
||||
frequency=20;
|
||||
distance=1;
|
||||
};
|
||||
};
|
||||
class braf_R_alac_AT: RocketBase{
|
||||
SoundSetExplosion[]=
|
||||
{
|
||||
"RocketsLight_Exp_SoundSet",
|
||||
"RocketsLight_Tail_SoundSet",
|
||||
"Explosion_Debris_SoundSet"
|
||||
};
|
||||
author="$STR_CUP_AUTHOR_STRING";
|
||||
soundHit1[]=
|
||||
{
|
||||
"A3\Sounds_F\weapons\Explosion\explosion_antitank_1",
|
||||
5.6234131,
|
||||
1,
|
||||
1800
|
||||
};
|
||||
soundHit2[]=
|
||||
{
|
||||
"A3\Sounds_F\weapons\Explosion\explosion_antitank_2",
|
||||
5.6234131,
|
||||
1,
|
||||
1800
|
||||
};
|
||||
multiSoundHit[]=
|
||||
{
|
||||
"soundHit1",
|
||||
0.5,
|
||||
"soundHit2",
|
||||
0.5
|
||||
};
|
||||
explosionSoundEffect="DefaultExplosion";
|
||||
effectsMissileInit="RocketBackEffectsRPG";
|
||||
model="\braf\braf_weapons_launchers\AntiTank_ALAC\alac_rocket.p3d";
|
||||
hit=90;
|
||||
indirectHit=10;
|
||||
indirectHitRange=2;
|
||||
warheadName="HE";
|
||||
submunitionAmmo="braf_P_alac_AT";
|
||||
submunitionDirectionType="SubmunitionModelDirection";
|
||||
submunitionInitSpeed=1000;
|
||||
submunitionParentSpeedCoef=0;
|
||||
submunitionInitialOffset[]={0,0,-0.2};
|
||||
triggerOnImpact=1;
|
||||
deleteParentWhenTriggered=0;
|
||||
cost=200;
|
||||
initTime=0.001;
|
||||
thrust=0;
|
||||
thrustTime=0;
|
||||
maxSpeed=320;
|
||||
sideAirFriction=0.0099999998;
|
||||
airfriction=0;
|
||||
timeToLive=6;
|
||||
fuseDistance=5;
|
||||
visibleFire=24;
|
||||
audibleFire=16;
|
||||
CraterEffects="ATRocketCrater";
|
||||
explosionEffects="ATRocketExplosion";
|
||||
effectsMissile="missile2";
|
||||
soundFly[]=
|
||||
{
|
||||
"A3\Sounds_F\weapons\Rockets\rocket_fly_1",
|
||||
6,
|
||||
1,
|
||||
500
|
||||
};
|
||||
whistleDist=32;
|
||||
airLock=0;
|
||||
irLock=0;
|
||||
maneuvrability=0;
|
||||
allowAgainstInfantry=0;
|
||||
initSpeed=320;
|
||||
class CamShakeExplode
|
||||
{
|
||||
power="(55 * 0.2)";
|
||||
duration="((round (55^0.5))*0.2 max 0.2)";
|
||||
frequency=20;
|
||||
distance="((5 + 55^0.5)*8)";
|
||||
};
|
||||
class CamShakeHit
|
||||
{
|
||||
power=110;
|
||||
duration="((round (110^0.25))*0.2 max 0.2)";
|
||||
frequency=20;
|
||||
distance=1;
|
||||
};
|
||||
class CamShakeFire
|
||||
{
|
||||
power="(20^0.25)";
|
||||
duration="((round (20^0.5))*0.2 max 0.2)";
|
||||
frequency=20;
|
||||
distance="((20^0.5)*8)";
|
||||
};
|
||||
class CamShakePlayerFire
|
||||
{
|
||||
power=1;
|
||||
duration=0.1;
|
||||
frequency=20;
|
||||
distance=1;
|
||||
};
|
||||
};
|
||||
class braf_P_alac_AT: ammo_Penetrator_Base{
|
||||
caliber=28;
|
||||
warheadName="HEAT";
|
||||
hit=372;
|
||||
};
|
||||
};
|
||||
|
||||
class CfgMagazines {
|
||||
class CA_LauncherMagazine;
|
||||
class braf_Igla_missile: CA_LauncherMagazine
|
||||
{
|
||||
descriptionshort="Type: Anti-Air<br />Rounds: 1<br />Used in: FIM-92 Igla";
|
||||
displayname="9K38 Igla Missile";
|
||||
picture="\braf\braf_weapons_launchers\AntiAir_Igla\data\ui\igla_ui.paa";
|
||||
scope=2;
|
||||
type="6 * 256";
|
||||
ammo="braf_Igla_AA";
|
||||
initSpeed=18;
|
||||
maxLeadSpeed=277.77802;
|
||||
mass=100;
|
||||
modelspecial="\braf\braf_weapons_launchers\AntiAir_Igla\Igla_loaded";
|
||||
};
|
||||
class braf_alac_M: CA_LauncherMagazine
|
||||
{
|
||||
author="BRAF Team";
|
||||
scope=1;
|
||||
displayName="ALAC Ammo";
|
||||
ammo="braf_R_alac_AT";
|
||||
type="6 * 256";
|
||||
picture="\braf\braf_weapons_launchers\AntiTank_ALAC\ui\w_m136_launcher_ca.paa";
|
||||
model="\braf\braf_weapons_launchers\AntiTank_ALAC\alac_ammo.p3d";
|
||||
modelSpecial="";
|
||||
mass=40;
|
||||
initSpeed=290;
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user