gcfscape hl2 props into cs

gcfscape hl2 props into cs

Re: gcfscape hl2 props into cs Posted by BSODUtensil on Thu Dec 9th 2004 at 6:11pm
BSODUtensil
17 posts
Posted 2004-12-09 6:11pm
17 posts 12 snarkmarks Registered: Dec 9th 2004
hello all,

i need props from hl2 in css. I have
extracted for example SinkKitchen01a and all related files. I placed
the extracted files into model directory under
sourcesdk/cstrike_sample_content/models. now i can load up the
extracted models and use them in hammer as basic props but my problem is now
they cant find the relevant texture so are shaded with a purple and
black checker and they dont show up in css either. I have also tried editing the $basetexture path in the
vmt to point to
"$basetexture" "bsod/SinkKitchen01a" with no joy. has anyone got any ideas on how to use extracted models from hl2 in css

Re: gcfscape hl2 props into cs Posted by diablobasher on Thu Dec 9th 2004 at 6:20pm
diablobasher
143 posts
Posted 2004-12-09 6:20pm
143 posts 44 snarkmarks Registered: Oct 18th 2003 Occupation: Spastic, Bannisher of HALO! Location: England
Yeh but, if you use HL2 props in a CS map, no one else will be able to play the map properly unless they GCFscape the files as well....

But i think you can just import the correct textures the same way, if you can find them.
Re: gcfscape hl2 props into cs Posted by Captain P on Thu Dec 9th 2004 at 6:30pm
Captain P
1370 posts
Posted 2004-12-09 6:30pm
1370 posts 1995 snarkmarks Registered: Nov 6th 2003 Occupation: Game-programmer Location: Netherlands
In order to get them to work in CSS, you don't place them somewhere in
the sdk folders, but you should put them in the counter-strike
source\cstrike\models folder. That's where the game looks. Only there.
Now the editor also looks in the sdk folders. A bit confusing to beginners I think...

I don't know if model materials are included in the model file itself
or not. Try playing your level with the specific model files in the
right place. You should now see them in-game. If they show up normally,
then you don't need to place their materials in the counter-strike
source\cstrike\materials folder. If they show up purple-black, then you
should put their materials in the cstrike folders.
Re: gcfscape hl2 props into cs Posted by BSODUtensil on Thu Dec 9th 2004 at 6:58pm
BSODUtensil
17 posts
Posted 2004-12-09 6:58pm
17 posts 12 snarkmarks Registered: Dec 9th 2004
hi captain p. I have extracted all the files called SinkKitechen01a
using gcfscape, however i had to get the vft and vmt files(material and
texture files) from a different gcf file than the rest of the related
SinkKitechen01a files. I have placed these files in counter-strike
source\cstrike\models folder and they dont show up in hammer to even
put em in level. So i have to copy models folder from cstrike to
sdkserver/cstrike_sample_content/models and now i can place em into
hammer but the textures are still purple and black checker. There are
many files 9 in total. I think some of these files are still trying to
reference a gcf file with the hl2 content in so it cant find em The
Reason i say this is because when i edit the GameInfo.txt to

SteamAppId

220,240 // This will mount all the
GCFs we need (240=CS:S, 220=HL2). Then the texture shows up.

files for SinkKitchen01a are

SinkKitchen01a.dx80.vtx

SinkKitchen01a.dx90.vtx

SinkKitchen01a.jpg

SinkKitchen01a.mdl

SinkKitchen01a.phy

SinkKitchen01a.sw.vtx

SinkKitchen01a.vmt

SinkKitchen01a.vtf

SinkKitchen01a.vvd

any more ideas!!