Jump to content
Unchained

Which is the LinkedItems bipod config?

Recommended Posts

Hello everyone,

back here again with this questions that impede my advance in creating the configurations I want...

First off: Which is the LinkedItems bipod config?

As far as I search inside the A3 files, I can't find a weapon I can use as a template to add a bipod, still don't understand my question?

Here's an example

	class arifle_MXM_F;
class MRA_CW_MXM_MOS_LP_BS: arifle_MXM_F
{
	class LinkedItems
	{
		class LinkedItemsOptic
		{
			slot = "CowsSlot";
			item = "optic_SOS";
		};
		class LinkedItemsAcc
		{
			slot = "PointerSlot";
			item = "acc_pointer_IR";
		};
		class LinkedItemsBipod
		{
			slot = "BipodSlot";
			item = "bipod_01_F_snd";
		};
	};
};

Which of course the "LinkedItemsBipod" is something I have invented in hope that was the right class, same as the "BipodSlot" in the Slot definition, only real thing there is the item, the bipod because I could get the class name out of the virtual arsenal (Since I tried this and, of course, it failed, weapon on editor shows with the Laser pointer and the scope, but not the bipod). I want to know what class is the one that has the linked item for bipods, and the slot.

Thanks in advance!

Share this post


Link to post
Share on other sites

It's LinkedItemsUnder (class) and UnderBarrelSlot (slot) for bipods.

And there is also LinkedItemsMuzzle and MuzzleSlot for suppressors.

  • Like 3

Share this post


Link to post
Share on other sites
It's LinkedItemsUnder (class) and UnderBarrelSlot (slot) for bipods.

And there is also LinkedItemsMuzzle and MuzzleSlot for suppressors.

Excellent answer, I'll put myself to work on this right away, thanks ruebe!

Share this post


Link to post
Share on other sites

Sorry for getting back this topic to the surface, but I have a problem with placing a bipod on a marksman riffle. What is strange is that I do exactly the same thing that above. Here is my code :

    class hlc_rifle_G36V;
    
    class LM_MARKSMAN_G36V : hlc_rifle_G36V
    {
        scope = 1;
        class LinkedItems
        {
            class LinkedItemsOptic
            {
                slot = "CowsSlot";
                item = "optic_SOS";
            };
            class LinkedItemsUnder
            {
                slot = "UnderBarrelSlot";
                item = "bipod_01_F_blk";
            };
        };
    };

The optic is ok, but the bipod don't appear. And obviously I checked in the arsenal, this bipod is compatible with this weapon, even if it's a modded one.

 

Any idea ?

Thank you

Share this post


Link to post
Share on other sites

See you're inheriting from hlc_rifle_G36V. Slot names may be different. Just use the in-game config explorer and see what they are for that class.

Share this post


Link to post
Share on other sites

yeah u need to add weaponslotsinfo definition into your weapon that includes a bipod slot and defined bipodclasses that it can use BEFORE linking your bipod item

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

×