215 would be fine, and this function will be in the new SDK not the old one.

- Alfred

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:hlcoders-
> [EMAIL PROTECTED] On Behalf Of Ondrej Hošek
> Sent: Wednesday, December 26, 2007 10:02 AM
> To: [email protected]
> Subject: Re: [hlcoders] Get users steam lang setting
>
> Merry Boxing/St. Stephen's Day, Alfred! I didn't know until now that
> the
> 26th isn't a holiday in the US. I do hope you have had a relaxing
> vacation. :) (And, of course, same wishes to the list.)
>
> Two questions:
> 1. Is <app id> the ID of the engine product behind the mod (such as the
> current "Source SDK Base"'s 215) or will Valve start distributing IDs
> to
> mod makers?
> 2. Will this function be back-ported to the Ep1 engine?
>
> Thanks,
> ~~ Ondra
>
> On 26.12.07 18:54 Uhr, Alfred Reynolds wrote:
> > That call won't be reliable with orange box era games, when the SDK
> code
> > comes out you should use the SteamApps()->GetAppData( <app id>,
> > "language", ...) call to get the language the user wants to run the
> game
> > in. App id would be the value you put in your mods gameinfo.txt.
> >
> > - Alfred
> >
> >
> >> -----Original Message-----
> >> From: [EMAIL PROTECTED] [mailto:hlcoders-
> >> [EMAIL PROTECTED] On Behalf Of Mark Chandler
> >> Sent: Wednesday, December 26, 2007 9:47 AM
> >> To: [email protected]
> >> Subject: RE: [hlcoders] Get users steam lang setting
> >>
> >> Found this function:
> >>
> >> vgui::system()-
> >>
> >>> GetRegistryString("HKEY_LOCAL_MACHINE\\Software\\Valve\\Stea
> >>>
> >> m\\Language", language, 128)
> >>
> >> -----Original Message-----
> >> From: [EMAIL PROTECTED]
> >> [mailto:[EMAIL PROTECTED] On Behalf Of Maarten
> De
> >> Meyer
> >> Sent: Thursday, December 27, 2007 2:37 AM
> >> To: [email protected]
> >> Subject: Re: [hlcoders] Get users steam lang setting
> >>
> >> Not sure, but I always laugh when I see code like
> >>
> >> if ( g_Language.GetInt() == LANGUAGE_GERMAN )
> >>    {
> >>            m_iGibModelIndex = PrecacheModel
> >> ("models/germanygibs.mdl");
> >>    }
> >>    else
> >>    {
> >>            m_iGibModelIndex = PrecacheModel
> >>
> > ("models/gibs/hgibs.mdl");
> >
> >>    }
> >>
> >> that what you're looking for?
> >>
> >>
> >>> I was looking in the engine header files but couldn't see a
> function
> >>>
> >> which
> >>
> >>> would return this value. Does any one know how to get it?
> >>>
> >>> Mark
> >>>
> >>> Perfect Dark Source
> >>>
>
> _______________________________________________
> 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

Reply via email to