Author Topic: Sniper scope blackout removal - ArmA  (Read 1397 times)

0 Members and 1 Guest are viewing this topic.

hater

  • Intentional Cheater
  • **
  • Posts: 27
  • RageKit Developer
    • View Profile
Sniper scope blackout removal - ArmA
« on: July 03, 2007, 05:21:26 am »
Removal of blackout from most sniper rifles, m24, m82, spr.
first you need this

Code: [Select]
bool IsScope(UINT xNumVertices, UINT  xPrimCount) {
  if (xNumVertices == 28)  {
    if (xPrimCount == 2)  {
 
    return true;
   
    }
  }
  else return false;
}

In DIP

Code: [Select]

if (bNoscope && IsScope(NumVertices, primCount)  {
 
  if (stride == 40)     { // note the different stride to the default
   
     return D3D_OK;
  }

}

Its only basic and more to give u a idea of how to do it. Enjoy
« Last Edit: July 03, 2007, 06:01:58 am by hater »