Sven Coop Icon SC Tutorial

Talking Playermodels

SEX! Ok, we got your attention. We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending The303 points.
  • Post: Give The303 your thoughts on this Tutorial.
  • Vote: Help The303 win the Monthly Awards.
  • Rate: Give this Tutorial a rating out of 10.
  • Flag: Alert moderators and warn members of a problem with this Tutorial.
  • Watch: Get notified when this Tutorial is updated.
Mascot

Stop Lurking!

Join GameBanana

Already a Bananite? Login

As of 5.0 Sven Coop supports procedural mouth animation for mic talking just like Counter-Strike. This quick tutorial for player modellers will show how to set up the controller in your model.


1) Create a bone on your reference model parented to the head bone and then skin the jaw mesh to it. Call the bone"mouth".

2) Add to your model QC the mouth controller and put it with the other model animation controllers in your QC code.  The most common type is "ZR" which is Z bone rotation.  My qc controller line looks like this:

$controller mouth "mouth" ZR 0 50

You can also use "XR" & "YR" if you want different axis.  Note that the controlled bone moves in the orientation of the parent bone and not the mouth bone.  Because of this, if you need a direction that isnt working you can add a bone before the mouth and use that as your alignment.

[Note: sometimes adding an inbetween bone causes compiler issues "illegal replacement bone" if your animation set already has a "mouth" bone.  If this is the case it can be solved by renaming your mouth bone to something different and making the change on the controller name]

3)Compile the model and test in HLMV by fiddling with the controller on the body parts tab. As you can see, my QC value range was too high as his jaw clips into his chest so I should dial it back from 50.

4)To test locally alone, select your playermodel, start a map and put these commands into console:
thirdperson
cam_idealdist 128
cam_idealyaw 180
cam_idealpitch -30
move your mouse into position
voice_loopback 1
then push-to-talk and scream into your mic
.


This playermodel is available here:
http://gamebanana.com/skins/153807


You  are also not limited to rotational direction, as you can use a linear direction by just using X, Y, or Z.  here is a demonstration of using X controller:
$controller mouth "mouth" X 0 10
(again, if you cannot get the direction you desire use an inbetween different orientation parent alignment bone  before mouth)


This playermodel is available here:
http://gamebanana.com/skins/154331

Posts

  • 6mo
    Ezequiel-TM avatar
    Ezequiel-TM avatar you do not see
    Life Tree Flag Affiliation: Life Tree
    Member Joined 3y
    1,716 points Ranked 2733rd
    38 medals 1 legendary 12 rare
    • Submitted 100 Skins Medal icon
    • Submitted 50 Skins Medal icon
    • Returned 1000 times Medal icon
    • 2nd Place - Site Improvement Ideating Contest Medal icon
    • 10 submissions featured Medal icon
    • Submitted 5 Tools Medal icon
    Too Easy

    Although this in Sven Coop.
    Be aware that this works for almost any GoldSrc game
    say what you want, I'm crazy! avatar
    Mantra
    say what you want, I'm crazy!
  • 6mo
    Sage J. Fox avatar
    Sage J. Fox avatar Disengaged
    Member Joined 8y
    5,054 points Ranked 910th
    24 medals 2 legendary 4 rare
    • 1st Place - Zombie Props & Prefabs Contest Medal icon
    • Reached 100 subscribers Medal icon
    • 6 years a member Medal icon
    • Returned 1000 times Medal icon
    • Reached 50 subscribers Medal icon
    • Received thanks 50 times Medal icon
    Very informative, I hope we see some high-quality Sven playermodels in the future because of this.

    Also, a helpful little tip for the in-game testing portion is that with most headset mics, you can just blow into it to get it to max out. That way, you won't have to worry the neighbors that you're getting murdered.
    • Helpful x 1
    • Informative x 1
    Break through the Illusion!
  • 6mo
    KonataHamster avatar
    Member Joined 7y
    14,003 points Ranked 308th
    26 medals 1 legendary 4 rare
    • Returned 5000 times Medal icon
    • Returned 1000 times Medal icon
    • 10 submissions featured Medal icon
    • 6 years a member Medal icon
    • Submitted 30 Polls Medal icon
    • Reached 1,000 Points Medal icon
    Now I just wish I had a mike
    Oversensitive sociopath avatar
    Mantra
    Oversensitive sociopath
  • 6mo
    Foofinoo avatar
    Foofinoo avatar Lost in time...
    Cell 1 Flag Affiliation: Cell 1
    Member Joined 4y
    6,814 points Ranked 640th
    24 medals 2 legendary 4 rare
    • Returned 5000 times Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
    • 2nd Place - Marble Tracks Redux Contest Medal icon
    • Returned 1000 times Medal icon
    • Submitted 20 Maps Medal icon
    • Thanked 50 submitters Medal icon
    Nice tutorial ! I almost don't understand anything since I don't edit/create models, but it seems well explained.
    Professional Crastination avatar
    Mantra
    Professional Crastination
  • 6mo
    D-Wanderer avatar
    D-Wanderer avatar Back tomorrow?
    Member Joined 3y
    415 points Ranked 10005th
    23 medals 2 legendary 7 rare
    • 15+ Entries! GameBanana’s Christmas Giveaway 2015 Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
    • GameBanana’s Christmas Giveaway 2015 Day Twelve Winner! Medal icon
    • GameBanana’s Christmas Giveaway 2015 Day Fourteen Winner! Medal icon
    • Returned 1000 times Medal icon
    • Returned 1000 times Medal icon
    I thought this was gonna be a tutorial for how to make custom wav files work with the characters in gold src so that they can move their mouth.

    But this just blew my mind here!

    ps. I know how to do what I wrote above, no need to explain it to me :)
    I don't know what I'm doing

Share

Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share

Credits

Original Authors
The303
The303 Offline
Member Joined 6mo

Submitter

The303 avatar
The303 Offline
Member Joined 6mo

The303
Creator
  • Paypal Donate
Send a Private Message to the submitter

Category

Details

Difficulty Level
Intermediate Difficulty

Stats

Posts
6
Views
1,410
Date Added
6mo
Date Modified
3mo

Featurings

  • Today's Pick Jan 30 2017
bcp.crwdcntrl.net tracking pixel