1. Forums
  2. Discord
  3. About Mapcore
  4. Patreon Supporters
  • Login
  • Register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • More Options
  1. Mapcore
  2. Discussions
  3. Level Design

Using CSS content in a HL2 mod

  • aaron_da_killa
  • June 28, 2008 at 3:06 AM
  • aaron_da_killa
    • June 28, 2008 at 3:06 AM
    • #1

    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
    • June 30, 2008 at 10:41 PM
    • #2

    You add it into the code, the valve wiki tells you how...

    http://%7boption%7d

    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
    • July 3, 2008 at 7:51 PM
    • #3

    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
    • July 10, 2008 at 8:28 AM
    • #4

    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
    • July 12, 2008 at 11:24 PM
    • #5

    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
    • July 20, 2008 at 4:10 PM
    • #6

    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.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!

Register Yourself Login
Discord

The Mapcore Discord is our lively IRC channel of the 2000s reborn. Chat about level design, gaming, and more.

Latest Posts

  1. Custom Gamemodes Contest

    Angel
    July 20, 2026 at 11:46 AM
  2. FAQ

    Angel
    July 20, 2026 at 10:14 AM
  3. Tangerine

    Harry Poster
    July 18, 2026 at 11:10 AM
  4. Any of the old guard still around? D:

    Warby
    July 12, 2026 at 8:23 PM
  5. About our archived forums

    Thrik
    June 30, 2026 at 2:12 PM
  6. Mapcore Discord

    mason_fan123
    June 24, 2026 at 8:52 PM
  7. [CS2] Valley

    Serialmapper
    June 22, 2026 at 11:56 AM
  8. Free Music / SFX Resource - Over 2500 Tracks

    Eric Matyas
    June 18, 2026 at 12:32 PM
  9. Pango [WIP]

    Elowen
    June 11, 2026 at 10:13 AM
  10. [CS2] Dvina

    Jeremy Rivera
    June 11, 2026 at 10:03 AM

Users Viewing This Thread

  • 3 Guests
  1. Privacy Policy
  2. Contact
Powered by WoltLab Suite™