Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CfgMods
- {
- class Mod_Base;
- class vil_PL_weapons: Mod_Base
- {
- author = "vilas";
- picture = "\vil_PL_weapons\ui\modico_ca.paa";
- logo = "\vil_PL_weapons\ui\modico_ca.paa";
- logoSmall = "\vil_PL_weapons\ui\modico_ca.paa";
- logoOver = "\vil_PL_weapons\ui\modico_ca.paa";
- tooltipOwned = "Vilas";
- fieldManualTopicAndHint[] = {"Vilas"};
- dlcColor[] = {0.4,0.4,0.3,1};
- overview = "Vilas";
- hideName = 1;
- hidePicture = 0;
- name = "Vilas";
- dir = "vil_PL_weapons";
- };
- };
- //////////////////////////////
- class vil_PL_G17g4: Pistol_Base_F
- {
- dlc = "vil_PL_weapons";
- author = "vilas";
- magazines[] = {"vil_glock_Mag", "vil_glock_subs_Mag"};
- reloadAction = "GestureReloadPistol";
- recoil = "recoil_pistol_p07";
- picture = "\vil_PL_weapons\ui\glock_ico_ca.paa";
- selectionFireAnim = "muzzleflash";
- modes[] = {"Single"};
- class Single: Mode_SemiAuto
- {
- sounds[] = {"StandardSound","SilencedSound"};
- class BaseSoundModeType;
- class StandardSound: BaseSoundModeType
- {
- soundSetShot[] = {"P07_Shot_SoundSet","P07_Tail_SoundSet","P07_InteriorTail_SoundSet"};
- };
- class SilencedSound: BaseSoundModeType
- {
- SoundSetShot[] = {"P07_silencerShot_SoundSet","P07_silencerTail_SoundSet","P07_silencerInteriorTail_SoundSet"};
- };
- recoil = "recoil_pistol_light";
- recoilProne = "recoil_prone_pistol_light";
- reloadTime = 0.12;
- dispersion = 0.0029;
- minRange = 5;
- minRangeProbab = 0.3;
- midRange = 25;
- midRangeProbab = 0.6;
- maxRange = 50;
- maxRangeProbab = 0.1;
- aiRateOfFire = 2;
- aiRateOfFireDistance = 25;
- };
- scope = 2;
- _generalMacro = "vil_PL_G17g4";
- baseWeapon = "vil_PL_G17g4";
- displayName = "Glock 17 Gen4";
- model = "\vil_PL_weapons\pistol\vil_glock17gen4.p3d";
- class WeaponSlotsInfo: WeaponSlotsInfo
- {
- class PointerSlot: PointerSlot
- {
- linkProxy = "\A3\data_f\proxies\weapon_slots\SIDE";
- compatibleItems[] = {"acc_flashlight_pistol"};
- iconPosition[] = {0.48,0.54};
- iconScale = 0.25;
- };
- class CowsSlot{};
- class MuzzleSlot{};
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement