Gun holding question


06-03-2003, 08:50 PM
Let's say I make a new weapon, one that isn't in DoD, and I want the guy to hold it a certain way (i.e. the MP40 replacement dosen't have a bottom-loading clip, and ingame, the guy is holding the air underneath the gun). What do I do?

Sgt.Sinister
06-03-2003, 08:54 PM
reanimate it which i cant help you on.

hopefully cpt. glimsharp will come in and help you or someone else.

The Canadian
06-03-2003, 08:55 PM
[insert crazy old farmer mans voice]
Ey boy, ye'are 'n need of a legend. Go by the name of Glimsharp. Don't ask the young'ns, they'be not seein much of him round these parts nowdays.
[/insert crazy old farmer mans voice]

06-03-2003, 09:06 PM
Hmm, okay.

Sturmtruppe
06-03-2003, 10:19 PM
Originally posted by The Canadian
[insert crazy old farmer mans voice]
Ey boy, ye'are 'n need of a legend. Go by the name of Glimsharp. Don't ask the young'ns, they'be not seein much of him round these parts nowdays.
[/insert crazy old farmer mans voice]

not too many old farmer-types in canada, i take it.

06-04-2003, 05:55 AM
yea i wish i could change my mp40 animes so that the hand doesn't hold the gun at the clip. It just looks strange, dunno why. :p

06-04-2003, 08:12 AM
Well, it was held by the magazine release.

06-04-2003, 08:45 AM
mag housing..

btw if you told us what weapon it was you wanted in DOD to rep the mp40 that would help. since other mod out there might just have anims that fit the bill.

if you don't intend a public release using other mods anims might be a solution for ya.

Cheeto
06-04-2003, 08:56 AM
You guys do realise there are other animators besides Glimsharp, right?

06-04-2003, 07:13 PM
Okay, maybe this will help clear some stuff up. I'm taking Ripa's MP28 Sten-replacement and trying to make it replace the MP40. In game, the p model looks funny because the guy isn't holding right. Also, I don't know how to get an American sleeve in there. Outside of that, it's no problem, I did reskin it however. Hopefully that clears it up enough that someone can help me.

Trigger
06-04-2003, 07:18 PM
That's easy enough. I assume you're talking about the third person animations, and in that case it's a simple job of renaming animations. All you have to do is change the animation for the mp40 shoot to that of the sten. You can edit the qc for that, just find every place that mentions the mp40 anims, and replace them with the sten.

06-04-2003, 07:23 PM
Cool. So how do I go about doing that? The qc thing? I don't know anything about gun models, so I need a more thorough explanation.

06-05-2003, 09:31 AM
Help! Anyone there?

Trigger
06-05-2003, 09:59 AM
in the player qc file, there are lines for sach weapon animation, the mp40 looks like this:

$sequence "stand_mp40_shoot" {
"stand_mp40_shoot_blend1"
"stand_mp40_shoot_blend2"
"stand_mp40_shoot_blend3"
blend XR -45 45 fps 30 { event 7002 1 "1" }
}
$sequence "crouch_mp40_shoot" {
"crouch_mp40_shoot_blend1"
"crouch_mp40_shoot_blend2"
"crouch_mp40_shoot_blend3"
blend XR -45 45 fps 30 { event 7002 1 "1" }
}
$sequence "prone_mp40_shoot" "prone_mp40_shoot_blend1" "prone_mp40_shoot_blend2" blend XR -45 45 fps 30 { event 7002 1 "1" }


Replace that, with this:

$sequence "stand_mp40_shoot" {
"stand_sten_shoot_blend1"
"stand_sten_shoot_blend2"
"stand_sten_shoot_blend3"
blend XR -45 45 fps 30 { event 7002 1 "1" }
}
$sequence "crouch_mp40_shoot" {
"crouch_sten_shoot_blend1"
"crouch_sten_shoot_blend2"
"crouch_sten_shoot_blend3"
blend XR -45 45 fps 30 { event 7002 1 "1" }
}
$sequence "prone_mp40_shoot" "prone_sten_shoot_blend1" "prone_sten_shoot_blend2" blend XR -45 45 fps 30 { event 7002 1 "1" }

Then recompile and see if your mp40 shoot animation now uses the sten animations.

06-05-2003, 10:51 AM
Thanks for the help, I'm sure this will get it, except where do I find the qc file? I feel pretty stupid asking this, because it seems everyone else knows this stuff...

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.