Jump to content
Sign in to follow this  
VonNexus

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

Recommended Posts

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 :

#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!!!

Share this post


Link to post
Share on other sites

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 @

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  

×