help getting mod to utilize and mount GCF's for hl2, css, and hl2 espisode1
Post Reply
Quote
Re: help getting mod to utilize and mount GCF's for hl2, css, and hl2 espisode1
Posted by evilgoodguy on Mon Dec 25th at 7:57am 2006


<html><head><link rel="stylesheet" href="themes/standard.css" type="text/css"></head><body topmargin=2 leftmargin=2>


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.




Quote
Re: help getting mod to utilize and mount GCF's for hl2, css, and hl2 espisode1
Posted by omegaslayer on Mon Dec 25th at 8:11am 2006


You already have what you need (ToolsAppId 211). But how are you loading the map? are you running it from hammer's compile GUI?

The proper way to laod a map (in any mod) is to run the mod and load the map manualy.






Quote
Re: help getting mod to utilize and mount GCF's for hl2, css, and hl2 espisode1
Posted by evilgoodguy on Mon Dec 25th at 10:07am 2006


ya im compiling in hammer and then loading the map manually. The problem is it loads as though it is a css map and that's a big problem, cause i cant spawn and everthing is messed up...the hud, weapons, etc.





Post Reply