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
1
Re: gcfscape hl2 props into cs
Posted by diablobasher on Thu Dec 9th at 6:20pm 2004
Posted by diablobasher on Thu Dec 9th at 6:20pm 2004
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.
[addsig]
diablobasher
member
143 posts
44 snarkmarks
Registered: Oct 18th 2003
Location: England
Occupation: Spastic, Bannisher of HALO!
member
143 posts
44 snarkmarks
Registered: Oct 18th 2003
Location: England

Occupation: Spastic, Bannisher of HALO!
Re: gcfscape hl2 props into cs
Posted by Captain P on Thu Dec 9th at 6:30pm 2004

Captain P
member
1370 posts
247 snarkmarks
Registered: Nov 6th 2003
Location: Netherlands
Occupation: Game-programmer
Posted by Captain P on Thu Dec 9th at 6:30pm 2004
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
sourcecstrikemodels 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 sourcecstrikematerials folder. If they show up purple-black, then you should put their materials in the cstrike folders.
[addsig]
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 sourcecstrikematerials folder. If they show up purple-black, then you should put their materials in the cstrike folders.
[addsig]
Captain P
member
1370 posts
247 snarkmarks
Registered: Nov 6th 2003
Location: Netherlands

Occupation: Game-programmer
Re: gcfscape hl2 props into cs
Posted by BSODUtensil on Thu Dec 9th at 6:58pm 2004
Posted by BSODUtensil on Thu Dec 9th at 6:58pm 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
sourcecstrikemodels 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!!
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!!
1
© Snarkpit.net 2001 - 2023, about us, donate, contact
Snarkpit v6.1.0 created this page in 0.0316 seconds.

Snarkpit v6.1.0 created this page in 0.0316 seconds.

