opendome 91 Posted March 20, 2016 Hi everyone! Im currently trying to make a replacement pack for the BIS russians to be replaced by Vietcong units from the UNSUNG mod but Im having a bit of trouble, the weapon replacements work fine but the unit replacements themselves aren't working. I tried using a pre-existing replacement pack for the russians as a template but I get "cannot open object" errors for the models. eg "cannot open object uns\addons\uns_east\uns_vc3amg.p3d" when I try and test by putting down a machine gunner. I also get a "No entry 'bin\config.bin/cfgskeletons.OFP2_ManSkeleton" #define _ARMA_ //Class config.bin{ class CfgPatches { class UNSUNG_Replacement { units[] = {}; weapons[] = {}; requiredVersion = 1; requiredAddons[] = {"CAData","CACharacters","CACharacters2","uns_main","uns_east","uns_men_VC_local","uns_weap"}; }; }; class CfgVehicles { class Land; class Man; class CAManBase; class SoldierEB; class RU_Soldier_Base; class RU_Soldier: RU_Soldier_Base { model= "\uns\addons\uns_east\uns_vc8a"; Picture = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\i_null_CA.paa"; Icon = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\icon_soldier_ca.paa"; portrait = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\port_vcmfsoldier1"; canCarryBackPack = 1; backpack = "uns_PAVN_Pack_2"; facetype = "Man"; identitytypes[] = {"UNS_Head_Viet"}; nameSound = "veh_man"; languages[] = {}; RUG_DSAI_LANG = UNS_DSAIVIET; genericNames = "VietnameseMen"; class Wounds { tex[] = {}; mat[] = { "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl.rvmat", "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl_wound1.rvmat", "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl_wound2.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\soldier_body.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\us_wound1.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\us_wound2.rvmat"}; }; }; class RU_Soldier2: RU_Soldier_Base { model = "\uns\addons\uns_east\uns_vc2amed"; Picture = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\i_med_CA.paa"; Icon = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\icon_medic_ca.paa"; portrait = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\port_vcmfmedic1"; canCarryBackPack = 1; backpack = "uns_PAVN_Pack_2"; facetype = "Man"; identitytypes[] = {"UNS_Head_Viet"}; class Wounds { tex[] = {}; mat[] = { "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl.rvmat", "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl_wound1.rvmat", "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl_wound2.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\soldier_body.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\us_wound1.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\us_wound2.rvmat"}; }; }; class RU_Soldier_GL: RU_Soldier_Base { model = "\uns\addons\uns_east\uns_vc11a"; Picture = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\i_sf_CA.paa"; Icon = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\icon_special_ca.paa"; portrait = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\port_vcmfreconsoldier1"; identitytypes[] = {"UNS_Head_Viet_DC"}; backpack = "uns_PAVN_Pack_3"; //canCarryBackPack = 1; class Wounds { tex[] = {}; mat[] = { "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl.rvmat", "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl_wound1.rvmat", "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl_wound2.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\soldier_body.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\us_wound1.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\us_wound2.rvmat"}; }; }; /*class RU_Soldier_Light: RU_Soldier_Base { //canCarryBackPack = 1; };*/ class RU_Soldier_Officer: RU_Soldier_Base { model = "\uns\addons\uns_east\uns_vc1a"; Picture = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\i_cmdr_ca.paa"; Icon = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\icon_officer_ca.paa"; portrait = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\port_vcmfoff1"; //canCarryBackPack = 1; class Wounds { tex[] = {}; mat[] = { "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl.rvmat", "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl_wound1.rvmat", "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl_wound2.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\soldier_body.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\us_wound1.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\us_wound2.rvmat"}; }; }; class RU_Soldier_SL: RU_Soldier_Base { model = "\uns\addons\uns_east\uns_vc1a"; Picture = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\i_off_ca.paa"; Icon = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\icon_officer_ca.paa"; portrait = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\port_vcmfoff1"; //canCarryBackPack = 1; class Wounds { tex[] = {}; mat[] = { "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl.rvmat", "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl_wound1.rvmat", "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl_wound2.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\soldier_body.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\us_wound1.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\us_wound2.rvmat"}; }; }; class RU_Soldier_TL: RU_Soldier_Base { model = "\uns\addons\uns_east\uns_vc8a"; Picture = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\i_sleader_CA.paa"; Icon = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\icon_leader_ca.paa"; portrait = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\port_vcmfoff2"; //canCarryBackPack = 1; class Wounds { tex[] = {}; mat[] = { "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl.rvmat", "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl_wound1.rvmat", "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl_wound2.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\soldier_body.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\us_wound1.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\us_wound2.rvmat"}; }; }; class RU_Soldier_MG: RU_Soldier_Base { model = "\uns\addons\uns_east\uns_vc10a"; Picture = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\i_hmg_ca.paa"; Icon = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\icon_machinegunner_ca.paa"; portrait = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\port_vcmfmg2"; //canCarryBackPack = 1; class Wounds { tex[] = {}; mat[] = { "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl.rvmat", "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl_wound1.rvmat", "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl_wound2.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\soldier_body.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\us_wound1.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\us_wound2.rvmat"}; }; }; class RU_Soldier_AR: RU_Soldier_Base { model = "\uns\addons\uns_east\uns_vc3amg"; Picture = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\i_hmg_ca.paa"; Icon = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\icon_machinegunner_ca.paa"; portrait = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\port_vcmfmg1"; //canCarryBackPack = 1; class Wounds { tex[] = {}; mat[] = { "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl.rvmat", "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl_wound1.rvmat", "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl_wound2.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\soldier_body.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\us_wound1.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\us_wound2.rvmat"}; }; }; class RU_Soldier_LAT: RU_Soldier_Base { model = "\uns\addons\uns_east\uns_vc4arpg"; Picture = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\i_tleader_ca.paa"; Icon = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\icon_launcher_ca.paa"; portrait = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\port_vcmfat1"; //canCarryBackPack = 1; class Wounds { tex[] = {}; mat[] = { "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl.rvmat", "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl_wound1.rvmat", "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl_wound2.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\soldier_body.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\us_wound1.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\us_wound2.rvmat"}; }; }; class RU_Soldier_AT: RU_Soldier_Base { model = "\uns\addons\uns_east\uns_vc4arpg"; Picture = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\i_tleader_ca.paa"; Icon = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\icon_launcher_ca.paa"; portrait = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\port_vcmfat2"; //canCarryBackPack = 1; class Wounds { tex[] = {}; mat[] = { "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl.rvmat", "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl_wound1.rvmat", "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl_wound2.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\soldier_body.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\us_wound1.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\us_wound2.rvmat"}; }; }; class RU_Soldier_HAT: RU_Soldier_Base { model = "\uns\addons\uns_east\uns_vc4arpg"; Picture = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\i_mort_ca.paa"; Icon = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\icon_launcher_ca.paa"; portrait = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\port_vcmfat1"; backpack = "Uns_2b14_82mmMortarVC_Bag"; //canCarryBackPack = 1; class Wounds { tex[] = {}; mat[] = { "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl.rvmat", "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl_wound1.rvmat", "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl_wound2.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\soldier_body.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\us_wound1.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\us_wound2.rvmat"}; }; }; class RU_Soldier_AA: RU_Soldier_Base { model = "\uns\addons\uns_east\uns_vc10a"; Picture = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\i_hmg_ca.paa"; Icon = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\icon_machinegunner_ca.paa"; portrait = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\port_vcmfmg1"; backpack = "uns_VC_pk_TriPod_Bag"; //canCarryBackPack = 1; class Wounds { tex[] = {}; mat[] = { "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl.rvmat", "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl_wound1.rvmat", "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl_wound2.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\soldier_body.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\us_wound1.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\us_wound2.rvmat"}; }; }; class RU_Soldier_Marksman: RU_Soldier_Base { model = "\uns\addons\uns_east\uns_vc9a"; Picture = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\i_mrk_ca.paa"; Icon = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\icon_sniper_ca.paa"; portrait = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\port_vcmfreconsoldier3"; identitytypes[] = {"UNS_Head_Viet_DC"}; backpack = "uns_PAVN_Pack_3"; //canCarryBackPack = 1; class Wounds { tex[] = {}; mat[] = { "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl.rvmat", "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl_wound1.rvmat", "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl_wound2.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\soldier_body.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\us_wound1.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\us_wound2.rvmat"}; }; }; class RU_Soldier_Medic: RU_Soldier_Base { model = "\uns\addons\uns_east\uns_vc2amed"; Picture = "\uns_east\icon\i_med_CA.paa"; Icon = "\uns_east\icon\icon_medic_ca.paa"; portrait = "\uns_east\icon\port_vcmfmedic1"; canCarryBackPack = 1; backpack = "uns_PAVN_Pack_2"; facetype = "Man"; identitytypes[] = {"UNS_Head_Viet"}; class Wounds { tex[] = {}; mat[] = { "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl.rvmat", "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl_wound1.rvmat", "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl_wound2.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\soldier_body.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\us_wound1.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\us_wound2.rvmat"}; }; }; class RU_Soldier_Crew: RU_Soldier_Base { model = "\uns\addons\uns_east\uns_vc9a"; Picture = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\i_sf_CA.paa"; Icon = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\icon_special_ca.paa"; portrait = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\port_vcmfreconsoldier2"; identitytypes[] = {"UNS_Head_Viet_DC"}; backpack = "uns_PAVN_Pack_3"; //canCarryBackPack = 1; class Wounds { tex[] = {}; mat[] = { "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl.rvmat", "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl_wound1.rvmat", "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl_wound2.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\soldier_body.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\us_wound1.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\us_wound2.rvmat"}; }; }; class RU_Soldier_Engineer: RU_Soldier_Base { model = "\uns\addons\uns_east\uns_vc6asap"; Picture = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\i_sap_ca.paa"; Icon = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\icon_eng_ca.paa"; portrait = "\uns\addons\uns_men_VC_mainforce\uns_east\icon\port_vcmfsapper2"; identitytypes[] = {"UNS_Head_Viet_DC"}; backpack = "uns_PAVN_Sapper_Pack"; canCarryBackPack = 1; canDeactivateMines = 1; engineer = 1; class Wounds { tex[] = {}; mat[] = { "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl.rvmat", "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl_wound1.rvmat", "uns\addons\uns_men_VC_mainforce\uns_east\data\vc_hhl_wound2.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\soldier_body.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\us_wound1.rvmat", "uns\addons\uns_men_VC_mainforce\uns_army\data\us_wound2.rvmat"}; }; }; }; //}; Share this post Link to post Share on other sites
opendome 91 Posted March 20, 2016 nm shrinking the directories down to the pbo level did the trick! Share this post Link to post Share on other sites