Sunday, April 29, 2007

john help me please!


im viewing the model in the mdl viewer and its come up with that twat of a checkerboard. it's meant to show the material right? :p

im running cstrike in the sdk and as you can see i've put the textures in the same folder as the models folder. can you suggest a fix for my .qc file. maybe the same config of one the working models in the engine you have?

tx.

4 Comments:

Blogger John A. said...

OK, first up it's pointless to have that LOD command there if all it's doing is swapping out the model for itself.

I just had a similar problem with my models, because I'd collapsed all in Max before exporting, making it forget the texture it was unwrapped to.

But I think in this case that it's down to the folders... I see your compiled models are in a cstrike/models/modelsrc/vzx folder, which sounds crazy.
They should just live in cstrike/models. Textures should go into cstrike/materials/models

Try that and let me know...

1:39 AM  
Blogger Daljit said...

theres nothing wrong with the exporting. ive exported with the unrap visible and pointing to the right texture. i've also placed the vmt and vtf's in the

''C:\Program Files\Valve\Steam\SteamApps\verzun\counter-strike source\cstrike\materials\models'' folder

also i've compiled the models to

''C:\Program Files\Valve\Steam\SteamApps\verzun\counter-strike source\cstrike\models'' folder.

the only thing causing an upset must be the .qc configuration. can you send me a sample of a working one?

11:02 AM  
Blogger John A. said...

Try adding :
$cdmaterials "models"
...to the .qc file.

I feel I should point out that it's still before Thursday and I will "happily" compile your work for you.


.qc file from my jet engine model :

$modelname "qsh_jetengine.smd"
$scale 1.00
$staticprop
$cdmaterials "models"

$body "Body" "qsh_jetengine.smd"
$sequence "Idle" "qsh_jetengine.smd" fps 30 ACT_IDLE 1

$surfaceprop "metal"

$collisionmodel "qsh_jetengine.smd" {
$concave
$mass 300.000
}

5:56 PM  
Blogger Daljit said...

chill i give up. sourcesdk_content or the actual hl2 directory. either way im coming out with a checkerboard.

so what do you need exactly?

an smd with vtfs and vmts. thats all?

can you tell me what assets of mine are in the engine and working already. we dont want to overwrite assets already ingame.

6:59 PM  

Post a Comment

<< Home