I have been having some difficulty loading my language file/s
I am aware that there is a bug related to how the modname is set VIA the -game paramater on commandline, and this is nolonger done since the mods are placed in Sourcemods/ now.
So what I was trying is to forcibly load it. I saw a post on the chatbear forums about it I think, and I asked my question there, but recived no answer
so, in my
CBaseViewport::CBaseViewport()
...
vgui::HScheme scheme =
vgui::scheme()->LoadSchemeFromFile("resource/ClientScheme.res",
"ClientScheme");
SetScheme(scheme);
SetProportional( true );
// Here is the problem. It doesnt seem to load the file
vgui::localize()->AddFile( vgui::filesystem(),
"resource/mymod_english.txt" );
m_pAnimController = new vgui::AnimationController(this);
....
Any ideas?
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

