Making EP1 mod / mounting EP1 stuff

Au-heppa

Pi Mu Rho's Worstest Enemy
Joined
Mar 9, 2006
Messages
596
Reaction score
7
Okay, I want to use the pine tree models from EP1. The gameinfo.txt of my mod says

SteamAppId 380

and

SearchPaths
{
Game |gameinfo_path|.
Game episodic
Game hl2
}

and in Hammer I can see all the models, and if I run the map with EP1 I can see the models, but still when I run it with my mod all I see is error models. What's the problem? do I have to compile my code differently as well?

If so, how do you determine in the source code that it's episodic, and not hl2. I have sometimes seen an if function that says something "if (IsEpisodic.GetBool())" or "#ifdef EPISODIC" or something like that. What's the correct file to determine these things, what's the "main" .cpp file where I should add the "#define EPISODIC" line or the one that sets the IsEpisodic to true?


EDIT: oh, lol, it turns out I was using the runmod.bat file to run the mod, and it had the SteamAppId still set to 215
 
Back
Top