Jump to content
Sign in to follow this  
Kydoimos

Re-Texturing Scopes

Recommended Posts

Hi all,

I've just created a new texture for the TWS scope, but am having a hard time getting it to work via the config. Can anyone post an example for a scope config with a re-texture? Is it not as simple as adding a hiddenSelections to it? :P

Thanks as always, guys!

Share this post


Link to post
Share on other sites

This is what I've been playing with in the config (clearly I've got it all wrong!) :P :

class ItemCore;
class InventoryOpticsItem_Base_F;
class optic_tws_indep: ItemCore
{
 author="Kydoimos";
 _generalMacro="optic_tws_indep";
 scope=2;
 displayName="$STR_A3_cfgWeapons_optic_tws0";
 picture="\A3\weapons_F\Data\UI\gear_acco_tws_CA.paa";
 model="\A3\weapons_f\acc\acco_tws_F";
 descriptionShort="$STR_A3_cfgWeapons_optic_tws1";
 weaponInfoType="RscOptics_tws";
 hiddenSelections[]=
 {
  "camo"
 };
 hiddenSelectionsTextures[]=
 {
  "\Gun_Store_Showcase\Weapons\acco_tws_f_indep_co.paa"
 };
 class ItemInfo: InventoryOpticsItem_Base_F
 {
  mass=14;
  weaponInfoType="RscWeaponRangeZeroingModeFOV";
  optics=1;
  modelOptics="\A3\Weapons_f\acc\reticle_tws";
  hiddenSelections[]=
  {
  "camo"
  };
  class OpticsModes
  {
   class TWS
   {
    opticsID=1;
    useModelOptics=1;
    opticsPPEffects[]=
    {
     "OpticsCHAbera1",
     "OpticsBlur1"
    };
    opticsZoomMin=0.025;
    opticsZoomMax=0.0625;
    opticsZoomInit=0.0625;
    discreteDistance[]={100,200,300,400,500,600,700,800,900,1000,1100,1200};
    discreteDistanceInitIndex=2;
    distanceZoomMin=100;
    distanceZoomMax=1200;
    discretefov[]={0.075499997,0.032000002};
    discreteInitIndex=0;
    memoryPointCamera="opticView";
    visionMode[]=
    {
     "Ti",
     "Normal"
    };
    thermalMode[]={0,1};
    opticsFlare=1;
    opticsDisablePeripherialVision=1;
    cameraDir="";
   };
  };
 };
 inertia=0.2;
};

Share this post


Link to post
Share on other sites

There is no support for hiddenSelections for attachements unfortunately.

Edited by Max255[PL]

Share this post


Link to post
Share on other sites

It's a real shame we cannot access some of the accessories in A3. I wonder if any DEVS are reading this and can lend some insight as to if and when we can re-skin stuff like this.

Share this post


Link to post
Share on other sites

@Zeotrope / Max255[PL] - thanks chaps! Yes, that's a shame!

---------- Post added at 07:31 ---------- Previous post was at 07:25 ----------

Out of interest, is it possible to change the name of another scope and enable thermal imagery?

Share this post


Link to post
Share on other sites
[/color]Out of interest, is it possible to change the name of another scope and enable thermal imagery?

yes, that's possible

Share this post


Link to post
Share on other sites

@Fennek - neat! Thanks, I'll have a play around with the config and see if I can get it working :D

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  

×