Jump to content
Sign in to follow this  
stock762

Error loading tag

Recommended Posts

I'm trying to import a few weapons from OFP and i've got two already but some when I go in game and place the unit I get this error saying "Error loading tag" I don't know if it's the config or the model itself, here's the config.

Config:

class CfgPatches {

class XM8_weapon {

units[] = {};

weapons[] = {};

requiredVersion = 0.100000;

requiredAddons[] = {"CAweapons"};

};

};

/*extern*/ class Mode_SemiAuto;

/*extern*/ class Mode_FullAuto;

class CfgWeapons {

/*extern*/ class M4;

class Xm8: M4 {

displayName = "XM8";

model = "\map_hk\map_bc.p3d";

UiPicture = "\CA\weapons\data\Ico\i_regular_CA.paa";

dexterity = 1.610000;

magazines[] = {"30Rnd_556x45_Stanag"};

modes[] = {"Single"};

optics = true;

opticsZoomMin= 0.0200;

opticsZoomMax=0.0200;

distanceZoomMin= 200;

distanceZoomMax= 400;

class Single: Mode_SemiAuto

{

sound[] = {"\CSM_Sounds\Weapons\Data\Sound\M4_2_SS_B", 5.623413, 1};

reloadTime = 0.100000;

recoil = "assaultRifleBase";

recoilProne = "assaultRifleBase";

dispersion = 0.0001;

minRange = 2;

minRangeProbab = 0.1;

midRange = 400;

midRangeProbab = 0.7;

maxRange = 700;

maxRangeProbab = 0.05;

};

};

};

class CfgVehicles

{

class SoldierWB;

class SoldierWBXM8: SoldierWB

{

displayName="SoldierXM8";

weapons[]={"XM8","Throw","Put"};

magazines[]={"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag

","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_

Stanag","30Rnd_556x45_Stanag","HandGrenade","HandGrenade&quo

t;,"HandGrenade"};

};

};

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×