How to converter a gold source model to source?

How to converter a gold source model to source?

If it’s a prop I’m pretty sure you can just decompile the actual .mdl and recompile it using a Source engine model compiling tool, such as CrowbarTool.

You might need to change a few settings inside the QC file (which is generated after decompiling a .mdl), but thats pretty much all you need to do.

Non-prop (like ragdolls) models require a few more steps before compiling it to Source, for this I suggest you to read a few tutorials about compiling ragdoll models to source engine.

I decompile the model and compile using crowbar, and i put on gmod but the prop in the game dont spawn and the icon is a error

Have you checked the console for any errors related to the model you are porting ?

When you compile it using CrowbarTool you’ll see a button to load the model in HL Model Viewer, try doing that and see if it loads correctly. If nothing shows up, post the QC content here using [ code][ /code] tags, please



example using code tags


source:
[noparse]


 example using code tags 

[/noparse]

when I try to see the model in the crowbar tool does not open anything and console nothing appears on the model.

Nothing appears on the console about the .QC file.

[editline]19th February 2015[/editline]


 QC script generated by Half-Life MDL Decompiler 1.2 
2003, Kratisto. Based on code from Valve's HL SDK.

brevlada.mdl

Original internal name:
"brevlada.mdl"

==============================================================================
*/

$modelname "brevlada.mdl"
$cd ".\"
$cdtexture ".\"
$scale 1.0
$cliptotextures


$bbox 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
$cbox 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
$eyeposition 0.000000 0.000000 0.000000


//reference mesh(es)
$body "body" "ref"


// 1 hit box(es)
$hbox 0 "joint1" -12.310000 -19.629999 -13.000000 6.670000 47.270000 11.840000

// 1 animation sequence(s)
$sequence "idle" "idle" fps 1 

// End of QC script.
 

[editline]19th February 2015[/editline]

I found this when i open with notepad++ the file

$cdtexture “.”

change to $cdmaterials “models\brevlada”

$body “body” “ref”
change to $model “body” “ref”


 /*
==============================================================================

QC script generated by Half-Life MDL Decompiler 1.2 
2003, Kratisto. Based on code from Valve's HL SDK.

brevlada.mdl

Original internal name:
"brevlada.mdl"

==============================================================================
*/

$modelname "brevlada.mdl"
$cdmaterials "models\brevlada"
$body "body" "ref"
change to $model "body" "ref"
$scale 1.0
$cliptotextures


$bbox 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
$cbox 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
$eyeposition 0.000000 0.000000 0.000000


//reference mesh(es)
$body "body" "ref"


// 1 hit box(es)
$hbox 0 "joint1" -12.310000 -19.629999 -13.000000 6.670000 47.270000 11.840000

// 1 animation sequence(s)
$sequence "idle" "idle" fps 1 

// End of QC script.


[editline]19th February 2015[/editline]

i put this but when i try to compile is getting error about bad comand $cdmaterials.

pretty sure its because you wrote this in your code


$body "body" "ref"
change to $model "body" "ref"

when your supposed to change the line $body “body” “ref” to $model “body” “ref”


 /*
==============================================================================

QC script generated by Half-Life MDL Decompiler 1.2 
2003, Kratisto. Based on code from Valve's HL SDK.

brevlada.mdl

Original internal name:
"brevlada.mdl"

==============================================================================
*/

$modelname "brevlada.mdl"
$cdmaterials "models\brevlada"
change to $model "body" "ref"
$scale 1.0
$cliptotextures


$bbox 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
$cbox 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
$eyeposition 0.000000 0.000000 0.000000


//reference mesh(es)
$body "body" "ref"


// 1 hit box(es)
$hbox 0 "joint1" -12.310000 -19.629999 -13.000000 6.670000 47.270000 11.840000

// 1 animation sequence(s)
$sequence "idle" "idle" fps 1 

// End of QC script.


[editline]19th February 2015[/editline]

Same problem before now.

[editline]19th February 2015[/editline]

Sorry if i am writing wrong i am too dumb at this.


 
 /*
==============================================================================

QC script generated by Half-Life MDL Decompiler 1.2 
2003, Kratisto. Based on code from Valve's HL SDK.

brevlada.mdl

Original internal name:
"brevlada.mdl"

==============================================================================
*/

$modelname "brevlada.mdl"
$cdmaterials "models\brevlada"
$model "body" "ref"
$scale 1.0
$cliptotextures


$bbox 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
$cbox 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
$eyeposition 0.000000 0.000000 0.000000


//reference mesh(es)
$body "body" "ref"


// 1 hit box(es)
$hbox 0 "joint1" -12.310000 -19.629999 -13.000000 6.670000 47.270000 11.840000

// 1 animation sequence(s)
$sequence "idle" "idle" fps 1 

// End of QC script.


use this code instead of the one you currently have.

Note there’s no ‘change to $model’ command, you were taking his suggestion too literally

I put this code but its getting the same problem again bad command $cdmaterials

Erase $cliptotextures from the code and try again


  
 /*
==============================================================================

QC script generated by Half-Life MDL Decompiler 1.2 
2003, Kratisto. Based on code from Valve's HL SDK.

brevlada.mdl

Original internal name:
"brevlada.mdl"

==============================================================================
*/

$modelname "brevlada.mdl"
$cdmaterials "models\brevlada"
$model "body" "ref"
$scale 1.0


$bbox 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
$cbox 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
$eyeposition 0.000000 0.000000 0.000000


//reference mesh(es)
$body "body" "ref"


// 1 hit box(es)
$hbox 0 "joint1" -12.310000 -19.629999 -13.000000 6.670000 47.270000 11.840000

// 1 animation sequence(s)
$sequence "idle" "idle" fps 1 

// End of QC script.


[editline]20th February 2015[/editline]

Same error again.

remove $body “body” “ref”

what compiler are you using

i try to remove but is getting the same error.

i am using crowbar.