HERAKLES Otomatik Avlı kalıcı sunucu. 19 Haziran'da açılıyor. Atius & Wizard güvencesiyle hemen kayıt ol, ön kayıt ödülleri aktif. HEMEN TIKLA!
eyw eyw
konudaki kodlar
Kod:
Hello, 100% you saw this shit visual bug from some angle are white (npc)
Thing.cpp
Find ->
CGrannyMotion * CGraphicThing::GetMotionPointer(int iMotion)
After this function add this
int CGraphicThing::GetTextureCount() const
{
if (!m_pgrnFileInfo)
return 0;
if (m_pgrnFileInfo->TextureCount <= 0)
return 0;
return (m_pgrnFileInfo->TextureCount);
}
const char * CGraphicThing::GetTexturePath(int iTexture)
{
if(iTexture >= GetTextureCount())
return "";
return m_pgrnFileInfo->Textures[iTexture]->FromFileName;
}
Thing.h
Find ->
int GetMotionCount() const;
adD UNDER
int GetTextureCount() const;
const char * GetTexturePath(int iTexture);
Open and find -> ActorInstanceData
Replace this
CGraphicThing* pLODModelThing = pRaceData->GetLODModelThing();
RegisterLODThing(0, pLODModelThing);
with this
CGraphicThing* pLODModelThing = pRaceData->GetLODModelThing();
bool canLOD = true;
if (pModelThing && pLODModelThing) {
if (pModelThing->GetTextureCount() == pLODModelThing->GetTextureCount()) {
for (int i = 0; i < pModelThing->GetTextureCount(); i++) {
if (strcmp(pModelThing->GetTexturePath(i), pLODModelThing->GetTexturePath(i)) != 0)
canLOD = false;
}
} else {
canLOD = false;
}
}
if(canLOD)
RegisterLODThing(0, pLODModelThing);
24 saat icerisinde link yenileyiniz
- Durum
- Üzgünüz bu konu cevaplar için kapatılmıştır...
Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)
Benzer konular
- Cevaplar
- 0
- Görüntüleme
- 47
- Cevaplar
- 0
- Görüntüleme
- 78
- Cevaplar
- 24
- Görüntüleme
- 3K
- Cevaplar
- 27
- Görüntüleme
- 934
