GRUP STEAM
The Sanders Family TComWrkShp
GRUP STEAM
The Sanders Family TComWrkShp
34
ÎN JOC
191
ONLINE
Creat la
23 aprilie 2015
Limbă
Engleză
Toate discuțiile > Discuții generale > Detaliile subiectului
Custom melee weapon doesn't have sound
Hi guys, so i have made a melee weapon for my map i'm working on, i managed to put it into the game but it doesn't have sound when i swing it, i used vanilla axe's sound but there is still no sound, does anybody know how to set up sound in unity? and how to set up sound for the right mouse click attack? i use old version of Unity 5.0.0 do i have to update to 5.4 or 5.5?
< >
Se afișează 1-12 din 12 comentarii
Freddy 23 sept. 2018 la 13:49 
You need to update to 5.5.* (* version doesnt matter)
ZoliWorks 23 sept. 2018 la 20:45 
Yeah, update to 5.5 and make sure your sound files are in wav format.
Major 24 sept. 2018 la 7:34 
Thank you both, i'll update to 5.5 and try it
Major 24 sept. 2018 la 10:11 
Update - sound works now but the weapon is invisible in inventory and when i drop it on the floor however it is visible when it's equipped. Also when the weapon is held the position is a little bit high, do i change that in Blender or is it possible in Unity?
ZoliWorks 24 sept. 2018 la 21:19 
You sure it doesn't fall through the ground? Attach a box colder. You change the position by repositioning model_0 and 1. Attach a camera component to the icon and move it around till you see the weapon.
Major 25 sept. 2018 la 10:43 
I already added box collider and the weapon doesn't fall through the ground because i can pick it up in inventory as nearby item. Is it possible this problem occurs because i have quads on my model?
ZoliWorks 25 sept. 2018 la 22:47 
I use quads and tris all the time, did you do any limited dissolving?
Major 26 sept. 2018 la 4:36 
no didn't do any limited dissolving, should i?
Nope, was just asking cause it messes up the faces and sometimes they dont render. Could you provide me with screenshots if your item prefab? including importing settingsof the model and every child object of the item object (the data on the right side of the screen about the objects interests me the most) aswell as some pictures of the model itself in blender. Did you try normalizing the model? Assigning it to lod groups in unity, recalculating those bounds?

You could take a look at this as it cover basic weapons and as far as i know melee weapons have a simmilar setup

And you could join this discord[discord.gg] for more help regarding your issue
Major 26 sept. 2018 la 7:46 
Yes i assigned lod groups but the recalcuate bounds button shows it's up to date also it looks like Unity didn't transfer tags and layers right when i updated it, they weren't in the right position, i changed that now, item should be as tag 4 and layer 13 right?
Major 26 sept. 2018 la 7:59 
yep that was the problem, don't know why i didn't check that out sooner lol the weapon works fine now, thanks for helping
ZoliWorks 26 sept. 2018 la 21:53 
Nice, yeah I'd say import the tagmeneger.asset from the sources in unity and replace your tagmeneger.asset inside your unity project folder to have the corrects names set up
< >
Se afișează 1-12 din 12 comentarii
Per pagină: 1530 50

Toate discuțiile > Discuții generale > Detaliile subiectului