Files
braf/braf_weapons_pistols/9mm_TaurusPT92/9mm_TaurusPT92.hpp

241 lines
4.0 KiB
C++

class braf_PT92: Pistol_Base_F
{
_generalMacro="braf_PT92";
author="BRAF Team";
displayName="TAURUS PT92 9mm";
scope=2;
weapons[]=
{
"braf_PT92"
};
magazines[]=
{
"16Rnd_9x21_Mag"
};
class Library
{
libTextDesc="Pistola Taurus PT92";
};
model="\braf\braf_weapons_pistols\9mm_TaurusPT92\PT92.p3d";
picture="\braf\braf_weapons_pistols\9mm_TaurusPT92\ui\PT92_ui.paa";
reloadAction="GestureReloadPistol";
inertia=0.2;
aimTransitionSpeed=1.6;
dexterity=1.8;
initSpeed=280;
recoil="recoil_pistol_p07";
maxZeroing=100;
hiddenSelections[]=
{
"camo"
};
hiddenSelectionsTextures[]=
{
"\braf\braf_weapons_pistols\9mm_TaurusPT92\data\pt92_co.paa"
};
class GunParticles: GunParticles
{
class EjectEffect
{
positionName="Nabojnicestart";
directionName="Nabojniceend";
effectName="CaselessAmmoCloud";
};
class RifleAmmoCloud
{
positionName="Nabojnicestart";
directionName="Nabojniceend";
effectName="CaselessAmmoCloud";
};
class SmokeEffect
{
positionName="usti hlavne";
directionName="usti hlavne";
effectName="RifleAssaultCloud";
};
};
class WeaponSlotsInfo: WeaponSlotsInfo
{
mass=20;
holsterScale=0.94999999;
class CowsSlot
{
};
class MuzzleSlot: SlotInfo
{
linkProxy="\A3\data_f\proxies\weapon_slots\MUZZLE";
compatibleItems[]=
{
"muzzle_snds_L"
};
iconPosition[]={0.25,0.40000001};
iconScale=0.2;
};
};
drySound[]=
{
"A3\Sounds_F\arsenal\weapons\Pistols\P07\dry_P07",
0.25118864,
1,
20
};
reloadMagazineSound[]=
{
"A3\Sounds_F\arsenal\weapons\Pistols\P07\reload_P07",
0.63095701,
1,
35
};
modes[]=
{
"Single"
};
bullet1[]=
{
"A3\sounds_f\weapons\shells\9mm\metal_9mm_01",
0.63095737,
1,
15
};
bullet2[]=
{
"A3\sounds_f\weapons\shells\9mm\metal_9mm_02",
0.63095737,
1,
15
};
bullet3[]=
{
"A3\sounds_f\weapons\shells\9mm\metal_9mm_03",
0.63095737,
1,
15
};
bullet4[]=
{
"A3\sounds_f\weapons\shells\9mm\metal_9mm_04",
0.63095737,
1,
15
};
bullet5[]=
{
"A3\sounds_f\weapons\shells\9mm\dirt_9mm_01",
0.63095737,
1,
15
};
bullet6[]=
{
"A3\sounds_f\weapons\shells\9mm\dirt_9mm_02",
0.63095737,
1,
15
};
bullet7[]=
{
"A3\sounds_f\weapons\shells\9mm\dirt_9mm_03",
0.63095737,
1,
15
};
bullet8[]=
{
"A3\sounds_f\weapons\shells\9mm\dirt_9mm_04",
0.63095737,
1,
15
};
bullet9[]=
{
"A3\sounds_f\weapons\shells\9mm\grass_9mm_01",
0.63095737,
1,
15
};
bullet10[]=
{
"A3\sounds_f\weapons\shells\9mm\grass_9mm_02",
0.63095737,
1,
15
};
bullet11[]=
{
"A3\sounds_f\weapons\shells\9mm\grass_9mm_03",
0.63095737,
1,
15
};
bullet12[]=
{
"A3\sounds_f\weapons\shells\9mm\grass_9mm_04",
0.63095737,
1,
15
};
soundBullet[]=
{
"bullet1",
0.082999997,
"bullet2",
0.082999997,
"bullet3",
0.082999997,
"bullet4",
0.082999997,
"bullet5",
0.082999997,
"bullet6",
0.082999997,
"bullet7",
0.082999997,
"bullet8",
0.082999997,
"bullet9",
0.082999997,
"bullet10",
0.082999997,
"bullet11",
0.082999997,
"bullet12",
0.082999997
};
class Single: Mode_SemiAuto
{
class BaseSoundModeType;
class StandardSound: BaseSoundModeType
{
soundSetShot[]=
{
"Makarov_Shot_SoundSet",
"Makarov_Tail_SoundSet",
"Makarov_InteriorTail_SoundSet"
};
};
class SilencedSound: BaseSoundModeType
{
soundSetShot[]=
{
"Makarov_silencerShot_SoundSet",
"Makarov_silencerTail_SoundSet",
"Makarov_silencerInteriorTail_SoundSet"
};
};
reloadTime=0.096000001;
dispersion=0.00057999999;
mass=180;
initSpeed=850;
recoil="recoil_pistol_light";
recoilProne="recoil_prone_pistol_light";
minRange=2;
minRangeProbab=0.30000001;
midRange=25;
midRangeProbab=0.69999999;
maxRange=50;
maxRangeProbab=0.1;
aiRateOfFire=2;
aiRateOfFireDistance=25;
};
};