--
[ Picked text/plain from multipart/alternative ]
The whole thing was actually pretty simple, the main change I made was
re-creating the CVarToggling that Valve did with their Options menu (just
derived VGUI Controls that toggle the CVars). I'm a bit surprised no one
else had done it before to be honest, it was pretty simple.
Aside from that, most of the video settings are CVars anyway, just gotta
figure out which ones control what. The part I anticipated would be
difficult is the resolution changing and subsequently refreshing the video
to apply the changes (without restarting the mod). I haven't really looked
into it though, but I guess everything else wouldn't be overly difficult

As for the server stuff I honestly haven't looked into that. I think theres
some stuff on the Dev Wiki that has info about the protocol but I don't know
anymore about that aspect of than you, sorry.

If I get a chance in the next few days (got some time off work) then I may
just bite the bullet and try and re-create a majority of Valve's Options
Menu

Matt

On 7/8/07, Oliver <[EMAIL PROTECTED]> wrote:
>
> --
> [ Picked text/plain from multipart/alternative ]
> Matt,
>
> I looked at your code for the sample options menu and it looks like it
> provides your users with a way to change console variables easily through
> a
> gui, which is cool.  Have you had any luck re-creating the functionality
> of
> Valve's option menu?  We'd love to create our own options menu that allows
> players to:
>
> 1) change playername (know how to do)
> 2) change player model (know how to do)
> 3) change graphics options (don't know how to do)
>
> Another question: have you had any luck modifying or finding the
> underlying
> code that runs the server browser panel?  We want to provide the
> functionality of the server browser panel but it's look and feel doesn't
> match the rest of our mod at all.  The only thing we really need is how to
> implement query that will return the list of servers and their
> information.
>
>
>
>
> On 7/8/07, Matt Stafford <[EMAIL PROTECTED]> wrote:
> >
> > --
> > [ Picked text/plain from multipart/alternative ]
> > All that stuff (Options menu, single player menu etc) are all a part of
> > GameUI.dll, theres no way to modify the code for them (ie the CVars
> > they're
> > linked to) unless you re-code the entire menu.
> > I've got code floating around on my website (www.wraiyth.com) with some
> > controls and an example Options Menu that you could use to replace the
> > existing one (just open your panel instead of the current one) but it'd
> > take
> > a fair bit of work to do.
> >
> > On a sidenote, if you want people on this list to take you seriously,
> you
> > need to work on your spelling and grammar.
> >
> > Matt
> >
> > On 7/8/07, steven belmans <[EMAIL PROTECTED]> wrote:
> > >
> > > hi all
> > >
> > > can somebody plz tell me ware i can find the scripts for the option
> > menu??
> > > wat dir is it in ??
> > >
> > > I cant  seem to find them in my mod files. The only thing i can find
> is
> > > optionsSub (multiplayer,video,..) .RES
> > >
> > > but you cant add or edit stuf in thare .they only display the fields
> and
> > > the
> > > name of thows options fields!!
> > >
> > > plz help !
> > >
> > > thanks in advans    steven
> > >
> > > _________________________________________________________________
> > > Probeer Windows Live Hotmail: snel, krachtig en veiliger dan ooit!
> > > http://get.live.com/mail/features
> > >
> > >
> > > _______________________________________________
> > > To unsubscribe, edit your list preferences, or view the list archives,
> > > please visit:
> > > http://list.valvesoftware.com/mailman/listinfo/hlcoders
> > >
> > >
> >
> >
> > --
> > Matt Stafford (Wraiyth)
> > http://www.wraiyth.com
> > NightFall HL2 Mod - http://www.nightfallmod.com
> > --
> >
> > _______________________________________________
> > 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
>
>


--
Matt Stafford (Wraiyth)
http://www.wraiyth.com
NightFall HL2 Mod - http://www.nightfallmod.com
--

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to