New units - Crash to desktop, I created new units and throw me to desktop |
New units - Crash to desktop, I created new units and throw me to desktop |
Oct 26 2008, 20:48
Post
#1
|
|
Member Group: Members Posts: 60 Joined: 3-July 07 Member No.: 950 |
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. 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,HandGrenadeTi med,HandGrenadeTimed,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,HandGrenadeTi med,HandGrenadeTimed,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_brow ningmag,handgrenadetimed,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,HandGrenadeTi med,HandGrenadeTimed,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,HandGrenadeTi med,HandGrenadeTimed,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_brow ningmag}; }; 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_brown ingmag,MLV_browningmag,mlv_browningmag,MLV_browningmag,MLV_browningmag,SmokeShel l,SmokeShell,HandGrenadeTimed}; }; 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,H andGrenadeTimed,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,HandGrenadeTi med,HandGrenadeTimed,pipebomb, pipebomb,MLV_browningmag,MLV_browningmag,mlv_browningmag,SmokeShell}; }; }; }; from already thank you! Regards catito14 -------------------- |
|
|
Lo-Fi Version | Time is now: 23rd April 2024 - 08:42 |