Permalink
Browse files

advanced weapons system

load and unload weapons
  • Loading branch information...
Nobatgeldi committed Feb 13, 2017
1 parent fedf4b3 commit 7482245f0b0ff5c5cb4b31902890c362df20a988
@@ -13,8 +13,8 @@ class CfgAmmo
};
class fab_250: Bomb_04_F
{
model="SU_33_Flanker_D\wep\fab250";
proxyShape="SU_33_Flanker_D\wep\fab250";
model="\SU_33_Flanker_D\wep\fab250.p3d";
proxyShape="\SU_33_Flanker_D\wep\fab250.p3d";
/*
hit=6000;
indirectHit=1800;
@@ -88,7 +88,81 @@ class CfgAmmo
*/
// bla blaa
};
class Su35_kh_29: MissileBase
class su_kab500: LaserBombCore
{
hit=6000;
model="\SU_33_Flanker_D\wep\FAB500.p3d";
proxyShape="\SU_33_Flanker_D\wep\FAB500.p3d";
indirectHit=1800;
indirectHitRange=12;
irlock=0;
laserLock=1;
airlock=0;
artilleryLock=1;
nvLock=1;
soundHit1[]=
{
"A3\Sounds_F\weapons\Explosion\expl_big_1",
2.5118899,
1,
2400
};
soundHit2[]=
{
"A3\Sounds_F\weapons\Explosion\expl_big_2",
2.5118899,
1,
2400
};
soundHit3[]=
{
"A3\Sounds_F\weapons\Explosion\expl_big_3",
2.5118899,
1,
2400
};
soundHit4[]=
{
"A3\Sounds_F\weapons\Explosion\expl_shell_1",
2.5118899,
1,
2400
};
soundHit5[]=
{
"A3\Sounds_F\weapons\Explosion\expl_shell_2",
2.5118899,
1,
2400
};
multiSoundHit[]=
{
"soundHit1",
0.2,
"soundHit2",
0.2,
"soundHit3",
0.2,
"soundHit4",
0.2,
"soundHit5",
0.2
};
explosionSoundEffect="DefaultExplosion";
trackOversteer=1;
trackLead=0.94999999;
maneuvrability=20;
CraterEffects="BombCrater";
explosionEffects="BombExplosion";
explosionTime=2;
fuseDistance=35;
whistleDist=24;
weaponLockSystem="2 + 16 + 4";
missileLockCone=120;
maxControlRange=8000;
manualControl=1;
};
class Su_kh_29: MissileBase
{
hit=1500;
indirectHit=950;
@@ -163,7 +237,7 @@ class CfgAmmo
class Su_rocket_80mm_HE: MissileBase
{
model="\A3\Weapons_F\Ammo\Rocket_02_fly_F";
proxyShape="\SU_33_Flanker_D\m_empty";
proxyShape="\SU_33_Flanker_D\wep\s8_launcher_aircraft";
hit=210;
weaponType = "rocket";
indirectHit=55;
@@ -2,14 +2,39 @@ class CfgMagazines
{
class VehicleMagazine;
//class 4Rnd_Bomb_04_F;
class Su_6Rnd_fab_250: VehicleMagazine
class Su_fab_250: VehicleMagazine
{
scope=2;
count=6;
count=1;
ammo="fab_250";
initSpeed=0;
ammoIsProxy = true;
};
class Su_fab_500: VehicleMagazine
{
scope=2;
displayName="KAB-500L";
descriptionShort="KAB-500L";
displayNameShort="KAB-500L";
ammo="su_kab500";
ammoIsProxy = true;
initSpeed=0;
maxLeadSpeed=1000;
sound[]=
{
"",
1,
1
};
reloadSound[]=
{
"",
0.00031622799,
1
};
count=1;
nameSound="";
};
class Su_300Rnd_30mm_GSh301: VehicleMagazine
{
scope=2;
@@ -19,12 +44,12 @@ class CfgMagazines
tracersEvery=1;
ammoIsProxy = true;
};
class Su33_kh29_x4: VehicleMagazine
class Su_kh29: VehicleMagazine
{
scope=2;
displayName="Kh-29L";
displayNameShort="Kh-29L";
ammo="Su35_kh_29";
ammo="Su_kh_29";
ammoIsProxy = true;
initSpeed=0;
maxLeadSpeed=220;
@@ -40,7 +65,7 @@ class CfgMagazines
0.00031622799,
1
};
count=4;
count=1;
nameSound="missiles";
};
class Su_6Rnd_R73: VehicleMagazine
@@ -69,25 +94,25 @@ class CfgMagazines
};
nameSound="missiles";
};
class Su_2Rnd_R73M1_AA: Su_6Rnd_R73
class Su_R73M1_AA: Su_6Rnd_R73
{
ammo="Su_M_R73M1_AA";
displayName="R-73M1";
displayNameShort="R-73M1";
ammoIsProxy = true;
count=2
count=1;
};
class Su_2Rnd_R27R: Su_6Rnd_R73
class Su_R27R: Su_6Rnd_R73
{
scope=2;
displayName="R-27R";
displayNameShort="R-27R";
count=2;
count=1;
ammoIsProxy = true;
ammo="Su_M_R27R";
initSpeed=0;
};
class Su_2Rnd_R27EA: Su_2Rnd_R27R
class Su_2Rnd_R27EA: Su_R27R
{
scope=2;
displayName="R-27EA";
@@ -108,12 +133,81 @@ class CfgMagazines
initSpeed=0;
maxLeadSpeed=650;
};
class Su_80Rnd_S8T: VehicleMagazine
class Su_20Rnd1_S8T: VehicleMagazine
{
scope=2;
displayName="S8 Rocket";
ammo="Su_rocket_80mm_HE";
count=20;
ammoIsProxy = true;
initSpeed=0;
nameSound="rockets";
sound[]=
{
"A3\sounds_f\weapons\rockets\explosion_missile_02",
1,
1,
1200
};
reloadSound[]=
{
"",
0.00031622799,
1
};
};
class Su_20Rnd2_S8T: VehicleMagazine
{
scope=2;
displayName="S8 Rocket";
ammo="Su_rocket_80mm_HE";
count=20;
ammoIsProxy = true;
initSpeed=0;
nameSound="rockets";
sound[]=
{
"A3\sounds_f\weapons\rockets\explosion_missile_02",
1,
1,
1200
};
reloadSound[]=
{
"",
0.00031622799,
1
};
};
class Su_20Rnd3_S8T: VehicleMagazine
{
scope=2;
displayName="S8 Rocket";
ammo="Su_rocket_80mm_HE";
count=20;
ammoIsProxy = true;
initSpeed=0;
nameSound="rockets";
sound[]=
{
"A3\sounds_f\weapons\rockets\explosion_missile_02",
1,
1,
1200
};
reloadSound[]=
{
"",
0.00031622799,
1
};
};
class Su_20Rnd4_S8T: VehicleMagazine
{
scope=2;
displayName="S8 Rocket";
ammo="Su_rocket_80mm_HE";
count=80;
count=20;
ammoIsProxy = true;
initSpeed=0;
nameSound="rockets";
@@ -0,0 +1,40 @@
class CfgNonAIVehicles
{
class ProxyDriver;
class ProxyWeapon;
class ProxyKH_29: ProxyWeapon
{
model="\SU_33_Flanker_D\wep\KH-29";
simulation="maverickweapon";
};
class ProxyR73_proxy: ProxyWeapon
{
model="\SU_33_Flanker_D\wep\R73_proxy";
simulation="maverickweapon";
};
class ProxyR77_proxy: ProxyWeapon
{
model="\SU_33_Flanker_D\wep\R77_proxy";
simulation="maverickweapon";
};
class ProxyR27RE_proxy: ProxyWeapon
{
model="\SU_33_Flanker_D\wep\R27RE_proxy";
simulation="maverickweapon";
};
class Proxyfab250: ProxyWeapon
{
model="\SU_33_Flanker_D\wep\fab250";
simulation="maverickweapon";
};
class ProxyFAB500: ProxyWeapon
{
model="\SU_33_Flanker_D\wep\FAB500";
simulation="maverickweapon";
};
class Proxys8_launcher_aircraft: ProxyWeapon
{
model="\SU_33_Flanker_D\wep\s8_launcher_aircraft";
simulation="maverickweapon";
};
};
Oops, something went wrong.

0 comments on commit 7482245

Please sign in to comment.