Original Post — Direct link

I've been trying to import my own gun into unturned,ive set everything up

removed GUID and tried custom

Changed the models and all that

ID doesnt match any ingame item currently

unity version 2020.3.43f1

is there something missing?

External link →
over 1 year ago - /u/MoltonMontro - Direct link

What error appears in the in-game error log?

over 1 year ago - /u/MoltonMontro - Direct link

Originally posted by ToeOk2082

there is no error log when i join unturned

You have to manually open up the Error Logs, from the main menu.

  • Main menu screen → Workshop → Error Logs
over 1 year ago - /u/MoltonMontro - Direct link

Originally posted by ToeOk2082

There still are none

It sounds like you haven't installed your mod then. You'd have to provide more information about what you've done so far.

over 1 year ago - /u/MoltonMontro - Direct link

Originally posted by ToeOk2082

well,ive made the model in blender exported it as an FBX file,replaced the model 0 on the mags and rifle removed some stuff that i dont need,exported it into a folder i made where i copied the maplestrike .dat files changed all the names to be the same rarity GUID fire mode id caliber id

i also did it using just the bundle tool and not the master bundle tool

Since you're not using a master bundle, you need to manually configure each item to use the individual .unity3d asset instead.

https://docs.smartlydressedgames.com/en/stable/assets/asset-bundles.html

Tldr is to add the following to the .dat file: Exclude_From_Master_Bundle

over 1 year ago - /u/MoltonMontro - Direct link

Originally posted by ToeOk2082

Well i've added that already and it still didnt work

Are you sure you bundled the prefabs in Unity properly?

Where's the folder for your custom item located? Is it in /Bundles or somewhere else?

over 1 year ago - /u/MoltonMontro - Direct link

To clarify, what's the issue with your weapon in-game? Are you unable to spawn it in? Are the animations broken?

over 1 year ago - /u/MoltonMontro - Direct link

Originally posted by ToeOk2082

Cant spawn it in

Consider providing screenshots of the modded item's folder, the contents of the .dat files, the in-game error log, and how you've set the item up in Unity.

over 1 year ago - /u/MoltonMontro - Direct link

Originally posted by ToeOk2082

This error typically appears when item isn't bundled and/or setup in Unity properly.