ardvarkdb 104 Posted July 6, 2006 I have been working on converting various addons to be something else and I have everything working and in a new stand alone file, but the units I have changed (from FDF mod) don't seem to want to use different faces (as in the random selection of a face when you put multiple units in like what happens when you place a variety of default civilians in the game) and their wound textures don't show up. Aside from these two little things everything else works marvelously. I have read through everything I could find in the forums and tried a variety of things but I can't seem to solve this problem. I double checked all the models and compared them with other models and all of the selections seem to be correct so I'm thinking maybe it's something in my config (since I'm not very good at coding and I have just pieced this together by reading other people's configs) <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> // some basic defines #define TEast 0 #define TWest 1 #define TGuerrila 2 #define TCivilian 3 #define TSideUnknown 4 #define TEnemy 5 #define TFriendly 6 #define TLogic 7 #define true 1 #define false 0 // type scope #define private 0 #define protected 1 #define public 2 #define WeaponNoSlot 0// dummy weapons #define WeaponSlotPrimary 1// primary weapons #define WeaponSlotSecondary 16// secondary weapons #define WeaponSlotItem 256// items #define WeaponSlotBinocular 4096// binocular #define WeaponHardMounted 65536 class CfgPatches { class Umb_USS { units[] = { Umb_USS_bodyguard, Umb_USS_bodyguard_mp5, UMB_USS_vip }; weapons[] = {}; requiredAddons[] = {"BIS_Resistance","SJB_TOS_WeaponsPack"}; requiredVersion = 1.85; }; }; class CfgModels {  class Default  {   sections[]={};   sectionsInherit="";  };  class Man: Default {};  class Umb_USS: Man   {   sections[] = {"head injury","body injury","l arm injury","p arm injury","l leg injury","p leg injury","hlava","krk"};   sectionsInherit= "Head";   }; }; class CfgVehicles { class All {}; class AllVehicles: All {}; class Land: AllVehicles {}; class Man: Land {}; class Soldier: Man {}; class SoldierGB: Soldier {}; class Umb_USS_bodyguard: SoldierGB { side=2; vehicleClass="Umbrella Security Service"; model="\USS\fin_bodyguard.p3d"; displayName="U.S.S. Bodyguard (handgun)"; weapons[]={"Put","Throw","sjb_tos_glock19"}; magazines[]={"sjb_tos_glock19_mag","sjb_tos_glock19_mag","sjb_tos_glock19_mag","sjb_tos_glock19_mag"}; wounds[]={"\civ\kravatti_d.paa","\minister\housut2d.paa", "\minister\housut3d.paa","\minister\housut4d.pac", "\minister\torso1d.paa","\minister\torso3d.paa", "\minister\torso4d.paa","\civ\xicht_a.paa", "\civ\xicht_a_zranen.pac"}; }; class umb_USS_bodyguard_mp5: SoldierGB { side=2; vehicleClass="Umbrella Security Service"; model="\USS\fin_bodyguard.p3d"; displayName="U.S.S. Bodyguard (MP5 PDW)"; weapons[]={"Put","Throw","sjb_tos_glock19", sjb_Tos_mp5k_pdw}; magazines[]={"sjb_tos_glock19_mag","sjb_tos_glock19_mag","sjb_tos_glock19_mag","sjb_tos_glock19_mag", "sjb_tos_mp5_mag","sjb_tos_mp5_mag","sjb_tos_mp5_mag"}; }; class umb_vip: SoldierGB { side=2; vehicleClass="Umbrella VIP"; model="\USS\fin_vippi.p3d"; displayName="Umbrella VIP"; weapons[]={"Put","Throw"}; magazines[]={}; wounds[]={"\civ\kravatti_d.paa","\minister\housut2d.paa", "\minister\housut3d.paa","\minister\housut4d.pac", "\minister\torso1d.paa","\minister\torso3d.paa", "\minister\torso4d.paa","\civ\xicht_a.paa", "\civ\xicht_a_zranen.pac"}; }; }; If anyone has any suggestions please let me know. Thanks, Ardvark Share this post Link to post Share on other sites
ProfTournesol 956 Posted July 7, 2006 Yes, the prob comes from the config model : the name of the class MUST be the name of the p3d model : <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class CfgModels { class Default {   sections[]={};   sectionsInherit=""; }; class Man: Default   {   sections[] = {"head injury","body injury","l arm injury","p arm injury","l leg injury","p leg injury","hlava","krk"};   sectionsInherit= "Head";   }; class fin_bodyguard  : Man {}; class fin_vippi  : Man {}; }; Share this post Link to post Share on other sites
ardvarkdb 104 Posted July 7, 2006 Thanks a million mate. The units work marvelously now. I greatly appreciate the help. Thanks again, Ardvark Share this post Link to post Share on other sites