Jump to content

Recommended Posts

I have been making a few custom items. They have the same code, just different stats. When I put the first item on the ground, the texture is fine. However with the second and third items it is invisible when dropped on the ground. There is no hitbox either. All the other textures, including the map, inventory, and handheld work fine. I basically made the first one and then copied and pasted it to create the other two.
Any help would be greatly appreciated!

Item one and two are attached. One is fine and Two is bugged.

 

boomstick1.lua boomstick2.lua

Edited by BombardmentPigs

Did you make sure you added this to your mods assets:

Asset("ANIM", "anim/boomstick2.zip"),
Asset("ANIM", "anim/boomstick2_ground.zip")

If yes then there might be a problem with the animation itself, maybe the names are wrong. It's hard to tell without the actual animation files. From what I can here boomstick2 should work fine.

Yes, they are inside the file, however it does not work. If you need to I can provide the modmain.

Also, I tested it with Spriter. The textures show up there. Just not in-game.

Edited by BombardmentPigs

An update: I don't think it is a problem with the graphics folders, because I tried deleting them and using the autocompilier to recompile them. Unfortunately it doesn't work.

If you want the specifics:
I deleted the boomstick2_ground.zip file and replaced it with a boomstick1_ground.zip file (Both the exported folder and the anim folder)
I deleted the boomstick2_ground.scml file and replaced it with a boomstick1_ground.scml file

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...