logan83 11 Posted March 16, 2014 hi guys, i have this error displayed when i put a retextured soldier with a custom *.Rvmat texture in game editor... the scrrensoth of the msg error: the unit config.cpp fragment: class BT_BDU_Cuadros_Base: B_Soldier_03_F { _generalMacro = "B_Soldier_03_F"; scope = 1; side = 2; faction = "BT_LG83"; author = "Logan83"; vehicleClass = "BT_02_HDC"; displayName = "BT BDU Uniform Base"; nakedUniform = "U_BT_BASE_BasicBody"; identityTypes[] = {"Language_EN_EP1","Head_NATO","G_NATO_default","Head_TK","G_IRAN_default","Head_Greek","G_CIVIL_male"}; genericNames = "NATOMen"; modelSides[] = {3,1}; uniformClass = "U_BT_BDU_ATACS_1"; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"\LG83_BT\textures\Uniforms\U_BT_BDU_ATACS_1.paa"}; class Wounds { tex[] = {}; mat[] = {"A3\Characters_F\BLUFOR\Data\clothing1.rvmat","A3\Characters_F\BLUFOR\Data\clothing1_injury.rvmat","A3\Characters_F\BLUFOR\Data\clothing1_injury.rvmat","A3\Characters_F\Common\Data\basicbody.rvmat","A3\Characters_F\Common\Data\basicbody_injury.rvmat","A3\Characters_F\Common\Data\basicbody_injury.rvmat","A3\characters_f\common\data\coveralls.rvmat","A3\Characters_F\Common\Data\coveralls_injury.rvmat","A3\Characters_F\Common\Data\coveralls_injury.rvmat","A3\Characters_F\Heads\Data\hl_white_bald_muscular.rvmat","A3\Characters_F\Heads\Data\hl_white_bald_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_white_bald_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_black_bald_muscular.rvmat","A3\Characters_F\Heads\Data\hl_black_bald_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_black_bald_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_white_hairy_muscular.rvmat","A3\Characters_F\Heads\Data\hl_white_hairy_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_white_hairy_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_white_old.rvmat","A3\Characters_F\Heads\Data\hl_white_old_injury.rvmat","A3\Characters_F\Heads\Data\hl_white_old_injury.rvmat","A3\Characters_F\Heads\Data\hl_asian_bald_muscular.rvmat","A3\Characters_F\Heads\Data\hl_asian_bald_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_asian_bald_muscular_injury.rvmat"}; }; //class EventHandlers: EventHandlers { // init = "(_this select 0) execVM ""\LG83_BT\Scripts\randomize_CombatUniform.sqf"""; //}; }; class BT_BDU_ATACS_1: BT_BDU_Cuadros_Base { scope = 1; uniformClass = "U_BT_BDU_ATACS_1"; hiddenSelections[] = {"Camo"}; hiddenSelectionsMaterials[] = {"\LG83_BT\textures\Uniforms\BDU_Cuadros.rvmat"}; hiddenSelectionsTextures[] = {"\LG83_BT\textures\Uniforms \U_BT_BDU_ATACS_1.paa"}; class Wounds { tex[] = {}; mat[] = {"LG83_BT\textures\Uniforms\BDU_Cuadros.rvmat","A3\Characters_F\BLUFOR\Data\clothing1_injury.rvmat","A3\Characters_F\BLUFOR\Data\clothing1_injury.rvmat","A3\Characters_F\Common\Data\basicbody.rvmat","A3\Characters_F\Common\Data\basicbody_injury.rvmat","A3\Characters_F\Common\Data\basicbody_injury.rvmat","A3\characters_f\common\data\coveralls.rvmat","A3\Characters_F\Common\Data\coveralls_injury.rvmat","A3\Characters_F\Common\Data\coveralls_injury.rvmat","A3\Characters_F\Heads\Data\hl_white_bald_muscular.rvmat","A3\Characters_F\Heads\Data\hl_white_bald_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_white_bald_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_black_bald_muscular.rvmat","A3\Characters_F\Heads\Data\hl_black_bald_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_black_bald_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_white_hairy_muscular.rvmat","A3\Characters_F\Heads\Data\hl_white_hairy_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_white_hairy_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_white_old.rvmat","A3\Characters_F\Heads\Data\hl_white_old_injury.rvmat","A3\Characters_F\Heads\Data\hl_white_old_injury.rvmat","A3\Characters_F\Heads\Data\hl_asian_bald_muscular.rvmat","A3\Characters_F\Heads\Data\hl_asian_bald_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_asian_bald_muscular_injury.rvmat"}; }; }; the BDU_Cuadros.rvmat file: class StageTI { texture="LG83_BT\textures\Uniforms\clothing1_ti_ca.paa"; }; ambient[]={1,1,1,1}; diffuse[]={1,1,1,1}; forcedDiffuse[]={0,0,0,0}; emmisive[]={0,0,0,1}; specular[]={1,1,1,1}; specularPower=150; PixelShaderID="Super"; VertexShaderID="Super"; class Stage1 { texture="LG83_BT\textures\Uniforms\BDU_CUADROS_nohq.paa"; uvSource="tex"; class uvTransform { aside[]={1,0,0}; up[]={0,1,0}; dir[]={0,0,0}; pos[]={0,0,0}; }; }; class Stage2 { texture="#(argb,8,8,3)color(0.5,0.5,0.5,1,DT)"; uvSource="tex"; class uvTransform { aside[]={1,0,0}; up[]={0,1,0}; dir[]={0,0,0}; pos[]={0,0,0}; }; }; class Stage3 { texture="#(argb,8,8,3)color(0,0,0,0,MC)"; uvSource="tex"; class uvTransform { aside[]={1,0,0}; up[]={0,1,0}; dir[]={0,0,0}; pos[]={0,0,0}; }; }; class Stage4 { texture="LG83_BT\textures\Uniforms\clothing1_as.paa"; uvSource="tex"; class uvTransform { aside[]={1,0,0}; up[]={0,1,0}; dir[]={0,0,0}; pos[]={0,0,0}; }; }; class Stage5 { texture="LG83_BT\textures\Uniforms\BDU_CUADROS_smdi.paa"; uvSource="tex"; class uvTransform { aside[]={1,0,0}; up[]={0,1,0}; dir[]={0,0,0}; pos[]={0,0,0}; }; }; class Stage6 { texture="#(ai,64,64,1)fresnel(1,0.7)"; uvSource="none"; }; class Stage7 { texture="LG83_BT\textures\Uniforms\env_co.paa"; uvSource="tex"; class uvTransform { aside[]={1,0,0}; up[]={0,1,0}; dir[]={0,0,0}; pos[]={0,0,0}; }; }; Can u Helpme? Share this post Link to post Share on other sites
logan83 11 Posted March 16, 2014 ok solving simply adding the rvmat extension to unbinarice files... ... Share this post Link to post Share on other sites