Jump to content

Character Mod


Recommended Posts

Item on inventory are transparents when you didn't created a image tex file (64*64 usually), or made mistakes in your path/name/something.

Items on ground and character are usually transparents when you made mistake with spriter, or made mistakes in your path/name/something.

Also, yes, having the mod could help, because people can only guess without it.

Edited by Lumina
Link to comment
Share on other sites

You have


	Asset("ANIM", "anim/book_cold.zip"),

But you have :



        inst.AnimState:SetBank("books")
        inst.AnimState:SetBuild("books")
        inst.AnimState:PlayAnimation(def.name)

Replace the bank, build and anim by the correct names.

Do the same for others books.

 

For image in inventory, do :


    inst:AddComponent("inventoryitem")
	inst.components.inventoryitem.imagename = "myitem"
	inst.components.inventoryitem.atlasname = "images/inventoryimages/myitem.xml"

(First line should already exist).

Link to comment
Share on other sites

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
 Share

×
  • Create New...