Have been fiddling with the NVG to make one that cover the full screen and remove some of the graininess.... so far no luck. I have the p3d modell and textures, I try to create a new.
Success in some parts:
I can load it to the soldier.
Failure in the importent part:It dont work!!
All help in this is appriciated.
This is the cpp file I use.
__________________________________________________
#define protected 1
#define public 2
#define WeaponNoSlot 0// dummy weapons
#define WeaponSlotPrimary 1// primary weapons
#define WeaponSlotSecondary 16// secondary weapons
#define WeaponSlotItem 256// items
#define WeaponSlotBinocular 4096// binocular
#define WeaponHardMounted 65536
class CfgPatches
{
class MTL_NVG
{
units[] = {};
weapons[] = {MTL_NVG};
requiredVersion = 1.01;
};
};
class CfgWeapons
{
class Default{};
class Binocular: Default{};
class NVGoggles: Binocular{};
class MTL_NVG: NVGoggles
{
displayName="NVG";
picture="\MTL_NVG\w_mtl_nvg.paa";
showEmpty=0;
opticsZoomMin=1.000000;
opticsZoomMax=1.000000;
modelOptics="\MTL_NVG\MTL_night";
};
};
class CfgNonAIVehicles
{
class ProxyWeapon {};
class ProxyMTL_NVG: ProxyWeapon {};
};