Jump to content

Recommended Posts

Hello everybody,

 

My idea is to make a mod to crafting item, a hutch to reproduce rabbits :-)

I think i can us some stuff of the birdcage.lua as model.

 

I'm a noob in coding but good in Art/Animation.

But I begin to learn and really want to understand it !

 

I begin to make all the folders and .lua file.

For the moment I can craft the hutch in the game, but when I place it, I don't see anything.

 

Does it comes from the anim folder ?

I don't understand how can I make the .zip files (with anim.bin and build.bin) from Sublime with a .scml project ?

So, for the moment i have nothing in the anim folder :razz:

 

Somebody know about it ? Any tuto or guide ?

 

Thanks for your help and if you're interrested by the project !

 

Atome.

 

 

 

 

 

 

 

 

 

 

post-676078-0-52821800-1436462543.png

Thanks for your answer !

That helped me.

 

I've finnally make it !

Well I can now craft and place my hutch.

 

I try now to code hutch.lua in the way I can put rabbits in. And When there is both in, make spawn a baby rabbit regulary.

So for the code, it will be a mix between the bird cage and the beebox.

 

I just begin to look at it but if somebody have any suggestions. 

I'm not already sure about witch local function will be neccessary.

 

Going to be hard I think :p

 

*sorry for my english

Thanks

 

 

Does it mader if rabbit .lua don't have inst:AddComponent("occupier") ?

 

Can I still make the Huch occupiable with rabbit then ??

Or I have to make it with "local function ShouldAcceptItem(inst, item)" ?

 

Thanks

 

I work on it.

 

Occupier means that an entity can take shelter there (e.g. pigs, walrus)

 

You can also try Trader component (e.g. birdcage, telefocus)

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