Home   Help Search Login Register  

Author Topic: Diffrent animation for LAW  (Read 741 times)

0 Members and 1 Guest are viewing this topic.

jaksa

  • Guest
Diffrent animation for LAW
« on: 19 Jun 2005, 15:46:21 »
How can i change animation for weapons like LAW? What for? I want to do portable light mortar. Soldier with this kind of weapon need always the same position (animation), because you cant fire with mortar in Your hands. operator must be always crouching  or lying. As i suppouse, LAW class is the best for it, isn't it?

jaksa

  • Guest
Re:Diffrent animation for LAW
« Reply #1 on: 22 Jun 2005, 22:32:26 »
ok, lets go other way
can i force a soldier to use the weapon only in lying position by EventHandler? If yes, how?

UNN

  • Guest
Re:Diffrent animation for LAW
« Reply #2 on: 23 Jun 2005, 11:36:26 »
You mean like the WW2 Japanese Knee Mortar?



AFAIK it's all done in the configs, take a look in the configs at how they defined the Law launcher. If you base it on the same class and add your own animation, you should be able to get the results your after?

Alternatively make the mortar a vehicle, that can be deployed and entered based on a user action. As you can still move and fire with a law, so this might be a better solution? I think LAW launchers are kind of hardcoded into the configs, so I'm not sure how easy it will be to override them.

But either way I think you will need a custom animation.

jaksa

  • Guest
Re:Diffrent animation for LAW
« Reply #3 on: 23 Jun 2005, 13:29:59 »
Yes, exactly, this kind of mortar.  Weapon like that was used in nearly all armies, and now it's coming back (usually as an commando mortars).It gives quite good fire support. In defend - doesn't matter, but in assault it need to be portable. Quick position changing is a key to successful  support.
1. If it will be a vehicle (created by user actions), can AI use it succesfully, without inmission waypoints or triggers (whatever)? AI should be free to use it.
2. there are many vehicles with special animations, but i didn't see any riffle, law or whatever with added anim. One can change whole animations (anims.pbo), but how  do that with specifed addon?
3.Custom animation - i'll do that. i hope so :)

UNN

  • Guest
Re:Diffrent animation for LAW
« Reply #4 on: 24 Jun 2005, 19:06:21 »
Quote
Yes, exactly, this kind of mortar.  Weapon like that was used in nearly all armies, and now it's coming back (usually as an commando mortars).

Yeah, I had a good pic of a WW2 British Commando mortar, can't find it now :( I think the Japanese version, at the time, stood out from the rest. You could vary the range with an adjustable ring and fire regular grenades over a limited distance. Because it used a trigger system, you could carry it with a round loaded, ready to fire.

I think the best way would be to config it the same way OFP does the Mortar (fired from a rifle)? That would work best for the AI, but you would probably need a custom animation.

The only way I'm familiar with is as a vehicle. You could probably use one of the default animations, to get something close. But yeah, would be a pain trying to get the AI to use that.