Jump to content

Charles Rabbit

Member
  • Content Count

    5
  • Joined

  • Last visited

  • Medals

Posts posted by Charles Rabbit


  1. ORIGINAL.PBO
    
    class cfgVehicles
    {
    	class AH64D_base: Helicopter
    	{
    		class Turrets;
    	};
    
    	class AH64D: AH64D_base
    	{
    	    class Turrets : Turrets
    		{
    		Text123=12;
    		};	
    	};
    };
    MYCODE1.PBO
    
    class cfgVehicles
    {
    	class AH64D;
     	class AH64D_2 : AH64D
    	{
    	class Turrets;
    	};
    };

    How do I properly inherent an external child class where the original code inherits into the same class name? For example-  class Turrets: Turrets

    When I try to inherent this external class, it will not pull the code written into class Turrets: Turrets.
    So Text123=12; won't be inherited. How do I fix this?


     

     


  2. He was pulling textures from the original location instead of the new source.

    For example:
    Instead of using hiddenSelectionsTextures[] = {"tk97\data\kzg_afg_helmet_co.paa"};
    Use this instead hiddenSelectionsTextures[] = {"\Takistan97\data\kzg_afg_helmet_co.paa"};

    The first class name under CFGPATCHES is class Takistan97. It doesn't matter what the name of the .pbo is
     

×