Jump to content

Someone knows how to get an axe chopping animation?


Recommended Posts

The axe animations are in anim/player_actions_axe.zip.

 

The chopping consists of two animations:

- "chop_pre", wilson lifts the axe

- "chop_loop", wilson swings the axe from the lifted position, hits the tree, and goes back to the lifted position

Link to comment
Share on other sites

The axe animations are in anim/player_actions_axe.zip.

 

The chopping consists of two animations:

- "chop_pre", wilson lifts the axe

- "chop_loop", wilson swings the axe from the lifted position, hits the tree, and goes back to the lifted position

Thank you very much, i believed the file was in swap_axe :p

Link to comment
Share on other sites

The axe animations are in anim/player_actions_axe.zip.

 

The chopping consists of two animations:

- "chop_pre", wilson lifts the axe

- "chop_loop", wilson swings the axe from the lifted position, hits the tree, and goes back to the lifted position

Yo, i have a new question, i'm making a new tools, and i want make an new axe but i guess my question was wrong, do you know how i can make the axe sprites? because i have them

post-273342-0-41866400-1441237644_thumb.

But i don't know how to use correctly in the animations. Can you help? 

Link to comment
Share on other sites

I don't think you need those.

 

You just make the axe item, like how you made your sword thing, then put

	inst:AddComponent("tool")	inst.components.tool:SetAction(ACTIONS.CHOP)

and the current axe animation will do its job and move the symbols as they need to.

 

 

I just did this:

AddPrefabPostInit("spear", function(inst)	inst:AddComponent("tool")	inst.components.tool:SetAction(ACTIONS.CHOP)end)

And it looked fine, no new sprites.

Link to comment
Share on other sites

I don't think you need those.

 

You just make the axe item, like how you made your sword thing, then put

	inst:AddComponent("tool")	inst.components.tool:SetAction(ACTIONS.CHOP)
and the current axe animation will do its job and move the symbols as they need to.

 

 

I just did this:

AddPrefabPostInit("spear", function(inst)	inst:AddComponent("tool")	inst.components.tool:SetAction(ACTIONS.CHOP)end)
And it looked fine, no new sprites.

 

Yeah, i know the tool prefab. But the animation cutting the tree doesn't  changes the textures i trying to mean the "dynamic". sorry if i don't expressing good, still learning english.

You can see in this video.

Also.  :wickerbottomthanks:  for help me :razz:

I will explain this, this will be so facepalming, in make the item with swap_axe and used the player choping anim. and i extract the scml with krane and added the build, i thinked that will work... Yes, very facepalming. I tried like the marble sword but i did it without the another axes sprites also, the marlbesword doesn't has a 2 sprites like the dark sword. ¿Do you know how to make it by the normal way?

Edited by Neutral_Steve
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...