Jump to content

Cannot get my model's texture in Modelview/Hammer to show


Recommended Posts

Posted

I am having trouble getting this model's texture to apply in source:

mdl.gif

VMT file location:

C:\Steam\SteamApps\russimama\counter-strike source\cstrike\materials\maps\de_waste\test\

VMT file:

"VertexLitGeneric"

{

"$baseTexture" "de_waste/test/cactus_01"

"$envmapcontrast" "1"

"$envmaptint" "[1 1 1]"

"$envmapsaturation" "[1 1 1]"

"$surfaceprop" "shrub"

}

QC file location:

C:\Steam\SteamApps\russimama\sourcesdk\cstrike_sample_content\model_sources\de_waste\test\cactus_01.qc

QC file

$modelname de_waste/test/cactus_01.mdl

$cdmaterials models/de_waste/test

$staticprop

$scale 2.0

$body studio "models/de_waste/test/cactus_01.smd"

$sequence idle "models/de_waste/test/cactus_idle" fps 1

Texture location:

C:\Steam\SteamApps\russimama\counter-strike source\cstrike\materials\maps\de_waste\test

Model location:

C:\Steam\SteamApps\russimama\counter-strike source\cstrike\models\de_waste\test

Model folder contents

mdl_dir.gif

Materials location:

C:\Steam\SteamApps\russimama\counter-strike source\cstrike\materials\maps\de_waste\test\

Materials folder contents:

mat_dir.gif

I guess that's all the info needed right?

Any help would be greaty appreciated :)

-R

Posted

yep, the path in youre qc file

$cdmaterials models/de_waste/test

-->so it goes look in [steam path]materials/models/de_waste/test

and youre texture is located in

materials /maps/de_waste/test

Posted

I finnally got a chance to try and fix my problems regarding this import today.

I'm kinda new to the steam sdk and didnt trun off the auto updater, and it updated all my files. Now my entire sourcesdk file structure has been changed and the studiomdl points files to a new location.

The problem is the help files on valve-erc reference docs have a completely different file sturcture than the ones in the new update.

bin\studiomdl cstrike_sample_content\model_sources\cactus_01.qc is no longer a valid path.

My new command path seems like iot should be:

bin\studiomdl sourcesdk_content\cstrike\modelsrc\cactus_01.qc

but my *new* error message says:

Error opening C:\games\steam\steamapps\russimama\sourcesdk\sourcesdk_content\cst

rike\modelsrc\cactus_01.qc

It's starting its search at the sourcesdk directory but my files are no longer there.

How can I get this studiomdl to search for my QC where it is?

Posted

thx for all yoiur help guys, I finnally got my model in-game. WE should release our maps soon. probably 1.5 months.

My final problem was the export plugin, putting 'null' as my texture map, i edited the .smd files in notepad.

-R

×
×
  • Create New...