• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

LOOKING FOR HELP - Weapon Modding

SDX: Could not find bundle named 'AK5C'

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)

this is what im finding in logs

 
The error message I posted would mean you typed the parent asset name differently in xml than you named it in Unity. The error message you posted means you typed the .unity3d save file name differently in xml than you named it when exporting out of Unity.

 
that's really strange idk what's going on XD i used unity 5.3.8 and followed this tutorial,

judging by the profile picture im guessing it's your channel ?

i also tried adding the one khainegb made with the same results

the unity3d im exporting has the parent and the child both named AK5C and in the xml it's the same #AK5C?AK5C

i'm playing war of the walkers mod but i don't think that's an issue since the katana and the crowbar work

if it isn't any trouble could u try adding it to your game, no big deal if you can't though

 
Last edited by a moderator:
My loading the file probably won't help. The error message is clear, the resource named AK5C.unity3d can't be found. That means one of several things. The file name is spelled differently, capitalized differently, or not in the correct folder location. Unless I have your complete mod, I can't check all those things. We all have struggled with these minor errors that stop things cold. Recheck everything.

 
i named the parent AK5C and the child AK5C then also named the unity3d file AK5C Then in the xml i typed this for the meshfile #AK5C?AK5C

the result inside the game is not the gun model but just a piece of leather XD

as it happens i did upload my game for a friend who recently got the game so here it is : https://drive.google.com/open?id=1WvefVPHtPG_XDob8Z5Yy0I8nvyEzGDJh ( it doesnt have the xml lines for the AK5C though )

here is also the unity3d file i made : https://drive.google.com/open?id=1BfeNwACZo8N2jX0-1W40IH24cj2SgDVh

fbx : https://www.sendspace.com/file/tcxt14

icon : View attachment 24800

feel free to try it if you want thank you for taking the time to help me :D

ak5crifle.png

 
Last edited by a moderator:
Hey... Im not the best at this, im just starting... but I think your gun model is not ok, xyth will probably have a better answer for this.

all I did was downloading the game you sent, added the AK5C model to the >mods>SDX>resources folder and then I replaced the "mesh in hand" on the regular AK item (didn't had time to make a new item) just to see what I was getting...

I got this....

AK.jpg

it fires do...

* I have done the same with other models I did and works fine... I think you need to redo the model.

hope you can fix it.

 
Hey... Im not the best at this, im just starting... but I think your gun model is not ok, xyth will probably have a better answer for this.

all I did was downloading the game you sent, added the AK5C model to the >mods>SDX>resources folder and then I replaced the "mesh in hand" on the regular AK item (didn't had time to make a new item) just to see what I was getting...

I got this....

View attachment 24815

it fires do...

* I have done the same with other models I did and works fine... I think you need to redo the model.

hope you can fix it.
That just needs rotating 90 degrees in unity on the child object.

 
Look for paco's tutorial on advanced weapons in the tutorials & guides part of the forum, you'll see there that after importing a gun from unity store he adds an alpha 16 mesh (ak) to set the new gun into position and scale... scales are weird... fireaxes for example or other tools you need to set them about 2.5 scale to fit the proper way...

paco's tutorial is quite good, I was able to make a new gun following that step by step... size is good, flashlight working, animation for "fire" is ok... the reload animation you can see sucks a bit, because is set too slow I think... takes longer (a lot longer) than the player hand animation and I still have not worked on the clip... but you will probably be able to solve it checking that tutorial.

[video=youtube_share;ON_UyPzFci0]

 
all I did was downloading the game you sent, added the AK5C model to the >mods>SDX>resources folder and then I replaced the "mesh in hand" on the regular AK item (didn't had time to make a new item) just to see what I was getting...
Mesh in hand u mean this ?

<property name="HandMeshfile" value="#AK5C?AK5C"/>

 
Mesh in hand u mean this ?
<property name="HandMeshfile" value="#AK5C?AK5C"/>
yes i meant that, sry.

i already deleted your game folder sry, or i would copy the item code for you here, but all i did was add those 2 lines of code for handmesh and dropmesh *(or whatever they go like, you know what i mean) below the "mesh" code line in the regular AK of the game.

 
Last edited by a moderator:
since im already here... anyone has a clue why im not been able to get the "assemble preview" on my guns? i did the guns as i said following the tutorial and everything works perfect but that. i fixed the animation,made custom icons, i have that golden pistol and one with a silencer working in game but keep having the old pistol preview.

 
since im already here... anyone has a clue why im not been able to get the "assemble preview" on my guns? i did the guns as i said following the tutorial and everything works perfect but that. i fixed the animation,made custom icons, i have that golden pistol and one with a silencer working in game but keep having the old pistol preview.
You need 2 prefabs. One with the name of the item, and then one with the item name and Preview attached to the end.

So the standard pistol in the game would be gunPistol and gunPistolPreview.

 
yes I did a duplicated named preview at the end... but didn't worked... I exported both togheter is that correct? or do I need to export two prefabs? I think im missing a step or doing something wrong

 
Back
Top