Jump to content

Add face/lips animation in a skin/model.


Recommended Posts

How did you make Toshi's Yoda look like a ghost btw? I want to do it for my series too (except not for  Yoda).

 

It's all about the shader file, here's a sample:

 

models/players/T_yoda/body

{
        surfaceparm metalsteps
        q3map_nolightmap
        sort seeThrough
    {
        map models/players/T_yoda/body
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
        depthWrite
        rgbGen lightingDiffuse
        alphaGen wave sin 0.7 0.1 0.1 0.1
    }
    {
        map models/players/ghost/blue_glow
        blendFunc GL_ONE GL_ONE
        rgbGen wave sin 0.9 0.1 0.1 0.1
 
    }
}
 
In blue are the parts where you insert a file, the first and second blue lines are the concerned objects (here it's the body of Toshi's Yoda model), the third blue line is the way you want to see it (Blue glow is a file from the ghost morgan katarn file that I downloaded from Jkhub, easy to find)
 
In green are the combinations you need to add, you can try to modify the first figure (from 0.9 to 0.3ish), it alters opacity I believe, but I never bother changing it
 
In red are the kind of combinations that you would add depending on the part of the body(which object). Here, with the body I decided to keep all the 3 lines but for example the hair this model, I just input "sort seeThrough". Try to play around to see which lines look best for each object.
CommanderXeph likes this
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...