Jump to content

Recommended Posts

Hi,

 

It's normal that author property is not share by inheritance ?

 

For example, I have :

class cfgWeapons
{
  class H_Beret_02;
  class myDLC_Beret_Base: H_Beret_02 {
          dlc="myDLC";
          author="Me";
          scope=0;
  };
  class MyBeret: myDLC_Beret_Base
  {
    scope=2;
    displayName="(myDLC) Beret";
    hiddenSelectionsTextures[]=
    {
     "\myDLC_items\data\Beret\myDLC_beret.paa"
     };
     picture="\myDLC_items\data\Beret\myDLC.paa";
  };
};

And MyBeret have all elements good except author, it's written unknown author.
What is wrong ?

Share this post


Link to post
Share on other sites

it is, however BI made the checks with the scope of the class itself only

that design make sense insofar it forces explicit author definitions. otherwise likely most community stuff would have BI as author set.

 

so in short:

- author not in base classes

+ author in every scope=1/2 class

Share this post


Link to post
Share on other sites

OK, thank you for the answer.

Same thing for dlc property, I suppose.

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

×