Jump to content

Recommended Posts

I am tryin to make an arrow but not a craftable item or something like that it will just shown when i attacked with bow (like madoka or archery mod) but the arrow is not shown in game (no error) i took the code from madoka(im making this mod for personal use) and it works with its orginal .zip but when i try to make my own arrow is not shown. I suppoise its something about spriter but im not sure. I can upload any files you needed but for now i'll update .png and .zip

kitsura_arrow.png

kitsura_arrow.zip

Edited by AkaiNight

Sorry for late reply, but when I have tried to start up your mod I approached an error and it took me extra time to break through to the actual matter of this topic. You need to delete "kitsura_arrow" from "start_inv" from "kitsura.lua", because "kitsura_arrow" is not an item. Anyway, I figured it out.

I have:

- added "Asset("ANIM", "anim/kitsura_arrow.zip")" inside "Assets" in modmain.lua

- changed this inside of "kitsura_arrow.lua:

return Prefab("ice_projectile", ice, assets)
       Prefab("kitsura_arrow", fire, assets)

 

    inst.AnimState:SetBank("kitsura_arrow")
    inst.AnimState:SetBuild("kitsura_arrow")
 inst.AnimState:PlayAnimation("anim", true)

- built "kitsura_arrow.scml" once again from "exported" folder

 

I think it won't be a problem anymore. Cheers!

Kitsura - fixed.rar

  • Thanks 1

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