Page 1 of 1

Bolt-action animations? Is it possible?

Posted: Thu Jul 30, 2009 3:41 pm
by fai222
Hi there. I wonder if it is possible to make bolt-action animations in SWBF2? Does the engine support it?
Oh, and I dont know anything about how to make animations etc. so please dont try to explain it to me, because i problably wont understand a thing. What i need to know is if it is possible. Ill go into more details if bolt-action animations is possible.

Re: Bolt-action animations? Is it possible?

Posted: Thu Jul 30, 2009 4:15 pm
by FragMe!
If anything it would have to be the reload animation and your weapon could only have one shot before reload.

Re: Bolt-action animations? Is it possible?

Posted: Thu Jul 30, 2009 4:22 pm
by kinetosimpetus
maybe the fire anim, adding a part after the normal fire for the bolt, then make shotdelay longer

Re: Bolt-action animations? Is it possible?

Posted: Thu Jul 30, 2009 4:23 pm
by AceMastermind
fai222 wrote:...I wonder if it is possible to make bolt-action animations in SWBF2?
If you mean you want the weapon itself to have an animation then no, if it's for an animated prop, then yes.
There is no known way to link a weapon to it's own animation when carried by a soldier, but the soldier can have whatever animation you want to give it.

Re: Bolt-action animations? Is it possible?

Posted: Thu Jul 30, 2009 4:27 pm
by bobfinkl
So that would mean it is possible, By giving the weapon odf an animation like "Rifle" or "Bazooka" except it would be called "Bolt" (not the weapon being animated though just the unit moving in the motions of the bolt)?

Re: Bolt-action animations? Is it possible?

Posted: Thu Jul 30, 2009 4:40 pm
by FragMe!
You could in theory make an new animation bank like human_5 with the the animation files called human_bolt_crouch_reload and human_bolt_stand_reload_full using the same basepose. Then after editing the .sanm file etc it would create a new ingame file which you could load in the mode lua. This is similar to what needs to be done for new 9pose animations.

And as bobfinkl said it would be the soldier not the weapon that would be animated.

You would or should also do a new FPM as well.

Re: Bolt-action animations? Is it possible?

Posted: Thu Jul 30, 2009 4:47 pm
by bobfinkl
I'm sure it would be possible to attach the bolt to the player model and have that attached to the hand and move also (although not really necessary because if anyone pays close enough attention to other fps shooters like CoD5 the 3rd person anims don't have the bolt moving). Anyway I think that solves that this is 100% possible, now the difficult thing is how to do it.

Re: Bolt-action animations? Is it possible?

Posted: Thu Jul 30, 2009 5:04 pm
by mswf
I don't think attaching the bolt to the unit is a good idea, since it would show itself when you'd jump or something likewise.

Re: Bolt-action animations? Is it possible?

Posted: Thu Jul 30, 2009 9:29 pm
by Fiodis
Hang on. What about making a custom effects mesh of a bullet, then creating a fire effect with the muzzle flash and the bullet dropping out of the gun? Why go into animation at all?

Re: Bolt-action animations? Is it possible?

Posted: Thu Jul 30, 2009 10:16 pm
by AceMastermind
bobfinkl wrote:So that would mean it is possible, By giving the weapon odf an animation like "Rifle" or "Bazooka" except it would be called "Bolt" (not the weapon being animated though just the unit moving in the motions of the bolt)?
Yep

Fiodis wrote:...Why go into animation at all?
Because there's more to bolt action than just shell casings ejecting.

Re: Bolt-action animations? Is it possible?

Posted: Fri Jul 31, 2009 11:34 am
by Fiodis
Ah, sorry, I was a bit fuzzy on what bolt action actually was.