1. Post #1
    necrobard's Avatar
    April 2007
    311 Posts
    I kinda suck at writing tutorials, so hopefully this isn't too bad and useful to at least someone. I'll try to keep this up to date as people ask questions and encounter problems using it.

    Stuff that’s required:
    • Vindictus: http://vindictus.nexon.net/
    • HFS Decrypter: http://wiki.xentax.com/index.php/Vindictus
    • Cannonfodder’s MDL Decompiler: http://www.chaosincarnate.net/cannonfodder/cftools.htm
    • Photoshop or GIMP or some other way to edit vtf files.
    • About 5 or GB of free HDD space: There is no apparent rhyme or reason to how the files are named so I can’t tell you what is in each specific archive to get you to what you want, so for this I’m batch converting and extracting all the games assets.
    • Some sort of 3d modeling program capable of importing / exporting smds. (Milkshape or 3ds max)

    Recommended but not required:
    • A batch file renamer
    • A batch zip extractor.

    Step 1 Extraction:

    First step is to decrypt all the HFS files from Vindictus. By default they are in C:\Nexon\Vindictus\en-US\hfs. Run the VZipFlip tool you downloaded from the HFS Decrypter link at the top with the following command line:

    VZipFlip.exe a C:\Nexon\Vindictus\en-US\hfs

    The tag “a” will do all the hfs files in the folder. Also change the directory to reflect where you have Vindictus installed to if it’s different. The program will take a bit of time to run so go have a cup of coffee or something

    After it finishes you now have a bunch of zip files with various files in them. Extract them one at a time to a folder, or preferably use a batch unzip program to extract them all to a folder. If you are using a batch extractor, again this part will take a bit of time so go watch some TV or something. Once you have everything extracted from the zip files you can delete them, as you won’t need them anymore.

    Unfortunately Vindictus’s HFS format somehow mimics a file structure that isn’t replicated by the decrypting program so you’ll have a ton of files in the folder you extracted everything to; thankfully when you sort by type it make it slightly easier to find what you want. For some reason the model files have a weird extension “.mdl.comp”. I have no idea what the .comp is there for but you can rename the file and take off the .comp part. I would recommend using a batch file renamer for this, just rename everything in the folder from “*.mdl.comp” to “*.mdl”. Then we can move onto decompiling.


    Step 2 Decompiling:

    For this tutorial I’m going to create a Fiona ragdoll, using her “Shining Will” armor. To do this I need to decompile several models:
    All five parts of her armor:

    “pc_female_shiningwill_hand.mdl”
    “pc_female_shiningwill_head.mdl”
    “pc_female_shiningwill_foot.mdl”
    “pc_female_shiningwill_lower.mdl”
    “pc_female_shiningwill_upper.mdl”

    Her head:

    “fiona_face01.mdl” You will need the expression data from this qc as well as the vta file.

    Any Fiona Inner Armor:

    “Fiona_inner_armor0*.mdl” *being a number you want there’s like 7 or 8 of them

    Any Fiona Hair:

    “pc_fiona_hair_*.mdl” There is a couple there they actually have relevant names so a little easier to figure out than the inner_armor. For this I’m using “pc_fiona_hair_natural_long_01.mdl”

    And finally the actual Fiona Model, which you need the qc, ragdoll and physmodel from:

    “fiona.mdl”

    I recommend decompiling them to separate folders, so that stuff doesn’t get overwritten and you can keep the QC for each of them.


    Step 3 Compiling:

    Now it’s time to build the qc file to compile the model. Take the qc from fiona.mdl, which will be a mess. Delete almost everything in the top part, all her face flexes, hboxs, and animation calls. However Keep the attachments! basically you'll be left with this:

    $cd "C:\whatever"
    $modelname "player\fiona\fiona.mdl"
    $cdmaterials "models\player\fiona\"
    $surfaceprop "flesh"
    $eyeposition -0.000 0.000 70.000
    $attachment "eyes" "ValveBiped.Bip01_Head1" 3.95 2.62 -0.00 rotate -0.00 82.41 90.00
    $attachment "forward" "ValveBiped.Bip01_Head1" 0.00 0.00 0.00 rotate 0.00 80.00 90.00
    $attachment "chest" "ValveBiped.Bip01_Spine2" -0.00 -0.00 0.00 rotate 0.00 90.00 90.00
    $illumposition -0.924 0.175 36.610
    $sequence ragdoll "ragdoll" ACT_DIERAGDOLL 1 fps 1.00
    $collisionjoints "phymodel.smd" {**BLAH BLAH BLAH JOINT CONSTRANTS*** }

    For the joint constrain data I would recommend increasing all the min/max numbers by about 20%, since those original constraints aren’t very flexible. Now you want to gather up all your files that were decompiled: The ragdoll.smd and phymodel.smd and this qc file from this Fiona.mdl, The qc file, the “mdldecompiler_expressions.vta” and smd from the fiona_face01.mdl, and all the reference smds from the hair and armor. Once you have them all together it’s time to add the $model to the qc file after $cd,. Should look like this:

    $model “Fiona” “pc_fiona_inner_armor03.smd”
    $model “hair” “pc_fiona_hair_natural_long_01.smd”
    $model “armor_hand” “pc_female_shiningwill_hand.smd”
    $model “armor_head” “pc_female_shiningwill_head.smd”
    $model “armor_foot” “pc_female_shiningwill_foot.smd”
    $model “armor_lower” “pc_female_shiningwill_lower.smd”
    $model “armor_upper” “pc_female_shiningwill_upper.smd”

    For the last part copy the $model line with all of it’s flex data from the decompiled ”fiona_face01.mdl”’s qc. Should look like this:

    $model "face" "pc_fiona_face01.smd" {
    flexfile "mdldecompiler_expressions.vta" {
    *blah blah flex data*
    }
    **blah blah flex controllers**
    }

    In the face flex data you will need to correct one line. The decompiler renames the eyeball texture to "eyeball_r" / "eyeball_l". You will need to update that to "<name>_eyeball_r" / "<name>_eyeball_l". So for as per my example your eye lines should look like this:

    Code:
         eyeball righteye ValveBiped.Bip01_Head1 -1.290 -2.079 68.262 fiona_eyeball_r 1.000  3.000 fiona_pupil_r01 0.650
         eyeball lefteye ValveBiped.Bip01_Head1 1.290 -2.079 68.262 fiona_eyeball_l 1.000  -3.000 fiona_pupil_l01 0.65
    (Thank you Squiddy!)

    You can now compile the model using that qc.


    Step 4 Textures:

    Now copy and paste all the textures (vtfs and vmts) you need into where you set the material path to. You can find out what textures you need since they are all listed in each mdldecompiler.qc file (how convenient). You will need to update all of the vmts to have the $basetexture and $bumpbap lines point to the right folder, additional all the shaders at the top (first line of the file) will need to be changed to "VertexLitGeneric".

    After all the textures are copied over and the vmts You are ready to look at the model in HLMV. You should get this:



    Oh no it’s all weird colors! Since Vindictus uses some sort of color mapping that gmod doesn’t support (so far as I know). You will need to edit the textures in Photoshop or GIMP to get them the way you want. I recommend creating 3 hue/saturation layers using each of the channels as there layer map. After that de-saturate the original texture then adjust the hue/saturation of each layer to your liking. It sounds like a lot of work but it’s fairly easy, since once you find the right hue/sat values you can simply reuse them on all the other textures. Once your done you should have this:



    Congratulations: You can then test it in game, everything should work fine.


    Step 5 Problem Solving/Misc Things:

    If the model is too inflexible, adjust the joint constraints in the qc file.

    If there are a lot of cloth parts to the model, I would recommend looking for the bone names in the smds, and making them jigglebones. Also the same with hair.

    If parts of the model (skin / etc) clip through the armor, you will need to edit the inner armor smd with a 3d modeling program, and delete those parts that clip through. For example if the boots cover all of the feet, you can delete the feet vertices, or since most of her torso is covered by armor you can delete the vertices between her hips and breasts. Vindictus used a system to dynamically remove parts of models which I believe is related to the .clipping files, however I have no idea what to do with them to help you here. After that just recompile the model.

    If you want to do props they should be pretty straight forward. The weapon models are rigged on the Vindictus player skeleton, I would recommend stripping the bones and compiling them as a simple prop.

    If the face is missing eyebrows you have to find an eyebrow texture in the extracted Vindictus files and set it as an overlay on the face texture. You can also do this with some of the make-up textures or tattoo textures they have as well.


    Good luck and enjoy.
    Reply With Quote Edit / Delete Reply United States Show Events Useful Useful x 17Winner Winner x 6Informative Informative x 3 (list)

  2. Post #2

    September 2010
    2 Posts
    thanks 4 info. but i got a question.

    I already have extracted vindictus files(and it's sorted by file category)
    if u don't mind, would you kindly give a tutorial for that kinda extracted file?

  3. Post #3
    necrobard's Avatar
    April 2007
    311 Posts
    Just skip to step 2.

  4. Post #4
    CakeMaster7's Avatar
    October 2010
    11,807 Posts
    This is very helpful, thanks!
    Reply With Quote Edit / Delete Reply United States Show Events Friendly Friendly x 2 (list)

  5. Post #5
    Gold Member
    Squiddy's Avatar
    February 2005
    1,817 Posts
    Haha! This makes my life much easier, thank you!

  6. Post #6
    Gold Member
    Saphirx's Avatar
    April 2010
    1,502 Posts
    I've never tried to de-compile and such so I kinda failed miserably, there we're allot more work than I thought but in the end I think I screwed up the QC..

    Managed to compile it and I viewed the model in hlmv, didn't have any body textures, only the head and feet and teeth and such, but hopefully I'll fix it.

  7. Post #7
    Garland Gawain's Avatar
    February 2011
    11 Posts
    for someone like me who lacks 3ds or modeling exspriance, could you provide links to your fiona model?
    Reply With Quote Edit / Delete Reply Canada Show Events Agree Agree x 3 (list)

  8. Post #8
    The King of Wing
    The Gobo's Avatar
    May 2008
    4,560 Posts
    Can't wait to see what people do with this.

  9. Post #9

    February 2011
    13 Posts
    incredible post. I subscribed this forum only to reply this post. thanks. but i don't understand that sentence, "You can now compile the model using that qc.".

    you mean I have to use source sdk or something else to make new mdl file which includes every part in it?

  10. Post #10

  11. Post #11
    Gold Member
    Squiddy's Avatar
    February 2005
    1,817 Posts
    Hm so, when I tried to compile one of the characters, I had to comment out the eyeballs under the flex controllers in order for it to compile. How did you circumvent this?

  12. Post #12
    necrobard's Avatar
    April 2007
    311 Posts
    I did not encounter that problem. Which head is being used?

  13. Post #13
    Gold Member
    Squiddy's Avatar
    February 2005
    1,817 Posts
    Any of the heads, actually. When I tried Fiona, the UVs were messed up on all four of her heads (including the base model's), too. For Lann and Evie I only had to comment out the eyeballs. Could be I ended up with a different version of the models...
    I'll be re-decrypting and extracting them all after the next patch.

  14. Post #14
    necrobard's Avatar
    April 2007
    311 Posts
    All right, keep me posted. Worst case I can just upload the decompiled heads I have somewhere.
    Reply With Quote Edit / Delete Reply United States Show Events Friendly Friendly x 1 (list)

  15. Post #15

    February 2011
    13 Posts
    can you post full text of qc file that you used in converting job? I got too many obstacles in making qc file.

  16. Post #16
    necrobard's Avatar
    April 2007
    311 Posts
    Code:
    $cd "C:\fiona\"
    $modelname "player\fiona\fiona.mdl"
    $model "fiona" "pc_fiona_inner_latex.smd"
    $model "foot" "pc_female_shiningwill_foot.smd"
    $model "hand" "pc_female_shiningwill_hand.smd"
    $model "head" "pc_female_shiningwill_head.smd"
    $model "lower" "pc_female_shiningwill_lower.smd"
    $model "upper" "pc_female_shiningwill_upper.smd"
    $model "hair" "pc_fiona_hair_natural_long_01.smd"
    $model "face" "pc_fiona_face01.smd" {
         flexfile "mdldecompiler_expressions.vta" {
              flex "blink" frame 5
              flex "blink_ui" frame 6
              flex "mild" frame 7
              flex "smile" frame 8
              flex "sad" frame 9
              flex "sorry" frame 10
              flex "hostile" frame 11
              flex "angry" frame 12
              flex "hurt" frame 13
              flex "happy" frame 14
              flex "upperlid_hi" frame 15
              flex "surprised" frame 16
              flex "laugh" frame 17
              flex "mid_happy" frame 18
              flex "haughty_open" frame 19
              flex "haughty_closed" frame 20
              flex "oo" frame 21
              flex "mouth_a" frame 22
              flex "chew_up" frame 23
              flex "chew_down" frame 24
         }
         eyeball righteye ValveBiped.Bip01_Head1 -1.290 -2.079 68.262 fiona_eyeball_r 1.000  3.000 fiona_pupil_r01 0.650
         eyeball lefteye ValveBiped.Bip01_Head1 1.290 -2.079 68.262 fiona_eyeball_l 1.000  -3.000 fiona_pupil_l01 0.650
         // If you uncomment the following lines the eyes will be closed
         // I'm including it anyway in case anyone wants to experiment
         // eyelid  upper_right "mdldecompiler_expressions.vta" lowerer 3 -0.500000 neutral 3 0.000000 raiser 3 0.000000 split 0.1 eyeball righteye
         // eyelid  lower_right "mdldecompiler_expressions.vta" lowerer 3 0.000000 neutral 3 0.000000 raiser 3 0.000000  split 0.1 eyeball righteye
         // If you uncomment the following lines the eyes will be closed
         // I'm including it anyway in case anyone wants to experiment
         // eyelid  upper_left "mdldecompiler_expressions.vta" lowerer 4 -0.500000 neutral 4 0.000000 raiser 4 0.000000 split -0.1 eyeball lefteye
         // eyelid  lower_left "mdldecompiler_expressions.vta" lowerer 3 0.000000 neutral 3 0.000000 raiser 3 0.000000  split -0.1 eyeball lefteye
         mouth 0 "mouth"  ValveBiped.Bip01_Head1 0.000 1.000 0.000
         flexcontroller eyelid blink "range" 0.000 1.000
         flexcontroller eyelid blink_ui "range" 0.000 1.000
         flexcontroller eye mild "range" 0.000 1.000
         flexcontroller eye smile "range" 0.000 1.000
         flexcontroller eye sad "range" 0.000 1.000
         flexcontroller eye sorry "range" 0.000 1.000
         flexcontroller eye hostile "range" 0.000 1.000
         flexcontroller eye angry "range" 0.000 1.000
         flexcontroller eye hurt "range" 0.000 1.000
         flexcontroller eye happy "range" 0.000 1.000
         flexcontroller eye upperlid_hi "range" 0.000 1.000
         flexcontroller eye surprised "range" 0.000 1.000
         flexcontroller eye laugh "range" 0.000 1.000
         flexcontroller eye mid_happy "range" 0.000 1.000
         flexcontroller eye haughty_open "range" 0.000 1.000
         flexcontroller eye haughty_closed "range" 0.000 1.000
         flexcontroller eye oo "range" 0.000 1.000
         flexcontroller mouth mouth_a "range" 0.000 1.000
         flexcontroller mouth chew_up "range" 0.000 1.000
         flexcontroller mouth chew_down "range" 0.000 1.000
        %blink =  blink
        %blink_ui =  blink_ui
        %mild =  mild
        %smile =  smile
        %sad =  sad
        %sorry =  sorry
        %hostile =  hostile
        %angry =  angry
        %hurt =  hurt
        %happy =  happy
        %upperlid_hi =  upperlid_hi
        %surprised =  surprised
        %laugh =  laugh
        %mid_happy =  mid_happy
        %haughty_open =  haughty_open
        %haughty_closed =  haughty_closed
        %oo =  oo
        %mouth_a =  mouth_a
        %chew_up =  chew_up
        %chew_down =  chew_down
    }
    $cdmaterials "models\player\fiona\"
    
    $surfaceprop "flesh"
    $eyeposition -0.000 0.000 70.000
    $illumposition -0.924 0.175 36.610
    $sequence ragdoll "ragdoll" ACT_DIERAGDOLL 1 fps 1.00
    
    $collisionjoints "phymodel.smd" {
    
    	$mass 55.0
    	$inertia 5.00
    	$damping 0.01
    	$rotdamping 1.50
    	$rootbone "valvebiped.bip01_pelvis"
    
    	$jointconstrain "valvebiped.bip01_spine" x limit -10.00 10.00 0.20
    	$jointconstrain "valvebiped.bip01_spine" y limit -6.00 6.00 0.20
    	$jointconstrain "valvebiped.bip01_spine" z limit -3.00 39.00 0.00
    
    	$jointconstrain "valvebiped.bip01_r_thigh" x limit -15.00 8.00 0.20
    	$jointconstrain "valvebiped.bip01_r_thigh" y limit -3.00 6.00 0.20
    	$jointconstrain "valvebiped.bip01_r_thigh" z limit -17.00 88.00 0.20
    
    	$jointconstrain "valvebiped.bip01_l_thigh" x limit -8.00 15.00 0.20
    	$jointconstrain "valvebiped.bip01_l_thigh" y limit -3.00 6.00 0.20
    	$jointconstrain "valvebiped.bip01_l_thigh" z limit -17.00 88.00 0.20
    
    	$jointconstrain "valvebiped.bip01_l_calf" x limit -1.00 15.00 0.20
    	$jointconstrain "valvebiped.bip01_l_calf" y limit 0.00 0.00 0.00
    	$jointconstrain "valvebiped.bip01_l_calf" z limit -70.00 -15.00 0.00
    
    	$jointconstrain "valvebiped.bip01_l_foot" x limit -15.00 15.00 0.00
    	$jointconstrain "valvebiped.bip01_l_foot" y limit -6.00 6.00 0.00
    	$jointconstrain "valvebiped.bip01_l_foot" z limit -23.00 15.00 0.00
    
    	$jointconstrain "valvebiped.bip01_spine1" x limit 0.00 0.00 0.00
    	$jointconstrain "valvebiped.bip01_spine1" y limit 0.00 0.00 0.00
    	$jointconstrain "valvebiped.bip01_spine1" z limit 0.00 0.00 0.00
    
    	$jointconstrain "valvebiped.bip01_spine2" x limit -15.00 15.00 0.20
    	$jointconstrain "valvebiped.bip01_spine2" y limit -10.00 10.00 0.20
    	$jointconstrain "valvebiped.bip01_spine2" z limit -3.00 10.00 0.00
    
    	$jointconstrain "valvebiped.bip01_r_clavicle" x limit 0.00 0.00 0.00
    	$jointconstrain "valvebiped.bip01_r_clavicle" y limit 0.00 0.00 0.00
    	$jointconstrain "valvebiped.bip01_r_clavicle" z limit 0.00 0.00 0.00
    
    	$jointconstrain "valvebiped.bip01_r_upperarm" x limit -10.00 23.00 0.20
    	$jointconstrain "valvebiped.bip01_r_upperarm" y limit -32.00 -8.00 0.00
    	$jointconstrain "valvebiped.bip01_r_upperarm" z limit -46.00 17.00 0.00
    
    	$jointconstrain "valvebiped.bip01_l_clavicle" x limit 0.00 0.00 0.00
    	$jointconstrain "valvebiped.bip01_l_clavicle" y limit 0.00 0.00 0.00
    	$jointconstrain "valvebiped.bip01_l_clavicle" z limit 0.00 0.00 0.00
    
    	$jointconstrain "valvebiped.bip01_l_upperarm" x limit -23.00 10.00 0.20
    	$jointconstrain "valvebiped.bip01_l_upperarm" y limit -8.00 32.00 0.00
    	$jointconstrain "valvebiped.bip01_l_upperarm" z limit -46.00 17.00 0.00
    
    	$jointconstrain "valvebiped.bip01_l_forearm" x limit -1.00 1.00 0.20
    	$jointconstrain "valvebiped.bip01_l_forearm" y limit 0.00 0.00 0.00
    	$jointconstrain "valvebiped.bip01_l_forearm" z limit -108.00 -15.00 0.00
    
    	$jointconstrain "valvebiped.bip01_l_hand" x limit -15.00 17.00 0.00
    	$jointconstrain "valvebiped.bip01_l_hand" y limit -17.00 10.00 0.00
    	$jointconstrain "valvebiped.bip01_l_hand" z limit -39.00 41.00 0.00
    
    	$jointconstrain "valvebiped.bip01_r_forearm" x limit -1.00 1.00 0.20
    	$jointconstrain "valvebiped.bip01_r_forearm" y limit 0.00 0.00 0.00
    	$jointconstrain "valvebiped.bip01_r_forearm" z limit -108.00 -12.00 0.00
    
    	$jointconstrain "valvebiped.bip01_r_hand" x limit -37.00 26.00 0.00
    	$jointconstrain "valvebiped.bip01_r_hand" y limit -15.00 23.00 0.00
    	$jointconstrain "valvebiped.bip01_r_hand" z limit -41.00 46.00 0.00
    
    	$jointconstrain "valvebiped.bip01_r_calf" x limit -17.00 8.00 0.00
    	$jointconstrain "valvebiped.bip01_r_calf" y limit 0.00 0.00 0.00
    	$jointconstrain "valvebiped.bip01_r_calf" z limit -70.00 -15.00 0.00
    
    	$jointconstrain "valvebiped.bip01_r_foot" x limit -15.00 15.00 0.00
    	$jointconstrain "valvebiped.bip01_r_foot" y limit -6.00 6.00 0.00
    	$jointconstrain "valvebiped.bip01_r_foot" z limit -26.00 8.00 0.00
    
    	$jointconstrain "valvebiped.bip01_head1" x limit -26.00 26.00 0.20
    	$jointconstrain "valvebiped.bip01_head1" y limit -32.00 32.00 0.20
    	$jointconstrain "valvebiped.bip01_head1" z limit -19.00 30.00 0.20
    }

  17. Post #17
    Gold Member
    Squiddy's Avatar
    February 2005
    1,817 Posts
    Haha, I found out the problem! The decompiler was setting the eyeball texture name under the flexfile to simply "eyeball_r" / "eyeball_l" instead of "<name>_eyeball_r" etc! :D
    It all works now! The only problem now is Fiona's face texture.
    [EDIT]
    I had to go through and modify the eyelid flexes a bit for Evie's eyes to stay open, but they were a'ok after that. :D
    If anyone else encounters a similar problem, I'll be happy to provide my .qc as a sample.

  18. Post #18

    February 2011
    13 Posts
    i think i encounterd the same problem. i used guistudiomdl 2.2 to compile, but an error occurs saying

    ERROR:~~~~~.qc(33): - can't find eyeball texture "fiona_eyeball_r" on model

    so i copied the file fiona_eyeball_r.vmt and vtf in the same directory and modified vmt like this

    "eyes"
    {
    "$basetexture" "fiona_eyeball_r"
    "$iris" "models/player/fiona/fiona_pupil_r01"
    "$halflambert" 1
    "$nodecal" "1"
    }

    however the problem didn't solved.
    Reply With Quote Edit / Delete Reply Korea, Republic of Show Events Agree Agree x 2 (list)

  19. Post #19
    necrobard's Avatar
    April 2007
    311 Posts
    Haha, I found out the problem! The decompiler was setting the eyeball texture name under the flexfile to simply "eyeball_r" / "eyeball_l" instead of "<name>_eyeball_r" etc! :D
    It all works now! The only problem now is Fiona's face texture.
    [EDIT]
    I had to go through and modify the eyelid flexes a bit for Evie's eyes to stay open, but they were a'ok after that. :D
    If anyone else encounters a similar problem, I'll be happy to provide my .qc as a sample.
    Awesome. I must have forgotten doing that. Thanks.

  20. Post #20
    Gold Member
    Saphirx's Avatar
    April 2010
    1,502 Posts
    I don't get the texturing part, can you perhaps add some pictures step by step to help me?

  21. Post #21
    necrobard's Avatar
    April 2007
    311 Posts
    i think i encounterd the same problem. i used guistudiomdl 2.2 to compile, but an error occurs saying

    ERROR:~~~~~.qc(33): - can't find eyeball texture "fiona_eyeball_r" on model

    so i copied the file fiona_eyeball_r.vmt and vtf in the same directory and modified vmt like this

    "eyes"
    {
    "$basetexture" "fiona_eyeball_r"
    "$iris" "models/player/fiona/fiona_pupil_r01"
    "$halflambert" 1
    "$nodecal" "1"
    }

    however the problem didn't solved.
    Vmts would have no effect on compiling a model. You need to edit the QC and rename the eye texture in the flex data in the qc.

  22. Post #22

    February 2011
    13 Posts
    1) eye texture file is fiona_eyeball_r.vtf and fiona_eyeball_l.vtf, right?

    2) so I copied these files in the same directory of desired qc file which also includes other smd files.

    3) but my compiler said that it can't find eye texture file.

    so, copying vtfs in the same directory is not an proper solution? of course I matched names of vtf and qc's flex line.

    Edited:

    1) eye texture file is fiona_eyeball_r.vtf and fiona_eyeball_l.vtf, right?

    2) so I copied these files in the same directory of desired qc file which also includes other smd files.

    3) but my compiler said that it can't find eye texture file.

    so, copying vtfs in the same directory is not an proper solution? of course I matched names of vtf and qc's flex line.

  23. Post #23
    Gold Member
    Squiddy's Avatar
    February 2005
    1,817 Posts
    The QC and VTFs are completely unrelated.
    VTFs are only referenced to by VMTs, which are specified by the model. What they mean is to change THESE two lines:

    eyeball righteye ValveBiped.Bip01_Head1 -1.290 -2.079 68.262 eyeball_r 1.000 3.000 fiona_pupil_r01 0.650
    eyeball lefteye ValveBiped.Bip01_Head1 1.290 -2.079 68.262 eyeball_l 1.000 -3.000 fiona_pupil_l01 0.650

    So that they read like this:

    eyeball righteye ValveBiped.Bip01_Head1 -1.290 -2.079 68.262 fiona_eyeball_r 1.000 3.000 fiona_pupil_r01 0.650
    eyeball lefteye ValveBiped.Bip01_Head1 1.290 -2.079 68.262 fiona_eyeball_l 1.000 -3.000 fiona_pupil_l01 0.650

    Take note of how "eyeball_r" changed to "fiona_eyeball_r"
    THAT is what they mean. Moving the textures around has nothing to do with it. You can also avoid making mistakes like this by thoroughly reading the link necrobard provided.
    Reply With Quote Edit / Delete Reply Show Events Informative Informative x 1 (list)

  24. Post #24

    February 2011
    13 Posts
    The QC and VTFs are completely unrelated.
    VTFs are only referenced to by VMTs, which are specified by the model. What they mean is to change THESE two lines:

    eyeball righteye ValveBiped.Bip01_Head1 -1.290 -2.079 68.262 eyeball_r 1.000 3.000 fiona_pupil_r01 0.650
    eyeball lefteye ValveBiped.Bip01_Head1 1.290 -2.079 68.262 eyeball_l 1.000 -3.000 fiona_pupil_l01 0.650

    So that they read like this:

    eyeball righteye ValveBiped.Bip01_Head1 -1.290 -2.079 68.262 fiona_eyeball_r 1.000 3.000 fiona_pupil_r01 0.650
    eyeball lefteye ValveBiped.Bip01_Head1 1.290 -2.079 68.262 fiona_eyeball_l 1.000 -3.000 fiona_pupil_l01 0.650

    Take note of how "eyeball_r" changed to "fiona_eyeball_r"
    THAT is what they mean. Moving the textures around has nothing to do with it. You can also avoid making mistakes like this by thoroughly reading the link necrobard provided.
    I see. But like I said, I modified qc file from eyeball_r to fiona_eyeball_r

    then from hfs folder, I moved the texture file fiona_eyeball_r,l.vtf to the same directory of qc file

    Because I thought during compiling, compiler's gonna seek texture file named fiona_eyeball_r,l.

    But the problem is my compiler spit out error message says I can't find fiona_eyeball_r texture.

    So my question was this. where should I put fiona_eyeball_r.vtf ?

  25. Post #25
    necrobard's Avatar
    April 2007
    311 Posts
    The compiler doesn't search for texture files. The flex data in the QC needs to match the texture as it's listed in the SMD, not what the actually texture files are named. You can open the smd in a text editor to figure out what texture the eye is assigned to, like so.


    (ctrl + f "eyeball")

    Also Ignore the file extension.

    The material files have NOTHING to do with you compiling the model.

  26. Post #26

    February 2011
    13 Posts
    The compiler doesn't search for texture files. The flex data in the QC needs to match the texture as it's listed in the SMD, not what the actually texture files are named. You can open the smd in a text editor to figure out what texture the eye is assigned to, like so.


    (ctrl + f "eyeball")

    Also Ignore the file extension.

    The material files have NOTHING to do with you compiling the model.
    It worked! Thanks! I really misunderstood about this problem.
    Reply With Quote Edit / Delete Reply Korea, Republic of Show Events Friendly Friendly x 1 (list)

  27. Post #27
    Gold Member
    Squiddy's Avatar
    February 2005
    1,817 Posts
    So after fixing the eyeball problem, I've encountered something else, though it's in-game. The Eye Poser tool doesn't work on them, and their eyes will just track random places. Thoughts?
    [EDIT]
    Was solved by including the "eyes," "forward," and "chest" attachments. :D
    Reply With Quote Edit / Delete Reply Show Events Informative Informative x 1 (list)

  28. Post #28

    February 2011
    13 Posts
    To apply models in garry mod, I put mdl,vtx,vvd and phy files in the garrysmod/models folder.

    and put vmt and vtf files garrysmod/materials/models/fiona.

    then I edit every vmts' like "$basetexture" "models/fiona/~~vtf's file name~~"

    by doing that, I can summon models but every textures are check forms of purple and black colors.

    I think I did something wrong?

  29. Post #29

    February 2011
    13 Posts
    To apply models in garry mod, I put mdl,vtx,vvd and phy files in the garrysmod/models folder.

    and put vmt and vtf files garrysmod/materials/models/fiona.

    then I edit every vmts' like "$basetexture" "models/fiona/~~vtf's file name~~"

    by doing that, I can summon models but every textures are check forms of purple and black colors.

    I think I did something wrong?
    solved. was gmod's error.
    Reply With Quote Edit / Delete Reply Korea, Republic of Show Events Informative Informative x 2 (list)

  30. Post #30
    The King of Wing
    The Gobo's Avatar
    May 2008
    4,560 Posts
    Just curious.
    Any updates?

  31. Post #31
    Gold Member
    Dragoshi1's Avatar
    March 2008
    5,816 Posts
    Unfortunately for me, the VZipFlip program doesn't work for me on windows 7 64bit,so I can't port my character from Vindictus...Would someone who can get that program working, if they have spare time, please port my character?
    http://img88.imageshack.us/img88/7786/201102160000.jpgUnless there's some kind of tutorial to get the Zipflip program working on Windows 7.

  32. Post #32
    Gold Member
    wraithcat's Avatar
    December 2007
    12,884 Posts
    Unfortunately for me, the VZipFlip program doesn't work for me on windows 7 64bit,so I can't port my character from Vindictus...Would someone who can get that program working, if they have spare time, please port my character?
    http://img88.imageshack.us/img88/7786/201102160000.jpgUnless there's some kind of tutorial to get the Zipflip program working on Windows 7.

    It works completely fine on win vista x64 thus I highly doubt it doesn't work on win 7.
    Have you attempted to run it as an admin? Shift right click on it > run as admin

    Really the most annoying part of moving anything from the game is the fact that you actually have to take a look at the VMT's to know where to put them.
    Reply With Quote Edit / Delete Reply Czech Republic Show Events Useful Useful x 1 (list)

  33. Post #33
    necrobard's Avatar
    April 2007
    311 Posts
    I'm using windows 7 64bit and the VZipFlip works no problem.

    Edited:

    Wraithcat might be on to something with the run as admin.
    Reply With Quote Edit / Delete Reply United States Show Events Useful Useful x 1 (list)

  34. Post #34
    Gold Member
    Squiddy's Avatar
    February 2005
    1,817 Posts
    I had to run it through cmd for it to work. Just putting that out there, as well. :D
    Reply With Quote Edit / Delete Reply Show Events Useful Useful x 2 (list)

  35. Post #35
    Gold Member
    Dragoshi1's Avatar
    March 2008
    5,816 Posts
    I run the zipflip through cmd, but when I put "a [the directory]" it tells me "a" is not recognized

  36. Post #36
    Gold Member
    Squiddy's Avatar
    February 2005
    1,817 Posts
    It sounds like something about your input is incorrect. Double check and verify that you've got all of it correct... CMD also doesn't like spaces in folder names.
    Reply With Quote Edit / Delete Reply Show Events Informative Informative x 1 (list)

  37. Post #37

    February 2011
    13 Posts
    how about make a bat file. make a new file like txt format and open and type

    vzipflip a

    then rename this file's extension to bat and run. In addition, I also make bat file

    and typed

    ren *.comp *.

    this changes every comp files in the same folder to usable files.
    Reply With Quote Edit / Delete Reply Korea, Republic of Show Events Informative Informative x 3 (list)

  38. Post #38
    The King of Wing
    The Gobo's Avatar
    May 2008
    4,560 Posts
    Bumpage.
    Reply With Quote Edit / Delete Reply United States Show Events Friendly Friendly x 1 (list)

  39. Post #39
    Gold Member
    Squiddy's Avatar
    February 2005
    1,817 Posts
    Are there any special settings you need to compile the .qc with in order for the jigglebones to properly remain active on the ragdoll when it's spawned ingame? Because right now they're showing properly in HLMV, but cease to exist once I spawn it in game... :/

  40. Post #40

    February 2011
    13 Posts
    anyway, this method doesn't work in NPC case? like civilians or boss monsters.