Moving Mouth Models


ez
03-12-2004, 01:10 PM
How can I give my models a moving mouth when you use the mic? I seen it on someone else's pack.

Steel Blade
03-12-2004, 01:11 PM
Ask Jed, I think all his models had moving mouths coded onto them. Good luck.

Trp. Jed
03-12-2004, 02:06 PM
You need an extra bone coming off the head bone called Mouth, bind the vertices that need to move with the mouth to it and then add a controller in your QC for the mouth.

Easiest thing to do is decompile one of my models and look at it.

- Jed

gabagoo
03-12-2004, 02:25 PM
i can do it for you ;)

only because im bored :o

ProMou
03-13-2004, 12:08 PM
this is my result :

http://server6.uploadit.org/files/Speirs-diformed.jpg :confused:


i dont know why ......... :(




see you

Cheeto
03-13-2004, 01:37 PM
ROFL! Sorry ProMou, it's just always funny to see that happen to any model. :p

You can't add the bone within Milkshape 3D as I recall, you have to add it in notepad. There was a guide on this awhile ago but buggered if I remember where.

Effexx
03-13-2004, 02:11 PM
Jed helped me out with this same issue awhile back..

Here's the thread :


http://www.dayofdefeat.net/forums/showthread.php?s=&threadid=7612&highlight=Mouths


...

ProMou
03-13-2004, 03:04 PM
i m trying to add moving mouth to mortarīs sniper ;) ( is only a experimental project )


hmm the compiler crash when i start to compile .... :(
i use this smd reference

version 1
nodes
0 "Bip01" -1
1 "Bip01 Pelvis" 0
2 "Bip01 L Leg" 1
3 "Bip01 L Leg1" 2
4 "Bip01 L Foot" 3
5 "Bip01 R Leg" 1
6 "Bip01 R Leg1" 5
7 "Bip01 R Foot" 6
8 "Bip01 Spine" 1
9 "Bip01 Spine1" 8
10 "Bip01 Spine2" 9
11 "Bip01 Spine3" 10
12 "Bip01 Neck" 11
13 "Bip01 L Arm" 12
14 "Bip01 L Arm1" 13
15 "Bip01 L Arm2" 14
16 "Bip01 R Arm" 12
17 "Bip01 R Arm1" 16
18 "Bip01 R Arm2" 17
19 "Bip01 Head" 12
20 "Bip01 L Hand" 15
21 "Bip01 L Finger0" 20
22 "Bip01 L Finger01" 21
23 "Bip01 L Finger02" 22
24 "Bip01 L Finger1" 20
25 "Bip01 L Finger11" 24
26 "Bip01 L Finger12" 25
27 "Bip01 R Hand" 18
28 "Bip01 R Finger0" 27
29 "Bip01 R Finger01" 28
30 "Bip01 R Finger02" 29
31 "Bip01 R Finger1" 27
32 "Bip01 R Finger11" 31
33 "Bip01 R Finger12" 32
34 "Bip01 Mouth" 13
end
skeleton
time 0
0 -0.010549 -0.016398 39.302387 -0.000000 0.000000 -1.570795
1 0.866404 0.000000 0.000000 -1.570795 -1.570451 0.000000
2 -0.000005 0.000007 3.713254 -3.138777 -0.034787 3.032705
3 18.045725 0.000000 0.000000 0.000000 0.000000 -0.121501
4 17.597599 0.000000 0.000000 0.000983 -0.034888 0.012644
5 0.000005 -0.000003 -3.713254 3.137548 0.025992 3.029741
6 18.045727 0.000000 0.000000 0.000000 0.000000 -0.127551
7 17.597601 0.000000 -0.000001 0.001121 0.026280 0.015767
8 1.293411 0.684457 -0.000001 -0.000004 -0.000001 0.053041
9 5.309754 -0.003839 0.000000 0.000000 0.000000 -0.052289
10 4.827151 -0.004612 0.000000 0.000000 0.000000 -0.017356
11 5.792856 -0.005301 0.000000 0.000000 0.000000 0.034889
12 6.661969 -0.001582 0.000000 0.000000 -0.000001 0.243869
13 -3.373388 0.777549 4.341909 -0.000057 -1.519863 2.896985
14 4.827231 0.000000 -0.000002 -0.017512 -0.072387 0.000376
15 11.139763 0.000000 0.000002 0.000000 0.000000 -0.025467
16 -3.110997 0.717503 -4.140397 -0.000057 1.519862 2.896871
17 4.972047 0.000000 -0.000002 0.017502 0.063666 0.000223
18 11.585354 0.000000 0.000000 0.000000 0.000000 -0.025467
19 2.046984 0.000000 0.000000 0.000000 0.000001 -0.244844
20 10.314596 0.000000 -0.000001 -1.570000 0.000000 -0.069778
21 1.646738 0.449547 -1.702247 0.051418 0.581475 0.032322
22 0.928312 0.000001 -0.000001 0.000000 0.000000 0.000000
23 0.928315 -0.000001 0.000002 0.000000 0.000000 0.000000
24 2.975836 -0.386307 -0.044143 3.139942 -0.067993 0.035943
25 1.438884 -0.000004 0.000000 0.000000 0.000000 -0.118777
26 1.485305 0.000009 0.000000 0.000000 0.000000 -0.095760
27 10.127057 0.000000 0.000000 1.569752 0.000000 -0.069778
28 1.533673 0.109714 1.664490 -0.116966 -0.575208 0.159483
29 0.928312 -0.000003 -0.000001 0.000000 0.000000 0.000000
30 0.928313 0.000002 0.000000 0.000000 0.000000 0.000000
31 2.683747 -0.427338 0.044205 -3.139693 0.067984 0.035960
32 1.438884 0.000003 0.000000 0.000000 0.000000 -0.118777
33 1.485303 -0.000001 0.000000 0.000000 0.000000 -0.095760
34 0.000000 0.000000 2.000000 0.000000 0.000000 0.000000
end

http://server6.uploadit.org/files/Speirs-Compilerproblem.JPG

http://server6.uploadit.org/files/Speirs-mouthjoint.JPG

and this bone controller in the .qc file : // 1 bone controllers
$controller mouth "Bip01 Mouth" ZR 0 10

but when compiler crash ......... i dont know why .......


see you

Trp. Jed
03-13-2004, 04:41 PM
Well you've attached the bone to the wrong place for a start!

You've added:

34 "Bip01 Mouth" 13

And bone 13 in your list is:

13 "Bip01 L Arm" 12

It should be:

34 "Bip01 Mouth" 19

- Jed

ProMou
03-14-2004, 06:25 AM
yep i have fixed the problem , but compiler crash ...

Trp. Jed
03-14-2004, 08:38 AM
Paste what your compiler error says.

- Jed

mXed.dk
03-14-2004, 11:43 AM
Originally posted by ProMou
this is my result :

http://server6.uploadit.org/files/Speirs-diformed.jpg :confused:


i dont know why ......... :(




see you

holy **** !!!
wot ran him over ?!?!

Ska Wars
03-14-2004, 02:31 PM
Please try that in game and post the pics lol

- Ska

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.