Player Models

Discussion in 'General Chat' started by George, Jul 22, 2008.

  1. George

    George Active Member

    Joined:
    Oct 6, 2008
    Messages:
    1,355
    Likes Received:
    0
  2. Teddi

    Teddi Well-Known Member Bear

    Joined:
    Jul 21, 2007
    Messages:
    9,636
    Likes Received:
    1,118
    There is no animation for the physgun i believe for the vaunt holding it, or you would have to set its animation to be different.
     
  3. George

    George Active Member

    Joined:
    Oct 6, 2008
    Messages:
    1,355
    Likes Received:
    0
    How do I do that?
     
  4. Teddi

    Teddi Well-Known Member Bear

    Joined:
    Jul 21, 2007
    Messages:
    9,636
    Likes Received:
    1,118
    Have to ask Ben or Camp, i'm not that advanced.
     
  5. Whitefang

    Whitefang ( ͡° ͜ʖ ͡°)

    Joined:
    Jul 12, 2008
    Messages:
    4,009
    Likes Received:
    43
    See if it has a anim for the gravity gun, maybe you can use that, since the 2 guns are almost identical.
     
  6. limilim

    limilim Active Member

    Joined:
    Jun 22, 2008
    Messages:
    1,372
    Likes Received:
    0
    PC camp is gone.
     
  7. Advantage

    Advantage Some Old Guy

    Joined:
    May 10, 2008
    Messages:
    1,775
    Likes Received:
    0
    PC Camp helps out a bit freelance
     
  8. Mike

    Mike <b><font color="green">Original Who</font></b>

    Joined:
    Jun 13, 2008
    Messages:
    683
    Likes Received:
    2
    Okay, you need to decompile the model, and add the line

    Code:
    $includemodel "player/male_anims.mdl"
    RIGHT ABOVE

    Code:
    $surfaceprop "flesh/alien/etc"
    in the .QC file. Then you have to recompile the model.
     
  9. George

    George Active Member

    Joined:
    Oct 6, 2008
    Messages:
    1,355
    Likes Received:
    0
    Elaborate?
     
  10. Mike

    Mike <b><font color="green">Original Who</font></b>

    Joined:
    Jun 13, 2008
    Messages:
    683
    Likes Received:
    2
    Get this file-> http://chaosincarnate.net/cannonfodder/download.php?id=mdldecompiler.05.rar

    And extract it to steamapps/*name*/sourcesdk/bin/ep1/bin/ Next run it, find your .mdl file and decompile it. You will now have a .qc file and multiple others in the directory you pointed the decompiler to.

    Next download http://www.wunderboy.org/download.php?file=guistudiomdl_2.2.zip&s=2 and place it's files in the same directory. Load your .qc file into that program and let it do it's stuff. Based on which gameinfo.txt file you selected. You'll have the compiled model in that games model folder.

    And THAT is how you add player animations to a model.