SenL Posted February 9, 2016 Share Posted February 9, 2016 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. Link to comment Share on other sites More sharing options...
Kzisor Posted February 9, 2016 Share Posted February 9, 2016 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. Link to comment Share on other sites More sharing options...
SenL Posted February 9, 2016 Author Share Posted February 9, 2016 Oh cool. Nice to know. Thanks! Link to comment Share on other sites More sharing options...
SenL Posted February 10, 2016 Author Share Posted February 10, 2016 (edited) 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 February 10, 2016 by SenL Link to comment Share on other sites More sharing options...
Kzisor Posted February 10, 2016 Share Posted February 10, 2016 13 hours ago, SenL said: What do I put in SetBank and what do I put in SetBuild? SetBank("wilson"), SetBuild("bkbarb") Link to comment Share on other sites More sharing options...
SenL Posted February 10, 2016 Author Share Posted February 10, 2016 (edited) 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 February 10, 2016 by SenL Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now