Functions PBlackout Direct3D

Posts 1–8 of 8 · Page 1 of 1
Functions PBlackout Direct3D
Funtions PBlackout Direct 3D By ZicoS77 (GameFrance)



//WireFrame//Not Debug//

if(opt.d3d.wirefame)
{
if(m_Stride == 36 || 32)
{
pDevice->SetRenderState(D3DRS_FILLMODE, D3DFILL_WIREFRAME);
}
}
//GlassWall//

if (opt.d3d.GlassWall)
{
if(m_Stride == 36 || 32)
{
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
}
else
{
pDevice->SetRenderState(D3DRS_ZENABLE, TRUE);
}
}
//NoFog//

if (opt.d3d.nofog)
{
pDevice->SetRenderState(D3DRS_FOGENABLE, false);
}
//QWall//

if(opt.d3d.QWalls)
{
if(m_Stride == 40,44)
{
pDevice->SetRenderState(D3DRS_ZENABLE,false);
pDevice->SetRenderState(D3DRS_LIGHTING, true);
pDevice->SetRenderState(D3DRS_SHADEMODE, D3DSHADE_GOURAUD);
pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255,128,128,128));
}
}
//Hippy

if(opt.d3d.Hippy)
{
if(m_Stride == 40,44)
{
pDevice->SetRenderState(D3DRS_ZENABLE,false);
pDevice->SetRenderState(D3DRS_LIGHTING, true);
pDevice->SetRenderState(D3DRS_SHADEMODE, D3DSHADE_FLAT);
pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255,255,125,0));
}
}
//Point Mode//Not Debug//

if(opt.d3d.pointmode)
{
if(m_Stride == 36)
{
pDevice->SetRenderState(D3DRS_FILLMODE,D3DFILL_POINT);
}
}
//CrossHair//
if (opt.d3d.CrossHair==1)
{
int x = ( GetSystemMetrics( 0 ) / 2);
int y = ( GetSystemMetrics( 1 ) / 2);
D3DRECT rec = { x - 10, y, x + 10, y + 1};
D3DRECT rec2 = { x, y - 10, x + 1, y + 10};
pDevice->Clear(1, &rec, D3DCLEAR_TARGET, D3DCOLOR_ARGB(255, 255, 0, 0), 0, 0); //Red
pDevice->Clear(1, &rec2, D3DCLEAR_TARGET, D3DCOLOR_ARGB(255, 255, 0, 0), 0, 0); //Red
}
//WallHack//

if(opt.d3d.WallHack)
{
if(m_Stride == 36)
{
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
}
else
{
pDevice->SetRenderState(D3DRS_ZENABLE, TRUE);
}
//FullBright//

if (opt.d3d.FullBright)
{
pDevice->SetRenderState(D3DRS_LIGHTING, false);
pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255,255,255,255));
}
else
{
pDevice->SetRenderState(D3DRS_AMBIENT, false);
}
Cordially ZicoS77
tnx for this
That strides are for warrock :S
i am new to the forum that you inject injector? tngo just the dll.
this is 90% useless if you don't have the functions for color chams
----------
This works for many game
I Really appreciate Zico for posting this
these stuff may works in PB but some stride is still and exactly the same if PB not updated so may not work..Thanks
Posts 1–8 of 8 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?