Jump to content

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


PaK-RaT

Recommended Posts

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

  • Mapcore Supporters

    Funds go towards hosting and license costs, Discord server boosts, and more. If you'd like to donate, check out our Patreon announcement.

×
×
  • Create New...