AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [Help] - Mixing weapon animation? (https://forums.alliedmods.net/showthread.php?t=283220)

AGoodGuy 05-28-2016 01:45

[Help] - Mixing weapon animation?
 
Hi everyone,

Like title said. I want to mixing animation on same time. Let's simple this things on image.

First, i have 1 weapon have 2 animation like this:


1. Anim shoot 1 - You can see this gun with effect on right hand:

https://goo.gl/wPB18m



2. Anim shoot 2 - You can see now this gun hold grenade on left hand:

https://goo.gl/bEJeY7



OK, now i want to mixing two animation on game runtime, shooting have effect on right hand of anim shoot 1 and have grenade on left hand of anim shoot 2 with out modify on model, only use scripting.

What can i do now? Can you suggest me?

Thank you very much

GordonFreeman (RU) 05-28-2016 02:01

Re: [Help] - Mixing weapon animation?
 
You can't.

AGoodGuy 05-28-2016 03:19

Re: [Help] - Mixing weapon animation?
 
Quote:

Originally Posted by GordonFreeman (RU) (Post 2422667)
You can't.

For now, I can't, that's right. But still have solution. :D

One guy made this happen:

https://www.youtube.com/watch?v=8MbPrv30a3Y

GordonFreeman (RU) 05-28-2016 06:42

Re: [Help] - Mixing weapon animation?
 
Can you post model ?

AGoodGuy 05-28-2016 07:39

Re: [Help] - Mixing weapon animation?
 
1 Attachment(s)
Below is model decompress from CSO :D .

OciXCrom 05-28-2016 09:05

Re: [Help] - Mixing weapon animation?
 
Related to that exact model - is there a way to make the model right-handed?

AGoodGuy 05-28-2016 12:22

Re: [Help] - Mixing weapon animation?
 
Quote:

Originally Posted by OciXCrom (Post 2422728)
Related to that exact model - is there a way to make the model right-handed?

- Not of this thread topic, but you can check on this link :grrr: :

http://gamebanana.com/tools/4907

hellmonja 05-28-2016 13:25

Re: [Help] - Mixing weapon animation?
 
The plugin would count how many enemies you have slain and would update the v_model accordingly.
I think the number of the sequences are stored in an array that corresponds to how many enemies you have killed with this weapon.

I checked the model and most of the animations have four versions, depending on how much blood the grenade has.

As for the glow effect with the grenade, I have no idea. Perhaps this is an edited version of the original model?...

AGoodGuy 05-29-2016 00:59

Re: [Help] - Mixing weapon animation?
 
Quote:

Originally Posted by hellmonja (Post 2422775)
The plugin would count how many enemies you have slain and would update the v_model accordingly.
I think the number of the sequences are stored in an array that corresponds to how many enemies you have killed with this weapon.

I checked the model and most of the animations have four versions, depending on how much blood the grenade has.

As for the glow effect with the grenade, I have no idea. Perhaps this is an edited version of the original model?...

- Thank you for suggest. I think use array on this is not quite good, just a int variable. :D
- About model, in CS, with player's model, you can see mixing model when player move + shoot, move + use knife. I think it's possible with weapon's model.

Snitch 05-29-2016 11:52

Re: [Help] - Mixing weapon animation?
 
its amazing :) i just hope you will made it


All times are GMT -4. The time now is 18:44.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.