Jump to content
Sign in to follow this  
Reddiem

Is it possible to have more than one gunnerOpticsModel in class OpticsOut

Recommended Posts

Hey guys at the moment I'm a bit stuck. As the titel says, is it pssible to have more than on opticsmodel in class OpticsOut? In class OpticsIn its no problem.

 

The config locks like this: /I  Ieft out the whole .p3d path for this example)

class OpticsOut
{

  class DayOut
  {

    initAngleX = 0;
    minAngleX = -30;
    maxAngleX = 30;
    initAngleY = 0;
    minAngleY = -100;
    maxAngleY = 100;
    initFov = 0.037;
    maxFov = 0.037;
    minFov = 0.037;
    opticsDisplayName = "Day";
    visionMode[] = {"Normal", "NVG"};
    thermalMode[] = {4,5};
    gunnerOpticsModel = "\something_1.p3d"; 
    gunnerOutOpticsModel = "\something_1.p3d";
    gunnerOpticsEffect[] = {};
    gunnerOutOpticsEffect[] = {};

  };

  class WBGOut
  {

    initFov = 0.037;
    maxFov = 0.037;
    minFov = 0.037;
    initAngleX = 0;
    minAngleX = -30;
    maxAngleX = 30;
    initAngleY = 0;
    minAngleY = -100;
    maxAngleY = 100;
    opticsDisplayName = "WBG";
    visionMode[] = {"Ti"};
    thermalMode[] = {4,5};
    gunnerOpticsModel = "\something_2.p3d";
    gunnerOutOpticsModel = "\something_2.p3d";
    gunnerOpticsEffect[] = {};
    gunnerOutOpticsEffect[] = {};
    	
  };

};

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×