Im trying to make a mod that,for now,adds just an broadsword(Its actually an scythe,but mechanically it will be a broadsword with astral tear). The idea is making it pretty powerful,even more than the best actual weapon ingame. I tried to make it work but...it doesn't spawn ingame. Basically,I can upload the mod to Dropbox and send a link to anybody who wants to see how I did it and to see my errors. I hope somebody helps.
You could always rig up a .recipe so that you'll be able to craft it instead of having to spawn it with admin commands? Something like this.. Save that as a .recipe, and then make yourself a /recipes/weapons folder path off your mod folder and put that in the weapons folder. Be sure to replace the "sworditemname" with the item name of your sword so that it paths correctly.
Thanks,at least that way Ill be able to make the crafting recipe for it Anyway,the problem is that the item doesn't spawn and it becomes a perfectly generic item,nothing more.
you need to make a file that ensures it persists in your character. This is done with a player patch file: https://gyazo.com/9026e2925ef3aeccfd460e292a38ac77 Your object name should match this! You can place the patch file anywhere I think but generally at the root of your mod folder like so https://gyazo.com/bb360049411b9bd2eb3f581845dc10b1