.Aeon (12-25-2009),cru0 (12-24-2009),hopefordope (12-25-2009),pDevice (09-16-2012),playgames3 (12-25-2009)
Here are some functions you can add in your D3D.
How to do WireFrame:
- used Strides from Combat Arms
- place this in SetRenderState
How to do NoFog:Code:if (m_Stride == 32) m_pD3Ddev->SetRenderState(D3DRS_FILLMODE, D3DFILL_WIREFRAME); }
- place this in SetRenderState
How to do a WallHack:Code:if (nofog) { m_pD3Ddev->SetRenderState(D3DRS_FOGENABLE, false); }
- used Strides from Combat Arms
- place this in DrawIndexedPrimitive
How to do FullBright:Code:if(m_Stride == 32) { m_pD3Ddev->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE); }
- place this in SetRenderState
Code:if (fullbright) { m_pD3Ddev->SetRenderState(D3DRS_LIGHTING, false); m_pD3Ddev->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 255,255,255)); } else { m_pD3Ddev->SetRenderState(D3DRS_AMBIENT, false); }
.Aeon (12-25-2009),cru0 (12-24-2009),hopefordope (12-25-2009),pDevice (09-16-2012),playgames3 (12-25-2009)
Just so you guys know, The strides are wrong ; and i believe your supposed to use Azorbix's d3d base.
I FUCKING ATE THE MUFFIN MAN![CENTER]
Epic Quote.
Quote make me LOL
This goes in c++...
what are the 36 and 44 strides for?
UNBUMPLIEVABLE!
"Aren't you the guy that made unlimited respawn for CA along time ago? That was epic." - [MPGH]AVGN
Don't bump threads older thank 2 weeks, unless you know it a hack that definently still works
/Closed
Reopened and moved to correct section.
If you compile it does it work?
This doesn't work....
Ok. i need quick help. Please and Thank you. I will rep.
Ok. so I tried to use this code with the CaBase i downloaded, but I just can't seem to find were i can use this. Seems that CaBase uses completly diffrent way of writing it.
Also after editing CaBase i tried to compile it and it failed.
Seems that i need "d3dx9.h" where can i get that?
Thank you.
[IMG]https://i874.photobucke*****m/albums/ab303/bombsaway707/MPGHUserbar.gif[/IMG]
I LOVE TO HACK.