E
evilgoodguy
Guest
I am attempting to make a mod for singleplayer hl2 which utilizes the materials and content of css (without importing all the content manually, in other words:having the mod recognize both hl2 and css content...the mod Black mesa source utilizes this concept also).
I assume i must do something in the gameinfo.txt in my mod folder. I made some adjustments to the gameinfo.txt and successfully got the hammer editor to recognize all the content. When I compiled my map, it compiled fine. But when I tried loading the map, it either said there is a bad string or it loaded up the map as though it is css, and of course that caused some problems.
my gameinfo.txt looks as follow (I took out all the extra stuff for this forum post):
"GameInfo"
{
game "HALF-LIFE 2"
title "Shephard Chronicles"
icon "icon_01"
developer ""
developer_e-mail ""
type singleplayer_only
SteamAppId 215
ToolsAppId 211
SearchPaths
{
Game |gameinfo_path|.
Game hl2
Game episodic
Game cstrike
I have cstrike and hl2 under the gameinfo_path's. (Without having the cstrike path in the first line under gameinfo_path the css content does not show up in hammer or in-game). I have also switched around the order of my gameinfo_paths a few times, as I know the first in the list is set as the default, but neither seems to work right.
I dont know much about programming, so if there is programming involved, could someone refer me to a tutorial to get this working? If anyone can tell me what I'm doing wrong, or more importantly, what to do right, it would be greatly appreciated.
I assume i must do something in the gameinfo.txt in my mod folder. I made some adjustments to the gameinfo.txt and successfully got the hammer editor to recognize all the content. When I compiled my map, it compiled fine. But when I tried loading the map, it either said there is a bad string or it loaded up the map as though it is css, and of course that caused some problems.
my gameinfo.txt looks as follow (I took out all the extra stuff for this forum post):
"GameInfo"
{
game "HALF-LIFE 2"
title "Shephard Chronicles"
icon "icon_01"
developer ""
developer_e-mail ""
type singleplayer_only
SteamAppId 215
ToolsAppId 211
SearchPaths
{
Game |gameinfo_path|.
Game hl2
Game episodic
Game cstrike
I have cstrike and hl2 under the gameinfo_path's. (Without having the cstrike path in the first line under gameinfo_path the css content does not show up in hammer or in-game). I have also switched around the order of my gameinfo_paths a few times, as I know the first in the list is set as the default, but neither seems to work right.
I dont know much about programming, so if there is programming involved, could someone refer me to a tutorial to get this working? If anyone can tell me what I'm doing wrong, or more importantly, what to do right, it would be greatly appreciated.