aaron_da_killa Posted June 28, 2008 Report Posted June 28, 2008 Hey. 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.
madgernader Posted June 30, 2008 Report Posted June 30, 2008 You add it into the code, the valve wiki tells you how... http://developer.valvesoftware.com/wiki/IFileSystem Down at the bottom of that page under "Mount Steam Application Content" That will let your mod load the materials / models in the game, I think to get them to appear in hammer you'd have to edit the FGD, I'm not really sure.
Defrag Posted July 3, 2008 Report Posted July 3, 2008 If you don't want to go through that: AFAIK Valve are OKish with people using & distributing CS:S content in HL2 mods as long as they don't take the piss. i.e. if it's just the odd model/texture, I doubt anyone is going to care. If you use lots of stuff then you should definitely do what madgernader said.
aaron_da_killa Posted July 10, 2008 Author Report Posted July 10, 2008 Ah, thanks for the replies guys, I just noticed now. I'm having a bitch of a time setting up my tools to work with the Source code, it was so much easier with Half-life 1. I need to download a 500mb file (Windows Platform SDK) so I can compile on Windows XP .
madgernader Posted July 12, 2008 Report Posted July 12, 2008 Yea I know what you mean, Source was awful to setup the coding environment for, Don't forget the DirectX sdk as you'll need that too
2d-chris Posted July 20, 2008 Report Posted July 20, 2008 Personally I wouldnt bother using css content in your hl2 mod, technically your not meant to do it. As somebody else said unless you use lots of it or your mod becomes very popular I can't see Valve taking much notice.
Recommended Posts