cervantes 330 Posted March 28, 2007 hi all i have found one solution for add a team of ANN news on civil side but when i place my reporter on map i launch editor and i have this error size: tex/ not an array i relaunch and its good help me please for fix this error. Share this post Link to post Share on other sites
Guest RKSL-Rock Posted March 28, 2007 hi all i have found one solution for add a team of ANN news on civil side but when i place my reporter on map i launch editor and i have this error size: tex/ not an array i relaunch and its good help me please for fix this error. Its a config error. Â Find the line liek the one shown below: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">tex = {X,Y,Z}; You need add a square bracket to the line like so: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">tex [] = {X,Y,Z}; And it will work. Share this post Link to post Share on other sites
cervantes 330 Posted March 28, 2007 thx man for you intervention i have test this and i have always this error my config has on cpp #define OPFOR 0 #define BLUFOR 1 #define independant 2 #define Civilian 3 class CfgPatches { class ANN_Press { units[] = {}; weapons[] = {}; requiredVersion = 0.100000; requiredAddons[] = {}; }; }; class CfgVehicleClasses { class ANN_Press { displayName = "ANN_Press"; }; }; class CfgVehicles { /*extern*/ class SoldierWB; class PR_FieldReporter_1: SoldierWB { side=3; moves = "CfgMovesMaleSdr"; model = "\ca\characters\civil_pressmanik"; weapons[] = {"Throw", "Put"}; magazines[] = {}; vehicleClass = "ANN_Press"; displayName = "ANN FieldReporter_1"; class Wounds { tex = {X,Y,Z}; mat = {"ca\characters\data\civil_1_tshirt_shorts_klapky_hhl.rvmat", "ca\characters\data\pressmanik_hhl_wound1.rvmat", "ca\characters\data\pressmanik_hhl_wound2.rvmat", "ca\characters\data\pressmanik.rvmat", "ca\characters\data\pressmanik_wound1.rvmat", "ca\characters\data\pressmanik_wound2.rvmat"}; }; }; class PR_FieldReporter_2: PR_FieldReporter_1 { woman = true; model = "\ca\characters\MarianQuandt"; displayName = "MarianQuandt"; class Wounds { tex = {X,Y,Z}; mat = {"ca\characters\data\civil_1_tshirt_shorts_klapky_hhl.rvmat", "ca\characters\data\pressmanik_hhl_wound1.rvmat", "ca\characters\data\pressmanik_hhl_wound2.rvmat", "ca\characters\data\pressmanik.rvmat", "ca\characters\data\pressmanik_wound1.rvmat", "ca\characters\data\pressmanik_wound2.rvmat"}; }; }; class PR_FieldReporter_3: PR_FieldReporter_1 { model = "\ca\characters\civil_tvreport"; displayName = "ANN FieldTVReporter"; class Wounds { tex = {X,Y,Z}; mat = {"ca\characters\data\hhl_tvreport.rvmat", "ca\characters\data\hhl_tvreport_wound1.rvmat", "ca\characters\data\hhl_tvreport_wound2.rvmat", "ca\characters\data\tvreport.rvmat", "ca\characters\data\tvreport_wound1.rvmat", "ca\characters\data\tvreport_wound2.rvmat"}; }; }; class PR_FieldReporter_4: PR_FieldReporter_1 { woman = true; model = "\ca\characters\MarianQuandt02"; displayName = "MarianQuandt02"; class Wounds { tex = {X,Y,Z}; mat = {"ca\characters\data\civil_1_tshirt_shorts_klapky_hhl.rvmat", "ca\characters\data\pressmanik_hhl_wound1.rvmat", "ca\characters\data\pressmanik_hhl_wound2.rvmat", "ca\characters\data\pressmanik.rvmat", "ca\characters\data\pressmanik_wound1.rvmat", "ca\characters\data\pressmanik_wound2.rvmat"}; }; }; class PR_FieldReporter_5: PR_FieldReporter_1 { woman = true; model = "\ca\characters\MarianQuandt03"; displayName = "MarianQuandt03"; class Wounds { tex = {X,Y,Z}; mat = {"ca\characters\data\civil_1_tshirt_shorts_klapky_hhl.rvmat", "ca\characters\data\pressmanik_hhl_wound1.rvmat", "ca\characters\data\pressmanik_hhl_wound2.rvmat", "ca\characters\data\pressmanik.rvmat", "ca\characters\data\pressmanik_wound1.rvmat", "ca\characters\data\pressmanik_wound2.rvmat"}; }; }; class PR_FieldReporter_6: PR_FieldReporter_1 { woman = true; model = "\ca\characters\MarianQuandt04"; displayName = "MarianQuandt04"; class Wounds { tex = {X,Y,Z}; mat = {"ca\characters\data\civil_1_tshirt_shorts_klapky_hhl.rvmat", "ca\characters\data\pressmanik_hhl_wound1.rvmat", "ca\characters\data\pressmanik_hhl_wound2.rvmat", "ca\characters\data\pressmanik.rvmat", "ca\characters\data\pressmanik_wound1.rvmat", "ca\characters\data\pressmanik_wound2.rvmat"}; }; }; its good no? Share this post Link to post Share on other sites
cervantes 330 Posted March 28, 2007 yeeees i have found i have just delete wounds lines and its ok Share this post Link to post Share on other sites
Guest RKSL-Rock Posted March 29, 2007 yeeees i have found i have just delete wounds lines and its ok Glad it works for you but you seem to have taken my post a bit too literally. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">tex = {X,Y,Z}; The X,Y,Z part is to represent the content of the array! So X will be a texture name, so will Y and Z! If you just put X,Y,Z instead of the textures that will cause you more problems! You only need to add the square brackets! Share this post Link to post Share on other sites
cervantes 330 Posted March 29, 2007 ok i understand now its my bad english im french Share this post Link to post Share on other sites
Guest RKSL-Rock Posted March 29, 2007 ok i understand now   its my bad english im french No problem. Glad I could help. Share this post Link to post Share on other sites