Actually, try
"chapters"
{
1 "fake_mapname"
2 "fake_mapname2"
}
Also make sure sv_unlockedchapters is set to 1 for your mod (i.e your
mod has a cfg/config.cfg so the base hl2 one doesn't get run).
- Alfred
----Original Message----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alfred
Reynolds Sent: Wednesday, December 29, 2004 1:57 PM To:
[email protected] Subject: RE: [hlcoders] attn valve -
chapter backgrounds
> Try a scripts/chapterbackgrounds.txt that contains this text:
>
> "chapters"
> {
> }
>
> (the code to manage this is inside the engine).
>
> We are investigating how to expose more of the gameui logic to mods
> but don't have anything concrete yet.
>
> Note that you can inject VGUI2 panels into GameUI from your
> client.dll (using EngineVGui()->GetPanel( PANEL_GAMEUIDLL ) as the
> root). Doing that is an ugly hack however so be careful :)
>
> - Alfred
>
>
> ----Original Message----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Tony
> "omega" Sergi Sent: Wednesday, December 29, 2004 1:47 PM To:
> [email protected] Subject: [hlcoders] attn valve -
> chapter backgrounds
>
> > This is a multi-part message in MIME format.
> > --
> > [ Picked text/plain from multipart/alternative ] How do we disable
> > them for multiplayer mods?
> >
> > Before the latest SDK update I was able to create a bogus
> > ChapterBackgrounds.txt file in scripts, with no entries in the
> > chapters field, now, the file seems to be ignored and backgrounds
> > still load.
> >
> >
> >
> > Even the sample SDK in multiplayer mode loads it, and puts the MOTD
> > etc up and spawns weapons in background menu mode!
> >
> > I'm either blind, or it isn't part of the SDK code. I'm still
> > looking for it however., guessing it's part of gameui.dll though.
> >
> >
> >
> > Regarding gameui.dll .. are we ever going to get source to it so we
> > can make custom launcher menus, beyond just editing res files? It
> > would be really useful.
> >
> >
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.817 / Virus Database: 555 - Release Date: 15/12/2004
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list
> archives, please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders