Sign in to follow this  
SenL

Spriter template for humanoid follower?

Recommended Posts

SenL    30

I want to make a humanoid follower such as shadow maxwell that can help chop, mine and fight.

I got the coding done (I used Rezecib mod (workshop-343762271)), but I don't know where to start with spriter/animation etc.

The SGshadowmaxwell stategraph has many anims: idle_loop, run_pre, run_loop, run_pst, atk, death, hit, idle_sanity_pre, idle_sanity_loop, chop_pre, chop_loop, pickaxe_pre, pickaxe_loop, pickaxe_pst.

Is there a spriter template or guide/tutorial for humanoid follower?

Thanks.

Share this post


Link to post
Share on other sites
Kzisor    1061

Waxwell's puppets, literally use the same animation bank as a player. Simply give them a different build for a character, example inst.AnimState:SetBuild("wilson") and they will appear as wilson.

Share this post


Link to post
Share on other sites
SenL    30

I tried using character template build as a follower.

I used the extended sample template which has "template" entity and "BUILD_PLAYER" animation.

 

Filename is "bkbarb.zip" (from bkbarb.scml"). Put this file in "anim" folder and add it in bkbarb.lua as asset

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

I put "wilson" in the SetBank. For SetBuild...

Tried using "template", "BUILD_PLAYER" and "bkbarb".

Unfortunately, all combination above results in invisible follower.

 

What do I put in SetBank and what do I put in SetBuild?

Thanks.

 

Edited by SenL

Share this post


Link to post
Share on other sites
SenL    30

I must be doing something wrong because it's invisible.

Edit: Nevermind, it works now. lol. I didn't put the bkbarb.zip correctly.

Edited by SenL

Share this post


Link to post
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
Sign in to follow this