Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion addons/flashlights/CfgWeapons.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ class CfgWeapons {
recoil = "empty";
muzzlePos = "flash";
muzzleEnd = "flash dir";
magazines[] = {"FakeMagazine"}; // Required for the weapon info box to work correctly.
textureType = "default"; // empty texture
weaponInfoType = "RscWeaponEmpty";

Expand Down
32 changes: 7 additions & 25 deletions addons/minedetector/CfgWeapons.hpp
Original file line number Diff line number Diff line change
@@ -1,37 +1,20 @@
class Mode_SemiAuto;

class CfgWeapons {
class Pistol;
class Pistol_Base_F: Pistol {
class WeaponSlotsInfo;
};
class ACE_VMM3: Pistol_Base_F {
scope = 2;
author = ECSTRING(common,ACETeam);
scope = 2;
displayName = "VMM3";
descriptionShort = CSTRING(VMM3_Description);
model = QPATHTOF(ace_wallon_vmm3.p3d);
picture = QPATHTOF(data\equip\w_vmm3_ca.paa);
magazines[] = { };
modes[] = { "Single" };
cursor = "EmptyCursor";
cursorAim = "EmptyCursor";
class Single: Mode_SemiAuto {
displayName = "";
sounds[] = {};
begin1[] = { "", 1.77828, 1, 1000 };
soundBegin[] = { "begin1", 1 };
reloadTime = 0.075;
recoil = "recoil_pistol_light";
recoilProne = "recoil_prone_pistol_light";
dispersion = 0.001;
minRange = 2;
minRangeProbab = 0.3;
midRange = 250;
midRangeProbab = 0.7;
maxRange = 400;
maxRangeProbab = 0.05;
};
cursor = "";
cursorAim = "";
recoil = "empty";
weaponInfoType = "RscWeaponEmpty";

class WeaponSlotsInfo: WeaponSlotsInfo {
holsterScale = 0;
mass = 77;
Expand All @@ -40,9 +23,8 @@ class CfgWeapons {
};
};
class ACE_VMH3: ACE_VMM3 {
scope = 2;
displayName = "VMH3";
author = ECSTRING(common,ACETeam);
displayName = "VMH3";
model = QPATHTOF(ace_wallon_vmh3.p3d);
picture = QPATHTOF(data\equip\w_vmh3_ca.paa);
class WeaponSlotsInfo: WeaponSlotsInfo {
Expand Down
Loading