- Moderatör
- #1
Słyszę, słyszę letni powiew.
Kurucu
BRIGHTNIGHT:
Disabled:
Enabled:
XRay & AlphaWater w/ NoGrass (D3D):
Paste this code with NoGrass (if you have one)
Enabled:
Credit:
C++:
//BRIGHTNIGHT
if (brightnight > 0) {
if (vSize == 1392) {
float xColor[4] = { 1.15f, 1.15f, 1.15f, 1.15f };
pDevice->SetPixelShaderConstantF(0, xColor, 1);
pDevice->SetPixelShaderConstantF(1, xColor, 1);
pDevice->SetPixelShaderConstantF(3, xColor, 1);
}
if (vSize == 640 || vSize == 944 || vSize == 1028 || vSize == 1036 || vSize == 1136 || vSize == 1104 || vSize == 1176 || vSize == 1216 || vSize == 1472 || vSize == 2048) {
float yColor[4] = { 1.25f, 1.25f, 1.25f, 1.25f };
pDevice->SetPixelShaderConstantF(0, yColor, 1);
pDevice->SetPixelShaderConstantF(1, yColor, 1);
pDevice->SetPixelShaderConstantF(3, yColor, 1);
}
if (vSize == 766 || vSize == 1640) {
float zColor[4] = { 2.85f, 2.85f, 2.85f, 2.85f };
pDevice->SetPixelShaderConstantF(0, zColor, 1);
pDevice->SetPixelShaderConstantF(1, zColor, 1);
pDevice->SetPixelShaderConstantF(3, zColor, 1);
}
}
Enabled:
XRay & AlphaWater w/ NoGrass (D3D):
Paste this code with NoGrass (if you have one)
C++:
//NOGRASS & ALPHAWATER & XRAY
if (nograss == 1 || alphawater == 1 || xray > 1)
{
pDevice->SetRenderState(D3DRS_FILLMODE, D3DFILL_SOLID);
if (xray == 1) //Hold Key using 'H' -> && (GetAsyncKeyState('H') & 0x8000))
{
if ((vSize == 776 || vSize == 944 || vSize == 1392 || vSize == 1640 || vSize == 1472 || vSize == 2048) && (vSize != 320 || vSize != 340))
{
pDevice->SetRenderState(D3DRS_FILLMODE, D3DFILL_POINT);
}
}
if (nograss == 1) {
if (vSize == 1660 || vSize == 1704)
{
pDevice->SetRenderState(D3DRS_FILLMODE, D3DFILL_POINT);
}
}
if (alphawater == 1) {
if (vSize == 2304) {
pDevice->SetRenderState(D3DRS_FILLMODE, D3DFILL_POINT);
}
}
}
Enabled:
Credit:
Bağlantıları görmek için lütfen
Giriş Yap