# Problem with creating custom weapon and damage type.

**URL:** <https://forums.unrealengine.com/t/problem-with-creating-custom-weapon-and-damage-type/35084>\
**Category:** ARK: Survival Evolved\
**Tags:** unreal-engine, Ark:-Survival-Evolved, Modding\
**Created:** [July 12, 2015, 10:56am UTC](https://forums.unrealengine.com/t/problem-with-creating-custom-weapon-and-damage-type/35084 "2015-07-12T10:56:23Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_e920f64a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e920f64a](https://forums.unrealengine.com/u/anonymous_user_e920f64a)\
**Post date:** [July 12, 2015, 10:56am UTC](https://forums.unrealengine.com/t/problem-with-creating-custom-weapon-and-damage-type/35084/1 "2015-07-12T10:56:23Z")

</div>

Hello, I started mod for the game, but I’m stuck.  
I’m making new weapon/tool. What I did so far  
Copied all the Hatch files to my mod folder.  
Copied DmgType\_BaseHatched and MetalHatched.  
From there I renemed everything. To the New weapon name  
re-perented all the references, set the damage type to the new one.  
Added the new item to the MasterItemList  
Remaped the HarvestComponents and edited them to reflect the new damagetype  
But After more than 16 hrs spent it don’t work For example the new tool is supposed to not get wood from trees but only thatch it still get Wood as normal hatched. Is there something I’m missing ?  
Is there plan for future to mass remap? It is realy hard to re reference everything and remap right now.  
For example /path remap  
Which will change the path from content/PrimalEarth to /content/mod/PrimalEarth  
Another thing i came accros changing an item for example RawPrimeMeat In the master list doesn’t actualy change the references from the harvestcomponents and from the dino setting blueprints.  
So small change will require to change this refference in alot of places… Should I extend the classes(blueprints) will this solve the problem with adding another item.  
I am getting lost more and more in this.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e920f64a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e920f64a](https://forums.unrealengine.com/u/anonymous_user_e920f64a)\
**Post date:** [July 12, 2015, 12:16pm UTC](https://forums.unrealengine.com/t/problem-with-creating-custom-weapon-and-damage-type/35084/2 "2015-07-12T12:16:15Z")

</div>

Update on the damagetypes, When I change the damagetype to something predefined It is working properly for example I put WeapMetalSickle(my item) as damage type DinoHerb\_Large it is collecting thatch from trees. But it still doesn’t collect bushes I guess damagetypes are listed somewhere but I wonder how can I remap that and where to look for.  
Thanks.

---

<div class="post-metadata">

**Author:** ![Drathek](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Drathek](https://forums.unrealengine.com/u/Drathek)\
**Post date:** [July 12, 2015, 7:29pm UTC](https://forums.unrealengine.com/t/problem-with-creating-custom-weapon-and-damage-type/35084/3 "2015-07-12T19:29:40Z")

</div>

There does not appear to be very much configurable in any of the DmgType blueprints, but take a look at AttackHarvestComponent\_Base and what references it has.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e920f64a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e920f64a](https://forums.unrealengine.com/u/anonymous_user_e920f64a)\
**Post date:** [July 12, 2015, 9:13pm UTC](https://forums.unrealengine.com/t/problem-with-creating-custom-weapon-and-damage-type/35084/4 "2015-07-12T21:13:34Z")

</div>

I created new damage type for DmgType\_Mele\_Hebrivore\_Small\_mineFiber extends DmgType\_Hebrivore\_Small. Added it to the SeedHarvestComponent no effect it still doesn’t gather Phomia can now gather resource so it is actualy working. But the DmgType has no effects in the HarvesterComponent same case with the weapon.  
I will try to remove the Base Hebrivore from the seedharvest just to make sure this is not causing the issue.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e920f64a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e920f64a](https://forums.unrealengine.com/u/anonymous_user_e920f64a)\
**Post date:** [July 12, 2015, 9:39pm UTC](https://forums.unrealengine.com/t/problem-with-creating-custom-weapon-and-damage-type/35084/5 "2015-07-12T21:39:09Z")

</div>

After removing the Parent DmgType I can’t gather it anymore…

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e920f64a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e920f64a](https://forums.unrealengine.com/u/anonymous_user_e920f64a)\
**Post date:** [July 13, 2015, 12:50pm UTC](https://forums.unrealengine.com/t/problem-with-creating-custom-weapon-and-damage-type/35084/6 "2015-07-13T12:50:01Z")

</div>

Problem is solved. DmgType are working properly the problem is the HarvestComponent overides it is first match. So when you make new dmg type that extend previous as soon as perent overide is matched it is used. So if you are doing changes you will have to put the child first.

---

<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:47pm UTC](https://forums.unrealengine.com/t/problem-with-creating-custom-weapon-and-damage-type/35084/7 "2022-03-09T21:47:10Z")

</div>


