giallustio 770 Posted October 3, 2013 Hi guys! A clan mate of mine is trying to make a porting of the M249 but he has some problems! He's using the BI's released models and he's very new at this so i hope someone can help him. Problems: - Wrong hands position - Flash muzzles always shown - Mags doesn't disappear when reloading - Config errors RPT: Warning Message: No entry 'bin\config.bin/CfgWeapons.defaultItem1'. Warning Message: No entry '.scope'. Warning Message: '/' is not a value Warning Message: Error: creating weapon defaultItem1 with scope=private Warning Message: No entry '.displayName'. Warning Message: '/' is not a value Warning Message: No entry '.disposableWeapon'. Warning Message: '/' is not a value Warning Message: No entry '.nameSound'. Warning Message: '/' is not a value Warning Message: No entry '.type'. Warning Message: '/' is not a value Warning Message: No entry '.picture'. Warning Message: '/' is not a value Warning Message: No entry '.Library'. Warning Message: No entry '.libTextDesc'. Warning Message: '/' is not a value Warning Message: No entry '.model'. Warning Message: '/' is not a value Warning Message: No entry '.simulation'. Warning Message: '/' is not a value Warning Message: No entry '.fireLightDuration'. Warning Message: '/' is not a value Warning Message: No entry '.fireLightIntensity'. Warning Message: '/' is not a value Warning Message: No entry '.fireLightDiffuse'. Warning Message: Size: '/' not an array Warning Message: Size: '/' not an array Warning Message: No entry '.fireLightAmbient'. Warning Message: Size: '/' not an array Warning Message: Size: '/' not an array Warning Message: No entry '.weaponLockDelay'. Warning Message: '/' is not a value Warning Message: No entry '.weaponLockSystem'. Warning Message: '/' is not a value Warning Message: No entry '.cmImmunity'. Warning Message: '/' is not a value Warning Message: No entry '.weight'. Warning Message: '/' is not a value Warning Message: No entry '.lockingTargetSound'. Warning Message: Size: '/' not an array Warning Message: No entry '.lockedTargetSound'. Warning Message: Size: '/' not an array Warning Message: No entry '.detectRange'. Warning Message: '/' is not a value Warning Message: No entry '.muzzles'. Warning Message: Size: '/' not an array Warning Message: No entry 'bin\config.bin/CfgWeapons.defaultItem2'. Warning Message: No entry '.scope'. Warning Message: '/' is not a value Warning Message: Error: creating weapon defaultItem2 with scope=private Warning Message: No entry '.displayName'. Warning Message: '/' is not a value Warning Message: No entry '.disposableWeapon'. Warning Message: '/' is not a value Warning Message: No entry '.nameSound'. Warning Message: '/' is not a value Warning Message: No entry '.type'. Warning Message: '/' is not a value Warning Message: No entry '.picture'. Warning Message: '/' is not a value Warning Message: No entry '.Library'. Warning Message: No entry '.libTextDesc'. Warning Message: '/' is not a value Warning Message: No entry '.model'. Warning Message: '/' is not a value Warning Message: No entry '.simulation'. Warning Message: '/' is not a value Warning Message: No entry '.fireLightDuration'. Warning Message: '/' is not a value Warning Message: No entry '.fireLightIntensity'. Warning Message: '/' is not a value Warning Message: No entry '.fireLightDiffuse'. Warning Message: Size: '/' not an array Warning Message: Size: '/' not an array Warning Message: No entry '.fireLightAmbient'. Warning Message: Size: '/' not an array Warning Message: Size: '/' not an array Warning Message: No entry '.weaponLockDelay'. Warning Message: '/' is not a value Warning Message: No entry '.weaponLockSystem'. Warning Message: '/' is not a value Warning Message: No entry '.cmImmunity'. Warning Message: '/' is not a value Warning Message: No entry '.weight'. Warning Message: '/' is not a value Warning Message: No entry '.lockingTargetSound'. Warning Message: Size: '/' not an array Warning Message: No entry '.lockedTargetSound'. Warning Message: Size: '/' not an array Warning Message: No entry '.detectRange'. Warning Message: '/' is not a value Warning Message: No entry '.muzzles'. Warning Message: Size: '/' not an array Attempt to override final function - bis_functions_list Attempt to override final function - bis_functions_listpreinit Attempt to override final function - bis_functions_listpostinit Attempt to override final function - bis_functions_listrecompile [5832,90.453,0,"XEH: PreInit Started. v1.0.4.198. MISSINIT: missionName=, worldName=Stratis, isMultiplayer=false, isServer=true, isDedicated=false"] [5832,93.865,0,"XEH: PreInit Finished. CACHE DISABLED? (Disable caching with cba_cache_disable.pbo): SLX_XEH_RECOMPILE=false, CBA_COMPILE_RECOMPILE=false, CBA_FUNC_RECOMPILE=false"] Attempt to override final function - bis_fnc_missiontaskslocal Attempt to override final function - bis_fnc_missionconversationslocal Attempt to override final function - bis_fnc_missionflow bin\config.bin/CfgMovesMaleSdr/States/AmovPknlMevaSrasWpstDr.InterpolateTo: Bad move AmovPknlMsprSlowWpstDf_AmovPpneMstpSrasWpstDnon bin\config.bin/CfgMovesMaleSdr/States/AmovPknlMevaSrasWpstDl.InterpolateTo: Bad move AmovPknlMsprSlowWpstDf_AmovPpneMstpSrasWpstDnon bin\config.bin/CfgMovesMaleSdr/States/aadjpknlmstpsraswrflddown_tmr_deploy.InterpolateFrom: Bad move aaadjpknlmstpsraswrflddown Animation o:\arma3\a3\anims_f_epa\data\anim\sdr\cts\hubcleaned\wave\hubwave_move1.rtm not found or empty Animation o:\arma3\a3\anims_f_epa\data\anim\sdr\cts\hubcleaned\wave\hubwave_move2.rtm not found or empty Animation a3\air_f_delta\plane_fighter_01\data\anim\kia_plane_fighter_01_pilot.rtm not found or empty Animation a3\air_f_delta\plane_fighter_01\data\anim\plane_fighter_01_pilot.rtm not found or empty Animation a3\air_f_beta\heli_attack_01\data\anim\heli_attack_01_pilot_kia.rtm not found or empty Animation a3\air_f_beta\heli_attack_01\data\anim\pilot_heli_light_02_kia.rtm not found or empty Animation a3\air_f_beta\heli_attack_01\data\anim\copilot_heli_light_02_kia.rtm not found or empty Animation a3\air_f_delta\plane_transport_01\data\anim\kia_plane_transport_01_pilot.rtm not found or empty Animation a3\air_f_delta\plane_transport_01\data\anim\plane_transport_01_pilot.rtm not found or empty Old style material flags used - 201 (with texture btc_ei_m249\data\btc_m249_co.paa) Old style material flags used - 201 (with texture btc_ei_m249\data\btc_m249_co.paa) Old style material flags used - 201 (with texture btc_ei_m249\data\btc_m249_co.paa) Old style material flags used - 201 (with texture btc_ei_m249\data\btc_m249_co.paa) Warning: btc_ei_m249\btc_m249.p3d:0.7 Error while trying to generate ST for points: 3445, 3444, 3453 Warning: btc_ei_m249\btc_m249.p3d:0.7 Error while trying to generate ST for points: 3445, 3453, 3454 Warnings in btc_ei_m249\btc_m249.p3d:0.7 Old style material flags used - 201 (with texture btc_ei_m249\data\btc_m249_co.paa) Old style material flags used - 201 (with texture btc_ei_m249\data\btc_m249_co.paa) Old style material flags used - 201 (with texture btc_ei_m249\data\btc_m249_co.paa) Old style material flags used - 201 (with texture btc_ei_m249\data\btc_m249_co.paa) Warning: btc_ei_m249\btc_m249.p3d:VIEW_PILOT Error while trying to generate ST for points: 3445, 3444, 3453 Warning: btc_ei_m249\btc_m249.p3d:VIEW_PILOT Error while trying to generate ST for points: 3445, 3453, 3454 Warnings in btc_ei_m249\btc_m249.p3d:VIEW_PILOT Warnings in btc_ei_m249\btc_m249.p3d:shadow(1000) Config: class cfgpatches { class BTC_EI_m249 { units[] = {}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"A3_Weapons_F_Machineguns_M200"}; }; }; class CfgWeapons { class LMG_Mk200_F; class BTC_m249_EI: LMG_Mk200_F { scope = 2; magazines[] = {"100Rnd_556x45_Stanag","200Rnd_556x45_Stanag","30Rnd_556x45_Stanag"}; class ItemInfo { priority = 1; }; model = "\BTC_EI_m249\BTC_m249.p3d"; displayName = "M249"; picture = "\BTC_EI_m249\BTC_i_m249.paa"; UiPicture = "\BTC_EI_m249\BTC_ui_m249.paa"; class Library { libTextDesc = "$STR_A3_CfgWeapons_LMG_Mk200_Library0"; }; descriptionShort = "$STR_A3_CfgWeapons_LMG_Mk2001"; class WeaponSlotsInfo { //allowedslots[] = {901}; //mass = 4; class MuzzleSlot : SlotInfo { }; class CowsSlot { access = 1; compatibleitems[] = {"optic_Arco", "optic_aco", "optic_ACO_grn", "optic_hamr", "optic_Holosight", "optic_MRCO"}; displayname = "Optics Slot"; linkproxy = "\A3\data_f\proxies\weapon_slots\TOP"; scope = 0; }; class PointerSlot { }; }; }; }; //}; enum { destructengine=2, destructdefault=6, destructwreck=7, destructtree=3, destructtent=4, stabilizedinaxisx=1, stabilizedinaxesxyz=4, stabilizedinaxisy=2, stabilizedinaxesboth=3, destructno=0, stabilizedinaxesnone=0, destructman=5, destructbuilding=1 }; Model config: class CfgSkeletons { class Default { isDiscrete=1; skeletonInherit=""; skeletonBones[]={}; }; class BTC_lmg_base: Default { skeletonBones[]= { "magazine", "", "bolt", "", "ironsights", "", "muzzle", "", "zasleh", "", "trigger", "", "charging_handle", "", "ammo_belt", "", "ammo_belt_bottom", "", "siderail", "" }; }; }; class CfgModels { class Default { sectionsInherit=""; sections[]={}; skeletonName=""; }; class BTC_lmg_base: Default { sections[]= { "zasleh", "magazine", "bolt", "ironsights", "muzzle", "trigger", "siderail", "camo", "camo2", "camo3", "camo4", "charging_handle", "ammo_belt1" }; skeletonName="BTC_lmg_base"; class Animations { class ammo_belt_rotation { type="rotationX"; source="reload"; selection="ammo_belt"; axis="ammo_belt_axis"; memory=1; sourceAddress="loop"; minValue=0.000000; maxValue=1.000000; angle0=0.000000; angle1=-0.261799; }; class ammo_belt_bottom { type="translation"; source="reload"; selection="ammo_belt_bottom"; memory=1; sourceAddress="loop"; minValue=0.000000; maxValue=1.000000; begin="ammo_belt_start"; end="ammo_belt_end"; offset0=0.000000; offset1=0.080000; }; class ammo_belt_bottom_rot { type="rotationX"; source="reload"; selection="ammo_belt_bottom"; axis="ammo_belt_axis"; memory=1; sourceAddress="loop"; minValue=0.000000; maxValue=1.000000; angle0=0.000000; angle1=-0.139626; }; class muzzleflash_hide { type="hide"; source="hasSuppressor"; selection="zasleh"; minValue=0; maxvalue=0.25; hideValue=0.0099999998; }; class MuzzleFlashROT { type="rotationX"; source="ammoRandom"; sourceAddress="loop"; memory=1; animPeriod=0; selection="zasleh"; axis="zasleh_axis"; minValue=0; maxValue=4; minPhase=0; maxPhase=4; angle0="rad 0"; angle1="rad 360"; }; class reload_magazine_hide { type="hide"; source="reloadMagazine"; selection="magazine"; minValue=0; maxValue=1; minPhase=0; maxPhase=1; hideValue=1; sourceAddress="mirror"; }; class bolt { type="translation"; source="reload"; selection="bolt"; axis="bolt_axis"; memory=1; minValue=0; maxValue="1"; offset0="0"; offset1="1"; }; class bolt_empty { type="translation"; source="isempty"; selection="bolt"; memory=1; sourceAddress="clamp"; minValue=0; maxValue=1; begin="bolt_start"; end="bolt_end"; offset0=0; offset1=1; }; class muzzle_hide { type="hide"; source="hasSuppressor"; selection="muzzle"; animPeriod=0; minValue=0; maxValue=0.30000001; minPhase=0; maxPhase=0.30000001; hideValue=0.1; sourceAddress="mirror"; }; class charging_handle { type="translationX"; source="reload"; selection="charging_handle"; axis="charging_handle_axis"; sourceAddress="loop"; animPeriod=1; memory=1; minValue="0"; maxValue="0.1"; angle0="0"; angle1="-0.1"; }; class ammo_belt { type="Rotation"; source="reload"; selection="ammo_belt1"; axis="ammo_belt_axis"; sourceAddress="loop"; animPeriod=1; memory=1; minValue=0; maxValue="5"; angle0="0"; angle1="5"; }; class ammo_belt_hide { type="hide"; source="reloadMagazine"; selection="ammo_belt1"; hidevalue=0.75; }; class ammobelt_empty_hide { type="hide"; source="isEmpty"; selection="ammo_belt1"; minValue=0; maxValue=1; hideValue=1; }; class siderails_hide { type="hide"; source="hasAccessory"; selection="siderail"; animPeriod=0; minValue=0; maxValue=0.30000001; minPhase=0; maxPhase=0.30000001; hideValue=0.1; sourceAddress="mirror"; }; class unloaded_magazine_hide { type="hide"; source="hasMagazine"; selection="magazine"; hideValue=0.1; }; class trigger { type="translationX"; source="reload"; selection="trigger"; axis=""; animPeriod=0; memory="false"; minValue=0; maxValue=0.0099999998; }; class Object01_1 { selection="Object01"; }; }; }; class BTC_m249_EI: BTC_lmg_base { class Aniations: Animations { }; }; }; Share this post Link to post Share on other sites
da12thMonkey 1943 Posted October 3, 2013 In the model.cfg, your cfgmodels classname (currently class BTC_m249_base) must to be the same as the .p3d file you are trying to apply the model.cfg to (btc_m249.p3d), not the same as the cfgweapons classname from your config.cpp. Change the line in the model.cfg to class btc_lmg: Default or rename the .p3d, and it should fix the issue you're having with the muzzle and magazines not animating. Fixing the hand position either requires moving the model around in O2 relative to the grid origin (0,0,0) until it looks okay-ish ingame using the existing BIS animations, or you'll need to make a new handanim .rtm to make it match the model perfectly. Share this post Link to post Share on other sites
giallustio 770 Posted October 3, 2013 We fixed the muzzle flash error with your hint, but we keep getting this error: Warning Message: Error: creating weapon defaultItem1 with scope=private Full RPT: Cannot load sound 'a3\ui_f\data\sound\new1.wss' Cannot load sound 'a3\ui_f\data\sound\onclick.wss' Cannot load sound 'a3\ui_f\data\sound\new1.wss' Cannot load sound 'a3\ui_f\data\sound\onclick.wss' Warning Message: Picture \btc_ei_m249\btc_i_m249.paa not found Cannot load sound 'a3\ui_f\data\sound\new1.wss' Cannot load sound 'a3\ui_f\data\sound\onclick.wss' Cannot load sound 'a3\ui_f\data\sound\new1.wss' Cannot load sound 'a3\ui_f\data\sound\onclick.wss' Cannot load sound 'a3\ui_f\data\sound\new1.wss' Cannot load sound 'a3\ui_f\data\sound\onclick.wss' Cannot load sound 'a3\ui_f\data\sound\new1.wss' Cannot load sound 'a3\ui_f\data\sound\onclick.wss' Warning Message: Picture \btc_ei_m249\btc_i_m249.paa not found Cannot load sound 'a3\ui_f\data\sound\new1.wss' Cannot load sound 'a3\ui_f\data\sound\onclick.wss' Cannot load sound 'a3\ui_f\data\sound\new1.wss' Cannot load sound 'a3\ui_f\data\sound\onclick.wss' Cannot load sound 'a3\ui_f\data\sound\new1.wss' Cannot load sound 'a3\ui_f\data\sound\onclick.wss' Cannot load sound 'a3\ui_f\data\sound\new1.wss' Cannot load sound 'a3\ui_f\data\sound\onclick.wss' Cannot load sound 'a3\ui_f\data\sound\onclick.wss' Cannot load sound 'a3\ui_f\data\sound\new1.wss' Cannot load sound 'a3\ui_f\data\sound\onclick.wss' Cannot load sound 'a3\ui_f\data\sound\onclick.wss' Cannot load sound 'a3\ui_f\data\sound\new1.wss' Cannot load sound 'a3\ui_f\data\sound\onclick.wss' Cannot load sound 'a3\ui_f\data\sound\onclick.wss' Cannot load sound 'a3\ui_f\data\sound\new1.wss' Cannot load sound 'a3\ui_f\data\sound\onclick.wss' Cannot load sound 'a3\ui_f\data\sound\onclick.wss' Cannot load sound 'a3\ui_f\data\sound\new1.wss' Cannot load sound 'a3\ui_f\data\sound\onclick.wss' Warning Message: Picture \btc_ei_m249\btc_i_m249.paa not found Warning Message: No entry 'bin\config.bin/CfgWeapons.defaultItem1'. Warning Message: No entry '.scope'. Warning Message: '/' is not a value Warning Message: Error: creating weapon defaultItem1 with scope=private Warning Message: No entry '.displayName'. Warning Message: '/' is not a value Warning Message: No entry '.disposableWeapon'. Warning Message: '/' is not a value Warning Message: No entry '.nameSound'. Warning Message: '/' is not a value Warning Message: No entry '.type'. Warning Message: '/' is not a value Warning Message: No entry '.picture'. Warning Message: '/' is not a value Warning Message: No entry '.Library'. Warning Message: No entry '.libTextDesc'. Warning Message: '/' is not a value Warning Message: No entry '.model'. Warning Message: '/' is not a value Warning Message: No entry '.simulation'. Warning Message: '/' is not a value Warning Message: No entry '.fireLightDuration'. Warning Message: '/' is not a value Warning Message: No entry '.fireLightIntensity'. Warning Message: '/' is not a value Warning Message: No entry '.fireLightDiffuse'. Warning Message: Size: '/' not an array Warning Message: Size: '/' not an array Warning Message: No entry '.fireLightAmbient'. Warning Message: Size: '/' not an array Warning Message: Size: '/' not an array Warning Message: No entry '.weaponLockDelay'. Warning Message: '/' is not a value Warning Message: No entry '.weaponLockSystem'. Warning Message: '/' is not a value Warning Message: No entry '.cmImmunity'. Warning Message: '/' is not a value Warning Message: No entry '.weight'. Warning Message: '/' is not a value Warning Message: No entry '.lockingTargetSound'. Warning Message: Size: '/' not an array Warning Message: No entry '.lockedTargetSound'. Warning Message: Size: '/' not an array Warning Message: No entry '.detectRange'. Warning Message: '/' is not a value Warning Message: No entry '.muzzles'. Warning Message: Size: '/' not an array Warning Message: No entry 'bin\config.bin/CfgWeapons.defaultItem2'. Warning Message: No entry '.scope'. Warning Message: '/' is not a value Warning Message: Error: creating weapon defaultItem2 with scope=private Warning Message: No entry '.displayName'. Warning Message: '/' is not a value Warning Message: No entry '.disposableWeapon'. Warning Message: '/' is not a value Warning Message: No entry '.nameSound'. Warning Message: '/' is not a value Warning Message: No entry '.type'. Warning Message: '/' is not a value Warning Message: No entry '.picture'. Warning Message: '/' is not a value Warning Message: No entry '.Library'. Warning Message: No entry '.libTextDesc'. Warning Message: '/' is not a value Warning Message: No entry '.model'. Warning Message: '/' is not a value Warning Message: No entry '.simulation'. Warning Message: '/' is not a value Warning Message: No entry '.fireLightDuration'. Warning Message: '/' is not a value Warning Message: No entry '.fireLightIntensity'. Warning Message: '/' is not a value Warning Message: No entry '.fireLightDiffuse'. Warning Message: Size: '/' not an array Warning Message: Size: '/' not an array Warning Message: No entry '.fireLightAmbient'. Warning Message: Size: '/' not an array Warning Message: Size: '/' not an array Warning Message: No entry '.weaponLockDelay'. Warning Message: '/' is not a value Warning Message: No entry '.weaponLockSystem'. Warning Message: '/' is not a value Warning Message: No entry '.cmImmunity'. Warning Message: '/' is not a value Warning Message: No entry '.weight'. Warning Message: '/' is not a value Warning Message: No entry '.lockingTargetSound'. Warning Message: Size: '/' not an array Warning Message: No entry '.lockedTargetSound'. Warning Message: Size: '/' not an array Warning Message: No entry '.detectRange'. Warning Message: '/' is not a value Warning Message: No entry '.muzzles'. Warning Message: Size: '/' not an array Old style material flags used - 201 (with texture btc_ei_m249\data\btc_m249_co.paa) Old style material flags used - 201 (with texture btc_ei_m249\data\btc_m249_co.paa) Old style material flags used - 201 (with texture btc_ei_m249\data\btc_m249_co.paa) Old style material flags used - 201 (with texture btc_ei_m249\data\btc_m249_co.paa) Error: btc_ei_m249\btc_m249.p3d:0.7, vertices of bone ammo_belt are shared with bone magazine Error: btc_ei_m249\btc_m249.p3d:0.7, vertices of bone ammo_belt_bottom are shared with bone magazine Error: btc_ei_m249\btc_m249.p3d:0.7, vertices of bone ammo_belt are shared with bone magazine Error: btc_ei_m249\btc_m249.p3d:0.7, vertices of bone ammo_belt_bottom are shared with bone magazine Error: btc_ei_m249\btc_m249.p3d:0.7, vertices of bone ammo_belt are shared with bone magazine Error: btc_ei_m249\btc_m249.p3d:0.7, vertices of bone ammo_belt_bottom are shared with bone magazine Error: btc_ei_m249\btc_m249.p3d:0.7, vertices of bone ammo_belt are shared with bone magazine Error: btc_ei_m249\btc_m249.p3d:0.7, vertices of bone ammo_belt_bottom are shared with bone magazine Warning: btc_ei_m249\btc_m249.p3d:0.7 Error while trying to generate ST for points: 3445, 3444, 3453 Warning: btc_ei_m249\btc_m249.p3d:0.7 Error while trying to generate ST for points: 3445, 3453, 3454 Warnings in btc_ei_m249\btc_m249.p3d:0.7 Old style material flags used - 201 (with texture btc_ei_m249\data\btc_m249_co.paa) Old style material flags used - 201 (with texture btc_ei_m249\data\btc_m249_co.paa) Old style material flags used - 201 (with texture btc_ei_m249\data\btc_m249_co.paa) Old style material flags used - 201 (with texture btc_ei_m249\data\btc_m249_co.paa) Error: btc_ei_m249\btc_m249.p3d:VIEW_PILOT, vertices of bone ammo_belt are shared with bone magazine Error: btc_ei_m249\btc_m249.p3d:VIEW_PILOT, vertices of bone ammo_belt_bottom are shared with bone magazine Error: btc_ei_m249\btc_m249.p3d:VIEW_PILOT, vertices of bone ammo_belt are shared with bone magazine Error: btc_ei_m249\btc_m249.p3d:VIEW_PILOT, vertices of bone ammo_belt_bottom are shared with bone magazine Error: btc_ei_m249\btc_m249.p3d:VIEW_PILOT, vertices of bone ammo_belt are shared with bone magazine Error: btc_ei_m249\btc_m249.p3d:VIEW_PILOT, vertices of bone ammo_belt_bottom are shared with bone magazine Error: btc_ei_m249\btc_m249.p3d:VIEW_PILOT, vertices of bone ammo_belt are shared with bone magazine Error: btc_ei_m249\btc_m249.p3d:VIEW_PILOT, vertices of bone ammo_belt_bottom are shared with bone magazine Warning: btc_ei_m249\btc_m249.p3d:VIEW_PILOT Error while trying to generate ST for points: 3445, 3444, 3453 Warning: btc_ei_m249\btc_m249.p3d:VIEW_PILOT Error while trying to generate ST for points: 3445, 3453, 3454 Warnings in btc_ei_m249\btc_m249.p3d:VIEW_PILOT Warning: btc_ei_m249\btc_m249.p3d:shadow(0), Selection magazine needs a section. The shadow volume may not work well. Warning: btc_ei_m249\btc_m249.p3d:shadow(10), Selection magazine needs a section. The shadow volume may not work well. Warnings in btc_ei_m249\btc_m249.p3d:shadow(1000) Warning Message: No entry 'model.cfg/CfgModels/BTC_m249/Animations/Object01_1.type'. Warning Message: '/' is not a value Unknown animation type LODShape::AddLoadHandler: Handler not present in shape [a3\weapons_f\empty.p3d] LODShape::AddLoadHandler: Handler not present in shape [a3\weapons_f\empty.p3d] LODShape::AddLoadHandler: Handler not present in shape [a3\weapons_f\empty.p3d] LODShape::AddLoadHandler: Handler not present in shape [a3\weapons_f\empty.p3d] LODShape::AddLoadHandler: Handler not present in shape [a3\weapons_f\empty.p3d] LODShape::AddLoadHandler: Handler not present in shape [a3\weapons_f\empty.p3d] LODShape::AddLoadHandler: Handler not present in shape [a3\weapons_f\empty.p3d] LODShape::AddLoadHandler: Handler not present in shape [a3\weapons_f\empty.p3d] LODShape::AddLoadHandler: Handler not present in shape [a3\weapons_f\empty.p3d] LODShape::AddLoadHandler: Handler not present in shape [a3\weapons_f\empty.p3d] LODShape::AddLoadHandler: Handler not present in shape [a3\weapons_f\empty.p3d] LODShape::AddLoadHandler: Handler not present in shape [a3\weapons_f\empty.p3d] Here the model.cfg: class CfgSkeletons { class Default { isDiscrete=1; skeletonInherit=""; skeletonBones[]={}; }; class BTC_m249: Default { skeletonBones[]= { "magazine", "", "bolt", "", "ironsights", "", "muzzle", "", "zasleh", "", "trigger", "", "charging_handle", "", "ammo_belt", "", "ammo_belt_bottom", "", "siderail", "" }; }; }; class CfgModels { class Default { sectionsInherit=""; sections[]={}; skeletonName=""; }; class BTC_m249: Default { sections[]= { "zasleh", "magazine", "bolt", "ironsights", "muzzle", "trigger", "siderail", "camo", "camo2", "camo3", "camo4", "charging_handle", "ammo_belt1" }; skeletonName="BTC_m249"; class Animations { class ammo_belt_rotation { type="rotationX"; source="reload"; selection="ammo_belt"; axis="ammo_belt_axis"; memory=1; sourceAddress="loop"; minValue=0.000000; maxValue=1.000000; angle0=0.000000; angle1=-0.261799; }; class ammo_belt_bottom { type="translation"; source="reload"; selection="ammo_belt_bottom"; memory=1; sourceAddress="loop"; minValue=0.000000; maxValue=1.000000; begin="ammo_belt_start"; end="ammo_belt_end"; offset0=0.000000; offset1=0.080000; }; class ammo_belt_bottom_rot { type="rotationX"; source="reload"; selection="ammo_belt_bottom"; axis="ammo_belt_axis"; memory=1; sourceAddress="loop"; minValue=0.000000; maxValue=1.000000; angle0=0.000000; angle1=-0.139626; }; class muzzleflash_hide { type="hide"; source="hasSuppressor"; selection="zasleh"; minValue=0; maxvalue=0.25; hideValue=0.0099999998; }; class MuzzleFlashROT { type="rotationX"; source="ammoRandom"; sourceAddress="loop"; memory=1; animPeriod=0; selection="zasleh"; axis="zasleh_axis"; minValue=0; maxValue=4; minPhase=0; maxPhase=4; angle0="rad 0"; angle1="rad 360"; }; class reload_magazine_hide { type="hide"; source="reloadMagazine"; selection="magazine"; minValue=0; maxValue=1; minPhase=0; maxPhase=1; hideValue=1; sourceAddress="mirror"; }; class bolt { type="translation"; source="reload"; selection="bolt"; axis="bolt_axis"; memory=1; minValue=0; maxValue="1"; offset0="0"; offset1="1"; }; class bolt_empty { type="translation"; source="isempty"; selection="bolt"; memory=1; sourceAddress="clamp"; minValue=0; maxValue=1; begin="bolt_start"; end="bolt_end"; offset0=0; offset1=1; }; class muzzle_hide { type="hide"; source="hasSuppressor"; selection="muzzle"; animPeriod=0; minValue=0; maxValue=0.30000001; minPhase=0; maxPhase=0.30000001; hideValue=0.1; sourceAddress="mirror"; }; class charging_handle { type="translationX"; source="reload"; selection="charging_handle"; axis="charging_handle_axis"; sourceAddress="loop"; animPeriod=1; memory=1; minValue="0"; maxValue="0.1"; angle0="0"; angle1="-0.1"; }; class ammo_belt { type="Rotation"; source="reload"; selection="ammo_belt1"; axis="ammo_belt_axis"; sourceAddress="loop"; animPeriod=1; memory=1; minValue=0; maxValue="5"; angle0="0"; angle1="5"; }; class ammo_belt_hide { type="hide"; source="reloadMagazine"; selection="ammo_belt1"; hidevalue=0.75; }; class ammobelt_empty_hide { type="hide"; source="isEmpty"; selection="ammo_belt1"; minValue=0; maxValue=1; hideValue=1; }; class siderails_hide { type="hide"; source="hasAccessory"; selection="siderail"; animPeriod=0; minValue=0; maxValue=0.30000001; minPhase=0; maxPhase=0.30000001; hideValue=0.1; sourceAddress="mirror"; }; class unloaded_magazine_hide { type="hide"; source="hasMagazine"; selection="magazine"; hideValue=0.1; }; class trigger { type="translationX"; source="reload"; selection="trigger"; axis=""; animPeriod=0; memory="false"; minValue=0; maxValue=0.0099999998; }; class Object01_1 { selection="Object01"; }; }; }; class BTC_m249_EI: BTC_m249 { class Aniations: Animations { }; }; }; Share this post Link to post Share on other sites
giallustio 770 Posted October 5, 2013 I hate bumping, but we can't find a way to fix the error and we can't find any answer with the search function. Anyone? Share this post Link to post Share on other sites
charon productions 10 Posted October 5, 2013 I hate bumping, but we can't find a way to fix the error and we can't find any answer with the search function. Anyone? Does the error still show up when you take the weapon out of your addon folder? It seems to be related to an item called defaultitem where the scope is set to private, so it can't be instantiated. Try to take the part with class ItemInfo { priority = 1; }; completely out. Or inherit it correctly. Share this post Link to post Share on other sites
giallustio 770 Posted October 5, 2013 It doesn't fix it sadly. Share this post Link to post Share on other sites
charon productions 10 Posted October 5, 2013 (edited) Usually errors like : Warning Message: No entry '.displayName'. Point to an inheritance problem. So if you would do something like : class LMG_Mk200_F { }; without inheriting the full parent config, the config would effectively be empty and displayName wouldn't be found, but is expected. Try entering actual lines into the muzzle and the pointer class, even if you just copy it from the parent rifle class. I think the fact that you left it empty might cause the problem. Furthermore, add these to your requiredaddons line: "A3_weapons_f","A3_Weapons_F_Acc", Without that the engine might not have any info about the weapon accessories, had a similar problem with my machine gun ports too. Edited October 5, 2013 by Charon Productions Share this post Link to post Share on other sites
giallustio 770 Posted October 5, 2013 Try entering actual lines into the muzzle and the pointer class, even if you just copy it from the parent rifle class. Excuse me, but i don't understand this point, what do i have to do? Share this post Link to post Share on other sites
charon productions 10 Posted October 5, 2013 class cfgpatches { class BTC_EI_m249 { units[] = {}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"A3_weapons_f","A3_Weapons_F_Acc"}; // !!! }; }; class CfgWeapons { /*extern*/ class Rifle; class Rifle_Base_F: Rifle { /*extern*/ class WeaponSlotsInfo; // !!! /*extern*/ class GunParticles; }; /*extern*/ class optic_Aco; class LMG_Mk200_F; class BTC_m249_EI: LMG_Mk200_F { scope = 2; magazines[] = {"100Rnd_556x45_Stanag","200Rnd_556x45_Stanag","30 Rnd_556x45_Stanag"}; model = "\BTC_EI_m249\BTC_m249.p3d"; displayName = "M249"; picture = "\BTC_EI_m249\BTC_i_m249.paa"; UiPicture = "\BTC_EI_m249\BTC_ui_m249.paa"; class Library { libTextDesc = "$STR_A3_CfgWeapons_LMG_Mk200_Library0"; }; descriptionShort = "$STR_A3_CfgWeapons_LMG_Mk2001"; class WeaponSlotsInfo { allowedslots[] = {901}; mass = 4; class MuzzleSlot : SlotInfo { displayName = "Muzzle Slot"; compatibleItems = {"muzzle_snds_L"}; linkProxy = "\A3\data_f\proxies\weapon_slots\MUZZLE"; }; class CowsSlot { access = 1; compatibleitems[] = {"optic_Aco"}; displayname = "Optics Slot"; linkproxy = "\A3\data_f\proxies\weapon_slots\TOP"; scope = 0; }; class PointerSlot { access = 1; compatibleitems[] = {"acc_flashlight", "acc_pointer_IR"}; displayname = "Pointer Slot"; linkproxy = "\A3\data_f\proxies\weapon_slots\SIDE"; scope = 0; }; }; }; }; Share this post Link to post Share on other sites
giallustio 770 Posted October 5, 2013 With your config i get: ErrorMessage: File btc_ei_m249\config.cpp, line 65: /CfgWeapons/BTC_m249_EI/WeaponSlotsInfo.MuzzleSlot: Undefined base class 'SlotInfo' Share this post Link to post Share on other sites
charon productions 10 Posted October 5, 2013 Try to include it then: class CfgWeapons { class SlotInfo; /*extern*/ class Rifle; class Rifle_Base_F: Rifle { /*extern*/ class WeaponSlotsInfo; // !!! /*extern*/ class GunParticles; }; /*extern*/ class optic_Aco; class LMG_Mk200_F; class BTC_m249_EI: LMG_Mk200_F { scope = 2; magazines[] = {"100Rnd_556x45_Stanag","200Rnd_556x45_Stanag","30 Rnd_556x45_Stanag"}; model = "\BTC_EI_m249\BTC_m249.p3d"; displayName = "M249"; picture = "\BTC_EI_m249\BTC_i_m249.paa"; UiPicture = "\BTC_EI_m249\BTC_ui_m249.paa"; class Library { libTextDesc = "$STR_A3_CfgWeapons_LMG_Mk200_Library0"; }; descriptionShort = "$STR_A3_CfgWeapons_LMG_Mk2001"; class WeaponSlotsInfo { allowedslots[] = {901}; mass = 4; class MuzzleSlot : SlotInfo { displayName = "Muzzle Slot"; compatibleItems = {"muzzle_snds_L"}; linkProxy = "\A3\data_f\proxies\weapon_slots\MUZZLE"; }; class CowsSlot { access = 1; compatibleitems[] = {"optic_Aco"}; displayname = "Optics Slot"; linkproxy = "\A3\data_f\proxies\weapon_slots\TOP"; scope = 0; }; class PointerSlot { access = 1; compatibleitems[] = {"acc_flashlight", "acc_pointer_IR"}; displayname = "Pointer Slot"; linkproxy = "\A3\data_f\proxies\weapon_slots\SIDE"; scope = 0; }; }; }; }; Share this post Link to post Share on other sites
giallustio 770 Posted October 5, 2013 We fixed finally the config problem! class cfgpatches { class BTC_EI_m249 { units[] = {}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"A3_weapons_f","A3_Weapons_F_Acc","A3_Weapons_F_Machineguns_M200"}; }; }; class CfgMagazines { class CA_Magazine; class BTC_EI_100Rnd_556x45_Stanag: CA_Magazine { ammo = "B_556x45_Ball"; count = 100; descriptionshort = "Caliber: 5.56x45 mm STANAG<br />Rounds: 100<br />Used in: M 249"; displayname = "5.56mm 100rnd STANAG Mag"; initspeed = 930; mass = 20; lastroundstracer = 4; picture = "\BTC_EI_m249\BTC_i_mag.paa"; scope = 2; tracersevery = 0; }; class BTC_EI_200Rnd_556x45_Stanag: BTC_EI_100Rnd_556x45_Stanag { count = 200; descriptionshort = "Caliber: 5.56x45 mm STANAG<br />Rounds: 200<br />Used in: M 249"; displayname = "5.56mm 200rnd STANAG Mag"; mass = 40; }; }; class Mode_FullAuto; class SlotInfo; class CowsSlot; class PointerSlot; class CfgWeapons { class WeaponSlotsInfo { allowedslots[] = {901}; mass = 4; class MuzzleSlot: SlotInfo { compatibleitems[] = {}; displayname = "$str_a3_cfgweapons_abr_base_f_weaponslotsinfo_muzzleslot0"; linkproxy = "\A3\data_f\proxies\weapon_slots\MUZZLE"; }; class CowsSlot: CowsSlot { }; class PointerSlot: PointerSlot { }; }; class LMG_Mk200_F; class BTC_m249_EI: LMG_Mk200_F { scope = 2; magazines[] = {"BTC_EI_100Rnd_556x45_Stanag","BTC_EI_200Rnd_556x45_Stanag","30Rnd_556x45_Stanag"}; model = "\BTC_EI_m249\BTC_m249.p3d"; displayName = "M249"; picture = "\BTC_EI_m249\BTC_i_m249.paa"; UiPicture = "\BTC_EI_m249\BTC_ui_m249.paa"; class Library { libTextDesc = "$STR_A3_CfgWeapons_LMG_Mk200_Library0"; }; descriptionShort = "$STR_A3_CfgWeapons_LMG_Mk2001"; class WeaponSlotsInfo: WeaponSlotsInfo { mass = 120; class MuzzleSlot: SlotInfo { linkProxy = "\A3\data_f\proxies\weapon_slots\MUZZLE"; compatibleItems[] = {}; }; class CowsSlot: CowsSlot { access = 1; compatibleitems[] = {"optic_Arco", "optic_aco", "optic_ACO_grn", "optic_hamr", "optic_Holosight", "optic_MRCO"}; displayname = "Optics Slot"; linkproxy = "\A3\data_f\proxies\weapon_slots\TOP"; scope = 0; }; class PointerSlot: PointerSlot{}; }; }; }; //}; enum { destructengine=2, destructdefault=6, destructwreck=7, destructtree=3, destructtent=4, stabilizedinaxisx=1, stabilizedinaxesxyz=4, stabilizedinaxisy=2, stabilizedinaxesboth=3, destructno=0, stabilizedinaxesnone=0, destructman=5, destructbuilding=1 }; He still has these errors in the rpt by the way: Old style material flags used - 201 (with texture btc_ei_m249\data\btc_m249_co.paa) Old style material flags used - 201 (with texture btc_ei_m249\data\btc_m249_co.paa) Old style material flags used - 201 (with texture btc_ei_m249\data\btc_m249_co.paa) Old style material flags used - 201 (with texture btc_ei_m249\data\btc_m249_co.paa) Error: btc_ei_m249\btc_m249.p3d:0.7, vertices of bone ammo_belt are shared with bone magazine Error: btc_ei_m249\btc_m249.p3d:0.7, vertices of bone ammo_belt_bottom are shared with bone magazine Error: btc_ei_m249\btc_m249.p3d:0.7, vertices of bone ammo_belt are shared with bone magazine Error: btc_ei_m249\btc_m249.p3d:0.7, vertices of bone ammo_belt_bottom are shared with bone magazine Error: btc_ei_m249\btc_m249.p3d:0.7, vertices of bone ammo_belt are shared with bone magazine Error: btc_ei_m249\btc_m249.p3d:0.7, vertices of bone ammo_belt_bottom are shared with bone magazine Error: btc_ei_m249\btc_m249.p3d:0.7, vertices of bone ammo_belt are shared with bone magazine Error: btc_ei_m249\btc_m249.p3d:0.7, vertices of bone ammo_belt_bottom are shared with bone magazine Warning: btc_ei_m249\btc_m249.p3d:0.7 Error while trying to generate ST for points: 3445, 3444, 3453 Warning: btc_ei_m249\btc_m249.p3d:0.7 Error while trying to generate ST for points: 3445, 3453, 3454 Warnings in btc_ei_m249\btc_m249.p3d:0.7 Old style material flags used - 201 (with texture btc_ei_m249\data\btc_m249_co.paa) Old style material flags used - 201 (with texture btc_ei_m249\data\btc_m249_co.paa) Old style material flags used - 201 (with texture btc_ei_m249\data\btc_m249_co.paa) Old style material flags used - 201 (with texture btc_ei_m249\data\btc_m249_co.paa) Error: btc_ei_m249\btc_m249.p3d:VIEW_PILOT, vertices of bone ammo_belt are shared with bone magazine Error: btc_ei_m249\btc_m249.p3d:VIEW_PILOT, vertices of bone ammo_belt_bottom are shared with bone magazine Error: btc_ei_m249\btc_m249.p3d:VIEW_PILOT, vertices of bone ammo_belt are shared with bone magazine Error: btc_ei_m249\btc_m249.p3d:VIEW_PILOT, vertices of bone ammo_belt_bottom are shared with bone magazine Error: btc_ei_m249\btc_m249.p3d:VIEW_PILOT, vertices of bone ammo_belt are shared with bone magazine Error: btc_ei_m249\btc_m249.p3d:VIEW_PILOT, vertices of bone ammo_belt_bottom are shared with bone magazine Error: btc_ei_m249\btc_m249.p3d:VIEW_PILOT, vertices of bone ammo_belt are shared with bone magazine Error: btc_ei_m249\btc_m249.p3d:VIEW_PILOT, vertices of bone ammo_belt_bottom are shared with bone magazine Warning: btc_ei_m249\btc_m249.p3d:VIEW_PILOT Error while trying to generate ST for points: 3445, 3444, 3453 Warning: btc_ei_m249\btc_m249.p3d:VIEW_PILOT Error while trying to generate ST for points: 3445, 3453, 3454 Warnings in btc_ei_m249\btc_m249.p3d:VIEW_PILOT Warning: btc_ei_m249\btc_m249.p3d:shadow(0), Selection magazine needs a section. The shadow volume may not work well. Warning: btc_ei_m249\btc_m249.p3d:shadow(10), Selection magazine needs a section. The shadow volume may not work well. Share this post Link to post Share on other sites