Using CSS content in a HL2 mod

Using CSS content in a HL2 mod

Re: Using CSS content in a HL2 mod Posted by Le Chief on Sat Jun 28th 2008 at 2:01am
Le Chief
2605 posts
Posted 2008-06-28 2:01am
Le Chief
member
2605 posts 937 snarkmarks Registered: Jul 28th 2006 Location: Sydney, Australia
Hey guys.

I've created a HL2SP mod using the tool in the source sdk. For the mod, I want to be able to use some CSS content in the mod but I don't want to extract the content into my mod's folder. How do I tell my my mod/hammer to look in steamapps/counter-strike source shared.gcf?

I tried adding CSS under the searchpaths thing in gameinfo.txt but it was searching in steamapps\aaronz92\sourcesdk\bin\ep1\CSS instead of the gcf.

Thanks in advanced :smile: .
Aaron's Stuff
Re: Using CSS content in a HL2 mod Posted by Riven on Sat Jun 28th 2008 at 5:50am
Riven
1640 posts
Posted 2008-06-28 5:50am
Riven
Wuch ya look'n at?
super admin
1640 posts 1266 snarkmarks Registered: May 2nd 2005 Occupation: Architect Location: Austin, Texas, USA
I think this is the way it works: If you specify your mod to be created under a HL2 setting, then you will be limited to the HL2.GCF folder. All other content for that mod if not in the hl2 GCF folder, will need to be extracted and imported in. So, once you select the engine version, you will be limited to that GCF. Hammer won't read out of GCFs unless it's specified to under the game choice (engine) options, and you can only read out of one version of the engine. CSS and HL2 are two different engine versions.
Blog: www.playingarchitecture.net
LinkedIn: Eric Lancon
Twitter:@Riven202
Re: Using CSS content in a HL2 mod Posted by warlord on Thu Jul 17th 2008 at 5:34pm
warlord
166 posts
Posted 2008-07-17 5:34pm
warlord
member
166 posts 247 snarkmarks Registered: Sep 11th 2003 Occupation: ill show ye Location: americas
even if you get it to work in hammer would it still work ingame?
the only problem with steam updating things every week is it doesent give the developers an incentive to playtest thier work, so we do it for them