Talk:VGUI2: Overview Display

From Valve Developer Community
Revision as of 03:54, 2 May 2010 by MLSTRM (talk | contribs) (Clarity: new section)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This is very cool, but I see more potential here than is covered. I've been playing with this in my teambased mod, and have the healthbars and names of other players working, as well as a rotating map. After looking at DoD:S and looking at the source of MapOverview.cpp it *looks* like it should be fairly easy to overlay textures for player icons and objectives/objects in the map, as well as define different teams - but I can't quite see my way through. There seems to be a lack of documentation on this feature which is a shame. Right now I can't even get the overview to be displayed by default - you have to switch it on every round by pressing the key bound to 'overview_mode' each time. If anyone has found out any more about available features, would they care to post here? Thanks in advance :)

Just an issue with putting the ConCommand overviewmode code in C_HL2MP_Player::Initialize, it changes it every time the player spawns. Perhaps putting it in config.cfg would be better, though I'm going to go with the tab key down thing. -methulah 10:52pm GMT+10 17/06/06

SDK update info

As you can see I've added how to get this working with the 31st Oct. 2006 SDK codebase. Seems a simple declare and a few bits "borrowed" from CS:S was all thats needed --Wunderboy 18:47, 1 Feb 2007 (PST)


SHouldn't we get rid of the obsolete code in the first secion, it's really confusing to see what you have to do. MLSTRM 10:54, 2 May 2010 (UTC)