I've almost got a modal overview map working. I'll update the developer wiki with the code for it when I'm done. Basically it's a window that can be moved/resized and closed. Player stops moving/freezes when map is open because the map window has taken over keyboard + mouse focus.
Quoting Tim Holt <[EMAIL PROTECTED]>: > Ah thanks for that. > > The overview map - or it's equivalent in the MMOG "Second Life" is a style > I'm > aiming for right now. Pretty nice setup. Checkboxes/map key on the right > side > that let you turn on/off different map features. Click & drag to pan map, > mouse wheel to zoom in/out - if my memory serves me. > > > Quoting Ian Warwick <[EMAIL PROTECTED]>: > > > It's possible you just need to subclass from vgui::Frame rather than > > vgui::Panel, and mouse input will work, this is what I did. > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Tim Holt > > Sent: 18 August 2005 18:51 > > To: [email protected]; Kamran > > Cc: [email protected] > > Subject: Re: [hlcoders] Accepting mouse input in the overview map > > > > I was thinking of tackling this by having the "mini" overview be as it > > is now - no mouse interface. But then also an alternate overview map > > which is actually a modal dialog - like the MOTD display is (have to > > click "OK" to continue). > > > > Quoting Kamran <[EMAIL PROTECTED]>: > > > > > That's pretty impossible, if you think about it: if your mouse is > > > controlling your view, how can it also control the overview map? > > > > > > There should be a way though if you toggle it fullscreen, which is I > > > think what you're after? > > > > > > Alex Thomson wrote: > > > > > > >This is a multi-part message in MIME format. > > > >-- > > > >[ Picked text/plain from multipart/alternative ] > > > > > > > >So, I've set up my overview map pretty much as described in the Wiki > > > >and that all works great. > > > > > > > >Now I want a mouse cursor visible on that panel (like in the console > > > >or options menu). I've tried the functions SetMouseInputEnabled and > > > >HasInputElements, along with various other things, but none of these > > > >seem to help. The mouse still controls the player movement and no > > > >cursor is visible. Any ideas? > > > > > > > > > > > > > >_______________________________________________________________________ > > >___________________________________________________________________ > > > >Information contained in this e-mail is intended for the use of the > > > addressee only, and is confidential and may be the subject of Legal > > > Professional Privilege. Any dissemination, distribution, copying or > > > use of this communication without prior permission of the addressee is > > > > > strictly prohibited.The views of the author may not necessarily > > > constitute the views of Kuju Entertainment Ltd. Nothing in this email > > > shall bind Kuju Entertainment Ltd in any contract or obligation. > > > > > > > >The contents of an attachment to this e-mail may contain software > > > >viruses > > > which could damage your own computer system. While Kuju Entertainment > > > has taken every reasonable precaution to minimise this risk, we cannot > > > > > accept liability for any damage which you sustain as a result of > > software viruses. > > > You should carry out your own virus checks before opening the > > attachment. > > > > > > > > > >_______________________________________________________________________ > > >___________________________________________________________________ > > > >This email has been scanned by the MessageLabs Email Security System. > > > >For more information please visit http://www.messagelabs.com/email > > > > > >_______________________________________________________________________ > > >__________________________________________________________________ > > > >-- > > > > > > > >_______________________________________________ > > > >To unsubscribe, edit your list preferences, or view the list > > > >archives, > > > please visit: > > > >http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > Kamran A > > > Get Firefox! Safer, Faster, Better. > > > <http://www.spreadfirefox.com/?q=affiliates&id=0&t=85> > > > Down with Internet Explorer! Say "NO!" to Spyware! Use Firefox > > > > > > _______________________________________________ > > > 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 > > > > > > ==================================================================== > > FusionPeople Ltd may monitor outgoing and incoming emails and other > > telecommunications on its email and telecommunication systems. > > > > > > ==================================================================== > > This email and any files transmitted with it are confidential and intended > > solely for the use of the individual or entity to whom they are addressed. > If > > you have received this email in error you are on notice of its status. > Please > > notify us immediately by return email if you are not the intended recipient > > and delete this message. Please note that any views or opinions presented > in > > this email are solely those of the author and do not necessarily represent > > those of FusionPeople Ltd. > > > > FusionPeople Ltd may monitor outgoing and incoming emails and other > > telecommunications on its email and telecommunication systems. > > > > ======================================================================= > > This message has been checked for all known viruses by MessageLabs, The > > service does not scan any password protected or encrypted attachments. > > FusionPeople Ltd accepts no liability for any damage caused by any virus > > transmitted by this email. > > > > _______________________________________________ > > 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 > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

