catito14 0 Posted October 26, 2008 Hello, I created 6 new units of Argentine Commandos, but when I select them in the editor of the game it throws an error to me and sends me to the desktop. It seems to me that it is a problem of the config.cpp. Here I put the config. to seeing if someone can help me. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">#define private 0 #define protected 1 #define public 2 #define true 1 #define false 0 #define TEast 0 #define TWest 1 #define TGuerrila 2 #define TCivilian 3 #define TSideUnknown 4 #define TEnemy 5 #define TFriendly 6 #define TLogic 7 class CfgPatches { class mlv_units { units[] = {"mlv_units"}; weapons[] = {}; requiredVersion = 1.08; }; }; class CfgVehicleClasses { class mlv_comandos { displayName = "MLV - CIA DE COMANDOS 601/602"; }; }; class CfgSkeletons { class Head { isDiscrete = 0; skeletonInherit = ""; skeletonBones[] = { "neck","", "neck1","neck", "head","neck1", "loboci","head", "soboci","head", "poboci","head", "lkoutek","head", "skoutek","head", "pkoutek","head", "vicka","head", "spodni ret","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","osobnost2" }; skeletonName = "Head"; }; class ArmaMan : Default { sections[] = { "osobnost","osobnost2","Head_Injury","Body_Injury","l_leg_injury","l_arm_injury","r_arm_injury","r_leg_injury","clan"}; skeletonName = "OFP2_ManSkeleton"; }; class MLV_comandooficial : ArmaMan{}; class MLV_comandoAA : ArmaMan{}; class MLV_comandoTropa : ArmaMan{}; class MLV_comandoRadio : ArmaMan{}; class MLV_comandoMag : ArmaMan{}; class MLV_comandoMedico : ArmaMan{}; class MLV_comandoM16 : ArmaMan{}; class MLV_comandoSniper : ArmaMan{}; class MLV_comandoMochila : ArmaMan{}; }; class CfgVehicles { class All; // External class reference class AllVehicles; // External class reference class Land; // External class reference class Man; // External class reference class Car; // External class reference class SoldierESaboteur; // External class reference class mlv_comandooficial : SoldierESaboteur { vehicleClass = "mlv_comandos"; side = TEast; Â Â Â Â Â Â Â Â Â Â Â Â Â Â displayName = "Oficial"; model = "mlv_units\mlv_argunits\mlv_comandos\mlv_comandooficial.p3d"; picture="\Ca\characters\data\Ico\i_SF_CA.paa"; Icon= "\Ca\characters\data\map_ico\i_komandos_CA.paa"; Â Â Â Â Â Â Â Â Â Â Â Â Â Â nameSound = "blackOp"; Â Â Â Â Â Â Â Â Â Â Â Â Â Â accuracy=3.5; Â Â Â Â Â Â Â Â Â Â Â Â Â Â camouflage=0.85; Â Â Â Â Â Â Â Â Â Â Â Â Â Â canHideBodies = true; Â Â Â Â Â Â Â Â Â Â Â Â Â Â sensitivity=1.25; nightVision=1; Â Â Â Â Â Â Â Â Â Â Â Â Â Â scope = public; weapons[] = {MLV_FALP,Throw,Put,MLV_Browning,binocular,nvgoggles}; magazines[] = {MLV_FalMag,MLV_FalMag,MLV_FalMAG,mlv_falmag,mlv_falmag,mlv_falmag,HandGrenadeTimed,HandGr enadeTimed,pipebomb, pipebomb,MLV_browningmag,MLV_browningmag,mlv_browningmag,SmokeShell}; class Wounds { tex[] = {}; mat[] = { "ca\characters\data\np_hhl.rvmat", "ca\characters\data\np_hhl_wound1.rvmat", "ca\characters\data\np_hhl_wound2.rvmat", "ca\characters\data\soldier_captive_body.rvmat", "ca\characters\data\soldier_captive_body_wound1.rvmat", Â "ca\characters\data\soldier_captive_body_wound2.rvmat", "ca\characters\data\soldier_captive_hhl.rvmat", "ca\characters\data\soldier_captive_hhl_wound1.rvmat", "ca\characters\data\soldier_captive_hhl_wound2.rvmat"}; }; cost = 40000; }; class mlv_comandotropa : mlv_comandooficial { vehicleClass = "mlv_comandos"; displayName = "Tropa Regular"; model = "mlv_units\mlv_argunits\mlv_comandos\mlv_comandotropa.p3d"; scope = public; weapons[] = {mlv_fal,Throw,Put,MLV_Browning,binocular}; Â Â Â Â Â Â Â magazines[] = {MLV_FalMag,MLV_FalMag,MLV_FalMAG,mlv_falmag,mlv_falmag,mlv_falmag,HandGrenadeTimed,HandGr enadeTimed,pipebomb, pipebomb,MLV_browningmag,MLV_browningmag,mlv_browningmag,SmokeShell}; }; class mlv_comandoAA : mlv_comandooficial { vehicleClass = "mlv_comandos"; displayName = "Tropa - Blowpipe"; model = "mlv_units\mlv_argunits\mlv_comandos\mlv_comandoAA.p3d"; scope = public; // threat (VSoft, VArmor, VAir), how threatening vehicle is to unit types threat[] = {0.9, 0.9, 1}; Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â weapons[] = {mlv_falp,Throw,Put, MLV_Blowpipe,MLV_Browning,binocular}; magazines[] = {mlv_falmag, mlv_falmag, mlv_falmag,mlv_falmag,MLV_BlowpipeAmmo,MLV_BlowpipeAmmo,mlv_browningmag,mlv_browningmag,ha ndgrenadetimed,handgrenadetimed }; }; class mlv_comandoRadio : mlv_comandooficial { vehicleClass = "mlv_comandos"; displayName = "Radiooperador"; model = "mlv_units\mlv_argunits\mlv_comandos\mlv_comandoRadio.p3d"; scope = public; weapons[] = {mlv_falp_p,Throw,Put,MLV_Browning,binocular}; Â Â Â Â Â Â Â magazines[] = {MLV_FalMag,MLV_FalMag,MLV_FalMAG,mlv_falmag,mlv_falmag,mlv_falmag,HandGrenadeTimed,HandGr enadeTimed,pipebomb, pipebomb,MLV_browningmag,MLV_browningmag,mlv_browningmag,SmokeShell}; }; class mlv_comandoMedico : mlv_comandooficial { vehicleClass = "mlv_comandos"; displayName = "Enfermero"; model = "mlv_units\mlv_argunits\mlv_comandos\mlv_comandoMedico.p3d"; attendant=1; scope = public; weapons[] = {mlv_falp_p,Throw,Put,MLV_Browning}; Â Â Â Â Â Â Â magazines[] = {MLV_FalMag,MLV_FalMag,MLV_FalMAG,mlv_falmag,mlv_falmag,mlv_falmag,HandGrenadeTimed,HandGr enadeTimed,MLV_browningmag,MLV_browningmag,mlv_browningmag,SmokeShell}; }; class mlv_comandoMag : mlv_comandooficial { vehicleClass = "mlv_comandos"; displayName = "Ametrallador - MAG"; model = "mlv_units\mlv_argunits\mlv_comandos\mlv_comandoMag.p3d"; scope = public; weapons[] = {mlv_fnmag,Throw,Put,MLV_Browning}; Â Â Â Â Â Â Â magazines[] = {MLV_fnmagMag,MLV_FnmagMag,MLV_FnmagMAG,MLV_browningmag,MLV_browningmag,mlv_browningmag}; Â Â Â Â Â Â }; class mlv_comandSniper : mlv_comandooficial { vehicleClass = "mlv_comandos"; displayName = "Tirador Especial"; model = "mlv_units\mlv_argunits\mlv_comandos\mlv_comandoSniper.p3d"; scope = public; weapons[] = {mlv_mauserT,Throw,Put,MLV_Browning}; Â Â Â Â Â Â Â magazines[] = {MLV_mauserMag,MLV_mauserMag,MLV_mauserMAG,MLV_mauserMAG,MLV_mauserMAG,MLV_browningmag,MLV _browningmag,mlv_browningmag,MLV_browningmag,MLV_browningmag,SmokeShell,SmokeShell,HandGre nadeTimed}; Â Â Â Â Â Â }; class mlv_comandoM16 : mlv_comandooficial { vehicleClass = "mlv_comandos"; displayName = "Tropa - M16A1"; model = "mlv_units\mlv_argunits\mlv_comandos\mlv_comandoM16.p3d"; scope = public; weapons[] = {mlv_m16a1,Throw,Put,MLV_Browning,binocular}; Â Â Â Â Â Â Â magazines[] = {MLV_m16a1Mag,MLV_m16a1Mag,MLV_m16a1MAG,mlv_m16a1mag,mlv_m16a1mag,mlv_m16a1mag,HandGrenade Timed,HandGrenadeTimed,pipebomb, pipebomb,MLV_browningmag,MLV_browningmag,mlv_browningmag,SmokeShell}; Â Â Â Â Â Â Â }; class mlv_comandoMochila : mlv_comandooficial { vehicleClass = "mlv_comandos"; displayName = "Tropa - Mochila"; model = "mlv_units\mlv_argunits\mlv_comandos\mlv_comandoMochila.p3d"; scope = public; weapons[] = {mlv_fal,Throw,Put,MLV_Browning,binocular}; Â Â Â Â Â Â Â magazines[] = {MLV_FalMag,MLV_FalMag,MLV_FalMAG,mlv_falmag,mlv_falmag,mlv_falmag,HandGrenadeTimed,HandGr enadeTimed,pipebomb, pipebomb,MLV_browningmag,MLV_browningmag,mlv_browningmag,SmokeShell}; Â Â Â Â Â Â Â Â }; Â Â Â Â Â }; }; from already thank you!! Regards Share this post Link to post Share on other sites
.kju 3245 Posted October 26, 2008 please post your arma.rpt http://community.bistudio.com/wiki/arma.RPT Share this post Link to post Share on other sites
franze 196 Posted October 26, 2008 Moving to ArmA:Configs & Scripting. Share this post Link to post Share on other sites
catito14 0 Posted October 26, 2008 Hi Q, i´m lookin for the .rpt but i cant find it ... Share this post Link to post Share on other sites
fabiantronc 0 Posted October 26, 2008 look at : C:\Documents and Settings\username\Local Settings\Application Data\ArmA the file it's called arma.rpt and usually it's hidden and the size it's about 2 MB. Ah you can open the .rpt with a text editor like Notepad. if you have the spanish version of Microsoft will be like this : C:\Documents and Settings\Administrador\Configuración local\Datos de programa\ArmA Suerte. Share this post Link to post Share on other sites