Major Blood 0 Posted March 4, 2008 Hello all I have made a unit, and applied this config: class CfgPatches { class OBB_Operators { units[]={"OBB_Operators"}; weapons[]={}; requiredVersion = 1.000000; requiredAddons[]={}; }; }; class CfgVehicleClasses { class OBB_Operators { displayName="OBB_Operator"; }; }; class CfgSkeletons { class Head { isDiscrete = 0; skeletonInherit = ""; skeletonBones[] = { "neck","", "neck1","neck", "head","neck1", "lBrow","head", "mBrow","head", "rBrow","head", "lMouth","head", "mMouth","head", "rMouth","head", "eyelids","head", "LLip","head" }; }; class OFP2_ManSkeleton { isDiscrete = 0; skeletonInherit = "Head"; skeletonBones[] = { "weapon","", "launcher","", "Camera","", "Spine","", "Spine1","", "Spine2","", "Spine3","", "Pelvis","", //Left upper side "LeftShoulder","", "LeftArm","", "LeftArmRoll","", "LeftForeArm","", "LeftForeArmRoll","", "LeftHand","", "LeftHandRing","", "LeftHandRing1","", "LeftHandRing2","", "LeftHandRing3","", "LeftHandPinky1","", "LeftHandPinky2","", "LeftHandPinky3","", "LeftHandMiddle1","", "LeftHandMiddle2","", "LeftHandMiddle3","", "LeftHandIndex1","", "LeftHandIndex2","", "LeftHandIndex3","", "LeftHandThumb1","", "LeftHandThumb2","", "LeftHandThumb3","", //Right upper side "RightShoulder","", "RightArm","", "RightArmRoll","", "RightForeArm","", "RightForeArmRoll","", "RightHand","", "RightHandRing","", "RightHandRing1","", "RightHandRing2","", "RightHandRing3","", "RightHandPinky1","", "RightHandPinky2","", "RightHandPinky3","", "RightHandMiddle1","", "RightHandMiddle2","", "RightHandMiddle3","", "RightHandIndex1","", "RightHandIndex2","", "RightHandIndex3","", "RightHandThumb1","", "RightHandThumb2","", "RightHandThumb3","", //Left lower side "LeftUpLeg","", "LeftUpLegRoll","", "LeftLeg","", "LeftLegRoll","", "LeftFoot","", "LeftToeBase","", //Right lower side "RightUpLeg","", "RightUpLegRoll","", "RightLeg","", "RightLegRoll","", "RightFoot","", "RightToeBase","" }; }; class default; class Flag: Default {}; class FlagCarrier: Default { skeletonInherit = "Default"; skeletonBones[] = { "stozar","", "vlajka","" }; }; }; class CfgModels { class Default { sections[] = {}; sectionsInherit=""; }; class flag_vojak : Default { sections[] = {"latka"}; }; class Head: Default { sections[] = { "osobnost", "brejle" }; skeletonName = "Head"; }; class ArmaMan : Default { sections[] = { "osobnost","Head_Injury","Body_Injury","l_leg_injury&qu ot; ,"l_arm_injury","r_arm_injury","r_leg_injury","clan&quo t; }; skeletonName = "OFP2_ManSkeleton"; }; class OBB_Operators: ArmaMan {}; }; class CfgVehicles { class Land; class Man: Land { class ViewPilot; }; class CAManBase; class SoldierWB; class OBB_Operators: SoldierWB { vehicleClass = "OBB_Operators"; displayName = "BI Soldier"; model = "\OBB_Operators\OBB_Operators"; scope = 2; nightVision = 1; camouflage = 0.600000; Icon = "\Ca\characters\data\map_ico\i_komandos_CA.paa"; weapons[] = {"M16A4","NVGoggles","Binocular","Throw","Put "}; magazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag ","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","HandGrenadeTi med","SmokeShell"}; respawnweapons[] = {"M16A4","NVGoggles","Binocular","Throw","Put "}; respawnmagazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag ","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_ Stanag","30Rnd_556x45_Stanag","HandGrenadeTimed","HandGrenad eTimed","SmokeShell"}; class Wounds { tex[] = {}; mat[] = { "OBB_Operators\data\us_rukavy_hhl.rvmat","OBB_Operators\data\us_rukavy_hhl_wound1.rvmat","OBB_Operators\data\us_rukavy_hhl_wound2.rvmat","OBB_Operators\data\us_soldier_rukavy_body.rvmat","OBB_Operators\data\us_soldier_rukavy_body_wound1.rvmat","OBB_Operators\data\us_soldier_rukavy_body_wound2.rvmat"}; }; }; How do I define what character faces the unit will have? At the moment, when placing these units in the editor they appear with random faces. I want every unit to use just one specific face. Any help would very appreciated. I am no good at configs. Thank you MajorBlood Share this post Link to post Share on other sites
fabiantronc 0 Posted March 4, 2008 Hi. See this topic http://www.flashpoint1985.com/cgi-bin....t=71931 Greetings Share this post Link to post Share on other sites
Major Blood 0 Posted March 4, 2008 Hello Holy shit I didnt even see that post Sorry.... I still dont get it though. What should it look like? Share this post Link to post Share on other sites
fabiantronc 0 Posted March 4, 2008 You want a use the default face for BIS or an external face? For me work perfectly. this it's my config. Quote[/b] ]class CfgVehicles { //Referencia a una clase externa. class SoldierGB ; class chile_soldado_b: SoldierGB //aquà nuevamente el nombre del p3d. { vehicleClass = "chileinfantes"; displayName = "soldado"; //Nombre de la unidad scope = 2; side = 2; //Bando al que pertenece (Resistencia) <span style='color:red'>faceType = "saboteur"</span> nightVision = 1; camouflage = 0.600000; model = "\chileinfantes\chile_soldado_b.p3d"; //aquà el nombre de la carpeta en la que se ha guardado todo +nombre archivo p3d. picture = "\Ca\characters\data\Ico\i_null_CA.paa"; Icon = "\Ca\characters\data\map_ico\i_wojak_CA.paa"; weapons[] = {"M16A2", "Throw", "Put","Binocular"}; magazines[] = {"30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "SmokeShell", "HandGrenade", "HandGrenade", "HandGrenade"}; respawnWeapons[] = {"M16A2"}; respawnMagazines[] = {"30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag"}; //Texturas heridas class Wounds { tex[] = {}; mat[] = {"ca\characters\data\res_hhl.rvmat", "ca\characters\data\res_hhl_wound1.rvmat", "ca\characters\data\res_hhl_wound2.rvmat", "ca\characters\data\us_soldier_b_body.rvmat", "ca\characters\data\us_soldier_b_body_wound1.rvmat", "ca\characters\data\us_soldier_b_body_wound2.rvmat"}; }; }; }; <span style='color:blue'>class CfgFaces { class saboteur // name of the specific face. { class Face1 { name = "Red Loto"; // name of the unit, whatever you want. texture = "\chileinfantes\data\facesaboteur.paa"; // address of your face file east = true; west = true; }; }; };</span> I hope this will help you Bye. Share this post Link to post Share on other sites
Major Blood 0 Posted March 6, 2008 Thanks for posting that. I have taken a hard look at your config, and tried to put the necessary lines in mine, but I cant get it. Please specify exactly where in the config I am using where this can be placed. Share this post Link to post Share on other sites
fabiantronc 0 Posted March 6, 2008 Look at again the config. I marked in colour the line than you need to add to your config model. It's necessary to add "cfgSkeletons" and "cfgModels" to your config model? Try to change your "cfgVehicles" config for this one. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class CfgVehicles { class SoldierWB; class OBB_Operators: SoldierWB { vehicleClass = "OBB_Operators"; displayName = "BI Soldier"; model = "\OBB_Operators\OBB_Operators.p3d"; scope = 2; nightVision = 1; side = 1; camouflage = 0.600000; Icon = "\Ca\characters\data\map_ico\i_komandos_CA.paa"; weapons[] = {"M16A4","NVGoggles","Binocular","Throw","Put"}; magazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag", "HandGrenadeTimed","SmokeShell"}; respawnweapons[] = {"M16A4","NVGoggles","Binocular","Throw","Put"}; respawnmagazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","HandGrenadeTimed","HandGrenadeTimed","SmokeShell"}; class Wounds { tex[] = {}; mat[] = {"OBB_Operators\data\us_rukavy_hhl.rvmat","OBB_Operators\data\us_rukavy_hhl_wound1.rvmat", "OBB_Operators\data\us_rukavy_hhl_wound2.rvmat","OBB_Operators\data\us_soldier_rukavy_body.rvmat", "OBB_Operators\data\us_soldier_rukavy_body_wound1.rvmat","OBB_Operators\data\us_soldier_rukavy_body_wound2.rvmat"}; }; }; Bye Share this post Link to post Share on other sites