Mod coding issues post-engine update

Grab your favourite IDE and tinker with the innards of game engines

Mod coding issues post-engine update

Postby Thetommygun on Sun Aug 08, 2010 10:28 pm

Hey everyone,
My mod was working well until around the time the engine stuff was re-arranged to 2006,2007,2009.

1. I cannot get my static background image to load anymore, despite various tutorials.
The background image name is background01.vtf/vmt
2. I cannot give the chapters names
3. I cannot get the game.icon to display when creating a shortcut or to display in steam

Here are the contents of some files which may be related.


Chapterbackgrounds.txt


"chapters"
{
1 "background01"

}

valve.rc

// load the base configuration
//exec default.cfg
// Setup custom controller
exec joystick.cfg

// run a user script file if present
exec autoexec.cfg

//
// stuff command line statements
//
stuffcmds
sv_unlockedchapters 99

//menu music
play ui/er_lowtro_edit.wav

chapter1.cfg

map er_cyclicrebirth_intro

ermod_english.txt

"lang"
{
"Language" "English"
"Tokens"
{
"ERmod_Chapter1_Title" "Lights Out"
}
}

gameinfo.txt

"GameInfo"
{
game "ERmod"
name "ERmod"
title ""
title2 ""

type singleplayer_only

FileSystem
{
SteamAppId 420 // GCF for Episode 2
ToolsAppId 211 // Tools will load this (ie: source SDK caches) to get things like materials\debug, materials\editor, etc.

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



This is my first mod, if I have overlooked some critical document please direct me to it.
Thanks in advance, any help is appreciated.
Thetommygun
Member
Member
 
Joined: Sat Sep 26, 2009 7:21 pm

Return to Programming

Who is online

Users browsing this forum: No registered users

cron