Americas Army 2:No Blackouts in Zoom-Mode (bugfix)
From UnKnoWnCheaTs Game Hacking Wiki
By: SAMDestroy
Hello there,
do you know this problem: you are using "No Blackouts in Zoom-Mode" in your hack and parts of your waepon (Class SF/M4mod....) will be invisible not only in Zoom-Mode? This little fix will help:
NewIDirect3DDevice8.cpp search for this:
if (GameInfo.m_Settings.m_bNoBlackouts) if ((MinIndex == 1380 && //M4 SOPMOD NumVertices == 2169 && PrimitiveCount == 1399) || (MinIndex == 0 && //M4 SOPMOD rear sight NumVertices == 767 && PrimitiveCount == 770) || (MinIndex == 0 && //M4 SOPMOD ACOG Reflex sight NumVertices == 805 && PrimitiveCount == 742) || (MinIndex == 1380 && //AKS-74U NumVertices == 1535 && PrimitiveCount == 1225) || (MinIndex == 0 && //AKS-74U rear sight NumVertices == 200 && PrimitiveCount == 200) || (MinIndex == 1468 && //M9 rear sight (slide) NumVertices == 1540 && PrimitiveCount == 442)) return D3D_OK;
and replace it with this:
if (GameInfo.m_Settings.m_bNoBlackouts && GameInfo.m_StatusZoomed) if ((MinIndex == 1380 && //M4 SOPMOD NumVertices == 2169 && PrimitiveCount == 1399) || (MinIndex == 0 && //M4 SOPMOD rear sight NumVertices == 767 && PrimitiveCount == 770) || (MinIndex == 0 && //M4 SOPMOD ACOG Reflex sight NumVertices == 805 && PrimitiveCount == 742) || (MinIndex == 1380 && //AKS-74U NumVertices == 1535 && PrimitiveCount == 1225) || (MinIndex == 0 && //AKS-74U rear sight NumVertices == 200 && PrimitiveCount == 200) || (MinIndex == 1468 && //M9 rear sight (slide) NumVertices == 1540 && PrimitiveCount == 442)) return D3D_OK;
now parts of your weapon will only be invisible in Zoom-Mode. This fix is for an clean EH-BC23 source.