PDA

View Full Version : Making CS:S weapons animations work


Xoom3r.Net
12-24-2008, 04:44 AM
Hey there.. I tried finding where i can change the code of hl2 weapons to make it work like CS:S weapons.. Because, when I create a weapon, the animation is a bit delayed and when on rapid fire it not always sowing the animation.

Can you guys help me get it working right? What I mean right is, that the fire animation will be forced every time you fire, and that the muzzle flash will be shown at every shot fired.

z33ky
12-24-2008, 05:13 AM
I'm pretty sure the muzzle-flashes are in the animations.
And as you can't trigger the fire-animation before the weapon gets fired (because you can't predict when the player presses the fire-button ;)) you have to re-animate the weapons.

Xoom3r.Net
12-24-2008, 06:28 AM
omg, really? like.. SMOD has CS:S weapons. And I'm pretty sure that they haven't reanimated them.

Marine
12-24-2008, 06:43 AM
There is a fix for the muzzle flashes on the dev wiki.

You do not need to reanimate the weapons.

z33ky
12-24-2008, 09:44 AM
Yea, the muzzleflashes can be fixed, but not the 'late' animations.
Except maybe somehow jump to a specific frame. I don't know how to do this though.

razvan252
12-24-2008, 03:00 PM
muzzleflashes are a big pain. ive tried everything code based but you wont get a very good effect. you might want to modify the model in the end.

Xoom3r.Net
12-26-2008, 02:11 AM
There is a fix for the muzzle flashes on the dev wiki.

You do not need to reanimate the weapons.

Where can i find that fix? (i mean, LINK)