Results 1 to 2 of 2

Thread: Cannot load material file __charcoal_.002, what does this error mean?

  1. #1

    Cannot load material file __charcoal_.002, what does this error mean?

    Hello guys, basically I have made a soldier model (created after the nice ARMA 2 Russian Soldier model released by BIS) l with Blender and then exported it in the .p3d extension thanks to a plugin posted in the forums. No problems when I open it in Oxygen 2, it all works like a charm. Before working with the textures and improving the model, I'd like to see how it's rendered in ARMA 2. I've created a very poor addon folder. In it, I've got the .p3d model (called CC_riotcontrol_1) , the config.cpp, a model.cfg and a texHeader.bin (which I didn't create, I suppose it's something that came out when I firstly converted the file in the .pbo extension with BinPBO) .
    The config.cpp is at it follows :

    Code:
    #define true	1
    #define false	0
    
    class CfgPatches {
    	class CC_riotcontrol_1 {
    		units[] = {"CC_riotcontrol_1"};
    		weapons[] = {};
    		requiredVersion = 1.0;
    		requiredAddons[] = {};
    	};
    };
    
    class CfgVehicleClasses {
    	class CC_riotcontrol_1 {
    		displayName = "Test CC";
    	};
    };
    
    class CfgVehicles {
    	class All {};
    	
    	class AllVehicles : All {};
    	
    	class Land : AllVehicles {};
    	
    	class Man : Land {};
    	
    	class Soldier : Man {};
    	
    	class Civilian : Man {};
    	
      class USMC_Soldier_Base : Soldier {};
      
      class USMC_Soldier : USMC_Soldier_Base {};
      
      class USMC_Soldier_Light : USMC_Soldier {};
    	
    	class CC_riotcontrol_1 : USMC_Soldier_Light {
    		vehicleClass = "CC_riotcontrol_1";
    		displayName = "CC RIOT";
    		model = "@test\CC_riotcontrol_1.p3d";
    		
    		class Wounds {
    			tex[] = {};
    			mat[] = {"ca\characters\heads\male\defaulthead\data\hhl.rvmat", "ca\characters\heads\male\defaulthead\data\hhl_wounds.rvmat", "ca\characters\heads\male\defaulthead\data\hhl_wounds2.rvmat"};
    		};
    	};
    };
    When I start up the game and get in the editor no problems. I place the soldier and perview, it loads up and suddenly an error shows up: Cannot load material file __charcoal_.002
    I don't know what the hell this error is. The word "charcoal" doesn't show up both in the config.cpp and in the model.cfg . So where the hell is it from?
    Any help would be very appreciated, thanks in advice!!!

  2. #2
    Seems very likely you have the file "__charcoal_.002" mapped to your Blender model (hence the p3d file.

    Have you looked at all face mapping in O2? Both texture AND material.

    By the way I think maybe
    model = "@test\CC_riotcontrol_1.p3d";
    is incorrect. Suggest dropping the @

Similar Threads

  1. cannot load material....RVMAT damage textures
    By Pathetic_Berserker in forum ARMA 2 & OA : ADDONS - Configs & Scripting
    Replies: 2
    Last Post: Mar 26 2012, 10:51
  2. Material File & Unknown Terrain Material
    By Donny in forum ARMA 2 & OA : TERRAIN - (Visitor)
    Replies: 7
    Last Post: Dec 6 2011, 16:46
  3. "Cannot load material file #.rvmat"
    By .40k in forum ARMA 2 & OA : MODELLING - (O2)
    Replies: 5
    Last Post: Apr 20 2010, 12:19
  4. "Cannot load material file"
    By jens198 in forum ARMA : MAP EDITING (VISITOR)
    Replies: 7
    Last Post: May 18 2008, 14:56
  5. Unable to load file. Load Error.
    By The-Architect in forum OFP : O2 MODELLING
    Replies: 5
    Last Post: May 18 2006, 21:17

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •