Hey guys. So i've been working on adding SMGs to the game, to fill the niche between Assault Rifles and Machine Pistols. I have a \items\active\weapons\ranged\submachinegun folder fleshed out with everything the vanilla MP has - commonsmg, uncommonsmg, smgnames, gun parts, etc. As far as I can tell I've done everything correctly though I've mostly been going off my own knowledge and intuition since I can't find any up to date tutorials on how to make a new weapon class. I also made a weapon.config.patch in \quests\generated\pools which is as follows: [ { "op": "add", "path": "/1/1", "value": { "tag": "smg", "name": "SMG", "type": "activeitem" } } ] My problem is, when I go in game (Fresh universe of course) and try /spawntreasure weapon to test my guns, they don't seem to appear. I've combed over the starbound.log and besides saying it loaded assets from the mod folder, it isn't throwing any errors. Is there something I'm missing? Any help would be greatly appreciated!
http://community.playstarbound.com/threads/weapons-tutorial.123448/#post-3010587 I hope my weapon tutorial will help you.
I've since figured it out, however you have an awesome tutorial - I think this will be of much use to people trying to create their own weapons