Jump to content

custom chester not working?


Recommended Posts

i dont use forms much so excuse any mess ups. so ihave made a chester. but when i change the animation file it just stops  working?

local assets =
{
    Asset("ANIM", "anim/jarchester_build.zip"),    

    Asset("SOUND", "sound/chester.fsb"),

    Asset("IMAGE", "images/inventoryimages/jar_open.tex"),
    Asset("IMAGE", "images/inventoryimages/jar_open.xml"),
}

is what i have.i have a jarchester with the correct build inside. but this doesnt work. 

local assets =
{
    Asset("ANIM", "anim/chester_build.zip"),    

    Asset("SOUND", "sound/chester.fsb"),

    Asset("IMAGE", "images/inventoryimages/jar_open.tex"),
    Asset("IMAGE", "images/inventoryimages/jar_open.xml"),
}
this version works fine. there is a  second bit of code at the bottom

 inst.AnimState:SetBank("chester")
    inst.AnimState:SetBuild("jarchester_build")

 

but it also doesnt work

 inst.AnimState:SetBank("chester")
    inst.AnimState:SetBuild("chester_build")

 

this does? the only thing i can figure is i need an exported folder to build chester but i dont know how

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