OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Metal on 14 Sep 2002, 05:40:25

Title: NVG fullscreen is it possible??
Post by: Metal on 14 Sep 2002, 05:40:25
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 {};
};
Title: Re:NVG fullscreen is it possible??
Post by: CrunchyFrog on 14 Sep 2002, 14:50:34
Sorry Metal

we can't make custom NVG's
Title: Re:NVG fullscreen is it possible??
Post by: Metal on 14 Sep 2002, 14:53:35
ok,thanks.
Will try to make it as a handgun then....
Title: Re:NVG fullscreen is it possible??
Post by: Duff on 14 Sep 2002, 19:03:43
i think all you have to do is alpha channel out the black if you can find the PAA/PAC file. we do it all the time in other games. I changed my Medal of Honor scope to full screen. i use a higher gamma on my monitor as my night vision ;)