#I need help with a Mod and it won't work when i put it in bundle or anything at all

1 messages · Page 1 of 1 (latest)

cosmic nova
#

is suposed to be a microphone, i puted that in the DAT

#

and i used the newest version of Unity for unturned

crude ruinBOT
cosmic nova
#

the 2020.3.38f1

#

and i did every step, changed the Prefab with my model, seted the icon with the camera, i used a Crowbar for it, and i just changed the Prefab with my model and the Mesh Filter, then i exported it puted it in bundles and it won't work

#

can anyone help me pls

#

it worked with my clothes mods that ubication but this is my first Item Mod and i have no Idea what is happening

cosmic nova
#

Pls???

cosmic nova
#

i would really appreciate help pls

glossy cove
#

It would appear that the item doesn't even get loaded since the game hasn't generated a GUID. Since you have Exclude_From_Master_Bundle present in your .dat it must be due to an issue in your export folder (in Unity). Could you please take a screenshot of it?

#

It should be logged in the Error logs why it doesn't get loaded. To find the Error logs go to the Main Menu => Workshop => Error Logs . Easy as that!

#

Try find the Error related to your item and send an Image of it

glossy cove
#

Remove the camera from the Icon gameobject

#

Also Size_Z doesnt matter anymore unless youre not using auto measurements for icons which is default turned on

cosmic nova
#

it did worked, but now in hand it won't work

#

it's size is weirdly small

glossy cove
#

Because its not scale 1 1 1

#

The scale has to be 1 1 1 for the animations

cosmic nova
#

i see

#

that's the scale for the normal object

#

and is the same size as the crowbar i did it from

glossy cove
#

Its scale 112 114 120

#

Looks like you also forgot to apply scale in Blender / your modelling program

cosmic nova
#

i putted 1 1 1 but now it looks bigger than the object based on

glossy cove
#

Yes.

#

Because you sir are silly

#

Read what i said

cosmic nova
glossy cove
#

Looks like you also forgot to apply scale in Blender / your modelling program

#

No

#

Go to blender and open the model

#

Select the model and use hotkey CTRL+A and click rotation and scale

#

Export

#

Now in Unity

#

Drag it in and if its too small or big

#

Scale it in the Model's import settings

cosmic nova
#

ok so i imported it in unity again the fixed model

glossy cove
#

Good everything should be working now

cosmic nova
#

the one thing i didn't understand, and i am sorry, is what did you meant by scale it in the Model's Import settings

cosmic nova
glossy cove
#

No in unity

#

Click on the imported model

#

Tge .fbx file

#

Or .blend file whatever you imported

#

Import scale parameter

#

Change that

cosmic nova
#

it can get into the same result aswell right?

#

it worked 😄

#

well thanks a lot @glossy cove you were a huge help

#

gn sorry for bothering you

#

if you see this later, i would like to ask how could i make it for the microphone to not hit

cosmic nova
#

like for it to not be a melee

#

i already fixed it entirely

#

and also for it to not necesarilly to be in a weapon slot

glossy cove
#

Make it a Cloud

#

And add Gravity 1

#

Also id recommend adding custom animations perhaps, would make it look way better

cosmic nova
cosmic nova
glossy cove
#

Its called a Cloud in the game files

#

Type Cloud

#

Useable Cloud

#

Just add Gravity 1

cosmic nova
#

ohhh

#

tysm

cosmic nova
cosmic nova
#

should i use it? or what is it for?

glossy cove
#

Its for if you want to use Size_Z

glossy cove
#

For a Cloud you have a single Animation named Equip

#

For melee weapons you have additionally to Equip Inspect Weak Strong and more

cosmic nova
#

can i make an animation where it holds? like with the click

#

like holding the click and the animation stays still?

glossy cove
#

What

cosmic nova
#

where you hold the left click and it's stays

#

i would like to do that with my mod

glossy cove
#

Then you wouldnt make it a Cloud

#

Just look at the Useable and Type of that mods geasture item and figure it out

cosmic nova
#

also i am having problems with the handle of my object, do u know how could i fix this?

#

i used a hammer, is just that the handle is too up, how could i fix that?

glossy cove
#

Move the Origin of the hammer in Blender upwards

#

also please shade your Model smooth

glossy cove
glossy cove
cosmic nova
cosmic nova
#

i just need help with 1 more thing

#

there is this way for putting sound to the melee attack

glossy cove
#

Yes add audio clips and name them Strong (Right click) and Weak (Left click)

cosmic nova
#

into unity or the file?

glossy cove
#

In the Unity Export folder

cosmic nova
#

and what is the AttackAudioClip Sounds/MeleeAttack_02.mp3

#

when i was trying to do it i finded that

#

thought it was that but it didn't worked

cosmic nova
glossy cove
#

No

#

just Strong and Weak

cosmic nova
#

and i export it all together just like that?

glossy cove
#

yes

cosmic nova
#

it didn't worked, but i guess is because of this, AttackAudioClip Sounds/MeleeAttack_02.mp3, i finded it in the .DAT of the hammer but i guess it is for that right?

glossy cove
#

NVM

#

Sorry you use a single audio clip

#

and name it Use

glossy cove
#

but its not necessary

#

having an audio file in your export folder named Use is the same thing

cosmic nova
#

ok already did it i am gonna see it works

glossy cove
#

You dont need to have your imports in the same folder as your exports

#

I like to seperate my Textures, Materials and Models into their own seperate folder

#

and then have my Prefabs audio and animations (the export stuff) in another

#

just makes it look cleaner

#

specially if youre importing the same model over and over again because you made a minor mistake but you dont want to modify the already existing objects

cosmic nova
#

hmmm

#

i am sorry but i didn't understanded your point

glossy cove
#

for example

#

this is my export folder

cosmic nova
#

ok

glossy cove
#

But the models textures and materials are here

cosmic nova
#

i see

#

so what i need to put in the game in one folder and what i need to Use for the project in another one

glossy cove
#

Audio clips shouldnt be seperated

cosmic nova
glossy cove
#

Yes

cosmic nova
#

i rounded it up like this

#

for the stuff i will export

glossy cove
#

Yes

#

exactly

cosmic nova
#

i see ty

#

so now when i export this

#

it should work?

glossy cove
#

Yes!

cosmic nova
#

ok tysm

#

i will try it out now

#

it didn't played the melee sounds

glossy cove
#

check error logs and client logs

cosmic nova
cosmic nova
#

it worked

#

tysm

#

audio is weird but i gotta fix that in the editor lol

glossy cove
#

it shouldd be at the start

glossy cove
#

Alright if everything is working could you close this Forum post?

cosmic nova
#

sure