Can someone help me with this blender model?

link: opengameart.org/content/basic-ch … d-animated

Could someone help me export this to an egg with the animation. I’m completely hopeless with blender.

Hm. I am found only “Shoot” animation in the model instead of “Run, Idle, GetDown, Shoot”, however I am not a blender artist and I can left out of sight something

Damn it. I really need a model with a run animation! Could someone experienced with blender help me (I couldn’t find any animations)?

Thanks anyway ninth.

In Dope Sheet editor pick Action Editor then select animation you want, press 2x A to select all keyframes(its maybe not necessary), then select the object and export, dont forget to add in Yabee options animation and set frames.

Could you please export this for me. I can’t understand blender at all.

Thanks.

file
Had to delete the gun it was messy.
animations: Run, Idle, Shoot

Thanks a lot! :smiley:

Wait, when you include an animation, you need it as a seperate egg file, I think you’ve done this wrong.

Thanks anyway.

No, you can have model and animations in one egg, so you dont have to use dictionary with animations when you create Actor.

So how would I load the actor?

Thanks.

from direct.showbase.ShowBase import ShowBase
from direct.actor.Actor import Actor

class World(ShowBase):

    def __init__(self):
      ShowBase.__init__(self)
      self.char=Actor("char")
      self.char.setPos(0,0,0)
      base.cam.lookAt(0,0,0)
      base.cam.setPos(0,-20,0)
      self.char.reparentTo(render)
      self.char.loop("Run")

world = World()
world.run()