so i'm making a model hack using uaredead's tutorial for MilkShape. i've already got the hack itself all figured out and i'm fairly happy with it, but the problem is that MDLdecompiler has stopped producing .qc's from the models i've decompiled, and i really don't know enough to make one from scratch. anybody have any idea why? i basically have no idea what i'm doing so i'm probably missing something obvious, but some help would be appreciated.
Writing a qc file is pretty simple, I assume that's what you need? Use the following as a template. Don't hold me to this though, I'm still learning myself.
[code]
$modelname "path/to/file/model_name.mdl"
$body mybody "model_name.smd"
$staticprop
$surfaceprop combine_metal
$cdmaterials "path/to/material"
$sequence idle "model_name.smd"
$collisionmodel "model_name-phys.smd" { $concave }
[/code]
[QUOTE=Meekal;40519174]Writing a qc file is pretty simple, I assume that's what you need? Use the following as a template. Don't hold me to this though, I'm still learning myself.
[code]
$modelname "path/to/file/model_name.mdl"
$body mybody "model_name.smd"
$staticprop
$surfaceprop combine_metal
$cdmaterials "path/to/material"
$sequence idle "model_name.smd"
$collisionmodel "model_name-phys.smd" { $concave }
[/code][/QUOTE]
thanks, but that's not really helping me much since i'm trying to make a ragdoll rather than a prop.
just bumping to say that i've found a useable .QC file and i think i've got a rough idea of what i'm doing, but when i try to compile with GUIStudio 2.2 i get this error:
[QUOTE]qdir: "c:\users\harry\documents\model hacks\"
gamedir: "C:\Program Files (x86)\Steam\steamapps\aerayn\garry's mod beta\garrysmodbeta\"
g_path: "mdldecompiler (2)"
Working on "mdldecompiler (2).qc"
ERROR: c:\users\harry\documents\model hacks\mdldecompiler (2).qc(3): - could not load file 'C:/Users/Harry/Documents/Model Hacks/male_04_reference.smd'
ERROR: Aborted Processing on 'fullfunkyspaceman.mdl'[/QUOTE]
again i'm probably missing something obvious, but i'd be thankful for some help
At least from my experience, that error usually comes up when the .SMD file that the compiler is looking for is either missing or going by a slightly different name. Make sure that your reference file is actually listed in your .QC, otherwise that error will continue to happen.
Sorry, you need to Log In to post a reply to this thread.