Jump to content

Recommended Posts

I have an issue where I am able to get a custom item to have a sprite or animation when placed on the ground. That is the main issue. Much of the mod was made by following what lukas does in his guide on YouTube, specifically his guide on making your first prefab. A curiosity I've noticed is that when using the auto compiler, the zip file for the animations is placed inside of the folder labeled by the item name inside of the exported file rather than being placed in the new folder called anim. The anim folder is created but is empty. When trying to move the zip file into the anim folder, DST runs fine, but the item does not have an animation on the ground, but can appear in the inventory, meaning the xml and tex files are fine. When changing all of the banks, builds, and amin assets to rocks, the item does appear with the rock animations. I believe the issue is related to something in the spriter, compiler, or how I have made the files.

I will also upload the contents of the mod in code, and I would also like to mention that I am planning to add a custom action on the item to make it fire a bullet on right click.

outis_gunblade.png

modmain.lua modinfo.lua outis_gunblade.tex outis_gunblade.xml outis_gunblade.lua outis_gunbade.scml outis_gunblade.zip

On 1/26/2026 at 4:06 AM, DesertedPlanet said:

I have an issue where I am able to get a custom item to have a sprite or animation when placed on the ground. That is the main issue. Much of the mod was made by following what lukas does in his guide on YouTube, specifically his guide on making your first prefab. A curiosity I've noticed is that when using the auto compiler, the zip file for the animations is placed inside of the folder labeled by the item name inside of the exported file rather than being placed in the new folder called anim. The anim folder is created but is empty. When trying to move the zip file into the anim folder, DST runs fine, but the item does not have an animation on the ground, but can appear in the inventory, meaning the xml and tex files are fine. When changing all of the banks, builds, and amin assets to rocks, the item does appear with the rock animations. I believe the issue is related to something in the spriter, compiler, or how I have made the files.

I will also upload the contents of the mod in code, and I would also like to mention that I am planning to add a custom action on the item to make it fire a bullet on right click.

outis_gunblade.png

modmain.lua 435 B · 0 downloads modinfo.lua 738 B · 0 downloads outis_gunblade.tex 5.44 kB · 0 downloads outis_gunblade.xml 188 B · 0 downloads outis_gunblade.lua 992 B · 0 downloads outis_gunbade.scml 1.02 kB · 0 downloads outis_gunblade.zip 11.25 kB · 1 download

Try using a different editor such as GIMP or Paint.NET — I really feel like there’s something wrong with your image.

On 1/27/2026 at 12:08 AM, Haruhi Kawaii said:

Try using a different editor such as GIMP or Paint.NET — I really feel like there’s something wrong with your image.

Thank you, that was actually the issue. I think it might have been because I used MS Paint to make that image.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...