Jump to content
Sign in to follow this  
alduric

Problem witch weapon attachments

Recommended Posts

Hey guys! Im working on polish weapon Beryl wz96. Its my first weapon and im still learning. Almost everything working fine...NOT atachments. I follow Zach Gibsons and its not working. After seting up lod of atachemtns, those craps ingame are near me like i show on screens :/

http://img825.imageshack.us/img825/5008/jvsh.jpg (126 kB)

http://img189.imageshack.us/img189/4012/gk3a.jpg (114 kB)

http://img853.imageshack.us/img853/4763/yc81.jpg (124 kB)

BEST THING!

If i load another missions in editor, and after that back to my beryl test mission - All is fine! And mine beryl working great with atachments...

http://img856.imageshack.us/img856/4854/09eo.jpg (473 kB)

Can any1 help me?

Share this post


Link to post
Share on other sites

Everything looks ok.. hows the config look, can you post it?

Share this post


Link to post
Share on other sites

Here :F i be glad if some1 help me with mine problem.

class CfgPatches

{

class beryl96

{

units[] = {};

weapons[] = {};

requiredVersion = 0.1;

};

};

class Mode_SemiAuto;

class Mode_Burst;

class Mode_FullAuto;

class WeaponSlotsInfo;

class MuzzleSlot;

class CowsSlot;

class CfgWeapons

{

class Rifle_Base_F;

class beryl96: Rifle_Base_F

{

displayName = "Beryl 96";

scope = 2;

optics = 0;

opticsdisableperipherialvision = 0.67;

opticsflare = 0;

opticsid = 0;

opticsppeffects[] = {};

opticszoominit = 0.75;

opticszoommax = 1.1;

opticszoommin = 0.375;

picture = "\arma-3-beryl\beryl96_w.paa";

soundBegin[] = {"begin1",0.5,"begin2",0.5};

closure1[] = {"A3\sounds_f\weapons\closure\closure_rifle_6",1.58489,1,30};

closure2[] = {"A3\sounds_f\weapons\closure\closure_rifle_7",1.58489,1,30};

recoil = "recoil_single_mx";

drySound[] = {"A3\sounds_f\weapons\Other\dry_1",0.562341,1,10};

reloadMagazineSound[] = {"arma-3-beryl\beryl_clipin.ogg",0.398107,1,30};

recoilProne = "recoil_single_prone_mx";

handAnim[] = {"OFP2_ManSkeleton","\A3\Weapons_F\Rifles\MX\data\Anim\MX_afg.rtm"};

model = "arma-3-beryl\Beryl_96.p3d";

magazines[] = {"762x39_30rnds_AK47"};

modes[] = {"Single","FullAuto"};

class WeaponSlotsInfo {

allowedslots[] = {901};

mass = 4;

class MuzzleSlot {

access = 1;

compatibleitems[] = {"muzzle_snds_L"};

displayname = "Muzzle Slot";

linkproxy = "\A3\data_f\proxies\weapon_slots\MUZZLE";

scope = 0;

};

class CowsSlot {

access = 1;

compatibleitems[] = {"optic_Arco", "optic_aco", "optic_ACO_grn", "optic_hamr", "optic_Holosight"};

displayname = "Optics Slot";

linkproxy = "\A3\data_f\proxies\weapon_slots\TOP";

scope = 2;

};

};

class Single: Mode_SemiAuto

{

begin1[] = {"arma-3-beryl\beryl.ogg",1.41254,1,1200};

begin2[] = {"arma-3-beryl\beryl.ogg",1.41254,1,1200};

soundBegin[] = {"begin1",0.5,"begin2",0.5};

closure1[] = {"A3\sounds_f\weapons\closure\closure_rifle_6",1.58489,1,30};

closure2[] = {"A3\sounds_f\weapons\closure\closure_rifle_7",1.58489,1,30};

soundClosure[] = {"closure1",0.5,"closure2",0.5};

weaponSoundEffect = "DefaultRifle";

reloadTime = 0.096;

recoil = "recoil_single_mx";

recoilProne = "recoil_single_prone_mx";

dispersion = 0.00093;

minRange = 2;

minRangeProbab = 0.5;

midRange = 225;

midRangeProbab = 0.7;

maxRange = 500;

maxRangeProbab = 0.2;

};

class FullAuto: Mode_FullAuto

{

begin1[] = {"arma-3-beryl\beryl.ogg",1.41254,1,1200};

begin2[] = {"arma-3-beryl\beryl.ogg",1.41254,1,1200};

soundBegin[] = {"begin1",0.5,"begin2",0.5};

closure1[] = {"A3\sounds_f\weapons\closure\closure_rifle_6",1.58489,1,30};

closure2[] = {"A3\sounds_f\weapons\closure\closure_rifle_7",1.58489,1,30};

soundClosure[] = {"closure1",0.5,"closure2",0.5};

weaponSoundEffect = "DefaultRifle";

reloadTime = 0.096;

recoil = "recoil_auto_mx";

recoilProne = "recoil_auto_prone_mx";

dispersion = 0.00093;

minRange = 0;

minRangeProbab = 0.9;

midRange = 15;

midRangeProbab = 0.7;

maxRange = 30;

maxRangeProbab = 0.1;

aiRateOfFire = 1e-006;

};

};

};

---------- Post added at 14:44 ---------- Previous post was at 13:02 ----------

Bump =F any1?

Edited by Alduric

Share this post


Link to post
Share on other sites

Well your - WeaponSlotsInfo seems weird

Try this

   class WeaponSlotsInfo: WeaponSlotsInfo                
           {
           class MuzzleSlot: SlotInfo
           {
               linkProxy = "\A3\data_f\proxies\weapon_slots\MUZZLE";
               compatibleItems[] = {"muzzle_snds_l"};
           };
           class CowsSlot: SlotInfo
                   {
           linkProxy = "\A3\data_f\proxies\weapon_slots\TOP";
           displayName = "$STR_A3_CowsSlot0";
           compatibleItems[] = {"optic_Arco","optic_aco","optic_ACO_grn","optic_hamr","optic_Holosight"};
               };
           class PointerSlot{};
       };

Also all your weapon models and attachments should have autocenter = 0 (in Named Properties window) to prevent some bugs

Edited by RobertHammer

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  

×