Looking up new models in the Model Viewer

Hey everyone,

Alright, so I made a model for CSS using Maya 2010, following this tutorial:

http://www.northcapestudios.com/blog/?p=45#Part1

It executed correctly in ConTEXT, but I cannot find it in the model viewer.
It places the model files in the counter-strike source/cstrike/models folder, but the model viewer seems to only want to show me Half life 2 models.

So my question is this: Where do I move these files, and the corresponding texture files in order to be able to place them in Hammer?

Thanks.

Are you opening Model Viewer with the CSS configuration of the SDK launcher?

Yes. Alright, I seem to have gotten it to work, but it says error loading model.

[editline]27th December 2010[/editline]

Wow. That’s infuriatingly vague.

I followed the tutorial exactly. What’s the code tag, I’ll post the console in ConTEXT for you.

[editline]27th December 2010[/editline]

This is also a long shot, but do you have any knowledge of other Maya to source tutorials ?

[editline]27th December 2010[/editline]

Does ANYONE know what the issue could be?

There has to be more than one person moving their maya models to the Source engine.

Googled this issue, and all I got was some unanswered threads and one that was completely unhelpful.

The model and collision model are as clean as I can make them, I can supply the project files if need be.

Post your QC


$modelname "zillis.mdl"

$scale 1
$surfaceprop "default"
$staticprop
$body "Body" "zillis"
$sequence idle "zillis_idle" loop fps 1
$collisionmodel "zillis_phy.smd"
{
$mass 1
$concave
}


If you’re moving the model, make sure you move all the extensions as well (vvd vtx dx90 phy mdl) otherwise you’ll get errors. Also, do not change the path of the model when moving it. You must either hex edit the folder path, or recompile it to a different folder. When I say file path, I don’t mean the game name before “models”.

You also have no material path assigned.

What do you mean by hex editing?

as for moving the extensions, I believe that was done correctly by the conTEXT configuration:
http://img213.imageshack.us/i/filesk.jpg/

Although I think this is what you said you didn’t mean.
[editline]28th December 2010[/editline]

Also, yes. I’ll actually attempt to fix that now


 
$modelname "zillis.mdl"

$cdmaterials models/
$scale 1
$surfaceprop "default"
$staticprop
$body "Body" "zillis"
$sequence idle "zillis_idle" loop fps 1
$collisionmodel "zillis_phy.smd"
{
$mass 1
$concave
}


yields no change :frowning:

I see you have physics lines in your qc, yet I see no .phy in the image you have provided.

Hmm, I’ll try recompiling. Any idea why it wouldn’t make them?

I made sure to set the memberships for the reference and physics layers correctly, and it seems right in the QC…

Try this QC:


$modelname "zillis.mdl.mdl"

$model "zillis" "zillis.smd"

$cdmaterials "models\"

$surfaceprop "default"

$illumposition 13.156 3.227 2.965

$sequence idle "zillis_idle" loop ACT_IDLE 1 fps 30.00

$collisionmodel "zillis_phy.smd" {

	$mass 10.0
	$inertia 1.00
	$damping 0.00
	$rotdamping 0.00
}

I was able to fix the problem.

I think it was a few things; The primary one being that I had moved my physics model off of my reference.

It wasn’t mentioned that it had to be on it in the tutorial, or at least I didn’t see it there.I’m clearly new to all this.

I appreciate the help, and I’ll take your QC fury just as a reference. \

Thanks again!