In-Game Menu

Help with using HLDJ
Post Reply
Dark Prism
Game DJ
Posts: 4
Joined: Mon Mar 01, 2010 11:55 pm

In-Game Menu

Post by Dark Prism »

I'm trying to figure out how to add an in-game menu like you can with HL1 in L4D2. I thought I could do it similarly to how the sm_admin menu works, but I can't find any information on it. Can anyone tell me how to do this, or at least point me in the right direction?
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: In-Game Menu

Post by Renegade »

not sure if custom radials work in L4D2, but you can try the radial menu tutorial in the tips & tricks section.
Game Zombie
Game DJ
Posts: 13
Joined: Fri Feb 12, 2010 8:12 pm

Re: In-Game Menu

Post by Game Zombie »

You can't make custom radials in L4D2 anymore unless the server has sv_consistency set to 0
Dark Prism
Game DJ
Posts: 4
Joined: Mon Mar 01, 2010 11:55 pm

Re: In-Game Menu

Post by Dark Prism »

I also heard that radials don't work when playing infected. That might not be true, but based on the other hurdles for it, I don't think it's viable.

I'm surprised that with the prevalence of SourceMod, there isn't more documentation on this.

Maybe I can just set it up with button presses. Is there a command to the currently selected file/folder to my screen? I'm really just trying to eliminate the need to use the console.
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: In-Game Menu

Post by Renegade »

If you find one, let me know, I've been in search of something like that since getting HLDJ to work with Source:
http://hldj.org/forums/viewtopic.php?f=9&t=20

HL1 was much more liberal in terms of what you could do with your screen real estate. With Source there may be game-specific hacks, but nothing in general that will work across the entire engine like 'developer 1' and 'echo' used to do.
Dark Prism
Game DJ
Posts: 4
Joined: Mon Mar 01, 2010 11:55 pm

Re: In-Game Menu

Post by Dark Prism »

I'm still looking for a simple way to do this, but maybe it needs to be built into the program, almost how SourceMod does it. Valve's developer wiki has some information on menu overlays: http://developer.valvesoftware.com/wiki ... umentation .
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: In-Game Menu

Post by Renegade »

Just a heads-up, that's all C++ code intended for mod developers; it cannot be used in scripts. Although it's possible to edit the game's resource files, it may end up failing consistency checks.
Post Reply