# How to add attachments to a modded weapon

**URL:** <https://forums.unrealengine.com/t/how-to-add-attachments-to-a-modded-weapon/91748>\
**Category:** ARK: Survival Evolved\
**Tags:** unreal-engine, Ark:-Survival-Evolved, Modding\
**Created:** [May 9, 2017, 7:05pm UTC](https://forums.unrealengine.com/t/how-to-add-attachments-to-a-modded-weapon/91748 "2017-05-09T19:05:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![C05M1C](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@C05M1C](https://forums.unrealengine.com/u/C05M1C)\
**Post date:** [May 9, 2017, 7:05pm UTC](https://forums.unrealengine.com/t/how-to-add-attachments-to-a-modded-weapon/91748/1 "2017-05-09T19:05:49Z")

</div>

So…  
I was trying to make a better version of the longneck rifle for my first mod and my modded version would not accept any attachments.  
Is there an option to allow this?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_621537581](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_621537581](https://forums.unrealengine.com/u/anonymous_user_621537581)\
**Post date:** [May 14, 2017, 3:31pm UTC](https://forums.unrealengine.com/t/how-to-add-attachments-to-a-modded-weapon/91748/2 "2017-05-14T15:31:46Z")

</div>

How did you did your longneck? Copy of the original or Child?

---

<div class="post-metadata">

**Author:** ![P0k3r](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@P0k3r](https://forums.unrealengine.com/u/P0k3r)\
**Post date:** [May 15, 2017, 4:35pm UTC](https://forums.unrealengine.com/t/how-to-add-attachments-to-a-modded-weapon/91748/3 "2017-05-15T16:35:43Z")

</div>

It won’t matter if it’s a child or not due to the way the attachments work.  
On the attachments under “support drag onto items” it will say “PrimalItemWeapon\_OneShotRifle” then there will be a “support drag onto classes” which will be “WeaponOneShotrRifle” or something like that.  
When you drag the attachment onto the weapon it checks the “items” and produces the matching “class”.  
“Items” can recognize childs (if I remember correctly) but “class” does not.  
So basically if you want attachments for it you will need to create new attachments and link them to your new weapon.

See this thread for more info: [https://forums.unrealengine.com/showthread.php?83438-Multiple-Weapon-attachments](https://forums.unrealengine.com/showthread.php?83438-Multiple-Weapon-attachments)

---

<div class="post-metadata">

**Author:** ![C05M1C](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@C05M1C](https://forums.unrealengine.com/u/C05M1C)\
**Post date:** [June 6, 2017, 4:58pm UTC](https://forums.unrealengine.com/t/how-to-add-attachments-to-a-modded-weapon/91748/4 "2017-06-06T16:58:38Z")

</div>

Thanks for the help.

---

<div class="post-metadata">

**Author:** ![SkyeEden](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/skyeeden/32/1116094_2.png) [@SkyeEden](https://forums.unrealengine.com/u/SkyeEden)\
**Post date:** [March 9, 2022, 9:52pm UTC](https://forums.unrealengine.com/t/how-to-add-attachments-to-a-modded-weapon/91748/5 "2022-03-09T21:52:55Z")

</div>


