First of all greetings to all from Argentina, I'm Carlos and I need some advice.
I'm trying to do a free public hack for those who play this great game.
I have many doubts and recently I'm starting in this issue.
Please apologize for my bad English. Best for my Spanish.
I put some pictures of what I've achieved and what they need.
First and most important I managed to run the menu in the game

)))
Second Some things work but not the way I want to work.
Third, I am working on the base of AnkSel Vip, is great. All credit to him.
The game looks like this:
Image Attached down. (1.JPG)
And i need This:
Image Attached Down. (2.jpg)
This is part of the code I'm using:
Code:
if(AL_ChamsEnable2==1)
{
if(AL_ChamsColorA || !AL_ChamsColorA)
{
if(m_Stride == 36)
{
if(AL_ChamsColorA) pDevice->SetRenderState(D3DRS_LIGHTING,false);
if(AL_ChamsColorA) pDevice->SetRenderState(D3DRS_ZENABLE,false);
if(AL_ChamsColorA==1){pDevice->SetTexture(0, aRed);}
if(AL_ChamsColorA==2){pDevice->SetTexture(0, aGreen);}
if(AL_ChamsColorA==3){pDevice->SetTexture(0, aBlue);}
if(AL_ChamsColorA==4){pDevice->SetTexture(0, aOrange);}
if(AL_ChamsColorA==5){pDevice->SetTexture(0, aPurple);}
if(AL_ChamsColorA==6){pDevice->SetTexture(0, aPink);}
if(AL_ChamsColorA==7){pDevice->SetTexture(0, aBlack);}
if(AL_ChamsColorA==8){pDevice->SetTexture(0, aCyan);}
if(AL_ChamsColorA==9){pDevice->SetTexture(0, aWhite);}
pDrawIndexedPrimitive(pDevice, Type, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
}
if(m_Stride == 32)
{
if(AL_ChamsColorA) pDevice->SetRenderState(D3DRS_LIGHTING,false);
if(AL_ChamsColorA) pDevice->SetRenderState(D3DRS_ZENABLE,false);
if(AL_ChamsColorA==1){pDevice->SetTexture(0, aRed);}
if(AL_ChamsColorA==2){pDevice->SetTexture(0, aGreen);}
if(AL_ChamsColorA==3){pDevice->SetTexture(0, aBlue);}
if(AL_ChamsColorA==4){pDevice->SetTexture(0, aOrange);}
if(AL_ChamsColorA==5){pDevice->SetTexture(0, aPurple);}
if(AL_ChamsColorA==6){pDevice->SetTexture(0, aPink);}
if(AL_ChamsColorA==7){pDevice->SetTexture(0, aBlack);}
if(AL_ChamsColorA==8){pDevice->SetTexture(0, aCyan);}
if(AL_ChamsColorA==9){pDevice->SetTexture(0, aWhite);}
pDrawIndexedPrimitive(pDevice, Type, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
}
}
}
if(AL_ChamsEnable2==1)
{
if(AL_ChamsColorB || !AL_ChamsColorB)
{
if(m_Stride== 36)
{
if(AL_ChamsColorB)pDevice->SetRenderState(D3DRS_LIGHTING, false);
if(AL_ChamsColorB)pDevice->SetRenderState(D3DRS_ZENABLE, true);
if(AL_ChamsColorB==1){pDevice->SetTexture(0, aRed);}
if(AL_ChamsColorB==2){pDevice->SetTexture(0, aGreen);}
if(AL_ChamsColorB==3){pDevice->SetTexture(0, aBlue);}
if(AL_ChamsColorB==4){pDevice->SetTexture(0, aOrange);}
if(AL_ChamsColorB==5){pDevice->SetTexture(0, aPurple);}
if(AL_ChamsColorB==6){pDevice->SetTexture(0, aPink);}
if(AL_ChamsColorB==7){pDevice->SetTexture(0, aBlack);}
if(AL_ChamsColorB==8){pDevice->SetTexture(0, aCyan);}
if(AL_ChamsColorB==9){pDevice->SetTexture(0, aWhite);}
}
if(m_Stride== 32)
{
if(AL_ChamsColorB)pDevice->SetRenderState(D3DRS_LIGHTING, false);
if(AL_ChamsColorB)pDevice->SetRenderState(D3DRS_ZENABLE, true);
if(AL_ChamsColorB==1){pDevice->SetTexture(0, aRed);}
if(AL_ChamsColorB==2){pDevice->SetTexture(0, aGreen);}
if(AL_ChamsColorB==3){pDevice->SetTexture(0, aBlue);}
if(AL_ChamsColorB==4){pDevice->SetTexture(0, aOrange);}
if(AL_ChamsColorB==5){pDevice->SetTexture(0, aPurple);}
if(AL_ChamsColorB==6){pDevice->SetTexture(0, aPink);}
if(AL_ChamsColorB==7){pDevice->SetTexture(0, aBlack);}
if(AL_ChamsColorB==8){pDevice->SetTexture(0, aCyan);}
if(AL_ChamsColorB==9){pDevice->SetTexture(0, aWhite);}
}
}
}
PLEASE. as I can make the animal look red and right through the walls?
I need to know the number of vertices that he has?
Please if you have some code example to do or see that I'm wrong in something or I'm missing something, I hear all your advice.
From already thank you very much and I hope your help.