# HELP! Custom Sword - Almost done, but doesn't equip or show in player's hands.

**URL:** <https://forums.unrealengine.com/t/help-custom-sword-almost-done-but-doesnt-equip-or-show-in-players-hands/77206>\
**Category:** ARK: Survival Evolved\
**Tags:** unreal-engine, Ark:-Survival-Evolved, Modding\
**Created:** [October 30, 2016, 8:37pm UTC](https://forums.unrealengine.com/t/help-custom-sword-almost-done-but-doesnt-equip-or-show-in-players-hands/77206 "2016-10-30T20:37:57Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bettista](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bettista](https://forums.unrealengine.com/u/Bettista)\
**Post date:** [October 30, 2016, 8:37pm UTC](https://forums.unrealengine.com/t/help-custom-sword-almost-done-but-doesnt-equip-or-show-in-players-hands/77206/1 "2016-10-30T20:37:57Z")

</div>

Hi guys -

I \*think \*I’m nearly done with my first Ark mod, and I’m pretty freakin’ jacked up about actually making something of my own. I’m 35 and I’ve been teaching myself this \*\*\*\* for fun, and it’s nuts to have these kinds of tools to play with. Anyway … I’ve hit a roadblock.

Things that are working:  
TPV and FPV meshes are weight painted correctly import and animate perfectly - based off PrimalItem\_WeaponStoneHatchet  
Custom Engram - shows up in the Engram list, and crafts correctly  
Sword appears in Inventory, w/correct stats, icon and text, can be slotted into hotbar.

Until recently, upon trying to equip the sword, the editor would crash. I realized that I used the wrong weapon blueprint, fixed that, and now no crashes anymore. But also no sword.  
Pressing the hotbar key causes the hotbar slot to flash, and nothing else happens.

Here’s the mod folder:

 ![cb79aea1d8.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/a/5/a55a49a3d94b89a5eb774f22335246b405e2725d.png)

Blueprint:

 ![cb79aea1d8.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/5/0/b50f0d2a1dbf194dbcf16e533a8d16c75da06bb8.png)

Engram:

 ![31e10a8698.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/b/5/b57cbee5b4a7bb66fb18cf91ac849e55abcbf4a9.png)

In the new Weapon Blueprint, WeapStoneHatchet\_ECTC\_Katana, it references the original PrimalItem core blueprint – could this be the problem, and if so, where the hell do I change that link to my custom one!?

 ![bcc7bdefa8.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/4/1/41be28a4eefb89f9844df64439cdd9a6a2afdcfa.png)

I’ve re-looked at everything so much I’m basically blind to it. I’d really love to get this working.

Thanks!

---

<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:** [October 31, 2016, 3:53pm UTC](https://forums.unrealengine.com/t/help-custom-sword-almost-done-but-doesnt-equip-or-show-in-players-hands/77206/2 "2016-10-31T15:53:10Z")

</div>

You’ve got the wrong primalitem linked in pics 2 and 4. It is “PrimalItem\_WeaponStoneHatchet” when it should be “PrimalItem\_WeaponStoneHatchet\_ECTS\_Katana”  
It goes like this: The primal game data holds the reference to the engram, the engram has the reference to the primal item, the primal item references the weapon BP, the weapon BP references everything else like mesh, animations, etc.  
The way it looks now is that if you spawned a stone hatchet it would be your sword.

---

<div class="post-metadata">

**Author:** ![Bettista](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bettista](https://forums.unrealengine.com/u/Bettista)\
**Post date:** [October 31, 2016, 5:47pm UTC](https://forums.unrealengine.com/t/help-custom-sword-almost-done-but-doesnt-equip-or-show-in-players-hands/77206/3 "2016-10-31T17:47:25Z")

</div>

> [@P0k3r;616955](#):
>
> You’ve got the wrong primalitem linked in pics 2 and 4. It is “PrimalItem\_WeaponStoneHatchet” when it should be “PrimalItem\_WeaponStoneHatchet\_ECTS\_Katana”  
> It goes like this: The primal game data holds the reference to the engram, the engram has the reference to the primal item, the primal item references the weapon BP, the weapon BP references everything else like mesh, animations, etc.  
> The way it looks now is that if you spawned a stone hatchet it would be your sword.

Oh man, thank you so much for responding!

Could I bother you for the easiest way to fix it?

I’m really really new to Unreal and trying not to get overwhelmed; and half the time I’m stabbing blindly in the dark.

---

<div class="post-metadata">

**Author:** ![Huston850](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Huston850](https://forums.unrealengine.com/u/Huston850)\
**Post date:** [October 31, 2016, 7:10pm UTC](https://forums.unrealengine.com/t/help-custom-sword-almost-done-but-doesnt-equip-or-show-in-players-hands/77206/4 "2016-10-31T19:10:22Z")

</div>

It looks like you have two broken chains…

1 -\> 2 -\> 3  
2-\> 3 -\> 4

Instead of

1 -\> 2 -\> 3 -\> 4

Your files should be

PrimalGameData -\> EngramKatana -\> PrimalItemWeapon\_Katana -\> ECTC\_Katana

Look at pictures 2 & 3. Notice how the link breaks. Open up Weapon\_Katana and point the weapon reference to ECTC\_Katana, it should be that easy

---

<div class="post-metadata">

**Author:** ![Bettista](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bettista](https://forums.unrealengine.com/u/Bettista)\
**Post date:** [November 1, 2016, 2:22am UTC](https://forums.unrealengine.com/t/help-custom-sword-almost-done-but-doesnt-equip-or-show-in-players-hands/77206/5 "2016-11-01T02:22:23Z")

</div>

Thanks very much for getting back to me.  
I see what you mean, I think.

When you said, “Open up Weapon\_Katana and point the weapon reference to ECTC\_Katana, it should be that easy”  
I should open the weapon blueprint, WeapStoneHatchet\_ECTC\_Katana, right?

**Where do I change that reference??** I can see that it’s wrong in the reference viewer, but don’t know where in the blueprint to change that association.  
It’s probably something stupid easy, I just don’t know what I’m looking for.

Again, many thanks for helping out a noob.

---

<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:** [November 1, 2016, 4:55pm UTC](https://forums.unrealengine.com/t/help-custom-sword-almost-done-but-doesnt-equip-or-show-in-players-hands/77206/6 "2016-11-01T16:55:02Z")

</div>

Your engram is referencing the right file, your primalitem is not.  
Open primalitemweapon\_katana & find “weapon Template”. Set it to your sword. Pretty sure that’s all you would need to do at this point.

Also,

> [@Bettista;617007](#):
>
> and half the time I’m stabbing blindly in the dark.

Get used to it

---

<div class="post-metadata">

**Author:** ![Bettista](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bettista](https://forums.unrealengine.com/u/Bettista)\
**Post date:** [November 1, 2016, 5:03pm UTC](https://forums.unrealengine.com/t/help-custom-sword-almost-done-but-doesnt-equip-or-show-in-players-hands/77206/7 "2016-11-01T17:03:20Z")

</div>

> [@P0k3r;617423](#):
>
> Your engram is referencing the right file, your primalitem is not.  
> Open primalitemweapon\_katana & find “weapon Template”. Set it to your sword. Pretty sure that’s all you would need to do at this point.

Dude, gonna try this as soon as I get home today — thank you very, very much!!

> [@](#):
>
> Also, Get used to it

Hehe, duly noted. Thanks again 🙂

---

<div class="post-metadata">

**Author:** ![Bettista](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bettista](https://forums.unrealengine.com/u/Bettista)\
**Post date:** [November 2, 2016, 1:23am UTC](https://forums.unrealengine.com/t/help-custom-sword-almost-done-but-doesnt-equip-or-show-in-players-hands/77206/8 "2016-11-02T01:23:37Z")

</div>

Ok, found it, changed it – thanks!

But of course I have a brand new error.

Ensure condition failed: NewObject-\>IsA(this-\>GeneratedClass) [File:C:\SVN\_Ark\Engine\Source\Runtime\Engine\Private\Blueprint.cpp] [Line: 585]  
Unhandled Exception: EXCEPTION\_ACCESS\_VIOLATION reading address 0x00000040 VERSION: 247.83 UE4Editor-Engine

Yarg.

---

<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:** [November 2, 2016, 3:36pm UTC](https://forums.unrealengine.com/t/help-custom-sword-almost-done-but-doesnt-equip-or-show-in-players-hands/77206/9 "2016-11-02T15:36:58Z")

</div>

If that is when you equip it, make sure the weaponbp is pointing to the correct animbp

---

<div class="post-metadata">

**Author:** ![Bettista](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bettista](https://forums.unrealengine.com/u/Bettista)\
**Post date:** [November 2, 2016, 6:31pm UTC](https://forums.unrealengine.com/t/help-custom-sword-almost-done-but-doesnt-equip-or-show-in-players-hands/77206/10 "2016-11-02T18:31:12Z")

</div>

P0k3r - it is when I equip it – will check tonight on it’s animation links.

**THANK YOU SO MUCH!**

---

<div class="post-metadata">

**Author:** ![Bettista](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bettista](https://forums.unrealengine.com/u/Bettista)\
**Post date:** [November 2, 2016, 11:55pm UTC](https://forums.unrealengine.com/t/help-custom-sword-almost-done-but-doesnt-equip-or-show-in-players-hands/77206/11 "2016-11-02T23:55:51Z")

</div>

This is what it’s set up as – seems OK to me, but I’m not positive what it’s supposed to be.

 ![fb6dff6523.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/f/d/0fdb3ab6dddbe4917ddd45ea90f9f6a5a6f4a0ef.png)  
 ![ebedc33d32.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/e/4/4e4e5dcfc2f4e5ea5d06f61c678fd0c8d1457373.png)

How’s that look to your eyes, Mr. P0k3r, sir?

---

<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:** [November 3, 2016, 3:10am UTC](https://forums.unrealengine.com/t/help-custom-sword-almost-done-but-doesnt-equip-or-show-in-players-hands/77206/12 "2016-11-03T03:10:43Z")

</div>

You’re missing the FPV animbp

 ![64cfaabb18034fa05f44ff4cee3a3da3.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/7/6/876bcbbf0e8367a9e5d059de2839053886cf80fd.png)

---

<div class="post-metadata">

**Author:** ![Bettista](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bettista](https://forums.unrealengine.com/u/Bettista)\
**Post date:** [November 3, 2016, 3:48am UTC](https://forums.unrealengine.com/t/help-custom-sword-almost-done-but-doesnt-equip-or-show-in-players-hands/77206/13 "2016-11-03T03:48:29Z")

</div>

… Yeah I guess that’ll do it. Do I need to change anything for TPV?

And again, holy freakin’ thanks man. I owe you a beer or six.

---

<div class="post-metadata">

**Author:** ![Bettista](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bettista](https://forums.unrealengine.com/u/Bettista)\
**Post date:** [November 3, 2016, 3:53am UTC](https://forums.unrealengine.com/t/help-custom-sword-almost-done-but-doesnt-equip-or-show-in-players-hands/77206/14 "2016-11-03T03:53:21Z")

</div>

P0k3r my friend, it’s still crashing, even after using the new animation bp. If the base item is the hatchet, I’m not required to use the hatchet animations, right? The sword animations looked fine in the previewer… but I’ll use the hatchet ones if I have to.

Fatal error!

Unhandled Exception: EXCEPTION\_ACCESS\_VIOLATION reading address 0x00000040

VERSION: 248.3  
UE4Editor-Engine.dll!UnknownFunction (0x000007fed0731605) + 0 bytes [UnknownFile:0]  
UE4Editor-Engine.dll!UnknownFunction (0x000007fed0731579) + 0 bytes [UnknownFile:0]  
UE4Editor-ShooterGame.dll!AShooterWeapon::PlayWeaponAnimation() (0x000007fec7ecff28) + 0 bytes [g:\svn\_ark\projects\shootergame\source\shootergame\private\shooterweapon.cpp:1719]  
UE4Editor-ShooterGame.dll!AShooterWeapon::OnEquip() (0x000007fec7ecf64f) + 0 bytes [g:\svn\_ark\projects\shootergame\source\shootergame\private\shooterweapon.cpp:482]  
UE4Editor-ShooterGame.dll!AShooterCharacter::SetCurrentWeapon() (0x000007fec7d9b5a2) + 0 bytes [g:\svn\_ark\projects\shootergame\source\shootergame\private\shootercharacter.cpp:1906]  
UE4Editor-ShooterGame.dll!AShooterCharacter::GivePrimalItemWeapon() (0x000007fec7d8e6cd) + 14 bytes [g:\svn\_ark\projects\shootergame\source\shootergame\private\shootercharacter.cpp:1533]  
UE4Editor-Engine.dll!UnknownFunction (0x000007fed0524cac) + 0 bytes [UnknownFile:0]  
UE4Editor-Engine.dll!UnknownFunction (0x000007fed056fa05) + 0 bytes [UnknownFile:0]  
UE4Editor-Engine.dll!UnknownFunction (0x000007fed014bb27) + 0 bytes [UnknownFile:0]  
UE4Editor-UnrealEd.dll!UnknownFunction (0x000007fece9d1374) + 0 bytes [UnknownFile:0]  
UE4Editor-UnrealEd.dll!UnknownFunction (0x000007fecee460b6) + 0 bytes [UnknownFile:0]  
UE4Editor.exe!UnknownFunction (0x000000013fbaa4b4) + 0 bytes [UnknownFile:0]  
UE4Editor.exe!UnknownFunction (0x000000013fb9f66f) + 0 bytes [UnknownFile:0]  
UE4Editor.exe!UnknownFunction (0x000000013fb9f6da) + 0 bytes [UnknownFile:0]  
UE4Editor.exe!UnknownFunction (0x000000013fbabb40) + 0 bytes [UnknownFile:0]  
UE4Editor.exe!UnknownFunction (0x000000013fbaca89) + 0 bytes [UnknownFile:0]  
kernel32.dll!UnknownFunction (0x0000000076c259cd) + 0 bytes [UnknownFile:0]  
ntdll.dll!UnknownFunction (0x0000000076e5b981) + 0 bytes [UnknownFile:0]  
ntdll.dll!UnknownFunction (0x0000000076e5b981) + 0 bytes [UnknownFile:0]

---

<div class="post-metadata">

**Author:** ![Bettista](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bettista](https://forums.unrealengine.com/u/Bettista)\
**Post date:** [November 3, 2016, 4:07am UTC](https://forums.unrealengine.com/t/help-custom-sword-almost-done-but-doesnt-equip-or-show-in-players-hands/77206/15 "2016-11-03T04:07:07Z")

</div>

P0k3r – IT WORKS!!!

Couldn’t have done it without out you! Seriously, I’ll beer you over the internet somehow.

I changed the animation bp to this, and we’re GOLDEN.

Holy sweet \*\*\*\* this is amazing.

---

<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:31pm UTC](https://forums.unrealengine.com/t/help-custom-sword-almost-done-but-doesnt-equip-or-show-in-players-hands/77206/16 "2022-03-09T21:31:20Z")

</div>


