There was a limitation in gameui.dll that restricted the model name to 32 characters. I'll up it to 128 and that should solve this issue.
Yahn -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Minh Sent: Wednesday, February 28, 2007 3:09 PM To: hlcoders@list.valvesoftware.com Subject: Re: [hlcoders] VGUI Bug? -- [ Picked text/plain from multipart/alternative ] A quick and dirty method would be just to rename the .vmt and it's corresponding references. :) So instead of materials\VGUI\playermodels\characters\SiNTekGrunt\sintekgrunt.vmt change it to materials\VGUI\playermodels\characters\SiNTekGrunt\grunt.vmt good luck, with whatever method you choose. ----- Original Message ----- From: "Sarkie" <[EMAIL PROTECTED]> To: <hlcoders@list.valvesoftware.com> Sent: Wednesday, February 28, 2007 2:40 PM Subject: [hlcoders] VGUI Bug? > -- > [ Picked text/plain from multipart/alternative ] Hi, > > I am working on the Unofficial SiN Episodes Mod, I seem to have an odd > error. > > I have loaded a few models using my own array in hl2mp_player.cpp > which does everything the same as the humans and combine. So I can get > the models in the game that is not the problem. > > I have added the 3 corresponding files and folders: > materials\VGUI\playermodels\characters\Blade\Blade.vmt > materials\VGUI\playermodels\characters\Jessica\Jessica.vmt > materials\VGUI\playermodels\characters\SiNTekGrunt\sintekgrunt.vmt > > With corresponding vtf files, now Blade and Jessica work fine off > selecting their image off the menu, but if I select sintekgrunt, > cl_playermodel only returns > > models\characters\SinTekGrunt\sintekgr.mdl <-- with the "unt" missing > off the end, as if there's a limit somewhere, I have looked in the > source code for it, but I can't find the method the Apply or Ok in > VGUI is calling, so have I access to it? or do I have to extract it > out of the gcf and load it from a different address without this limit? > > Any help would be appreciated. > > Sarkie > -- > > _______________________________________________ > 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