![]() |
Показать все 6 сообщений этой темы на одной странице |
HLFX.Ru Forum (https://hlfx.ru/forum/index.php)
- Half-Life SDK (https://hlfx.ru/forum/forumdisplay.php?forumid=8)
-- paranoia render player model bug (https://hlfx.ru/forum/showthread.php?threadid=3267)
paranoia render player model bug
Hi i must fix it
but i don't know how, look at video you thould know
http://www.youtube.com/watch?v=cl5wayWprw4
I've got this bug sometime... I don't remebmer what exactly causes it, maybe absence of GL_SetupTextureHeader() in model rendering code. Try to put this line into player model rendering function (StudioDrawPlayer) in GameStudioModelRenderer.cpp
m_pStudioHeader = (studiohdr_t *)IEngineStudio.Mod_Extradata (m_pRenderModel); |
IEngineStudio.StudioSetHeader( m_pStudioHeader ); |
IEngineStudio.SetRenderModel( m_pRenderModel ); |
if (cv_renderer->value && cv_nsr->value) GL_SetupTextureHeader(); // here it is |
pasted to the end of the function and it did not find anything on the same;/
int CGameStudioModelRenderer::[b][color=red]_[/color]StudioDrawPlayer[/b]( int flags, entity_state_t *pplayer ) |
int CGameStudioModelRenderer::[b]StudioDrawPlayer[/b]( int flags, entity_state_t *pplayer ) |
now weapon model has player skin ;/
Paste string
if (cv_renderer->value && cv_nsr->value) GL_SetupTextureHeader(); |
Временная зона GMT. Текущее время 00:30. | Показать все 6 сообщений этой темы на одной странице |
На основе vBulletin версии 2.3.0
Авторское право © Jelsoft Enterprises Limited 2000 - 2002.
Дизайн и программирование: Crystice Softworks © 2005 - 2024