• 0
Sign in to follow this  
Followers 0
Zippy

Item Duping

Question

I'm trying to strip default mas weapons of their attachments as they're spawned in.

I've currently added this into my " exileclient_util_playerequipment_add.sqf"

this:

if (_itemType IN ["AssaultRifle","Rifle","SniperRifle","SubmachineGun","MachineGun","MachineGun"]) then
{
    removeAllPrimaryWeaponItems _player;
};

Below:

_player addWeaponGlobal _itemClassName

But adjusted it to this to hopefully stop the mas weapons attachments on spawn:

if (_itemType IN ["AssaultRifle","Rifle","SniperRifle","S­ubmachineGun","MachineGun","MachineGun","Machinegun","AssaultSAW","Assault","SubmachineGun"]­) then
{ 
    removeAllPrimaryWeaponItems _player;
};

But still having issues with default mas weapons spawning in with bi-pods and other attachments. Here is a few weapons i've noticed which are spawning in with bi-pods or muzzles.

 

Spoiler

"arifle_mas_m27"
"arifle_mas_m27m"
"arifle_mas_m27_v"
"arifle_mas_m27m_v"
"arifle_mas_m27_d"
"arifle_mas_m27m_d"
"LMG_mas_Mk200_F"
"LMG_mas_M249_F"
"LMG_mas_M249_F_v"
"LMG_mas_M249_F_d"
"LMG_mas_M249a_F"
"LMG_mas_Mk48_F"
"LMG_mas_Mk48_F_v"
"LMG_mas_Mk48_F_d"
"LMG_mas_M240_F"
"LMG_mas_M60_F"

 

Edited by Zippy

Share this post


Link to post
Share on other sites

2 answers to this question

  • 0
12 minutes ago, Zippy said:

"arifle_mas_m27"

Is this one spawning with attatchments or not?

I havent use mas mods for a while but its quite simple, find weapons that DONT use attachments, very often anything after base name is an attatchment like so :

14 minutes ago, Zippy said:

"arifle_mas_m27m"

You have to remove any weapons with attatchments from the spawn list and leave only basic rifles/pistols its suggested to do the same with trader list. Problem with mas weapons is you can still dupe attatchments even though they dont spawn in(this might be out of date but this is why i stopped using it  a while ago)

Share this post


Link to post
Share on other sites
  • 0

That's the default stock name,

_t = acog scope
_v = wood
_d = desert
m27m = 150rnd version
m27 = basic 100rnd version

Those examples all spawn with bi-pod attachments.

edit//
Issue is that a3 adds bipod by default to those type of weapons. So yeah.....

Edited by Zippy

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.