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

Mounting CS:S content for use in another mod

  • Zacker
  • May 4, 2005 at 7:49 PM
  • Zacker
    • May 4, 2005 at 7:49 PM
    • #1

    At Sands-of-War2(http://%7boption%7d) we want to have access to both HL2 and CS:S content in our maps. HL2 content works fine, but CS:S content displays as error(models) or purple/black(materials).

    We have tried loading them through the GameInfo.txt, which you can see below. This however don't work. What else do you have to do?

    Quote

    "GameInfo"{

    game "Sands of War 2"

    type "multiplayer_only"

    nomodels "0"

    nohimodel "1"

    nocrosshair "0"

    FileSystem

    {

    SteamAppId 240

    SteamAppId 220

    SteamAppId 320 // This will mount all the GCFs we need (240=CS:S, 220=HL2).

    ToolsAppId 211 // Tools will load this (ie: source SDK caches) to get things like materials\debug, materials\editor, etc.


    //

    // The code that loads this file automatically does a few things here:

    //

    // 1. For each "Game" search path, it adds a "GameBin" path, in

    // 2. For each "Game" search path, it adds another "Game" path in front of it with _ at the end.

    // For example: c:\hl2\cstrike on a french machine would get a c:\hl2\cstrike_french path added to it.

    // 3. For the first "Game" search path, it adds a search path called "MOD".

    // 4. For the first "Game" search path, it adds a search path called "DEFAULT_WRITE_PATH".

    //

    //

    // Search paths are relative to the base directory, which is where hl2.exe is found.

    //

    // |gameinfo_path| points at the directory where gameinfo.txt is.

    // We always want to mount that directory relative to gameinfo.txt, so

    // people can mount stuff in c:\mymod, and the main game resources are in

    // someplace like c:\program files\valve\steam\steamapps\\half-life 2.

    //

    SearchPaths

    {

    Game |gameinfo_path|.

    Game hl2

    Game cstrike

    Game hl2mp

    }

    }

    }

    Display More
  • jimius
    • May 5, 2005 at 5:44 PM
    • #2

    CSS content may not be used in any 3rd party modification. It's in the EULA.

  • Zacker
    • May 5, 2005 at 6:28 PM
    • #3

    Hmm, I was unaware of that. What about Garry's mod, it uses CSS content.

  • mike-0
    • May 5, 2005 at 6:36 PM
    • #4

    so does POA

  • Bic-B@ll
    • May 6, 2005 at 2:20 AM
    • #5

    if gary jumped off a bridge, would you?

  • Zacker
    • May 6, 2005 at 10:03 AM
    • #6

    Ok, I have talked with Valve about it now. Here is what Yahn had to say about the issue:

    Quote

    Yeah, it's something that's not officially supported so I wouldn't relyon cross-mod cache usage to keep working going forward. We'll try and

    get the word out at some point to clarify this.

    The gameinfo trick won't work because as I understand it only the first

    appid is loaded.

  • Zacker
    • May 6, 2005 at 3:18 PM
    • #7

    Yay, I have gotten it to work! The solution is plain simple: Load only the CS:S content! The HL2 content is automaticly added:)

  • Zacker
    • May 6, 2005 at 5:05 PM
    • #8

    Then they are unfortunately screwed:/ That's a downside for sure, but I guess it's one of thoose you have to live with.

  • Tequila
    • May 6, 2005 at 5:07 PM
    • #9
    Quote from Pericolos0

    so what happens when someone who doesnt have css wants to play your mod

    The world explodes.

  • von*ferret
    • May 6, 2005 at 7:52 PM
    • #10

    thats a great attitude to people who are taking their time to download your work and give it a try. I'd say try to have a more proffesional approach to this kind of stuff. If you're bent on using CS:S content than find a way to distribute it without requiring people to have CS:S. Otherwise people will consider your project a joke. IMHO

  • Zacker
    • May 6, 2005 at 8:04 PM
    • #11

    I see that it is not the perfect solution, but at least I did not just say "The world explodes" or some other bs like that.

    We are of course trying to find a way to also get SoW2 working for people without CS:S.

  • Makaveli
    • May 10, 2005 at 6:26 PM
    • #12

    well, i dont think you can re-distrubute CS:S material seeing as you are paying for them, so you either duplicate CS:S material or its a no go, b/c thats surely a lawsuit waiting to happen.

  • ReNo
    • May 10, 2005 at 6:34 PM
    • #13

    But then again, CS:S is included in every HL2 distribution, so while not everybody with HL2 has it installed, everybody has the RIGHT to have it installed. For this reason, perhaps it would be ok to distribute CS:S content with an HL2 mod.

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
  1. Privacy Policy
  2. Contact
Powered by WoltLab Suite™