[Release] Full bright code

08/11/2010 13:32 Ovenran#1
Code:
if(fullbright)
{ // then
pDevice->SetRenderState(D3DRS_LIGHTING, false); //Set in fullbright by OvWhZ
pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255,255,255,255)); // use all colors to glow up the lighting ingame
}// end
Here you go...
08/12/2010 16:07 Match*Star.#2
Please put an instruction.
08/12/2010 16:50 lalameng#3
Quote:
Originally Posted by Ovenran View Post
Code:
if(fullbright)
{ // then
pDevice->SetRenderState(D3DRS_LIGHTING, false); //Set in fullbright by OvWhZ
pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255,255,255,255)); // use all colors to glow up the lighting ingame
}// end
Here you go...



NEED INSTRUCTION THANKS..
08/14/2010 15:43 Match*Star.#4
What full bright does?
08/15/2010 04:07 Insolent[1]*#5
if(fullbright)
{
pDevice->SetRenderState(D3DRS_LIGHTING, false); //d3d lighting off
pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 25 5,255,255)); // use all colors to glow up the lighting ingame - By THE-JOkER

crosshair-

float ScreenCenterX = 0.0f;
float ScreenCenterY = 0.0f;
bool xhair = false;
D3DCOLOR redt = D3DCOLOR_XRGB( 255, 0, 0 );
08/15/2010 04:23 gcflames12#6
Basically this code will go into your hack for example;

Code:
//DIP Start also will Work With SRS SetRenderState
if(fullbright)
{ // then
pDevice->SetRenderState(D3DRS_LIGHTING, false); //Set in fullbright by OvWhZ
pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255,255,255,255)); // use all colors to glow up the lighting ingame
}// end
Their will normaly be more hacks their but im just showing example

Then you will have to declare a Hotkey for it you can do that in endscene by using the GetAsyncKeyState Function

Code:
if (GetAsyncKeyState(VK_F1)&1) // if we click f1
{ fullbright = !fullbright; } // fullbright = on
Now we have to declare fullbright in Globals, we can do this by typing
Code:
int fullbright;
08/17/2010 14:00 Ovenran#7
Quote:
Originally Posted by gcflames12 View Post
Basically this code will go into your hack for example;

Code:
//DIP Start also will Work With SRS SetRenderState
if(fullbright)
{ // then
pDevice->SetRenderState(D3DRS_LIGHTING, false); //Set in fullbright by OvWhZ
pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255,255,255,255)); // use all colors to glow up the lighting ingame
}// end
Their will normaly be more hacks their but im just showing example

Then you will have to declare a Hotkey for it you can do that in endscene by using the GetAsyncKeyState Function

Code:
if (GetAsyncKeyState(VK_F1)&1) // if we click f1
{ fullbright = !fullbright; } // fullbright = on
Now we have to declare fullbright in Globals, we can do this by typing
Code:
int fullbright;
thanks anyway.. bcause im lazy to put instructions :D

Topic,i know how to code in C++ :D go to [Only registered and activated users can see links. Click Here To Register...]
08/18/2010 00:17 gcflames12#8
yeah i know you can code and i liked your tutorial on creating a d3d menu