Jump to content

Recommended Posts

Usually i use this mod to create foods, items and heck basic structures out of:

the sample prefab is the one you want its pretty flexable in art design and even animations if you have the time. But the code needs a bit patching up to work (outdated version number n such) and code to work it as you please.

Just now, K1NGT1GER609 said:

Usually i use this mod to create foods, items and heck basic structures out of:

the sample prefab is the one you want its pretty flexable in art design and even animations if you have the time. But the code needs a bit patching up to work (outdated version number n such) and code to work it as you please.

i'll try it out and see what i can do

thank you!

@K1NGT1GER609

yes this mod is exactly what i need!

i got it to work and is now alongside with my character

but one question: how do i get rid of the floating? i just want it on the floor like a regular food item

anyway to get rid of the levitation?

Edited by TotalTrashDream
typos

If you have spriter open up the scml file and at the bottom there should be a bar that's called a time line. on that time line there maybe some thick grey bar(s) delete those and it should lessen the floating. Heres a picture of how it kind of looks like below the red circles should help in clear up what I'm talking about and delete them:

 

5a2df0fbdaa3b_spriterexample.thumb.jpg.16d5629e3434d6f2748dcbaca9129016.jpg

You can also set this in your code:

inst.AnimState:PlayAnimation("idle", false) --the second argument tells if the animation loops

if not TheWorld.ismastersim then --just reference of where it should be
        return inst
    end

Last note if you do not have spriter use the link below to download:

https://brashmonkey.com/download_spriter/

Edited by K1NGT1GER609
5 hours ago, K1NGT1GER609 said:

If you have spriter open up the scml file and at the bottom there should be a bar that's called a time line. on that time line there maybe some thick grey bar(s) delete those and it should lessen the floating. Heres a picture of how it kind of looks like below the red circles should help in clear up what I'm talking about and delete them:

 

5a2df0fbdaa3b_spriterexample.thumb.jpg.16d5629e3434d6f2748dcbaca9129016.jpg

You can also set this in your code:

inst.AnimState:PlayAnimation("idle", false) --the second argument tells if the animation loops

if not TheWorld.ismastersim then --just reference of where it should be
        return inst
    end

Last note if you do not have spriter use the link below to download:

https://brashmonkey.com/download_spriter/

i couldnt really find any gray bars of the sort, nor were things going as i expected, so i just decided to go with another mod who already had an inventory item

it works now though

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